/* Callmate marketing site. Layout and components only: every colour, font and radius comes from
   ../brand/brand.css (semantic --color-* tokens). Dark is always the marketing theme. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.55; background: var(--color-bg); color: var(--color-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-link); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-primary); color: var(--color-on-primary); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--color-text-muted); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- type */
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-accent); margin-bottom: 14px; }
.display { font-size: clamp(2.6rem, 8.4vw, 5rem); font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1.0; text-wrap: balance; }
.display em, .h2 em { font-style: italic; color: var(--color-accent); }
.h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
.h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.lede { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--color-text-muted); max-width: 46ch; line-height: 1.5; }
.small { font-size: var(--fs-small); }
.tiny { font-size: .8125rem; line-height: 1.5; }

/* ---------- buttons, pills, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill); border: 1px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--color-text); border-color: var(--color-border-strong); }
.btn--ghost:hover { border-color: var(--color-text-muted); background: rgba(255, 255, 255, .07); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: var(--radius-pill); border: 1px solid var(--color-accent); color: var(--color-accent); font-size: .8125rem; font-weight: 650; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: var(--radius-pill); background: var(--brand-limewash); color: var(--brand-ink); font-size: .875rem; font-weight: 650; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 16, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand-link { display: inline-flex; align-items: center; flex: none; }
.brand-link img { height: 22px; width: auto; }
.site-nav { display: none; gap: 24px; margin-left: 28px; list-style: none; }
.site-nav a { color: var(--color-text-muted); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.site-nav a:hover { color: var(--color-text); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-end .pill { display: none; }
@media (min-width: 560px) { .header-end .pill { display: inline-flex; } }
@media (min-width: 960px) { .site-nav { display: flex; } }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -10% -30% auto; height: 120%; background: var(--glow); z-index: -1; pointer-events: none; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__copy .lede { margin-top: 22px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero__note { margin-top: 16px; max-width: 52ch; }
.hero__copy .chips { justify-content: center; margin-top: 26px; }
.phones { position: relative; height: 420px; margin: 8px auto 0; width: 100%; max-width: 520px; }
.phone { position: absolute; bottom: -110px; width: 200px; border-radius: 38px; padding: 9px; background: linear-gradient(160deg, #3a3f49, #16191e 40%, #2a2f38); box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--brand-limewash); }
.phone--a { left: 50%; transform: translateX(-92%) rotate(-8deg); z-index: 1; }
.phone--b { left: 50%; transform: translateX(-8%) rotate(7deg) translateY(-34px); z-index: 2; }
.example-tag { position: absolute; right: 8px; top: 6px; z-index: 3; font-size: .75rem; font-weight: 650; color: var(--color-text-muted); background: rgba(21, 24, 29, .85); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 4px 10px; }
@media (min-width: 560px) { .phones { height: 470px; } .phone { width: 236px; } }
@media (min-width: 960px) {
  .hero { padding-top: 72px; }
  .hero__grid { grid-template-columns: 1.08fr 1fr; gap: 24px; }
  .hero__copy { text-align: left; align-items: flex-start; padding-bottom: 96px; }
  .hero__ctas, .hero__copy .chips { justify-content: flex-start; }
  .phones { height: 620px; max-width: none; }
  .phone { width: 282px; bottom: -110px; }
}

/* ---------- sections */
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head .lede { margin-top: 16px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .lede { margin-left: auto; margin-right: auto; }
.rule { border: 0; border-top: 1px solid var(--color-border); margin: 0; }

/* how it works */
.steps { display: grid; gap: 16px; list-style: none; counter-reset: step; }
.step { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px 24px 28px; }
.step__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-selected); color: var(--color-accent); font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--color-text-muted); margin-top: 8px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* features */
.features { display: grid; gap: 18px; }
.feature { display: grid; grid-template-columns: 1fr; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; }
.feature__shot { position: relative; height: 300px; overflow: hidden; background: radial-gradient(90% 90% at 50% 100%, rgba(90, 42, 12, .55), transparent 70%), var(--brand-conduit); display: flex; justify-content: center; padding-top: 28px; }
.feature__shot img { width: 230px; border-radius: 26px 26px 0 0; box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 6px #23272f, 0 0 0 7px rgba(255, 255, 255, .08); aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.feature__body { padding: 24px 24px 28px; }
.feature__body p { color: var(--color-text-muted); margin-top: 8px; }
.feature__tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .8125rem; font-weight: 650; color: var(--color-warning); }
.feature--wide { background: linear-gradient(135deg, var(--brand-copper-tint-night), var(--color-surface) 70%); }
.feature--wide .feature__body { display: flex; gap: 18px; align-items: flex-start; padding: 28px; }
.feature__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 153, 74, .14); color: var(--color-accent); }
@media (min-width: 760px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature--wide { grid-column: 1 / -1; }
}
@media (min-width: 1060px) {
  .features { grid-template-columns: repeat(6, 1fr); }
  .feature { grid-column: span 2; }
  .feature--half { grid-column: span 3; }
  .feature--wide { grid-column: 1 / -1; }
}

/* founding offer + form */
.founding { background: var(--color-selected); border: 1px solid rgba(242, 153, 74, .28); border-radius: var(--radius-xl); padding: 32px 20px; display: grid; gap: 36px; position: relative; overflow: hidden; }
.founding::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(242, 153, 74, .18), transparent); pointer-events: none; }
.founding > * { position: relative; }
.offer-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.offer-list li { display: flex; gap: 12px; align-items: flex-start; }
.offer-list svg { flex: none; margin-top: 3px; color: var(--color-accent); }
.offer-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fact { background: rgba(11, 13, 16, .45); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius-md); padding: 12px 16px; min-width: 132px; }
.fact b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.fact span { font-size: .8125rem; color: var(--color-text-muted); }
#founding-small { margin-top: 18px; }
@media (min-width: 900px) { .founding { grid-template-columns: 1fr 1fr; padding: 48px; gap: 48px; } }

.form-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px 20px; }
@media (min-width: 560px) { .form-card { padding: 28px; } }
.form-card .h3 { margin-bottom: 4px; }
.form-grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 650; font-size: .9375rem; margin-bottom: 6px; }
.field .opt { font-weight: 500; color: var(--color-text-muted); }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--color-border-strong); background: var(--color-surface-alt); font-size: 1rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brand-fog) 50%), linear-gradient(135deg, var(--brand-fog) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(242, 153, 74, .25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--color-danger); }
.err { display: block; min-height: 0; color: var(--color-danger); font-size: .875rem; margin-top: 6px; }
.err:empty { display: none; }
.field .consent { display: flex; margin: 0; font-weight: 500; line-height: 1.5; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--color-text-muted); }
.field .consent input { flex: none; width: 22px; height: 22px; min-height: 0; padding: 0; margin: 2px 0 0; accent-color: var(--brand-copper); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; }
.status { font-weight: 650; border-radius: var(--radius-sm); padding: 0; }
.status.ok { color: var(--color-success); padding: 12px 14px; background: rgba(95, 212, 154, .1); }
.status.err { color: var(--color-danger); padding: 12px 14px; background: rgba(255, 138, 128, .1); }

/* pricing */
.plans { display: grid; gap: 18px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 28px 24px; display: flex; flex-direction: column; }
.plan--pro { border-color: rgba(242, 153, 74, .4); }
.plan__name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan__for { color: var(--color-text-muted); font-size: .9375rem; }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__founding { margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--color-selected); font-size: .9375rem; }
.plan__founding b { color: var(--color-accent); }
.plan__setup { margin-top: 12px; color: var(--color-text-muted); font-size: .9375rem; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.plan li svg { flex: none; margin-top: 3px; color: var(--color-success); }
.honest { margin-top: 22px; color: var(--color-text-muted); font-size: .9375rem; max-width: 80ch; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 20px 20px; color: var(--color-text-muted); }
.faq .a p + p { margin-top: 10px; }

/* final CTA */
.cta-band { text-align: center; padding: 72px 20px; border-radius: var(--radius-xl); background: var(--glow), var(--color-surface); border: 1px solid var(--color-border); }
.cta-band .lede { margin: 16px auto 0; }
.cta-band .hero__ctas { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--color-border); padding: 40px 0 48px; margin-top: 24px; color: var(--color-text-muted); font-size: .9375rem; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer .foot-links { margin: 6px 0; }
.site-footer img { height: 20px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.foot-links a { color: var(--color-text); text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.legal-line { font-size: .8125rem; }

/* legal pages */
.doc { max-width: 760px; padding: 48px 16px 24px; margin: 0 auto; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.doc h2 { font-size: 1.375rem; font-weight: 750; letter-spacing: -.015em; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--color-text-muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.doc strong { color: var(--color-text); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* 404 page */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-top: 48px; padding-bottom: 64px; }
.notfound__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
