/* ==========================================================================
   SYNTAX SCALE — Retail Inspection Engine
   Premium editorial. Bricolage Grotesque + Hanken Grotesk.
   Emerald + gold on ivory and ink. Content visible by default.
   ========================================================================== */

:root{
  --ivory:#F6F3EA;
  --ivory-2:#EFEAD9;
  --ink:#0F1512;
  --ink-2:#16201B;
  --forest:#123B2D;
  --emerald:#18A678;
  --emerald-deep:#0E7A57;
  --gold:#E6B930;
  --line:rgba(15,21,18,.14);
  --line-dark:rgba(246,243,234,.16);
  --body:#2A332D;
  --body-dark:#C9D2CB;
  --muted:#57635A;
  --muted-dark:#93A198;
  --radius:14px;
  --ease:cubic-bezier(.22,1,.36,1);
  --pad-y:clamp(72px,9vw,128px);
  --wrap:1200px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--ivory);
  color:var(--body);
  font-family:'Hanken Grotesk',system-ui,sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
::selection{background:var(--gold);color:var(--ink)}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 clamp(20px,4vw,40px)}
.section{padding:var(--pad-y) 0}

/* ---------- type ---------- */
h1,h2,h3{font-family:'Bricolage Grotesque',sans-serif;color:var(--ink);letter-spacing:-0.015em}
.display-xl{font-size:clamp(2.6rem,6vw,4.9rem);line-height:1.02;font-weight:800;text-wrap:balance}
.display-l{font-size:clamp(1.9rem,3.6vw,2.8rem);line-height:1.08;font-weight:800;text-wrap:balance}
.display-m{font-size:clamp(1.15rem,1.8vw,1.4rem);line-height:1.25;font-weight:700}
.lead{font-size:clamp(1.05rem,1.5vw,1.22rem);line-height:1.6;max-width:62ch}
p{max-width:68ch}
.on-dark h1,.on-dark h2,.on-dark h3{color:var(--ivory)}
.gold{color:var(--gold)}
.muted{color:var(--muted)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:16px;
  padding:16px 30px;min-height:52px;border-radius:999px;border:0;cursor:pointer;
  text-decoration:none;transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-cta{background:var(--gold);color:var(--ink);box-shadow:0 2px 14px rgba(230,185,48,.28)}
.btn-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(230,185,48,.36)}
.btn-ghost{background:transparent;color:var(--ivory);border:1.5px solid var(--line-dark)}
.btn-ghost:hover{border-color:var(--ivory);transform:translateY(-2px)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--ink);padding:10px 18px;z-index:100}
.skip-link:focus{left:12px;top:12px}

/* ---------- nav (light) ---------- */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(246,243,234,.9);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-inner{max-width:var(--wrap);margin:0 auto;padding:13px clamp(20px,4vw,40px);display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{height:48px;width:auto}
.footer img{height:40px;width:auto}
.nav-links{display:flex;gap:26px;list-style:none}
.nav-links a{color:var(--body);text-decoration:none;font-size:15px;font-weight:600;transition:color .2s}
.nav-links a:hover{color:var(--emerald-deep)}
.nav .btn-cta{padding:11px 22px;min-height:42px;font-size:14.5px}
@media (max-width:880px){.nav-links{display:none}}

/* ---------- hero (light, full screen) ---------- */
.hero{
  background:
    radial-gradient(1100px 480px at 80% -10%, rgba(24,166,120,.1), transparent 60%),
    radial-gradient(700px 340px at 8% 110%, rgba(230,185,48,.08), transparent 60%),
    var(--ivory);
  color:var(--body);
  position:relative;overflow:hidden;
  min-height:calc(100svh - 74px);display:flex;align-items:center;
}
.hero-inner{max-width:var(--wrap);width:100%;margin:0 auto;padding:clamp(56px,7vw,90px) clamp(20px,4vw,40px);position:relative;z-index:1}
.hero-tag{
  display:inline-block;font-weight:700;font-size:14.5px;color:var(--emerald-deep);
  border:1.5px solid rgba(14,122,87,.3);border-radius:999px;padding:7px 16px;margin-bottom:28px;
}
.hero h1{color:var(--ink);max-width:16ch}
.hero h1 .accent{color:var(--emerald-deep)}
.hero .lead{margin-top:26px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:38px}
.hero .btn-ghost{color:var(--ink);border-color:var(--line)}
.hero .btn-ghost:hover{border-color:var(--ink)}
.trust-row{display:flex;gap:26px;flex-wrap:wrap;margin-top:44px;padding-top:26px;border-top:1px solid var(--line);font-size:14.5px;color:var(--muted)}
.trust-row span{display:flex;align-items:center;gap:8px}
.trust-row span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--emerald)}
.hero-roofline{position:absolute;right:-30px;bottom:0;width:min(44vw,540px);pointer-events:none;z-index:0}
@media (max-width:760px){.hero-roofline{display:none}}

/* ---------- the shift (fear band) ---------- */
.band-ink .lead,.band-ink p{color:var(--body-dark)}
.shift-line{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:700;
  font-size:clamp(1.25rem,2.2vw,1.7rem);line-height:1.35;color:var(--ivory);
  max-width:34ch;margin-top:38px;padding-top:28px;border-top:3px solid var(--gold);
}

/* hero load-in: default visible, .boot (added by JS) runs one entrance */
@media (prefers-reduced-motion: no-preference){
  .boot .hero-tag,.boot .hero h1,.boot .hero .lead,.boot .hero-cta,.boot .trust-row{animation:rise .8s var(--ease) both}
  .boot .hero h1{animation-delay:.06s}
  .boot .hero .lead{animation-delay:.14s}
  .boot .hero-cta{animation-delay:.22s}
  .boot .trust-row{animation-delay:.3s}
  @keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
}

/* ---------- section headers ---------- */
.section-head{margin-bottom:clamp(30px,4vw,48px)}
.section-head .display-l{max-width:24ch}
.head-note{margin-top:14px;font-size:1.02rem;color:var(--muted);max-width:60ch}
.band .head-note{color:var(--muted-dark)}

/* ---------- how it works ---------- */
.steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(28px,4vw,56px)}
.steps li{max-width:44ch}
.step-n{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;background:var(--emerald);color:#fff;
  font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:19px;margin-bottom:16px;
}
.steps h3{margin-bottom:8px}
.steps p{font-size:16px;color:var(--muted)}

/* ---------- bands ---------- */
.band{position:relative;color:var(--body-dark)}
.band-forest{background:linear-gradient(180deg,var(--forest),#0E3123)}
.band-ink{background:var(--ink-2)}
.band h2,.band h3{color:var(--ivory)}

/* guarantee */
.big12{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:800;
  font-size:clamp(4.6rem,11vw,8.5rem);line-height:.95;color:var(--gold);display:block;margin-bottom:10px;
}
.contract{margin-top:36px;max-width:760px}
.contract summary{cursor:pointer;font-weight:700;color:var(--gold);font-size:15.5px;list-style:none;display:inline-flex;align-items:center;gap:8px}
.contract summary::-webkit-details-marker{display:none}
.contract summary::after{content:"+";font-size:18px;transition:transform .3s}
.contract[open] summary::after{transform:rotate(45deg)}
.contract-paper{margin-top:18px;background:var(--ivory);color:var(--body);border-radius:var(--radius);padding:26px 28px;font-size:14.5px;line-height:1.7}
.conditions{display:flex;gap:22px;flex-wrap:wrap;margin-top:30px;font-size:14.5px;color:var(--muted-dark)}
.conditions span{display:flex;gap:8px;align-items:center}
.conditions span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold)}

/* ---------- founder ---------- */
.founder-grid{display:grid;grid-template-columns:minmax(0,380px) 1fr;gap:clamp(30px,5vw,64px);align-items:center}
.founder-photo{border-radius:var(--radius);overflow:hidden}
.founder-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 20%;filter:saturate(.9)}
.founder-sig{margin-top:26px;font-size:15px;color:var(--muted);line-height:1.7}
.founder-sig b{color:var(--ink);font-family:'Bricolage Grotesque',sans-serif;font-size:16.5px}
@media (max-width:820px){.founder-grid{grid-template-columns:1fr}.founder-photo{max-width:340px}}

/* ---------- faq ---------- */
.faq-list{border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{
  cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center;
  padding:22px 0;font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:1.08rem;color:var(--ink);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:24px;font-weight:400;color:var(--emerald-deep);flex-shrink:0;transition:transform .3s var(--ease)}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item .a{padding:0 0 24px;max-width:64ch}

/* ---------- booking quiz ---------- */
.book-grid{display:grid;grid-template-columns:minmax(0,400px) 1fr;gap:clamp(36px,6vw,80px);align-items:start}
.book-side ul{list-style:none;margin-top:26px;display:flex;flex-direction:column;gap:12px}
.book-side li{display:flex;gap:12px;align-items:baseline;font-size:16px}
.book-side li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold);flex-shrink:0;transform:translateY(-2px)}
@media (max-width:900px){.book-grid{grid-template-columns:1fr}}

.quiz{background:var(--ivory);color:var(--body);border-radius:18px;padding:clamp(24px,3.5vw,40px);box-shadow:0 24px 60px rgba(0,0,0,.3)}
.quiz-progress{display:flex;gap:8px;margin-bottom:28px}
.quiz-progress i{height:4px;flex:1;border-radius:99px;background:var(--line);transition:background .3s}
.quiz-progress i.done{background:var(--emerald)}
.quiz h3{color:var(--ink)}
.quiz fieldset{border:0;padding:0;margin:0;min-width:0}
.quiz legend{float:left;width:100%;padding:0}
.quiz legend + *{clear:both}
.quiz .opt-grid,.quiz .field-row,.quiz .field,.quiz .slots-wrap{clear:both}
.qstep{display:none}
.qstep.active{display:block;animation:qin .4s var(--ease)}
@keyframes qin{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
.qstep h3{font-size:1.3rem;margin-bottom:6px}
.qstep .qsub{font-size:15px;color:var(--muted);margin-bottom:22px}
.opt-grid{display:flex;flex-direction:column;gap:12px}
.opt{
  text-align:left;background:#fff;border:1.5px solid var(--line);border-radius:12px;
  padding:15px 18px;font-size:16px;font-weight:600;color:var(--ink);cursor:pointer;
  transition:border-color .2s,background .2s,transform .2s;font-family:inherit;width:100%;
}
.opt:hover{border-color:var(--emerald);transform:translateY(-1px)}
.opt.sel{border-color:var(--emerald);background:rgba(24,166,120,.08)}
.opt small{display:block;font-weight:400;color:var(--muted);margin-top:3px;font-size:13.5px}
[data-multi] .opt{position:relative;padding-left:50px}
[data-multi] .opt::before{
  content:"";position:absolute;left:17px;top:50%;transform:translateY(-50%);
  width:20px;height:20px;border-radius:6px;border:1.5px solid var(--line);background:#fff;
  transition:background .2s,border-color .2s;
}
[data-multi] .opt.sel::before{background:var(--emerald);border-color:var(--emerald)}
[data-multi] .opt.sel::after{
  content:"";position:absolute;left:23px;top:50%;transform:translateY(-64%) rotate(45deg);
  width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;
}
.req{color:var(--emerald-deep);font-weight:700}
.opt-label{color:var(--muted);font-weight:400;font-size:12.5px}
.quiz .field{margin-bottom:16px}
.quiz label{display:block;font-weight:600;font-size:14px;margin-bottom:6px;color:var(--ink)}
.quiz input{width:100%;padding:13px 15px;border:1.5px solid var(--line);border-radius:10px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.quiz input:focus{outline:2px solid var(--emerald);outline-offset:1px;border-color:var(--emerald)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:560px){.field-row{grid-template-columns:1fr}}
.quiz-nav{display:flex;justify-content:space-between;align-items:center;margin-top:26px;gap:14px}
.qback{background:none;border:0;font:inherit;font-weight:600;color:var(--muted);cursor:pointer;padding:10px 6px}
.qback:hover{color:var(--ink)}
.qback[hidden]{visibility:hidden;display:block}
.qnext{padding:14px 30px;min-height:48px}
.qnext:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}

/* calendar inside quiz */
.cal{max-width:360px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cal-month{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:16px;color:var(--ink)}
.cal-nav{
  width:34px;height:34px;border-radius:50%;border:1.5px solid var(--line);background:#fff;
  font-size:20px;line-height:1;color:var(--ink);cursor:pointer;transition:border-color .2s;
}
.cal-nav:hover:not(:disabled){border-color:var(--emerald)}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;justify-items:center}
.cal-dow{font-size:11.5px;font-weight:700;color:var(--muted);padding:4px 0}
.cal-day{
  width:100%;aspect-ratio:1;max-width:44px;border-radius:50%;border:0;background:transparent;
  font:inherit;font-size:14.5px;color:#B9B4A2;cursor:default;
}
.cal-day.open{
  background:rgba(24,166,120,.1);color:var(--emerald-deep);font-weight:700;cursor:pointer;
  transition:background .2s,color .2s;
}
.cal-day.open:hover{background:rgba(24,166,120,.22)}
.cal-day.sel{background:var(--emerald);color:#fff}
.cal-times{margin-top:18px}
.cal-times h4{font-family:'Bricolage Grotesque',sans-serif;font-size:14px;margin-bottom:8px;color:var(--ink)}
.slot-day{margin-bottom:14px}
.slot-day h4{font-family:'Bricolage Grotesque',sans-serif;font-size:14px;margin-bottom:8px;color:var(--ink)}
.slot-chips{display:flex;gap:8px;flex-wrap:wrap}
.slot-chip{
  border:1.5px solid var(--line);background:#fff;border-radius:999px;
  padding:9px 16px;font:inherit;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer;
  transition:border-color .2s,background .2s;
}
.slot-chip:hover{border-color:var(--emerald)}
.slot-chip.sel{background:var(--emerald);border-color:var(--emerald);color:#fff}
.slots-status{font-size:14.5px;color:var(--muted)}
.slots-more{background:none;border:0;font:inherit;font-size:14px;font-weight:700;color:var(--emerald-deep);cursor:pointer;padding:6px 0}
.hp-field{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--muted);margin-top:14px;cursor:pointer}
.consent input{width:auto;margin-top:3px}
.book-msg{margin-top:14px;font-size:14.5px;min-height:20px}
.book-msg.err{color:#B4452B}

/* ---------- footer ---------- */
.footer{background:var(--ink);color:var(--muted-dark);padding:56px 0 34px}
.footer img{height:40px;width:auto;margin-bottom:18px}
.footer-grid{display:grid;grid-template-columns:1fr auto;gap:36px;align-items:start}
.one-liner{font-size:15.5px;max-width:44ch;color:var(--body-dark)}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px}
.footer-links a{color:var(--body-dark);text-decoration:none}
.footer-links a:hover{color:var(--gold)}
.footer-legal{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:44px;padding-top:22px;border-top:1px solid rgba(246,243,234,.1);font-size:13.5px}
@media (max-width:640px){.footer-grid{grid-template-columns:1fr}}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
}
