/* Colors come from the app icon: Aegean blue tile, teal highlight, ivory scroll. */
:root {
  --aegean-950: #071f45;
  --aegean-900: #0b2f66;
  --aegean-700: #0f4c9a;
  --aegean-500: #1d6fd0;
  --teal: #26b3dd;
  --ivory: #f5ecd7;
  --ivory-soft: #faf5ea;
  --paper: #fdfaf3;
  --line: #e6dcc6;
  --ink: #142440;
  --ink-muted: #56627a;
  --speaker-you: #1d6fd0;
  --speaker-a: #b45a2a;
  --speaker-b: #7a4fb0;
  --speaker-c: #23805a;

  --serif: ui-serif, "Iowan Old Style", "Charter", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font: 17px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .88em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 28px; }
h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 8px; }
p { margin: 0 0 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
#get .narrow { text-align: center; }
#get .code { text-align: left; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.lead { font-size: 1.2rem; line-height: 1.55; max-width: 620px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-small { padding: 7px 16px; font-size: 14px; }
.button-ivory { background: var(--ivory); color: var(--aegean-950); }
.button-ivory:hover { background: #fff6e2; }
.button-ghost { border-color: rgba(245, 236, 215, .4); color: var(--ivory); }
.button-ghost:hover { background: rgba(245, 236, 215, .1); }
.button-ink { background: var(--aegean-900); color: var(--ivory); margin-top: 12px; }
.button-ink:hover { background: var(--aegean-700); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 31, 69, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(245, 236, 215, .1);
  color: var(--ivory);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0;
}
.site-nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.site-nav a { text-decoration: none; opacity: .8; }
.site-nav a:hover { opacity: 1; }

/* Hero */
.hero {
  color: var(--ivory);
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(38, 179, 221, .45), transparent 70%),
    linear-gradient(160deg, var(--aegean-700) 0%, var(--aegean-900) 55%, var(--aegean-950) 100%);
  padding: 88px 0 120px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { color: rgba(245, 236, 215, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 20px; }
.hero-note { font-size: 14px; color: rgba(245, 236, 215, .6); }

/* Product illustration */
.mock {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(3, 14, 35, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(.6deg);
  font-size: 14px;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: #dccfb2; }
.mock-bar-title { margin: 0 auto; font-size: 12px; font-weight: 600; color: var(--ink-muted); padding-right: 50px; }
.mock-body { padding: 20px 20px 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.mock-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 0; line-height: 1.2; }
.mock-meta { font-size: 12px; color: var(--ink-muted); margin: 3px 0 0; }
.mock-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ivory); font-size: 12px; }
.mock-tabs span { padding: 4px 10px; border-radius: 7px; color: var(--ink-muted); }
.mock-tabs .is-on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(20, 36, 64, .12); }
.mock-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; }
.turns { list-style: none; margin: 0; padding: 4px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.turns li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.turns li:last-child { border-bottom: 0; }
.turns p { margin: 0; line-height: 1.5; }
.turn-head { display: flex; align-items: center; gap: 8px; margin-bottom: 3px !important; font-size: 12px; }
.turn-head time { margin-left: auto; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tag { font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 99px; background: #fbe9c9; color: #85540a; }
.sp { font-weight: 650; }
.sp-you { color: var(--speaker-you); }
.sp-a { color: var(--speaker-a); }
.sp-b { color: var(--speaker-b); }
.sp-c { color: var(--speaker-c); }
.people { background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; overflow: hidden; align-self: start; }
.people p { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 0; padding: 8px 11px; border-top: 1px solid var(--line); }
.people .people-head { border-top: 0; font-weight: 650; }
.people small { flex-basis: 100%; padding-left: 15px; color: var(--ink-muted); font-size: 10.5px; margin-top: -3px; }
.people .is-edit { background: #f3edfb; }
.people .is-edit small { color: var(--speaker-b); }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sp-dot.sp-you { background: var(--speaker-you); }
.sp-dot.sp-a { background: var(--speaker-a); }
.sp-dot.sp-b { background: var(--speaker-b); }
.sp-dot.sp-c { background: var(--speaker-c); }
.player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 14px;
  border-radius: 99px;
  background: var(--ivory);
  font-size: 11px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.play { color: var(--aegean-700); font-size: 12px; }
.wave {
  flex: 1;
  height: 20px;
  background: repeating-linear-gradient(90deg, var(--aegean-500) 0 2px, transparent 2px 5px);
  opacity: .35;
  -webkit-mask-image: linear-gradient(90deg, #000 0 6%, rgba(0,0,0,.4) 18%, #000 30%, rgba(0,0,0,.5) 52%, #000 68%, rgba(0,0,0,.3) 86%, #000);
  mask-image: linear-gradient(90deg, #000 0 6%, rgba(0,0,0,.4) 18%, #000 30%, rgba(0,0,0,.5) 52%, #000 68%, rgba(0,0,0,.3) 86%, #000);
  border-radius: 3px;
}
.speed { font-weight: 600; }

/* Fact strip overlaps the hero like a sheet of paper laid on the desk. */
.facts { margin-top: -56px; position: relative; }
.facts-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--ivory-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px -24px rgba(7, 31, 69, .45);
}
.facts p { margin: 0; padding: 26px 24px; border-left: 1px solid var(--line); }
.facts p:first-child { border-left: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--aegean-900); margin-bottom: 6px; }
.facts span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }

/* Paper sections */
.paper { padding: 104px 0; }
.paper h2, .privacy h2 { text-align: center; margin-bottom: 48px; }
.paper-alt { background: var(--ivory-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--aegean-900); }
.steps p { color: var(--ink-muted); }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--aegean-900);
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 600;
  margin-bottom: 14px;
}

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.features article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 12px;
}
.features p { color: var(--ink-muted); }

/* Privacy */
.privacy {
  color: var(--ivory);
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(38, 179, 221, .25), transparent 70%),
    var(--aegean-950);
  padding: 104px 0;
}
.privacy { text-align: center; }
.privacy h2 { margin-bottom: 20px; }
.privacy .lead { color: rgba(245, 236, 215, .82); margin: 0 auto 36px; }
.pills { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.pills li {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(245, 236, 215, .25);
  background: rgba(255, 255, 255, .05);
  font-weight: 600;
}

/* Build */
.code { position: relative; margin: 22px 0 26px; }
.code pre {
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--aegean-950);
  color: var(--ivory);
  overflow-x: auto;
  font-size: 15px;
  line-height: 1.7;
}
.code code { font-size: inherit; }
.copy {
  position: absolute;
  top: 12px;
  right: 12px;
  font: 600 12px var(--sans);
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid rgba(245, 236, 215, .25);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}
.copy:hover { background: rgba(245, 236, 215, .1); }

/* Footer */
.site-footer { padding: 40px 0; font-size: 14px; color: var(--ink-muted); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { margin-left: auto; }
.brand-footer { color: var(--ink); font-size: 1.1rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 64px 0 112px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .mock { transform: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .paper, .privacy { padding: 72px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .mock-grid { grid-template-columns: 1fr; }
  .people { display: none; }
  .facts-inner { grid-template-columns: 1fr; }
  .facts p { border-left: 0; border-top: 1px solid var(--line); }
  .facts p:first-child { border-top: 0; }
  .footer-inner p:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
