/* AIFix shared styles. Design choices documented in /workspace/aifix/research/landing-page-research.md */
:root{
  --bg:#FBF8F4; --surface:#FFFFFF; --soft:#F4EEE8; --plum:#4A1D3F; --plum-2:#62285A;
  --gold:#C9A227; --gold-soft:#F5ECCF; --text:#1F1A1E; --muted:#4F4650; --line:#E6DCD2;
  --radius:16px; --shadow:0 1px 2px rgba(31,26,30,.04),0 8px 24px rgba(74,29,63,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.65;font-size:18px;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:"Fraunces",Georgia,"Times New Roman",serif;font-weight:600;line-height:1.12;letter-spacing:-.015em;margin:0 0 .45em;color:var(--text)}
h1{font-size:clamp(38px,6.2vw,64px)}
h2{font-size:clamp(28px,4vw,40px)}
h3{font-size:21px;line-height:1.25}
p{margin:0 0 1em}
a{color:var(--plum)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px}
.measure{max-width:65ch}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;background:#fff;padding:8px 12px;z-index:20}

/* Nav */
.nav{background:rgba(251,248,244,.92);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(8px)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:66px;gap:16px}
.logo{font-family:"Fraunces",Georgia,serif;font-weight:700;font-size:26px;color:var(--plum);text-decoration:none;letter-spacing:-.02em;display:inline-flex;align-items:baseline;white-space:nowrap}
.logo .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--gold);margin-left:3px}
.logo small{font-family:"Inter",sans-serif;font-weight:500;font-size:14px;color:var(--muted);margin-left:10px;letter-spacing:0}
.nav-links{display:flex;gap:24px;align-items:center;font-size:16px}
.nav-links a{color:var(--text);text-decoration:none}
.nav-links a:hover{color:var(--plum);text-decoration:underline}
.nav-links a.btn{color:#fff;text-decoration:none}
@media (max-width:760px){.nav-links .hide-sm{display:none}}
@media (max-width:420px){.logo small{display:none}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;background:var(--plum);color:#fff;text-decoration:none;padding:14px 26px;border-radius:999px;font-weight:600;font-size:17px;border:2px solid var(--plum);transition:background .15s,transform .15s;white-space:nowrap}
.btn:hover{background:var(--plum-2);border-color:var(--plum-2);transform:translateY(-1px)}
.btn.sm{min-height:42px;padding:8px 18px;font-size:15px}
.btn.ghost{background:transparent;color:var(--plum)}
.btn.ghost:hover{background:var(--soft)}
.btn .arrow{transition:transform .15s}
.btn:hover .arrow{transform:translateX(3px)}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.alt-link{font-weight:600;color:var(--plum);text-underline-offset:3px}
.micro{font-size:15px;color:var(--muted);margin:14px 0 0}
.center{text-align:center}
.center .cta-row{justify-content:center}
.center .measure{margin-left:auto;margin-right:auto}

/* Hero */
.hero{position:relative;overflow:hidden;padding:72px 0 76px}
.hero::before{content:"";position:absolute;width:560px;height:560px;right:-180px;top:-200px;border-radius:50%;background:radial-gradient(circle at 35% 35%,rgba(201,162,39,.26),rgba(201,162,39,0) 70%);pointer-events:none}
.hero .wrap{position:relative;display:grid;gap:48px;grid-template-columns:1.25fr .9fr;align-items:center}
.hero.single .wrap{grid-template-columns:1fr}
.hero h1 em{font-style:italic;color:var(--plum)}
.lead{font-size:clamp(18px,2.1vw,21px);color:var(--muted);max-width:36em;margin-bottom:28px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--plum);background:var(--gold-soft);padding:6px 14px;border-radius:999px;margin-bottom:20px}
.eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold)}
.ticks{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-wrap:wrap;gap:10px 24px;font-size:16px;color:var(--muted)}
.ticks li{display:flex;align-items:center;gap:8px}
.ticks li::before,.checks li::before{content:"";width:18px;height:18px;flex:none;border-radius:50%;background:var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%234A1D3F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.from{display:inline-block;margin:0 0 18px;font-weight:600;color:var(--plum)}
.from s{color:var(--muted);font-weight:500;margin-left:6px}
@media (max-width:860px){.hero .wrap{grid-template-columns:1fr;gap:36px}.hero{padding:48px 0 56px}}

/* Example chat illustration */
.chat{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:20px;max-width:400px;width:100%;justify-self:end}
.chat-head{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:14px;font-size:15px;font-weight:600}
.chat-head .av{width:34px;height:34px;border-radius:50%;background:var(--plum);color:#fff;display:grid;place-items:center;font-family:"Fraunces",serif;font-size:15px}
.chat-head .tag{margin-left:auto;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--soft);border-radius:999px;padding:3px 10px}
.msg{max-width:85%;padding:10px 14px;border-radius:16px;font-size:15px;line-height:1.45;margin-bottom:10px}
.msg.in{background:var(--soft);border-bottom-left-radius:4px}
.msg.out{background:var(--plum);color:#fff;margin-left:auto;border-bottom-right-radius:4px}
.msg small{display:block;font-size:12px;opacity:.75;margin-top:4px}
.chat-foot{font-size:13px;color:var(--muted);margin:8px 0 0;text-align:center}
@media (max-width:860px){.chat{justify-self:start}}

/* Sections */
section{padding:80px 0}
.section-head{max-width:660px;margin-bottom:36px}
.section-head p{color:var(--muted);font-size:19px}
.center .section-head{margin-left:auto;margin-right:auto}
.alt{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.after{margin-top:40px}

/* Cards */
.grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.grid.cols-3{grid-template-columns:1fr}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card p{color:var(--muted)}
.card .grow{flex:1}
.card.featured{border:2px solid var(--plum);box-shadow:0 12px 34px rgba(74,29,63,.14)}
.card.muted{background:rgba(255,255,255,.55);box-shadow:none}
.loss{font-weight:600;color:var(--plum);font-size:16px;margin:auto 0 0;padding-top:12px;border-top:1px solid var(--line)}
.icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;margin-bottom:18px;background:var(--gold-soft);color:var(--plum);font-family:"Fraunces",serif;font-weight:700;font-size:20px}
.card.featured .icon{background:var(--plum);color:#fff}
.for{font-size:15px;font-weight:600;color:var(--plum);margin:-2px 0 12px}
.badge{align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:4px 12px;border-radius:999px;margin-bottom:14px}
.badge.live{background:var(--plum);color:#fff}
.badge.soon{background:var(--soft);color:var(--muted);border:1px solid var(--line)}
.card ul,.checks{list-style:none;padding:0;margin:6px 0 22px}
.card li{position:relative;padding-left:26px;margin-bottom:9px;font-size:16px}
.card li::before{content:"";position:absolute;left:2px;top:8px;width:10px;height:10px;border-radius:50%;border:2px solid var(--gold)}
.checks li{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}
.checks li::before{margin-top:4px}
.research{margin:28px 0 0;font-size:15px;color:var(--muted);max-width:72ch}
.research a{color:var(--muted)}

/* Pricing */
.price{font-family:"Fraunces",serif;font-size:34px;font-weight:600;color:var(--plum);margin:0;line-height:1.1}
.price small{font-family:"Inter",sans-serif;font-size:15px;font-weight:500;color:var(--muted)}
.price.tbd{font-size:26px}
.monthly{font-size:16px;color:var(--text);margin:6px 0 0;font-weight:500}
.regular{font-size:14px;color:var(--muted);margin:8px 0 0}
.regular s{white-space:nowrap}
.price-box{border-top:1px solid var(--line);padding-top:20px;margin-top:auto}
.price-box .btn{width:100%;margin-top:18px}
.pricing-note{margin-top:22px;font-size:16px;color:var(--muted)}

/* Steps */
.steps{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));counter-reset:step;list-style:none;padding:0;margin:0}
.steps li{counter-increment:step;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.steps li::before{content:counter(step);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--plum);color:#fff;font-family:"Fraunces",serif;font-weight:600;margin-bottom:14px}
.steps h3{margin-bottom:6px}
.steps p{color:var(--muted);margin:0;font-size:16px}

/* Dark band */
.band{background:var(--plum);color:#F3E9F0;border-radius:26px;padding:52px 48px;position:relative;overflow:hidden}
.band::after{content:"";position:absolute;right:-100px;top:-100px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(201,162,39,.35),rgba(201,162,39,0) 70%)}
.band>*{position:relative;z-index:1}
.band h2{color:#fff}
.band p{color:#EADCE6;max-width:60ch}
.band .btn{background:var(--gold);border-color:var(--gold);color:var(--text)}
.band .btn:hover{background:#D8B23C;border-color:#D8B23C}
.band .alt-link{color:#fff}
.band .micro{color:#DCCBD7}
@media (max-width:600px){.band{padding:36px 24px;border-radius:20px}}

/* Founder */
.founder{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:start;max-width:820px}
.monogram{width:96px;height:96px;border-radius:50%;background:var(--plum);color:#fff;display:grid;place-items:center;font-family:"Fraunces",serif;font-size:34px;font-weight:600;box-shadow:0 0 0 6px var(--gold-soft)}
.founder .role{color:var(--muted);font-size:16px;margin:-6px 0 14px}
@media (max-width:600px){.founder{grid-template-columns:1fr}}
.two-col{display:grid;gap:48px;grid-template-columns:1.1fr 1fr;align-items:start}
@media (max-width:860px){.two-col{grid-template-columns:1fr;gap:36px}}

/* FAQ */
.faq{max-width:780px}
details{border-bottom:1px solid var(--line);padding:18px 0}
summary{cursor:pointer;font-weight:600;font-size:18px;list-style:none;display:flex;justify-content:space-between;gap:16px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-family:"Fraunces",serif;font-size:26px;line-height:1;color:var(--plum)}
details[open] summary::after{content:"–"}
details p{color:var(--muted);margin:10px 0 0}

/* Footer */
footer{border-top:1px solid var(--line);padding:36px 0 40px;font-size:15px;color:var(--muted)}
footer .wrap{display:flex;flex-wrap:wrap;gap:16px 28px;justify-content:space-between;align-items:center}
footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}
footer a{color:var(--muted)}
footer a:hover{color:var(--plum)}

/* Sticky mobile CTA */
.sticky-cta{display:none}
@media (max-width:760px){
  .sticky-cta{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:15;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(251,248,244,.97);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(31,26,30,.06)}
  .sticky-cta .btn{flex:1;min-height:48px;font-size:16px;padding:10px 14px}
  .sticky-cta .btn.ghost{flex:0 0 auto}
  body.has-sticky{padding-bottom:76px}
}
@media (max-width:600px){
  body{font-size:17px}
  section{padding:60px 0}
  .card{padding:24px}
  .hero .cta-row .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.or-rebook{display:block;font-size:15px;color:var(--muted);font-weight:400;margin-top:4px}
.hero-text{max-width:820px}
@media (max-width:760px){.has-sticky .nav-links .btn{display:none}}
@media (max-width:900px){#pricing .card.featured{order:-1}}
/* Legal pages */
.legal{padding:56px 0 72px}
.legal h1{font-size:clamp(34px,5vw,48px)}
.legal h2{font-size:24px;margin:36px 0 10px}
.legal p,.legal li{color:var(--muted)}
.legal ul{padding-left:22px}
.legal li{margin-bottom:8px}
.legal .updated{font-size:15px}
.headshot{display:block;width:112px;height:112px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 6px var(--gold-soft);background:var(--soft)}
