/* ELI-Brief website. The app's own tokens: a quiet light canvas, one ink, and orange only for what
   needs you now (due today, recording). Instrument Sans throughout, like the app. */
:root {
  --canvas: #F5F5F7;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #AEAEB2;
  --line: #E5E5EA;
  --signal: #FF5A1F;
  --signal-soft: #FFF1EB;
  --night: #1D1D1F;          /* the recorder panel: the logo's own dark */
  --night-2: #2C2C2E;
  --night-ink: #F5F5F7;
  --night-dim: #8E8E93;
  --p-blue: #3B6FE0;
  --p-green: #2B8A3E;
  --p-purple: #9C36B5;
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 10px;
  --measure: 66ch;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.6 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #000; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }
.display { font-size: clamp(40px, 5vw, 62px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 600; max-width: 15ch; }
.title { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #48484A; max-width: 56ch; margin: 20px 0 0; }
p { margin: 12px 0 0; max-width: var(--measure); }
.muted { color: var(--ink-2); }
.small { font-size: 15px; line-height: 1.5; }

/* ---------- frame ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
main { display: block; }
.page-head { padding: 56px 0 8px; }
.band { padding: 56px 0; }
@media (max-width: 760px) { .band { padding: 40px 0; } }
.band + .band { padding-top: 24px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- header ---------- */
.site-head { position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); flex: none; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); position: relative; flex: none; }
.mark i { position: absolute; display: block; border-radius: 2px; background: #fff; }
.mark i:nth-child(1) { left: 7px; top: 7px; width: 6px; height: 6px; border-radius: 3px; background: var(--signal); }
.mark i:nth-child(2) { left: 7px; top: 16px; width: 18px; height: 3px; }
.mark i:nth-child(3) { left: 7px; top: 22px; width: 11px; height: 3px; opacity: .6; }
.nav { display: flex; gap: 24px; flex: 1; }
.nav a { color: #55555A; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.head-actions .signin { color: #55555A; text-decoration: none; font-weight: 500; font-size: 15px; }
.menu { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-plain { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-plain:hover { background: #EBEBEF; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

@media (max-width: 940px) {
  .nav, .head-actions .signin { display: none; }
  .head-actions .btn { display: none; }
  .menu { display: block; margin-left: auto; position: relative; }
  .menu summary { list-style: none; cursor: pointer; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; align-items: center; font-weight: 600; font-size: 15px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--ink); color: #fff; box-shadow: none; }
  .menu nav { position: absolute; right: 0; top: 50px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border-radius: var(--radius-m); box-shadow: 0 18px 50px rgba(29,29,31,.16), 0 0 0 1px var(--line); padding: 10px; display: grid; }
  .menu nav a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
  .menu nav a[aria-current="page"] { background: var(--canvas); font-weight: 600; }
  .menu nav .btn { margin-top: 8px; color: #fff; }
}

/* ---------- home hero ---------- */
.hero { padding: 40px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .display { max-width: 15ch; } }

/* The recorder → list demo: a conversation, and the to-dos it turns into. */
.demo { position: relative; margin: 0; }
.rec { background: var(--night); color: var(--night-ink); border-radius: var(--radius-l); padding: 22px 24px 76px; min-height: 380px; box-shadow: 0 30px 80px rgba(29,29,31,.22); }
.rec-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--night-dim); }
.rec-head strong { color: var(--night-ink); font-weight: 600; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255,90,31,.6); flex: none; }
.rec-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; margin: 18px 0 8px; }
.wave span { flex: 1; height: 100%; border-radius: 2px; background: #48484A; transform-origin: center; transform: scaleY(.18); }
.lines { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; font-size: 16px; line-height: 1.5; max-width: 34em; }
.lines li { opacity: 1; }
.lines .who { display: block; font-size: 13px; font-weight: 600; color: var(--night-dim); margin-bottom: 2px; }
.lines .who.you { color: #FFB599; }
.lines mark { background: linear-gradient(to right, rgba(255,90,31,.32), rgba(255,90,31,.32)) no-repeat 0 100% / 100% 38%; color: inherit; border-radius: 2px; }

.list { position: relative; margin: -56px -12px 0 auto; width: min(360px, 82%); background: var(--surface); border-radius: var(--radius-m); padding: 16px 18px 12px; box-shadow: 0 22px 60px rgba(29,29,31,.18), 0 0 0 1px rgba(29,29,31,.04); }
.list h3 { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin: 0 0 6px; }
.list h3 + ul { margin-bottom: 10px; }
.list ul { list-style: none; margin: 0; padding: 0; }
.list li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; min-height: 40px; }
.list .item { display: flex; align-items: center; gap: 10px; }
.list li:first-child { border-top: 0; }
.box { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ink-3); flex: none; }
.person { width: 10px; height: 10px; border-radius: 50%; flex: none; margin: 0 4px; }
.chip { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--canvas); color: var(--ink-2); white-space: nowrap; }
.chip.now { background: var(--signal-soft); color: #C2410C; }
.list .empty { color: var(--ink-3); font-size: 14px; border: 0; padding: 6px 0; }
@media (max-width: 560px) {
  .rec { padding: 18px 18px 64px; min-height: 0; }
  .list { width: auto; margin: -44px 12px 0; }
}

/* Animation states (site.js adds .is-playing; without it, or with reduced motion, everything shows). */
.demo.is-playing .lines li, .demo.is-playing .list .item { opacity: 0; transform: translateY(8px); }
.demo.is-playing .lines li.on, .demo.is-playing .list li.on .item { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.demo.is-playing .lines mark { background-size: 0% 38%; }
.demo.is-playing .lines li.lit mark { background-size: 100% 38%; transition: background-size .7s cubic-bezier(.3,.7,.2,1); }
.demo.is-playing .list li.on { animation: land .9s cubic-bezier(.2,.8,.2,1); }
.demo.is-playing .list li[data-step] { position: relative; }
.demo.is-playing .list li[data-step]::after { content: ''; position: absolute; left: 0; right: 45%; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: var(--canvas); transition: opacity .3s ease; }
.demo.is-playing .list li[data-step].on::after { opacity: 0; }
.demo.is-playing.is-fading .lines li, .demo.is-playing.is-fading .list .item { opacity: 0; transition: opacity .6s ease; }
.demo.is-playing .wave span { animation: talk 1.1s ease-in-out infinite; }
.demo.is-playing .rec-dot { animation: pulse 1.6s ease-out infinite; }
.demo.is-paused .wave span, .demo.is-paused .rec-dot { animation-play-state: paused; }
@keyframes talk { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(var(--h, .7)); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.55); } 100% { box-shadow: 0 0 0 10px rgba(255,90,31,0); } }
@keyframes land { 0% { background: var(--signal-soft); } 100% { background: transparent; } }

/* ---------- home: what it does ---------- */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.three > div { padding: 28px 28px 8px 0; }
.three > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.three h3 { margin-bottom: 4px; }
.three p { font-size: 16px; color: #48484A; }
.three a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } .three > div, .three > div + div { padding: 24px 0 4px; border-left: 0; border-top: 1px solid var(--line); } .three > div:first-child { border-top: 0; } }
.works { font-size: 16px; color: var(--ink-2); max-width: 70ch; }

.cta { background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta .btn-ink { background: #fff; color: var(--ink); margin-left: auto; }
.cta .btn-ink:hover { background: #EDEDF0; color: var(--ink); }
.cta p { color: #C7C7CC; margin: 6px 0 0; }

/* ---------- inner pages ---------- */
.steps { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 230px); gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.steps > li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 18px; }
.steps img { border-radius: 22px; }
/* Phone screenshots show their top part, fading out, so pages stay short. */
.peek { max-height: 430px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
@media (max-width: 860px) { .steps > li { grid-template-columns: 48px minmax(0, 1fr); } .steps > li > figure { grid-column: 2; max-width: 220px; } }
figure { margin: 0; }

/* The pipeline: what happens to one recording, left to right. */
.pipe { margin-top: 48px; background: var(--surface); border-radius: var(--radius-l); padding: 32px clamp(20px, 3vw, 36px); }
.pipe .line { position: relative; margin-top: 24px; }
.pipe ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.pipe li { position: relative; padding: 52px 16px 0 0; font-size: 15px; line-height: 1.45; color: #48484A; }
.pipe li strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.pipe li::before { content: ''; position: absolute; top: 12px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); z-index: 1; }
.pipe .track { position: absolute; top: 22px; left: 11px; right: 11px; height: 2px; background: var(--line); }
.pipe .packet { position: absolute; top: 18px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); opacity: 0; }
.pipe.is-live .packet { animation: travel 4.4s linear .3s 1 both; }
.pipe.is-live li::before { animation: reach .45s ease both; animation-delay: calc(.3s + var(--i) * 1.1s); }
@keyframes travel { 0% { left: 6px; opacity: 0; } 4% { opacity: 1; } 96% { opacity: 1; } 100% { left: calc(80% + 6px); opacity: 0; } }
@keyframes reach { 0% { box-shadow: inset 0 0 0 2px var(--ink); } 50% { box-shadow: inset 0 0 0 11px var(--ink); } 100% { box-shadow: inset 0 0 0 2px var(--ink); } }
@media (max-width: 860px) { .pipe ol { grid-template-columns: 1fr; } .pipe li { padding: 0 0 22px 40px; } .pipe li::before { top: 0; } .pipe .track { top: 11px; bottom: 22px; left: 10px; right: auto; width: 2px; height: auto; } .pipe .packet { display: none; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
.feature.wide-shot, .feature.wide-shot:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
.feature.wide-shot:nth-of-type(even) > figure { order: 0; }
.feature:nth-of-type(even) > figure { order: -1; }
.feature img { border-radius: 24px; }
.feature .wide img { box-shadow: 0 18px 50px rgba(29,29,31,.14); }
.feature ul { margin: 18px 0 0; padding-left: 20px; color: #48484A; }
.feature li { margin: 6px 0; }
.feature .wide img { border-radius: 16px; }
@media (max-width: 860px) { .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; } .feature:nth-of-type(even) > figure { order: 0; } .feature figure { max-width: 260px; } .feature .wide { max-width: none; } }

.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 28px 0 0; }
.defs > div { padding: 20px 0; border-top: 1px solid var(--line); }
.defs dt { font-weight: 600; font-size: 18px; }
.defs dd { margin: 4px 0 0; color: #48484A; font-size: 16px; }
@media (max-width: 760px) { .defs { grid-template-columns: 1fr; } }

/* Privacy: where your data goes. */
.path { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.path > div { background: var(--surface); border-radius: var(--radius-m); padding: 20px; position: relative; }
.path > div + div::before { content: ''; position: absolute; left: -14px; top: 50%; width: 14px; height: 2px; background: var(--ink); }
.path h3 { font-size: 17px; }
.path p { font-size: 15px; color: #48484A; margin-top: 6px; }
.path .you { background: var(--night); }
.path .you h3, .path .you p { color: var(--night-ink); }
.path .you p { color: #C7C7CC; }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; } .path > div + div::before { left: 28px; top: -14px; width: 2px; height: 14px; } }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 24px; }
.points > div { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; align-content: start; }
.points svg { grid-row: span 2; width: 24px; height: 24px; margin-top: 3px; }
.points p { margin: 0; font-size: 16px; color: #48484A; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; max-width: 900px; }
.plan { background: var(--surface); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; }
.plan.best { box-shadow: inset 0 0 0 2px var(--ink); }
.plan .name { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.plan .tag { font-size: 13px; font-weight: 600; background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 999px; }
.plan .price { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 14px; }
.plan .price span { font-size: 18px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.plan ul { margin: 20px 0 28px; padding-left: 20px; color: #48484A; font-size: 16px; }
.plan li { margin: 6px 0; }
.plan .btn { margin-top: auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.needs { margin-top: 40px; max-width: 900px; }
.needs ul { padding-left: 20px; color: #48484A; }

/* FAQ */
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq details > div { padding: 0 0 22px; color: #48484A; }
.faq details > div p:first-child { margin-top: 0; }
.faq h2 { margin-top: 48px; font-size: 22px; }

/* Support and legal */
.tasks { margin-top: 32px; max-width: 820px; }
.tasks h2 { font-size: 22px; margin-top: 40px; }
.tasks ol, .tasks ul { padding-left: 22px; color: #48484A; }
.tasks li { margin: 8px 0; }
.doc { background: var(--surface); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); max-width: 860px; margin-top: 28px; }
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc h3 { font-size: 17px; margin-top: 24px; }
.doc p, .doc li { color: #3A3A3C; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .short { background: var(--canvas); border-radius: var(--radius-m); padding: 16px 24px; margin-top: 20px; }
.doc .short li { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); line-height: 1.5; color: #3A3A3C; }
.doc th { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc thead { display: none; } .doc td { border: 0; padding: 2px 0; } .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; } .doc td:first-child { font-weight: 600; color: var(--ink); } }
.updated { color: var(--ink-2); font-size: 15px; margin-top: 12px; }

/* ---------- footer ---------- */
.site-foot { margin-top: 40px; border-top: 1px solid var(--line); }
.site-foot .brand { color: var(--ink); text-decoration: none; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 48px; font-size: 15px; }
.site-foot h2 { font-size: 14px; color: var(--ink); margin-bottom: 8px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 6px 0; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .fine { color: var(--ink-2); margin-top: 12px; max-width: 34ch; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .wrap > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
