@font-face { font-family: "Nunito Sans"; src: url("../../assets/fonts/nunito-sans-latin.woff2") format("woff2"); font-style: normal; font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url("../../assets/fonts/archivo-black-latin.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  --canvas: #f8f8f4;
  --paper: #fffefa;
  --ink: #222824;
  --muted: #666d66;
  --accent: #d94c36;
  --accent-hover: #bb3825;
  --accent-soft: #f9eae3;
  --line: #dedfd6;
  --deep: #242d28;
  --stage: #1a2420;
  --stage-deep: #121a16;
  --stage-line: rgb(255 255 255 / 9%);
  --stage-text: #f3f4ee;
  --stage-muted: #9ba49a;
  --shell: 1200px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Nunito Sans", system-ui, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
p { text-wrap: pretty; }
h1, h2 { line-height: 1.07; text-wrap: balance; letter-spacing: -.025em; font-weight: 750; }
ol, ul { padding: 0; margin: 0; list-style: none; }
q { quotes: "“" "”"; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #f4c2b2; color: var(--ink); }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 750; letter-spacing: .07em; line-height: 1.5; color: var(--muted); }
.accent-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 10px 16px; background: var(--ink); color: white; border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* Buttons share the home page vocabulary. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 11px 21px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 800; line-height: 1.4; transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.button > span[aria-hidden] { font-family: system-ui, sans-serif; font-size: 21px; line-height: 1; transition: transform 180ms ease; }
.button:hover > span[aria-hidden] { transform: translate(2px, -2px); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: white; box-shadow: 0 2px 3px rgb(122 43 30 / 12%), inset 0 1px 0 rgb(255 255 255 / 12%); }
.button-primary:hover { background: var(--accent-hover); box-shadow: 0 5px 13px rgb(122 43 30 / 15%); }
.button-outline { border-color: #d6d8ce; background: var(--paper); }
.button-outline:hover { border-color: #b8bcb1; background: white; }
.button-small { min-height: 40px; padding: 8px 14px; font-size: 12px; gap: 19px; }

/* Header */
.site-header { position: sticky; z-index: 20; top: 0; height: 80px; border-bottom: 1px solid var(--line); background: rgb(248 248 244 / 93%); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Archivo Black", sans-serif; font-size: 29px; font-weight: 400; line-height: 1; letter-spacing: -.065em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--accent); color: var(--paper); border-radius: 9px; }
.brand-mark svg { width: 26px; fill: currentColor; }
.header-links { display: flex; align-items: center; gap: 26px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 750; transition: color 160ms ease; }
.back-link span { color: var(--accent); font-size: 19px; line-height: 1; }
.back-link:hover { color: var(--accent); }

/* Hero: the title on the left, one real exchange on the right. */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px 72px; padding: 60px 0 48px; }
.hero > * { animation: enter 700ms both cubic-bezier(.16, 1, .3, 1); }
.hero h1 { font-size: clamp(54px, 7.2vw, 96px); line-height: .98; letter-spacing: -.045em; margin-top: 20px; }
.hero h1 span { font-weight: 550; color: var(--muted); }
.intro-copy { margin-top: 22px; font-size: 18px; line-height: 1.5; color: var(--muted); letter-spacing: -.015em; max-width: 420px; }
.product-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 8px; font-size: 13px; font-weight: 750; transition: color 160ms ease; }
.product-link span { font-family: system-ui, sans-serif; font-size: 19px; color: var(--accent); transition: transform 180ms ease; }
.product-link:hover { color: var(--accent); }
.product-link:hover span { transform: translate(2px, -2px); }
.exchange { display: grid; gap: 26px; padding-left: 30px; border-left: 2px solid var(--line); animation-delay: 160ms; }
.exchange p { position: relative; display: grid; gap: 7px; }
.exchange p::before { content: ""; position: absolute; left: -37px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #c9ccc0; box-shadow: 0 0 0 4px var(--canvas); }
.exchange p > span { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--muted); }
.exchange-q { font-size: 18px; line-height: 1.4; color: var(--muted); }
.exchange-a::before { background: var(--deep); }
.exchange-a q { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: var(--ink); }
.exchange-r::before { background: var(--accent); }
.exchange-r strong { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--accent); }
.exchange-r strong::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23d94c36'/%3E%3Cpath d='M4.6 8.3 7 10.7 11.5 5.8' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* The stage: dark, with the real waveform of the recording on top. */
.demo { padding: 4px 0 28px; }
.stage { overflow: hidden; border: 1px solid var(--stage-line); border-radius: 18px; background: var(--stage); color: var(--stage-text); box-shadow: 0 30px 70px -40px rgb(18 26 22 / 70%); animation: enter 850ms 240ms both cubic-bezier(.16, 1, .3, 1); }
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 10px; }
.demo-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgb(255 255 255 / 8%); }
.demo-switch button { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--stage-muted); font-size: 13px; font-weight: 800; white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.demo-switch button:hover { color: var(--stage-text); }
.demo-switch button[aria-pressed="true"] { background: var(--stage-text); color: var(--ink); }
.demo-switch time { font-size: 12px; font-weight: 600; color: inherit; opacity: .7; font-variant-numeric: tabular-nums; }
.watch-note { display: flex; gap: 6px; font-size: 11px; font-weight: 700; color: var(--stage-muted); }
.watch-note > span { padding: 4px 9px; border: 1px solid var(--stage-line); border-radius: 20px; white-space: nowrap; }

.wave { --wave-maria: #e4e7dc; --wave-you: #ff6b52; --wave-quiet: #3a4740; --wave-head: #ffffff; position: relative; height: 84px; margin: 0 18px 8px; cursor: pointer; }
.wave canvas { width: 100%; height: 100%; }
.wave-hover { position: absolute; top: -4px; transform: translateX(-50%); padding: 2px 7px; border-radius: 5px; background: var(--stage-text); color: var(--ink); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; pointer-events: none; white-space: nowrap; }
.wave-legend { position: absolute; right: 0; bottom: -6px; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: var(--stage-muted); pointer-events: none; }
.wave-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--wave-maria); }
.wave-legend i + * { margin-left: 2px; }
.wave-legend i.is-you { margin-left: 10px; background: var(--wave-you); }

.viewer { display: flex; flex-direction: column; border-top: 1px solid var(--stage-line); }
.video-pane { position: relative; z-index: 3; min-height: 200px; aspect-ratio: 16 / 9; width: 100%; background: var(--stage-deep); overflow: hidden; }
.video-pane iframe, #youtube-host { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; display: block; }
.video-cover { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: var(--stage-deep); padding: 0; overflow: hidden; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.video-cover::after { content: ""; position: absolute; inset: 0; background: rgb(18 26 22 / 0%); transition: background 220ms ease; }
.video-cover:hover img { transform: scale(1.015); }
.video-cover:hover::after { background: rgb(18 26 22 / 12%); }
.play-action { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border: 1px solid rgb(255 255 255 / 80%); border-radius: 60px; color: var(--ink); background: rgb(255 254 250 / 95%); box-shadow: 0 6px 35px rgb(0 0 0 / 28%); white-space: nowrap; text-align: left; transition: box-shadow 200ms ease, background 200ms ease; }
.video-cover:hover .play-action { box-shadow: 0 8px 40px rgb(0 0 0 / 38%); background: var(--paper); }
.play-circle { display: grid; place-items: center; flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: white; transition: transform 220ms ease, background 220ms ease, opacity 200ms ease; }
.play-circle svg { width: 25px; height: 25px; margin-left: 2px; fill: currentColor; }
.video-cover:hover .play-circle { background: var(--accent-hover); transform: scale(1.07); }
.play-copy { display: grid; gap: 2px; }
.play-copy strong { font-size: 16px; font-weight: 850; letter-spacing: -.02em; line-height: 1.2; }
.play-copy > span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.video-pane.is-loading .play-circle { opacity: .65; }

/* Transcript reads like the conversation it is. */
.transcript-panel { position: relative; height: 360px; min-height: 0; border-top: 1px solid var(--stage-line); background: var(--stage); }
.transcript-head { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--stage-line); }
.transcript-head h2 { font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: var(--stage-text); }
.transcript-head > span { padding: 3px 9px; border-radius: 20px; background: rgb(255 255 255 / 8%); font-size: 12px; font-weight: 700; color: var(--stage-muted); font-variant-numeric: tabular-nums; }
.transcript-scroll { position: absolute; top: 55px; bottom: 46px; left: 0; right: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #4a564f transparent; overscroll-behavior: auto; }
.transcript-scroll ol { padding: 10px 0 16px; }
.transcript-line { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "avatar speaker time" "avatar words words"; column-gap: 10px; row-gap: 5px; align-items: start; width: 100%; padding: 8px 16px 8px 13px; border: 0; border-left: 3px solid transparent; background: none; color: var(--stage-text); text-align: left; transition: background 160ms ease, border-color 160ms ease; }
.transcript-line > span { display: contents; }
.transcript-line::before { content: ""; grid-area: avatar; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 21px; border-radius: 50%; background: rgb(255 255 255 / 10%); color: var(--stage-text); font-size: 12px; font-weight: 800; }
.transcript-line[data-speaker="Maria"]::before { content: "M"; }
.transcript-line:hover { background: rgb(255 255 255 / 4%); }
.transcript-line[aria-current="true"] { background: rgb(217 76 54 / 14%); border-left-color: var(--accent); }
.transcript-line time { grid-area: time; align-self: center; font-size: 11px; font-weight: 600; line-height: 1.5; color: var(--stage-muted); font-variant-numeric: tabular-nums; }
.transcript-line strong { grid-area: speaker; align-self: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--stage-muted); }
.transcript-line .words { grid-area: words; justify-self: start; display: inline-block; max-width: 100%; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: rgb(255 255 255 / 8%); font-size: 14px; line-height: 1.5; white-space: pre-line; }
.transcript-line[data-speaker="Participant"] { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "time speaker" "words words"; }
.transcript-line[data-speaker="Participant"]::before { content: none; }
.transcript-line[data-speaker="Participant"] time { justify-self: end; }
.transcript-line[data-speaker="Participant"] strong { color: #ff8a74; }
.transcript-line[data-speaker="Participant"] .words { justify-self: end; border-radius: 14px 4px 14px 14px; background: var(--accent); color: white; }
.transcript-foot { position: absolute; bottom: 0; left: 0; right: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px 0 18px; border-top: 1px solid var(--stage-line); background: var(--stage); }
.transcript-foot > span { font-size: 12px; color: var(--stage-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transcript-foot button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 8px; border: 0; border-radius: 6px; background: none; font-size: 12px; font-weight: 800; color: var(--stage-muted); white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.transcript-foot button:hover { background: rgb(255 255 255 / 8%); color: var(--stage-text); }
.transcript-foot button[aria-pressed="true"] { color: #ff8a74; }

.video-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding: 8px 10px 8px 18px; border-top: 1px solid var(--stage-line); }
.video-bottom > p { font-size: 13px; color: var(--stage-muted); line-height: 1.5; }
.media-links { display: flex; gap: 4px; }
.media-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 11px; border-radius: 6px; font-size: 12px; font-weight: 750; color: var(--stage-text); transition: background 160ms ease; }
.media-links a:hover { background: rgb(255 255 255 / 8%); }
.media-links span { font-family: system-ui, sans-serif; font-size: 17px; line-height: 1; color: #ff8a74; }
.playback-status { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--accent); text-align: center; }
.playback-status:empty { display: none; }
.no-js-note { margin-top: 14px; font-size: 14px; text-align: center; }
.no-js-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 72px; padding-block: 64px 56px; }
.story h2 { font-size: clamp(34px, 4vw, 46px); margin-top: 18px; }
.story-heading > p:last-child { margin-top: 22px; max-width: 460px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.story-heading code { font: 13px/1 ui-monospace, SFMono-Regular, monospace; padding: 2px 6px; border-radius: 5px; background: #eeeee7; color: var(--ink); }
.story-detail h3 { font-size: 14px; font-weight: 800; letter-spacing: -.01em; padding-top: 10px; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.flow li { position: relative; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.65; color: var(--muted); }
.flow li::before { content: ""; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--accent); }
.recording-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.note-mark { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border: 1px solid #a6ada0; border-radius: 50%; font-family: Georgia, serif; font-size: 12px; font-style: italic; color: var(--muted); }
.recording-note p { font-size: 13px; line-height: 1.7; color: var(--muted); }

/* Closing band and footer */
.closing { background: var(--accent-soft); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 60px; }
.closing p { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
.site-footer { padding-top: 36px; background: #f1f2ea; }
.footer-inner { display: flex; gap: 24px; align-items: center; padding-bottom: 33px; }
.site-footer .brand { font-size: 24px; }
.site-footer .brand-mark { width: 27px; height: 27px; border-radius: 7px; }
.site-footer .brand-mark svg { width: 22px; }
.footer-inner > p { margin-left: 22px; color: var(--muted); font-size: 12px; }
.footer-inner nav { display: flex; gap: 27px; margin-left: auto; font-size: 12px; }
.site-footer a { transition: color 160ms ease; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #d9ddd0; padding-block: 18px; color: var(--muted); font-size: 12px; }
.footer-bottom small { font-size: inherit; }

@keyframes enter { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1080px) {
  .viewer { display: grid; grid-template-columns: minmax(0, 1fr) 350px; }
  .video-pane { min-height: 0; z-index: 1; }
  .transcript-panel { height: auto; min-height: 100%; border-top: 0; border-left: 1px solid var(--stage-line); }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 40px; }
  .exchange { max-width: 560px; }
  .story { grid-template-columns: 1fr; gap: 36px; padding-block: 52px 44px; }
  .story-heading > p:last-child { max-width: 620px; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 82px; }
  .shell { width: calc(100% - 40px); }
  .site-header { height: 68px; }
  .header-inner { gap: 16px; }
  .brand { font-size: 27px; gap: 8px; }
  .brand-mark { width: 29px; height: 29px; border-radius: 8px; }
  .header-links .button { display: none; }
  .back-link { font-size: 12px; }
  .hero { padding: 36px 0 30px; gap: 30px; }
  .hero h1 { font-size: clamp(44px, 12vw, 60px); margin-top: 14px; }
  .intro-copy { font-size: 15px; margin-top: 14px; }
  .exchange { gap: 20px; padding-left: 22px; }
  .exchange p::before { left: -29px; width: 10px; height: 10px; }
  .exchange-q { font-size: 15px; }
  .exchange-a q { font-size: 28px; }
  .exchange-r strong { font-size: 22px; }
  .demo { padding-bottom: 18px; }
  .stage { border-radius: 14px; }
  .stage-top { padding: 10px 10px 6px; }
  .watch-note { display: none; }
  .demo-switch { width: 100%; }
  .demo-switch button { flex: 1; justify-content: center; padding-inline: 8px; font-size: 12px; }
  .demo-switch time { font-size: 11px; }
  .wave { height: 60px; margin: 0 12px 6px; }
  .wave-legend { display: none; }
  .play-action { gap: 10px; padding: 7px 18px 7px 7px; }
  .play-circle { width: 44px; height: 44px; }
  .play-circle svg { width: 21px; height: 21px; }
  .play-copy strong { font-size: 14px; }
  .play-copy > span { font-size: 11px; }
  .transcript-panel { height: 340px; }
  .transcript-line { padding-inline: 10px 12px; }
  .transcript-line .words { font-size: 13px; }
  .video-bottom { padding: 8px 6px 8px 14px; }
  .video-bottom > p { font-size: 12px; width: 100%; padding-top: 4px; }
  .media-links { margin-left: -5px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 26px; padding-block: 48px; }
  .footer-inner { flex-wrap: wrap; gap: 19px 23px; padding-bottom: 25px; }
  .footer-inner > p { margin-left: auto; }
  .footer-inner nav { margin-left: 0; width: 100%; gap: 24px; }
  .footer-bottom { padding-block: 17px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .hero h1 { font-size: 40px; }
  .demo-switch button { gap: 6px; }
  .play-action { padding-right: 14px; }
}

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