:root {
  --surface: #f4f5f7;
  --raised: #ffffff;
  --line: #dcdfe6;
  --ink: #15161c;
  --muted: #5b6070;
  --cut: #d1205f;
  --on-cut: #ffffff;
  --cut-soft: #fce7ef;
  --cut-ink: #a3134b;
  --clip: #7a8196;
  --deep: #15161c;
  --on-deep: #eeeff3;
  --deep-muted: #a3a7b5;
  --cut-on-deep: #ff5c98;
  --display: Gabarito, ui-rounded, system-ui, sans-serif;
  --text: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shadow: 0 1px 2px #15161c14, 0 12px 32px -12px #15161c3d;
  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--cut);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 26px; }
img, svg { max-width: 100%; }
a { color: var(--cut); }
a:hover { color: var(--cut-ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1168px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 780px; }

h1, h2, h3 { margin: 0; font-family: var(--display); }
h1 { font-size: 64px; line-height: 60px; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.caption { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); }
.mono { font-family: var(--mono); }
.lede { font-size: 19px; line-height: 28px; color: var(--muted); }

/* nav */
.nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.nav .logo { flex-grow: 1; display: block; }
.nav .logo img { height: 32px; width: auto; display: block; }
.nav a.link { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a.link:hover { color: var(--cut); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 12px; font: 600 17px/22px var(--text); text-decoration: none; border: 0; cursor: pointer; }
.btn.small { padding: 8px 14px; font-size: 15px; line-height: 20px; }
.btn.primary { background: var(--cut); color: var(--on-cut); }
.btn.primary:hover { background: var(--cut-ink); color: var(--on-cut); }
.btn.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted); }
.btn.quiet:hover { color: var(--ink); background: #ffffff; }
.btn.on-deep { background: var(--cut-on-deep); color: #111219; }
.btn.on-deep:hover { background: #ff7fad; color: #111219; }

/* hero */
.hero { display: flex; flex-direction: column; align-items: stretch; gap: 48px; padding-top: 40px; padding-bottom: 88px; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-copy .lede { max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.notes { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.notes p { display: flex; align-items: center; gap: 6px; }
.badge { display: inline-flex; align-self: center; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 9999px; background: var(--cut-soft); color: var(--cut-ink); font-size: 15px; font-weight: 600; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--cut); }


/* dark band */
.band { background: var(--deep); color: var(--on-deep); }
.band .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.band .big { flex: 1 1 380px; font-family: var(--display); font-size: 34px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }
.band .stats { flex: 1 1 420px; display: flex; gap: 32px; flex-wrap: wrap; }
.stat { display: grid; gap: 4px; }
.stat strong { font-family: var(--mono); font-size: 28px; line-height: 32px; font-weight: 500; }
.stat span, .band .caption { font-size: 13px; font-weight: 500; color: var(--deep-muted); }
.band .caption { flex-basis: 100%; }

/* sections */
.section { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 40px; }
.section.first { padding-top: 96px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { padding: 32px; border-radius: 20px; background: var(--raised); display: flex; flex-direction: column; gap: 16px; }
.step .n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.step .art { margin-top: auto; height: 96px; display: flex; }
.drop { width: 100%; border-radius: 12px; border: 2px dashed var(--clip); align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--muted); }
.progress { flex-direction: column; justify-content: center; gap: 8px; width: 100%; }
.progress .bar { display: flex; gap: 3px; height: 12px; }
.progress .bar div { border-radius: 6px; }
.progress .mono { font-size: 13px; color: var(--muted); }
.chips { flex-wrap: wrap; align-content: center; gap: 8px; }
.chip { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 9999px; background: var(--cut-soft); color: var(--cut-ink); font-size: 15px; font-weight: 600; }
.chip s { text-decoration-color: var(--cut); text-decoration-thickness: 2px; }
.chip .mono { font-size: 13px; font-weight: 500; }
.chip.kept { background: #fff; box-shadow: inset 0 0 0 1px var(--muted); color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-family: var(--text); font-size: 17px; line-height: 24px; font-weight: 700; letter-spacing: 0; }
.feature p { color: var(--muted); }
.feature svg { stroke: var(--ink); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.price-card { padding: 48px; border-radius: 20px; background: var(--raised); display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.price-card .copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.price-card .right { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price .amount { font-family: var(--mono); font-size: 40px; line-height: 44px; font-weight: 500; letter-spacing: -0.02em; }

.faq { display: flex; flex-direction: column; gap: 24px; }
.faq div { display: flex; flex-direction: column; gap: 6px; }
.faq p { color: var(--muted); }

.closer { background: var(--deep); color: var(--on-deep); }
.closer .inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.closer img { width: 96px; height: 96px; border-radius: 22px; }
.closer .big { font-family: var(--display); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.03em; }
.closer .caption { color: var(--deep-muted); }

.footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 48px; font-size: 13px; color: var(--muted); }
.footer img { height: 24px; width: auto; }
.footer .grow { flex-grow: 1; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--cut); }

/* pricing */
.page-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding-top: 32px; padding-bottom: 56px; }
.page-head .lede { max-width: 600px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); }
.plans { display: flex; flex-wrap: wrap; gap: 20px; }
.plan { flex: 1 1 300px; padding: 32px; border-radius: 20px; background: var(--raised); display: flex; flex-direction: column; gap: 16px; }
.plan.dark { background: var(--deep); color: var(--on-deep); }
.plan .amount { font-family: var(--mono); font-size: 40px; line-height: 44px; font-weight: 500; letter-spacing: -0.02em; }
.plan ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.plan .btn { margin-top: auto; }
.plan .caption { color: var(--deep-muted); }

/* prose pages */
.prose { display: flex; flex-direction: column; gap: 16px; padding-bottom: 96px; }
.prose h2 { margin-top: 24px; font-size: 26px; line-height: 32px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose p, .prose li { color: var(--ink); }

@media (max-width: 640px) {
  h1 { font-size: 44px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 34px; }
  .closer .big { font-size: 34px; line-height: 38px; }
  .band .big { font-size: 28px; line-height: 34px; }
  .hero { padding-bottom: 56px; gap: 40px; }
  .price-card { padding: 28px; }
  .nav { gap: 16px; }
}

/* use-case cards and lists */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 20px; background: var(--raised); color: var(--ink); text-decoration: none; }
.card:hover { color: var(--ink); box-shadow: var(--shadow); }
.card h3 { color: var(--ink); }
.card p { color: var(--muted); font-size: 15px; line-height: 22px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--cut); border-bottom: 3px solid var(--cut); transform: rotate(-45deg) scale(.8); }
.plain { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.transcript { margin: 0; padding: 24px 28px; border-radius: 20px; background: var(--raised); display: flex; flex-direction: column; gap: 12px; }
.transcript p { margin: 0; font-size: 19px; line-height: 32px; }
.transcript s { padding: 1px 6px; border-radius: 6px; background: var(--cut-soft); color: var(--cut-ink); text-decoration-color: var(--cut); text-decoration-thickness: 2px; }
.transcript s.gap { font-family: var(--mono); font-size: 13px; text-decoration: none; white-space: nowrap; }
.prose .faq { gap: 20px; }
.prose .faq h3 { font-size: 20px; }

/* the homepage demo: a copy of erm's review screen, built by demo.js */
.app-demo { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.app-demo .hint { text-align: center; }
.win { width: 100%; max-width: 1080px; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px #15161c1f, 0 2px 4px #15161c14, 0 30px 60px -20px #15161c52; text-align: left; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; font-size: 15px; line-height: 20px; color: var(--ink); }
:where(.win) button { font: inherit; color: inherit; cursor: pointer; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.win-bar .x { display: flex; margin-left: 6px; color: var(--ink); }
.win-title { min-width: 0; line-height: 15px; }
.win-title b { display: block; font-size: 13px; line-height: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-title span { white-space: nowrap; font-size: 11px; line-height: 14px; color: var(--muted); }
.win-bar .grow { flex: 1; }
.export { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 0; border-radius: 12px; background: var(--cut); color: var(--on-cut); font-weight: 600; font-size: 14px; }
.export span { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.win-bar .ico { display: flex; color: var(--ink); opacity: .8; }
.win-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; }
.win-left { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; background: #15161c; overflow: hidden; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ticker { position: relative; overflow: hidden; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 8px 6px; height: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker .row { position: absolute; top: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 4px; white-space: nowrap; transition: transform .3s ease-out; }
.ticker .row > * { flex: none; }
.ticker .coming { color: var(--muted); }
.scrub { position: relative; height: 22px; margin-top: 2px; }
.scrub .track { position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 9999px; background: var(--line); }
.scrub .played { position: absolute; left: 0; top: 8px; height: 6px; border-radius: 9999px; background: var(--clip); }
.scrub .tick { position: absolute; top: 0; height: 22px; width: 14px; margin-left: -7px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.scrub .tick::before { content: ""; width: 2px; height: 10px; border-radius: 1px; background: var(--muted); }
.scrub .tick.goes::before { height: 18px; background: var(--cut); }
.scrub .tick.sel::before { width: 3px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.scrub .gap { position: absolute; top: 0; height: 22px; padding: 0; border: 0; background: none; display: flex; align-items: center; }
.scrub .gap::before { content: ""; width: 100%; height: 6px; border-radius: 2px; background: #5b607080; }
.scrub .gap.goes::before { background: var(--cut); }
.scrub .gap.sel::before { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--ink); }
.scrub.playing .knob { transition: none; }
.scrub .knob { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); pointer-events: none; transition: left .3s ease-out; }
.ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.play { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--surface); }
.play svg { margin-left: 2px; }
.ctl .time { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.ctl .hear { display: flex; align-items: center; gap: 8px; margin: 0 0 0 12px; padding: 0; border: 0; background: none; font-weight: 600; font-size: 15px; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 9999px; background: var(--cut); }
.hear[aria-checked="false"] .switch { background: #b8bccb; }
.hear[aria-checked="false"] .switch::after { right: auto; left: 2px; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0003; }
.ctl .grow { flex: 1; }
.qbtn { padding: 6px 14px; border-radius: 12px; border: 1px solid var(--muted); background: var(--raised); font-weight: 600; }
.qbtn:hover { background: var(--surface); }
.win-panel { display: flex; flex-direction: column; min-width: 0; background: var(--raised); border-left: 1px solid var(--line); }
.panel-head { padding: 22px 22px 12px; display: flex; flex-direction: column; gap: 10px; }
.panel-head .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-head h3 { font-size: 20px; line-height: 24px; }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--surface); }
.seg button { padding: 3px 12px; border: 0; border-radius: 6px; background: none; font-size: 13px; line-height: 18px; }
.seg button[aria-pressed="true"] { background: var(--cut); color: var(--on-cut); }
.panel-head .help { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wchip { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 10px; border: 1px solid var(--muted); border-radius: 9999px; background: var(--raised); color: var(--muted); font-size: 14px; line-height: 18px; font-weight: 600; }
.wchip .n { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.wchip[aria-pressed="true"] { background: var(--cut-soft); border-color: var(--cut-soft); color: var(--cut-ink); }
.wchip[aria-pressed="true"] .w { text-decoration: line-through; text-decoration-color: var(--cut); }
.wchip.pauses svg { align-self: center; margin-right: 2px; }
.wchip.pauses[aria-pressed="true"] .w { text-decoration: none; }
.cutlist { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 0 10px 10px; max-height: 400px; }
.cutline { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 12px; }
.cutline.hl { background: var(--surface); }
.cutline .tc { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.cutline .words { display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; font-size: 14px; line-height: 20px; }
.cutline .lead { color: var(--muted); }
.tok { padding: 1px 4px; border: 1px solid transparent; border-radius: 6px; background: none; font-size: 14px; line-height: 18px; }
.tok.goes { background: var(--cut-soft); color: var(--cut-ink); text-decoration: line-through; text-decoration-color: var(--cut); }
.tok.kept { color: var(--muted); text-decoration: underline dotted var(--muted); text-underline-offset: 2px; }
.tok.doubt { border: 1px dashed var(--muted); }
.tok.sel { border: 1.5px solid var(--ink); }
.tok.pause { font-family: var(--mono); font-size: 12px; text-decoration: none; }
.panel-foot { border-top: 1px solid var(--line); padding: 14px 22px 16px; display: flex; align-items: baseline; gap: 12px; margin-top: auto; }
.panel-foot strong { font-family: var(--mono); font-size: 26px; line-height: 30px; font-weight: 500; letter-spacing: -0.02em; }
.panel-foot span { font-size: 12px; font-weight: 500; color: var(--muted); }
@media (max-width: 860px) {
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .win-panel { border-left: 0; border-top: 1px solid var(--line); }
  .win-bar .ico { display: none; }
}
@media (max-width: 520px) {
  .win-bar { gap: 10px; padding: 0 12px; }
  .win-bar .x { display: none; }
  .win-left { padding: 14px; }
  .ctl .hear { margin-left: 0; }
  .qbtn { padding: 6px 10px; }
  .cutline { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .ticker .row, .scrub .knob { transition: none; } }
