/* AI Group Call — light "paper studio" identity.
   Ground: near-white paper + black ink. The only color on the page is the six
   pastel voice hues from the app's avatar system — "the cast is the color". */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper: #fbfbf8;
  --ink: #141412;
  --dim: #6e6e66;
  --line: #e6e6df;
  --card: #ffffff;
  --v1: #ff9e85; /* coral   */
  --v2: #ffc95c; /* amber   */
  --v3: #83cf78; /* green   */
  --v4: #5eb9d6; /* sky     */
  --v5: #8fa0ec; /* peri    */
  --v6: #c793d6; /* lilac   */
  --red: #ff3b30;
  --disp: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;
}

html { background: var(--paper); scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); line-height: 1.6; }
::selection { background: var(--v2); color: var(--ink); }
a { color: var(--ink); }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- nav ---------- */
nav { display: flex; align-items: center; gap: 12px; padding: 22px 0; }
nav img { width: 36px; height: 36px; border-radius: 10px; }
nav .brand { font-family: var(--disp); font-weight: 700; font-size: 17px; letter-spacing: -0.2px; text-decoration: none; white-space: nowrap; }
nav .links { margin-left: auto; display: flex; gap: 24px; align-items: center; }
nav .links a { color: var(--dim); font-size: 14px; text-decoration: none; }
nav .links a:hover, nav .links a:focus { color: var(--ink); }
nav .cta {
  color: var(--paper) !important; background: var(--ink); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 13.5px;
}
nav .cta:hover { transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; padding: 64px 0 84px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 2.5px; color: var(--dim); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s ease-in-out infinite; }
h1 {
  font-family: var(--disp); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98;
  font-size: clamp(52px, 7.2vw, 96px); margin-top: 18px; text-wrap: balance;
}
h1 .tilt { display: inline-block; }
.tagline { color: var(--dim); font-size: 18px; line-height: 1.55; margin-top: 22px; max-width: 46ch; }
.tagline b { color: var(--ink); font-weight: 600; }
.badges { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.badge {
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 10px 20px;
  text-decoration: none; min-width: 170px; transition: transform 160ms ease;
}
.badge:hover { transform: translateY(-2px); }
.badge small { color: #a8a8a2; font-size: 10.5px; letter-spacing: 0.6px; text-transform: uppercase; }
.badge span { font-size: 16px; font-weight: 700; }
.free-note { font-family: var(--mono); color: var(--dim); font-size: 12.5px; margin-top: 18px; }

/* ---------- phone mockup (shared) ---------- */
.phone {
  position: relative; width: 296px; border-radius: 54px; padding: 11px;
  background: linear-gradient(145deg, #3d3d40, #232326 40%, #131315);
  box-shadow:
    0 44px 90px rgba(20, 20, 18, 0.28),
    0 6px 18px rgba(20, 20, 18, 0.12),
    inset 0 0 2px rgba(255, 255, 255, 0.55);
  margin: 0 auto;
}
.phone .btn { position: absolute; background: #232326; border-radius: 2px; }
.phone .btn.power { right: -2.5px; top: 190px; width: 3px; height: 62px; }
.phone .btn.vol1  { left: -2.5px; top: 150px; width: 3px; height: 40px; }
.phone .btn.vol2  { left: -2.5px; top: 200px; width: 3px; height: 40px; }
.phone .screen {
  position: relative; border-radius: 43px; overflow: hidden; background: #000;
  aspect-ratio: 390 / 844;
}
.phone .island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 25px; border-radius: 16px; background: #060606;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); z-index: 40;
}
.phone-sm { width: 218px; padding: 9px; border-radius: 44px; }
.phone-sm .screen { border-radius: 35px; }
.phone-sm .island { width: 64px; height: 19px; top: 9px; }
.phone-sm .btn.power { top: 140px; height: 46px; }
.phone-sm .btn.vol1 { top: 108px; height: 30px; }
.phone-sm .btn.vol2 { top: 146px; height: 30px; }

/* transcript screen, rebuilt in HTML for crispness */
.trs { position: absolute; inset: 0; background: #000; color: #fff; padding: 38px 12px 0; font-family: var(--body); }
.trs .tt { font-size: 12px; font-weight: 800; }
.trs .tg { font-size: 7.5px; color: #9c9c9c; margin-top: 2px; line-height: 1.4; }
.trs .tm { display: flex; justify-content: space-between; font-size: 6.5px; color: #9c9c9c; margin-top: 5px; }
.trs .tm b { color: #fff; font-weight: 700; }
.trs .sum { background: #101010; border: 1px solid #2f2f2f; border-radius: 10px; padding: 8px 9px; margin-top: 8px; }
.trs .sum label { display: block; font-size: 5.2px; font-weight: 800; letter-spacing: 1px; color: #9c9c9c; margin-top: 6px; }
.trs .sum label:first-child { margin-top: 0; }
.trs .sum p { font-size: 7.4px; line-height: 1.5; margin-top: 2px; }
.trs .cst { display: flex; gap: 7px; margin: 9px 0; }
.trs .cst img { width: 20px; height: 20px; border-radius: 50%; }
.trs .msg { display: flex; gap: 6px; margin-top: 6px; }
.trs .msg img, .trs .ud { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; }
.trs .ud { background: #1c1c1c; color: #fff; font-size: 7px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.trs .bub { background: #101010; border-radius: 9px; padding: 5px 7px; flex: 1; }
.trs .bub b { font-size: 6.8px; font-weight: 800; display: block; }
.trs .bub p { font-size: 7.2px; line-height: 1.45; margin-top: 1px; }

/* ---------- hero: live in-app call screen ---------- */
.phonewrap { position: relative; }
.phonewrap .hint {
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  text-align: center; margin-top: 20px;
}
.phonewrap .hint b { color: var(--ink); font-weight: 600; }
.appcall { position: absolute; inset: 0; color: #fff; font-family: var(--body); }
.ac-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: 92px;
  padding-top: 44px; text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,.96) 30%, rgba(0,0,0,.7) 65%, rgba(0,0,0,0));
}
.ac-top .t { font-size: 12.5px; font-weight: 700; }
.ac-top .m { font-family: var(--mono); font-size: 9.5px; color: #9c9c9c; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ac-grid {
  position: absolute; inset: 0; padding: 72px 9px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-content: start;
}
.ac-tile {
  background: #101010; border-radius: 15px; padding: 9px 3px 8px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: background 300ms ease;
}
.ac-ring {
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid #2f2f2f; transition: border-color 300ms ease, box-shadow 300ms ease;
}
.ac-ring img { width: 50px; height: 50px; border-radius: 50%; display: block; }
.ac-tile .n { font-size: 9.5px; font-weight: 700; margin-top: 5px; }
.ac-tile .r { font-size: 8px; color: #9c9c9c; margin-top: 1px; }
.ac-tile .b {
  font-size: 6.5px; font-weight: 700; background: #fff; color: #000;
  border-radius: 999px; padding: 1px 6px; margin-top: 4px; opacity: 0; transition: opacity 200ms ease;
}
.ac-tile.talk { background: rgba(255, 255, 255, 0.10); }
.ac-tile.talk .ac-ring { border: 2px solid #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.4); }
.ac-tile.talk .b { opacity: 1; }
.ac-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  padding: 40px 12px 13px;
  background: linear-gradient(0deg, rgba(0,0,0,.97) 40%, rgba(0,0,0,.85) 65%, rgba(0,0,0,0));
}
.ac-bottom .who { display: flex; align-items: center; gap: 6px; }
.ac-bottom .who .name { font-size: 9px; font-weight: 800; }
.ac-bottom .bars { display: flex; align-items: flex-end; gap: 2px; height: 9px; }
.ac-bottom .bars i { width: 2px; border-radius: 1px; background: #fff; animation: bar 900ms ease-in-out infinite; }
.ac-bottom .bars i:nth-child(1) { height: 40%; }
.ac-bottom .bars i:nth-child(2) { height: 90%; animation-delay: 120ms; }
.ac-bottom .bars i:nth-child(3) { height: 60%; animation-delay: 240ms; }
.ac-bottom .bars i:nth-child(4) { height: 100%; animation-delay: 360ms; }
.ac-bottom .line {
  font-size: 10px; line-height: 1.45; margin-top: 4px; min-height: 29px; color: #fff;
  opacity: 0; transform: translateY(4px); transition: opacity 380ms ease, transform 380ms ease;
}
.ac-bottom .line.show { opacity: 1; transform: none; }
.ac-ctls { display: flex; justify-content: space-evenly; align-items: center; margin-top: 9px; }
.ac-ctl { width: 34px; height: 34px; border-radius: 50%; background: #1c1c1c; display: flex; align-items: center; justify-content: center; }
.ac-ctl svg { width: 14px; height: 14px; }
.ac-ctl.on { background: #fff; }
.ac-ctl.end { background: var(--red); }

@keyframes bar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- goals marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee .track { display: flex; gap: 44px; width: max-content; animation: scroll 36s linear infinite; }
.marquee .chip { font-family: var(--mono); font-size: 14px; color: var(--dim); display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee .chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.marquee .chip:nth-of-type(6n+1)::before { background: var(--v1); }
.marquee .chip:nth-of-type(6n+2)::before { background: var(--v2); }
.marquee .chip:nth-of-type(6n+3)::before { background: var(--v3); }
.marquee .chip:nth-of-type(6n+4)::before { background: var(--v4); }
.marquee .chip:nth-of-type(6n+5)::before { background: var(--v5); }
.marquee .chip:nth-of-type(6n+6)::before { background: var(--v6); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dim); }
h2 { font-family: var(--disp); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin-top: 12px; text-wrap: balance; }
.sectionlede { color: var(--dim); font-size: 16.5px; margin-top: 14px; max-width: 56ch; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.stepcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; }
.stepcard .num {
  font-family: var(--disp); font-weight: 800; font-size: 15px; color: var(--ink);
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.stepcard:nth-child(1) .num { background: var(--v2); }
.stepcard:nth-child(2) .num { background: var(--v4); }
.stepcard:nth-child(3) .num { background: var(--v3); }
.stepcard h3 { font-family: var(--disp); font-weight: 700; font-size: 20px; margin-top: 18px; }
.stepcard p { color: var(--dim); font-size: 15px; margin-top: 8px; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 36px; margin-top: 44px; }
.feature { border-top: 1px solid var(--line); padding-top: 18px; }
.feature .fdot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 12px; }
.feature h4 { font-family: var(--disp); font-weight: 700; font-size: 16.5px; }
.feature p { color: var(--dim); font-size: 14px; margin-top: 4px; }

/* transcript split */
.split { display: grid; grid-template-columns: 1fr 0.8fr; gap: 72px; align-items: center; }

.split p { color: var(--dim); font-size: 16px; margin-top: 14px; max-width: 48ch; }
.split .mini { font-family: var(--mono); font-size: 13px; color: var(--dim); margin-top: 22px; }
.split .mini b { color: var(--ink); font-weight: 600; }

/* CTA band */
.band { background: var(--ink); border-radius: 32px; color: var(--paper); padding: 72px 56px; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.band img { width: 84px; height: 84px; border-radius: 20px; }
.band h2 { color: var(--paper); margin-top: 0; }
.band .sub { color: #a8a8a2; margin-top: 10px; font-size: 15.5px; }
.band .badges { margin-top: 0; }
.band .badge { background: var(--paper); color: var(--ink); }
.band .badge small { color: var(--dim); }
.band .badge:hover { background: #fff; }

/* footer */
footer { padding: 44px 0 64px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .dim { color: var(--dim); font-size: 13.5px; }
footer .links { margin-left: auto; display: flex; gap: 22px; }
footer a { color: var(--dim); font-size: 13.5px; text-decoration: none; }
footer a:hover, footer a:focus { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 32px 28px 96px; }
.legal h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.02em; line-height: 1; margin-top: 0; }
.legal .updated { font-family: var(--mono); color: var(--dim); font-size: 12.5px; margin-top: 14px; }
.legal h2 { font-family: var(--disp); font-weight: 700; font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #3c3c38; font-size: 15.5px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li { margin: 5px 0; }
.legal .placeholder { background: var(--v2); border-radius: 6px; padding: 0 7px; color: var(--ink); font-size: 14px; }
.legal a { color: var(--ink); }

/* ---------- motion & responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee .track, .stage .bars i, .cast .seat.talk .dot::after, .eyebrow::before { animation: none; }
  .stage .line { transition: none; }
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 44px 0 64px; }
  .steps, .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .band { grid-template-columns: 1fr; padding: 48px 32px; text-align: left; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .phone { width: 264px; }
  .phone-sm { width: 200px; }
  nav .links a:not(.cta) { display: none; }
  .cast { gap: 8px; }
  .cast .dot { width: 36px; height: 36px; }
  .callcard { padding: 22px; }
  .badges { width: 100%; }
  .badge { flex: 1; min-width: 0; }
}
