/* Design system for the practice-call product site. Brand-neutral: swap --accent + the name in brand.js to re-skin.
   No framework. System font stack + one display face loaded in the pages. Mobile-first, accessible, dark-mode aware. */
:root {
  --ink: #17181d;
  --ink-2: #33353f;
  --muted: #6c6e7a;
  --line: #e7e4de;
  --bg: #faf8f5;
  --card: #ffffff;
  --accent: #ff5b35;          /* signal-orange: energy / "go" — distinct from any KindaJobs blue */
  --accent-ink: #b8340f;
  --good: #0e7c66;
  --wash: #f2efe9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23,24,29,.05), 0 8px 30px rgba(23,24,29,.06);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3f1ec; --ink-2: #cfcdc7; --muted: #9a9ca6; --line: #2b2d34;
    --bg: #111216; --card: #191a20; --wash: #1f2027; --accent: #ff6c48; --accent-ink: #ffb59f; --good: #3ec9a7;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 34px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --ink: #f3f1ec; --ink-2: #cfcdc7; --muted: #9a9ca6; --line: #2b2d34;
  --card: #191a20; --bg: #111216; --wash: #1f2027; --accent: #ff6c48; --accent-ink: #ffb59f; --good: #3ec9a7;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 34px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
p { color: var(--ink-2); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brandmark { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.brandmark:hover { text-decoration: none; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.nav-cta { display: inline-flex; gap: 14px; align-items: center; }
.nav-cta a.ghost { color: var(--ink-2); font-weight: 500; font-size: 15px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 0; border-radius: 11px;
  font: 600 15px/1 var(--font); padding: 13px 20px; text-decoration: none; transition: transform .05s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 34%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 90%, #000); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--wash); }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 12px; }

/* ---- hero ---- */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); padding: 7px 12px; border-radius: 100px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); margin: 20px 0 0; max-width: 15ch; }
.hero .sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--ink-2); max-width: 56ch; margin: 20px 0 0; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.hero .fineprint { color: var(--muted); font-size: 14px; margin-top: 14px; }
.soundwave { display: flex; align-items: center; justify-content: space-between; gap: 2px; width: 100%; height: 88px; margin-top: 46px; padding: 0 2px; }
.soundwave i { flex: 1 1 0; min-width: 2px; max-width: 6px; height: 24%; background: var(--accent); border-radius: 4px; transform-origin: center; opacity: .92; animation: swBar 1.5s ease-in-out infinite alternate; }
@keyframes swBar { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

/* ---- sections ---- */
section { padding: 56px 0; }
.section-head { max-width: 60ch; }
.section-head .kicker { color: var(--accent-ink); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 10px 0 0; }
.section-head p { font-size: 17px; margin-top: 12px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step .n { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-family: var(--display); font-weight: 600;
  background: var(--ink); color: var(--bg); font-size: 16px; }
.step h3 { font-size: 18px; margin: 16px 0 8px; }
.step p { margin: 0; font-size: 15px; }

/* feature list */
.grid2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist .ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); margin-top: 1px; }
.checklist b { color: var(--ink); font-weight: 600; }
.checklist span.d { display: block; color: var(--ink-2); font-size: 15px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.callcard { border-radius: 10px; background: var(--wash); padding: 20px; }
.callcard .row { display: flex; gap: 10px; margin: 0 0 12px; }
.bubble { padding: 11px 14px; border-radius: 13px; font-size: 14.5px; max-width: 82%; }
.bubble.them { background: var(--card); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.you { background: var(--ink); color: var(--bg); margin-left: auto; border-bottom-right-radius: 4px; }
.callcard .meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.callcard .meta .live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* pricing */
.price { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 34px; max-width: 460px; margin: 30px auto 0; text-align: center; }
.price .amt { font-family: var(--display); font-weight: 600; font-size: 54px; color: var(--ink); letter-spacing: -.02em; }
.price .amt small { font-size: 18px; color: var(--muted); font-weight: 500; }
.price .note { color: var(--ink-2); margin: 6px 0 22px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: grid; gap: 11px; }
.price li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); font-size: 15px; }
.price li .ic { color: var(--good); }
.price .btn { width: 100%; }

/* faq */
.faq { display: grid; gap: 12px; margin-top: 28px; max-width: 760px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
details summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent-ink); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "\2013"; }
details p { margin: 0 0 18px; font-size: 15px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 30px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

/* forms (buy page) */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 30px; max-width: 480px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font: 16px var(--font); background: var(--bg); color: var(--ink); }
.field input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; border-color: var(--accent); }
.catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.catcard { text-align: left; cursor: pointer; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 14px; transition: border-color .12s ease, background .12s ease; display: block; }
.catcard:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.catcard[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.catcard .cl { font-weight: 600; color: var(--ink); font-size: 15px; }
.catcard .cb { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.catcard .cp { color: var(--accent-ink); font-weight: 600; font-size: 13.5px; margin-top: 8px; }
.otherwrap { margin-top: 10px; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: fit-content; }
.qty button { width: 46px; height: 48px; border: 0; background: var(--wash); color: var(--ink); font-size: 22px; cursor: pointer; }
.qty button:hover { background: var(--line); }
.qty input { width: 74px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; height: 48px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.total .big { font-family: var(--display); font-size: 30px; font-weight: 600; }
.err { color: #d23b40; font-size: 14px; margin-top: 10px; min-height: 1px; }
.trust { color: var(--muted); font-size: 13px; text-align: center; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 7px; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding: 48px 0 24px; }
  .nav-cta a.ghost { display: none; }
  .guarantee { flex-direction: column; text-align: center; }
  .guarantee .shield { margin: 0 auto; }
}

/* ---------- motion + trust ---------- */
/* pulsing brand dot — subtle "live" heartbeat */
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 6%, transparent); } }
.dot { animation: dotPulse 2.6s ease-in-out infinite; }

/* scroll reveal — sections fade + rise as they enter view. Visible by default; JS adds .armed to hide-then-reveal,
   so if JS never runs (or errors), content is simply shown — it can never get stuck invisible. */
.reveal { transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.armed { opacity: 0; transform: translateY(18px); }
.reveal.armed.in { opacity: 1; transform: none; }


/* primary button lifts on hover */
.btn-primary { transition: transform .06s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary:hover { transform: translateY(-1.5px); }

/* trust strip under the hero CTA */
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.trust-strip .ts { display: flex; align-items: center; gap: 8px; }
.trust-strip .ts svg { color: var(--good); flex: none; }

/* risk-reversal / guarantee band */
.guarantee { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px 26px; max-width: 640px; margin: 0 auto; }
.guarantee .shield { width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
.guarantee h3 { font-size: 17px; margin: 0 0 3px; }
.guarantee p { margin: 0; font-size: 14px; }

/* founder note */
.founder { display: flex; gap: 26px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 30px 32px; max-width: 720px; margin: 0 auto; }
.founder-photo { width: 88px; height: 88px; flex: none; border-radius: 50%; overflow: hidden; background: linear-gradient(140deg, var(--accent), var(--accent-ink)); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 36px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-note { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 8px 0 14px; }
.founder-sign { color: var(--muted); font-size: 14px; }
.founder-sign b { color: var(--ink); }
@media (max-width: 800px) { .founder { flex-direction: column; padding: 24px; } }

/* low-commitment trust band */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trioit { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 24px; }
.trioit .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-ink); margin-bottom: 14px; }
.trioit b { display: block; font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.trioit span { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; } }

/* animated sample-call transcript */
.callcard.anim .row { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.callcard.anim .row.show { opacity: 1; transform: none; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); display: inline-block; animation: typingBounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.replay { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; background: none; border: 0; color: var(--accent-ink); font: 600 12.5px var(--font); cursor: pointer; padding: 4px; }

/* ---- sample = a VOICE CALL, not a text thread ---- */
.callcard .callhead { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.callcard .callhead svg { color: var(--good); flex: none; }
.callcard .callhead .live { background: var(--accent); flex: none; }
.callcard .callhead .calltimer { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; margin-left: auto; }
.eq i { width: 3px; background: var(--accent); border-radius: 2px; height: 4px; animation: eqbar 900ms ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .15s; } .eq i:nth-child(3) { animation-delay: .3s; } .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eqbar { 0%, 100% { height: 4px; } 50% { height: 13px; } }
.callcard .row { flex-direction: column; gap: 0; margin: 0 0 14px; }
.callcard .row.you { align-items: flex-end; }
.callcard .row.them { align-items: flex-start; }
.who { font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 4px; letter-spacing: .02em; }
.speaking { display: inline-flex; align-items: flex-end; gap: 3px; height: 15px; padding: 1px 2px; }
.speaking i { width: 3px; background: var(--muted); border-radius: 2px; height: 5px; animation: eqbar 800ms ease-in-out infinite; }
.speaking i:nth-child(2) { animation-delay: .12s; } .speaking i:nth-child(3) { animation-delay: .24s; } .speaking i:nth-child(4) { animation-delay: .36s; }
.callnote { text-align: center; color: var(--muted); font-size: 12.5px; margin: 13px 0 2px; }

@media (prefers-reduced-motion: reduce) {
  .dot, .soundwave i, .typing i, .eq i, .speaking i { animation: none; }
  .soundwave i { transform: none; }
  .eq i { height: 9px; }
  .reveal, .reveal.armed { opacity: 1; transform: none; transition: none; }
  .callcard.anim .row { opacity: 1; transform: none; }
  .btn-primary:hover { transform: none; }
}
