/* SAM — conciergesam.com */
:root{
  /* brand: cream, navy, coral (the mascot), teal (the dot) */
  --stone:#E9E5D9; --paper:#FBFAF6; --ink:#0F2333; --ink-2:#4F5B66; --line:#D3CDBE;
  --sea:#09666A; --sea-ink:#FFFFFF; --sea-wash:#D3E3DD; --night:#040507;
  --coral:#EF5322; --coral-wash:#F6D9CB;
  --radius:16px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--stone);color:var(--ink);font:18px/1.6 "Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif}
h1,h2{font-family:"Newsreader",Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-0.015em;font-variation-settings:"opsz" 72;margin:0}
p{margin:0}
a{color:var(--sea)}
::selection{background:var(--coral-wash);color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--sea);outline-offset:3px;border-radius:6px}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.fine{font-size:14px;color:var(--ink-2)}
.centred{text-align:center}
.lede{font-size:19px;color:var(--ink-2)}

.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--sea);color:var(--sea-ink);text-decoration:none;border:0;border-radius:999px;padding:14px 24px;font:600 16px/1 "Hanken Grotesk",system-ui,sans-serif;cursor:pointer}
.btn:hover{background:#075357}
.btn.light{background:#F4F1EA;color:#0E1116}
.btn.light:hover{background:#fff}
.btn.block{width:100%}

/* logo */
.logo{display:inline-flex;line-height:0}
.logo img{height:44px;width:auto}
.logo.small img{height:30px}
@media (max-width:560px){.logo img{height:36px}}
/* wordmark (legacy text mark) */
.wordmark{font-family:"Newsreader",Georgia,serif;font-weight:500;font-size:28px;color:var(--ink);text-decoration:none;letter-spacing:.01em}
.wordmark .dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--sea);margin-left:4px}
.wordmark.light{color:#F4F1EA}.wordmark.light .dot{background:#5FB8AF}
.wordmark.small{font-size:22px}

/* hero: cream, the mascot on the S */
.hero{position:relative;min-height:100svh;background:var(--stone);color:var(--ink);display:flex;flex-direction:column}
.top{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;width:100%}
.nav{display:flex;align-items:center;gap:26px}
.nav a.text{color:var(--ink);text-decoration:none;font-weight:500}
.nav a.text.light{color:#F4F1EA}
.nav a.text:hover{text-decoration:underline;text-underline-offset:4px}
@media (max-width:560px){.nav a.text{display:none}}
.hero-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 24px 10vh;gap:28px}
.hero-art{width:min(820px,86vw);height:auto;margin-bottom:4px}
.hero-line{font-family:"Newsreader",Georgia,serif;font-size:clamp(30px,4.4vw,44px);line-height:1.12;letter-spacing:-0.01em;color:var(--ink)}
@media (max-width:700px){.hero{min-height:88svh}.hero-body{padding-bottom:8vh;gap:22px}.hero-art{width:94vw}}

/* prose page */
.prose{max-width:660px;margin:0 auto;padding:120px 24px 40px;text-align:center}
.prose h1{font-size:clamp(38px,6.4vw,70px);line-height:1.04;margin-bottom:64px}
.prose h2{font-size:clamp(32px,5vw,50px);line-height:1.06;margin:120px 0 28px}
.prose p{margin:0 0 22px;color:var(--ink-2)}
.prose p a{color:var(--ink);text-underline-offset:3px}
@media (max-width:700px){.prose{padding-top:84px}.prose h1{margin-bottom:44px}.prose h2{margin-top:84px}}

/* the one visual: an approval card */
.approval{margin:36px auto 36px;max-width:380px;display:flex;flex-direction:column;gap:10px;text-align:left}
.chat-head{display:flex;align-items:center;gap:10px;font-weight:600;font-size:15px;color:var(--ink);padding:0 2px 4px}
.chat-head img{width:38px;height:38px;object-fit:contain;background:var(--paper);border-radius:50%;padding:2px 3px 4px;box-shadow:0 1px 0 rgba(15,35,51,.06)}
.msg{max-width:88%;padding:11px 15px;border-radius:18px;font-size:16px;line-height:1.4}
.msg.you{align-self:flex-end;background:var(--sea);color:var(--sea-ink);border-bottom-right-radius:6px}
.msg.sam{align-self:flex-start;background:var(--paper);color:var(--ink);border-bottom-left-radius:6px;box-shadow:0 1px 0 rgba(15,35,51,.06)}
.card{align-self:flex-start;background:var(--paper);border-radius:18px;border-bottom-left-radius:6px;padding:14px 15px 12px;max-width:94%;font-size:15.5px;line-height:1.45;box-shadow:0 1px 0 rgba(15,35,51,.06)}
.card b{display:block;font-size:16px;margin-bottom:6px;color:var(--ink)}
.card .rows{color:var(--ink-2);margin:6px 0 10px}
.card .rows span{display:block}
.card .rule{font-size:13.5px;color:var(--ink-2);border-top:1px solid var(--stone);padding-top:8px;margin-top:8px}
.card .acts{display:flex;gap:8px;margin-top:10px}
.card .acts span{flex:1;text-align:center;padding:9px 0;border-radius:10px;border:1.5px solid var(--sea);color:var(--sea);font-weight:600;font-size:15px}
.card .acts span.yes{background:var(--sea);color:var(--sea-ink)}

/* join */
.join{position:relative;padding:140px 24px 120px;text-align:center;background:radial-gradient(ellipse 70% 60% at 50% 100%,var(--sea-wash) 0%,rgba(211,227,221,0) 70%)}
.join .mascot{display:block;width:96px;height:auto;margin:0 auto 22px}
.join h2{font-size:clamp(34px,5.4vw,56px);line-height:1.05;margin:10px auto 16px;max-width:16ch}
.join .lede{max-width:46ch;margin:0 auto 36px}
.invite{background:var(--paper);border-radius:var(--radius);padding:30px;max-width:480px;margin:0 auto;text-align:left;box-shadow:0 20px 60px rgba(15,35,51,.08)}
.invite label{display:block;font-weight:500;margin:16px 0 6px;font-size:15px}
.invite label:first-of-type{margin-top:0}
.invite input,.invite textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:13px 14px;font:16px/1.4 "Hanken Grotesk",system-ui,sans-serif;background:#fff;color:var(--ink)}
.invite textarea{min-height:84px;resize:vertical}
.invite .btn{margin-top:22px}
.invite .fine{margin-top:12px}
.ok{background:var(--sea-wash);padding:14px 16px;border-radius:10px;color:var(--ink)}
@media (max-width:700px){.join{padding:96px 20px 80px}.invite{padding:22px}}

/* the one pop-up: after registering, send SAM the first message */
.modal{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(15,35,51,.55);backdrop-filter:blur(3px)}
.modal[hidden]{display:none}
.modal-card{position:relative;background:var(--paper);border-radius:22px;padding:34px 28px 26px;max-width:440px;width:100%;text-align:center;box-shadow:0 30px 80px rgba(15,35,51,.3)}
.modal-card .mascot{display:block;width:72px;height:auto;margin:0 auto 14px}
.modal-card h3{font-family:"Newsreader",Georgia,serif;font-weight:400;font-size:30px;line-height:1.1;margin:0 0 10px;letter-spacing:-0.01em}
.modal-card .lede{font-size:17px;margin:0 0 18px}
.modal-card .bubble{display:inline-block;text-align:left;background:var(--sea);color:var(--sea-ink);padding:12px 16px;border-radius:18px;border-bottom-right-radius:6px;font-size:16px;line-height:1.4;margin:0 0 18px;max-width:100%}
.modal-card .fine{margin-top:12px}
.modal-x{position:absolute;top:10px;right:14px;background:none;border:0;font-size:28px;line-height:1;color:var(--ink-2);cursor:pointer;padding:6px}
body.modal-open{overflow:hidden}
@media (max-width:700px){.modal{align-items:flex-end;padding:0}.modal-card{border-radius:22px 22px 0 0;padding:30px 22px 28px;max-width:none}}

/* footer */
footer{padding:36px 0 48px;color:var(--ink-2);font-size:14px}
footer .row{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:space-between}
footer nav{display:flex;gap:22px}
footer a{color:var(--ink);text-decoration:none}
footer a:hover{text-decoration:underline;text-underline-offset:3px}
footer .wordmark{margin-right:8px}

/* secondary pages (join, terms, privacy) */
.page{max-width:640px;margin:0 auto;padding:16px 24px 80px}
.page h1{font-size:clamp(32px,5vw,46px);line-height:1.1;margin:18px 0 14px}
.page h2{font-size:22px;margin:30px 0 8px}
.page p{margin:10px 0}
.page ol,.page ul{padding-left:20px}
.page li{margin:8px 0}
.page .lede{margin:0 0 20px}
.box{background:var(--paper);border-radius:var(--radius);padding:28px}
.price{display:flex;align-items:baseline;gap:8px;margin:6px 0 22px}.amt{font-family:"Newsreader",Georgia,serif;font-size:48px}.per{color:var(--ink-2)}
.how{padding-left:20px;margin:0 0 24px}.how li{margin:0 0 12px}
.consent{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--ink-2);margin:22px 0 16px}
.consent input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--sea)}
.go .btn{width:100%}
.testmode{background:#FFF4D6;color:#5C4400;border:1px solid #F1D98A;border-radius:10px;padding:8px 12px;font-size:13px;margin:0 0 18px}
.page .top{padding-bottom:8px}

/* language switcher (only shown where more than one language is offered) */
.langs{font-size:14px;color:var(--ink-2);white-space:nowrap}
.langs:empty{display:none}
.langs a{color:var(--ink-2);text-decoration:none}
.langs a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.langs b{color:var(--ink);font-weight:600}
@media (max-width:560px){.nav{gap:14px}.langs{font-size:13px}}

/* Arabic: right to left, Arabic typefaces (headings Naskh, text Plex Sans Arabic) */
[dir="rtl"] body{font-family:"IBM Plex Sans Arabic","Hanken Grotesk",system-ui,sans-serif}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] .hero-line,[dir="rtl"] .amt{font-family:"Noto Naskh Arabic","Newsreader",Georgia,serif;letter-spacing:0;font-weight:600}
[dir="rtl"] .prose p,[dir="rtl"] .lede{line-height:1.8}
[dir="rtl"] .approval,[dir="rtl"] .invite{text-align:right}
[dir="rtl"] .msg.you{border-bottom-right-radius:18px;border-bottom-left-radius:6px}
[dir="rtl"] .msg.sam,[dir="rtl"] .card{border-bottom-left-radius:18px;border-bottom-right-radius:6px}
[dir="rtl"] .modal-card .bubble{text-align:right;border-bottom-right-radius:18px;border-bottom-left-radius:6px}
[dir="rtl"] .modal-x{right:auto;left:14px}
[dir="rtl"] .hero-art,[dir="rtl"] .logo img{direction:ltr}
.nav .btn{white-space:nowrap}
@media (max-width:560px){.nav .btn{padding:12px 16px;font-size:15px}}
