:root{--brand:#171717;--b700:#171717;--b800:#0a0a0a;--ink:#1d1d1f;--soft:#6e6e73;--line:#e8e8ed;--surface:#f5f5f7}
html{scroll-behavior:smooth;scroll-padding-top:5rem}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:"Playfair Display",Georgia,serif;letter-spacing:-.01em;text-wrap:balance}
::selection{background:rgba(23,23,23,.22)}
:focus-visible{outline:3px solid var(--b700);outline-offset:3px;border-radius:6px}
.container-x{width:100%;max-width:1120px;margin:0 auto;padding:0 1.25rem}
@media(min-width:768px){.container-x{padding:0 2rem}}
.section{padding:5rem 0}@media(min-width:768px){.section{padding:7rem 0}}
.eyebrow{font-size:.875rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--b700)}
.h-display{font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:clamp(2.5rem,6vw,4.5rem);line-height:1.05;letter-spacing:-.02em}
.h-section{font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:clamp(2rem,4vw,3rem);line-height:1.1;letter-spacing:-.015em}
.lead{font-size:1.25rem;line-height:1.55;color:var(--soft)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:9999px;padding:.75rem 1.5rem;font-size:15px;font-weight:500;line-height:1.25;cursor:pointer;border:0;transition:all .2s cubic-bezier(.28,.11,.32,1)}
.btn:disabled{opacity:.72;cursor:not-allowed}
.btn:active{transform:scale(.98)}
.btn-sm{padding:.5rem 1rem;font-size:.875rem}
.btn-primary{background:#111;color:#fff}.btn-primary:hover{background:#000;color:#fff}
.btn-secondary{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.btn-secondary:hover{background:var(--surface)}
.card{border-radius:24px;background:var(--surface);padding:2rem;transition:box-shadow .3s cubic-bezier(.28,.11,.32,1)}
.card:hover{box-shadow:0 8px 30px rgba(0,0,0,.08)}
.nav-link{display:inline-flex;align-items:center;gap:.25rem;border-radius:9999px;padding:.5rem .875rem;font-size:15px;color:var(--soft);transition:all .2s}
.nav-link:hover{background:var(--surface);color:var(--ink)}
.nav-link[aria-current=page]{color:var(--ink);font-weight:500}
.field{width:100%;border-radius:12px;border:1px solid var(--line);background:#fff;padding:.75rem 1rem;font-size:1rem;color:var(--ink);transition:all .2s}
.field::placeholder{color:#62666a}
.field:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px rgba(23,23,23,.15)}
.field[aria-invalid=true]{border-color:#ef4444}
.prose-sayed h1{font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:clamp(2rem,4vw,3rem);line-height:1.1}
.prose-sayed h2{margin-top:3rem;font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:clamp(1.5rem,2.4vw,2rem)}
.prose-sayed p,.prose-sayed li{font-size:17px;line-height:1.7}
.prose-sayed p{margin-top:1.25rem}
.prose-sayed a{color:var(--b700);text-decoration:underline;text-underline-offset:2px}
.is-scrolled{box-shadow:0 1px 14px rgba(0,0,0,.05)}
details>summary::-webkit-details-marker{display:none}

.builder-template-card{transition:border-color .15s ease,box-shadow .15s ease;outline:none}
.builder-template-card:has(input[type="radio"]:checked){border-color:#171717!important;box-shadow:0 0 0 3px rgba(23,23,23,.14)}
.builder-template-card:focus-within{outline:2px solid #171717;outline-offset:2px}

/* ---- Refinements: forms, touch targets, mobile menu ---- */
.field{min-height:48px;font-size:16px;line-height:1.4;border-color:#d4d4da}
.field:hover{border-color:#b8b8c0}
.field::placeholder{color:#6b7075;opacity:1}
textarea.field{min-height:128px;resize:vertical}
select.field{appearance:none;-webkit-appearance:none;padding-right:2.75rem;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-size:16px 16px}
.field[aria-invalid=true]:focus{border-color:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.15)}
.btn{min-height:44px}
.btn-sm{min-height:38px}
#mobile-menu .btn{min-height:48px}
#mobile-menu a.block{min-height:44px;display:flex;align-items:center}
#mobile-menu a.block:focus-visible{outline:3px solid var(--b700);outline-offset:-3px}
#cookie-banner{z-index:40}

/* ---- Lead forms: clearer, card-like, easier to fill ---- */
form[data-lead-form]{background:var(--surface);border-radius:24px;padding:1.5rem;box-shadow:inset 0 0 0 1px rgba(0,0,0,.02)}
@media(min-width:640px){form[data-lead-form]{padding:2.5rem}}
form[data-lead-form] label{font-weight:500;color:var(--ink);font-size:15px}
form[data-lead-form] .field{background:#fff;border:1.5px solid #cfd3d8;box-shadow:none}
form[data-lead-form] .field:focus{border-color:var(--b700);box-shadow:0 0 0 4px rgba(23,23,23,.14)}
form[data-lead-form] button[type=submit]{min-height:52px;font-size:16px;width:100%}
form[data-lead-form] input[type=checkbox]{width:18px;height:18px;min-width:18px}
form[data-lead-form] [data-form-status]{font-size:14px;margin-top:.25rem}

/* ---- Password field with show/hide toggle (login, register, set-password) ---- */
.sayed-password-field{position:relative;width:100%;min-width:0}
.sayed-password-field>input{width:100%;padding-inline-end:56px!important}
.sayed-password-toggle{position:absolute!important;top:50%;inset-inline-end:6px;transform:translateY(-50%);z-index:2;display:grid!important;width:40px;height:40px;min-width:40px!important;min-height:0!important;place-items:center;margin:0;padding:0!important;border:0;border-radius:10px;background:transparent;color:#596760;cursor:pointer}
.sayed-password-toggle:hover{background:var(--surface);color:var(--ink)}
.sayed-password-toggle:focus-visible{outline:3px solid var(--b700);outline-offset:2px}
.sayed-password-toggle svg{display:block;width:20px;height:20px}
.sayed-password-toggle [hidden]{display:none!important}
/* auth forms on source pages: same field size as lead forms */
form input.rounded-xl,form select.rounded-xl{min-height:48px;font-size:16px;border:1.5px solid #cfd3d8}
form input.rounded-xl:focus,form select.rounded-xl:focus{border-color:var(--b700);box-shadow:0 0 0 4px rgba(23,23,23,.14)}

/* ---- Shared lead form (one design for every page) ---- */
.lead-form{position:relative;margin:2.5rem auto 0;max-width:40rem;background:#fff;border:1px solid var(--line);border-radius:24px;padding:1.5rem;box-shadow:0 1px 2px rgba(0,0,0,.03),0 12px 32px -18px rgba(6,95,70,.25);display:grid;gap:1.25rem}
@media(min-width:640px){.lead-form{padding:2.25rem}}
.lead-grid{display:grid;gap:1.25rem}
@media(min-width:640px){.lead-grid{grid-template-columns:1fr 1fr}}
.lead-field{display:grid;gap:.45rem;min-width:0}
.lead-field label,.lead-consent{font-size:15px;font-weight:500;color:var(--ink)}
.lead-field input,.lead-field select,.lead-field textarea{width:100%;min-height:50px;border-radius:14px;border:1.5px solid #cfd3d8;background:#fafafb;padding:.8rem 1rem;font:inherit;font-size:16px;color:var(--ink);transition:border-color .2s,box-shadow .2s,background .2s;-webkit-appearance:none;appearance:none}
.lead-field textarea{min-height:128px;resize:vertical;line-height:1.5}
.lead-field select{padding-right:2.75rem;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23596760' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-size:16px 16px}
.lead-field input::placeholder,.lead-field textarea::placeholder{color:#6b7075;opacity:1}
.lead-field input:hover,.lead-field select:hover,.lead-field textarea:hover{border-color:#aab1b8;background:#fff}
.lead-field input:focus,.lead-field select:focus,.lead-field textarea:focus{outline:none;border-color:var(--b700);background:#fff;box-shadow:0 0 0 4px rgba(23,23,23,.14)}
.lead-field input[aria-invalid=true],.lead-field textarea[aria-invalid=true]{border-color:#dc2626;background:#fff7f7}
.lead-hint{font-size:13px;color:#6b7075}
.lead-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.lead-consent{display:flex;align-items:flex-start;gap:.75rem;font-weight:400;font-size:14px;line-height:1.5;color:var(--soft);cursor:pointer}
.lead-consent input{width:20px;height:20px;min-width:20px;margin-top:2px;accent-color:var(--b700)}
.lead-consent a{color:var(--b700);text-decoration:underline;text-underline-offset:2px}
.lead-submit{width:100%;min-height:54px;font-size:16px;font-weight:600;border-radius:14px}
.lead-submit:disabled{opacity:.65;cursor:wait}
.lead-status{min-height:1.25rem;text-align:center;font-size:14px;color:var(--soft);margin-top:-.25rem}
.lead-status:empty{display:none}

/* ---- Account pages: login, register, forgot/reset password, email verification ---- */
.sayed-auth-wrap{position:relative;min-height:calc(100vh - 200px);background:radial-gradient(60rem 30rem at 50% -10%,#e5e5e5 0%,transparent 60%),#fafafa;padding-top:3.5rem!important;padding-bottom:4.5rem!important}
.sayed-auth{max-width:30rem;margin:0 auto}
.sayed-auth-head{text-align:center;margin-bottom:1.5rem}
.sayed-auth-icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#171717,#171717);color:#fff;box-shadow:0 12px 24px -10px rgba(23,23,23,.55)}
.sayed-auth-icon svg{width:26px;height:26px}
.sayed-auth-eyebrow{margin-top:1rem;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--b700)}
.sayed-auth-title{margin-top:.4rem;font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:clamp(1.9rem,4vw,2.4rem);line-height:1.1;color:var(--ink)}
.sayed-auth-sub{margin-top:.6rem;font-size:15px;line-height:1.55;color:var(--soft)}
.sayed-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:1rem;border-radius:999px;background:#e5e5e5}
.sayed-auth-tabs a{display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;font-size:15px;font-weight:500;color:var(--soft);text-decoration:none;transition:background .2s,color .2s}
.sayed-auth-tabs a:hover{color:var(--ink)}
.sayed-auth-tabs a[aria-current=page]{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.08)}
.sayed-auth-tabs a:focus-visible,.sayed-auth-submit:focus-visible,.sayed-auth-foot a:focus-visible{outline:3px solid var(--b700);outline-offset:3px}
.sayed-auth-card{background:#fff;border:1px solid #e5e5e5;border-radius:28px;padding:1.75rem;box-shadow:0 30px 60px -36px rgba(23,23,23,.18)}
@media(min-width:640px){.sayed-auth-card{padding:2.25rem}}
.sayed-auth-form{display:grid;gap:1.1rem}
.sayed-auth-form>div{display:grid;gap:.4rem}
.sayed-auth label{font-size:14px;font-weight:600;color:var(--ink);letter-spacing:.01em}
.sayed-auth input.rounded-xl,.sayed-auth select.rounded-xl{min-height:52px;border:1.5px solid transparent;border-radius:16px;background:#f5f5f5;padding:.8rem 1rem;font-size:16px;color:var(--ink);transition:border-color .2s,box-shadow .2s,background .2s}
.sayed-auth input.rounded-xl::placeholder{color:#8a8a8a;opacity:1}
.sayed-auth input.rounded-xl:hover{background:#ededed}
.sayed-auth input.rounded-xl:focus{outline:none;background:#fff;border-color:var(--b700);box-shadow:0 0 0 4px rgba(23,23,23,.14)}
.sayed-auth input[aria-invalid=true]{border-color:#dc2626}
.sayed-auth .sayed-password-toggle{color:#525252}
.sayed-auth [dir="ltr"].rounded-xl{min-height:52px;border-radius:16px;border:1.5px solid transparent;background:#f5f5f5;overflow:visible}
.sayed-auth [dir="ltr"].rounded-xl:focus-within{background:#fff;border-color:var(--b700);box-shadow:0 0 0 4px rgba(23,23,23,.14)}
.sayed-auth [dir="ltr"] input{background:transparent!important;min-height:50px;font-size:16px}
.sayed-auth [dir="ltr"] span:first-child{background:#ebebeb!important;border-color:transparent!important}
.sayed-auth-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:54px;margin-top:.4rem;border:0;border-radius:999px;background:#111;color:#fff;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 12px 24px -12px rgba(0,0,0,.45);transition:transform .15s,box-shadow .2s}
.sayed-auth-submit:hover{background:#000;box-shadow:0 16px 30px -12px rgba(0,0,0,.5);transform:translateY(-1px)}
.sayed-auth-submit:active{transform:scale(.99)}
.sayed-auth-foot{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #e5e5e5;display:grid;gap:.65rem;text-align:center;font-size:14px;color:var(--soft)}
.sayed-auth-foot a{color:var(--b700);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.sayed-auth .alert,.sayed-auth [role=alert]{border-radius:14px}

/* ---- All buttons: black with white text (no green buttons) ---- */
.btn-primary,.btn-primary:visited,.sayed-auth-submit,.lead-submit,button[type=submit].btn{background-color:#111;color:#fff}
.btn-primary:hover,.sayed-auth-submit:hover,.lead-submit:hover,button[type=submit].btn:hover{background-color:#000;color:#fff}
.lead-submit:disabled{background-color:#111}

/* Account pages: smart field hints (black accent) */
[data-field-hint]:empty{display:none}
[data-phone-hint]:empty{display:none}
.sayed-auth-foot a{color:#171717}

.sayed-auth-social{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:52px;border-radius:16px;border:1.5px solid #e5e5e5;background:#fff;color:#171717;font-size:15px;font-weight:600;transition:background .2s,border-color .2s}
.sayed-auth-social:hover{background:#f5f5f5;border-color:#d4d4d4}
.sayed-auth-social:focus-visible{outline:3px solid #171717;outline-offset:3px}
/* Account pages: tighter mobile header and spacing */
.sayed-auth-wrap{min-height:0!important;padding-top:24px!important}
@media (max-width:640px){
  .sayed-auth-wrap{padding-top:12px!important;padding-bottom:24px!important}
  .sayed-auth-icon{width:44px;height:44px;border-radius:14px}
  .sayed-auth-icon svg{width:20px;height:20px}
  .sayed-auth-head{margin-bottom:14px}
  .sayed-auth-head h1{font-size:1.35rem;line-height:1.25}
  .sayed-auth-head .sub,.sayed-auth-head p{margin-top:4px}
}
/* Phone country dropdown: always scrollable and above the card */
[data-phone-list]{max-height:16rem;overflow-y:auto;z-index:30;box-shadow:0 18px 40px -18px rgba(23,23,23,.35)}

/* Homepage hero: full viewport height and hoverable letters */
.hero-full{min-height:100vh;min-height:100svh;display:flex;align-items:center}
.hero-full .container-x{width:100%}
.hl-word{display:inline-block;white-space:nowrap}
.hl-char{display:inline-block;transform-origin:50% 80%;transition:transform .25s cubic-bezier(.2,.8,.2,1),color .25s}
@media (hover:hover){
  .hl-char:hover{transform:scale(1.25);color:#171717}
}

/* Google sign-in button, in Google's own colours, directly under the login button */
.sayed-auth-google{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;min-height:52px;border-radius:999px;border:1px solid #747775;background:#fff;color:#1f1f1f;font-size:15px;font-weight:500;letter-spacing:.01em;transition:background .2s,box-shadow .2s}
.sayed-auth-google svg{color:#1f1f1f;flex:none}
.sayed-auth-google:hover{background:#f8f9fa;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.sayed-auth-google:focus-visible{outline:3px solid #1a73e8;outline-offset:3px}

/* Login/register card: tidy spacing and a single divider */
.sayed-auth-card form.sayed-auth-form{margin:0}
.sayed-auth-card .sayed-auth-submit{margin-top:.25rem}
.sayed-auth-foot{margin-top:1.5rem;padding-top:0;border-top:0;gap:.9rem;line-height:1.5}
.sayed-auth-foot>div:first-child{display:grid;gap:.5rem}
.sayed-auth-foot>div.mt-5{margin-top:0!important;padding-top:0!important;border-top:0!important}
.sayed-auth-foot>div.mt-5>p{display:flex;align-items:center;gap:.75rem;margin:0 0 .85rem!important;font-size:12px;color:#737373}
.sayed-auth-foot>div.mt-5>p::before,.sayed-auth-foot>div.mt-5>p::after{content:"";flex:1;height:1px;background:#e5e5e5}
.sayed-auth-foot>div.mt-5 .grid{gap:.85rem}
.sayed-auth-foot label.flex{align-items:flex-start;color:#525252;font-size:12.5px;line-height:1.5}
.sayed-auth-foot label.flex input[type=checkbox]{width:16px;height:16px;flex:none;margin-top:.2rem;accent-color:#171717}
.sayed-auth-foot a{text-underline-offset:3px}
.sayed-auth input,.sayed-auth button,.sayed-auth-google{box-sizing:border-box}
.sayed-auth-foot label.flex{text-align:start}
