:root {
  color-scheme: dark;
  --bg: #1c1c1c;
  --surface: #262626;
  --ink: #f1f1ef;
  --muted: #c8c5ba;
  --muted-on-light: #50514c;
  --accent: #8fa68e;
  --accent-ink: #1c1c1c;
  --field-1: #c8c5ba;
  --field-1-ink: #1c1c1c;
  --font: 'EB Garamond', Garamond, serif;
  --step-small: clamp(1rem, 0.96rem + 0.15vw, 1.125rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.5rem, 3.6vw, 3.5rem);
  --margin: clamp(1.25rem, 3.4vw, 3.5rem);
  --radius: 0px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, p, figure, dl, dd { margin: 0; }
h1, h2 { font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: var(--step-display); }
h2 { font-size: var(--step-head); }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 500; }
button, input, .button { border-radius: var(--radius); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--accent-ink); }
[hidden] { display: none !important; }
.small { font-size: var(--step-small); }
.brand { font-size: var(--step-lead); text-decoration: none; white-space: nowrap; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; padding: 1rem; background: var(--ink); color: var(--bg); }
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px; align-items: start; }
.hero-sheet { min-height: calc(100svh - 24px); background: var(--field-1); color: var(--field-1-ink); padding: 28px var(--margin) 64px; }
.hero-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; }
.hero-nav a { display: inline-block; text-decoration: none; padding-block: 8px; }
.hero-copy { padding-top: clamp(100px, 20svh, 190px); text-align: center; }
.hero-copy h1 { margin-inline: auto; max-width: 19ch; }
.hero-copy > p:not(.coming, .hero-audience) { max-width: 36ch; margin: 28px auto; font-size: var(--step-body); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 32px; background: var(--accent-ink); color: var(--ink); text-decoration: none; transition: transform 140ms var(--ease-out), opacity 180ms ease; }
.hero-copy .hero-audience { margin-top: 18px; color: var(--muted-on-light); font-size: 18px; }
.hero-copy .coming { margin-top: 12px; color: var(--muted-on-light); font-size: 18px; }
.hero-picture { position: sticky; top: 12px; height: calc(100svh - 24px); min-height: 570px; background: var(--surface); overflow: hidden; display: grid; align-content: center; padding: 38px var(--margin) 94px; }
.hero-chat { width: 100%; max-width: 470px; margin-inline: auto; }
.chat-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 14px; font-size: var(--step-lead); }
.chat-heading > .small { color: var(--muted); }
.chat-scenes { position: relative; min-height: 400px; }
.hero-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1600ms ease; pointer-events: none; }
.hero-scene.is-active { opacity: 1; }
.chat-note { margin: 16px 0 40px; color: var(--ink); font-size: var(--step-lead); }
.message { width: fit-content; max-width: 92%; padding: 20px 24px; margin-bottom: 18px; font-size: var(--step-body); line-height: 1.4; }
.message p + p { margin-top: 16px; }
.message.sent { background: var(--accent); color: var(--accent-ink); margin-left: auto; }
.message.received { background: var(--bg); color: var(--ink); }
.message .small { display: block; margin-bottom: 10px; }
.voice-note { display: flex; align-items: center; gap: 22px; min-width: 78%; }
.voice-note .small { margin: 8px 0 0; }
.play-mark { font-size: var(--step-lead); }
.waveform { display: flex; align-items: center; gap: 4px; height: 42px; }
.waveform i { display: block; width: 4px; height: 18px; background: currentColor; }
.waveform i:nth-child(3n) { height: 38px; }
.waveform i:nth-child(3n + 1) { height: 26px; }
.waveform i:nth-child(5n) { height: 10px; }
.chat-caption { margin-top: 26px; color: var(--muted); padding-right: 112px; }
.mock-options { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.mock-options span { display: block; padding: 8px 12px; background: var(--surface); color: var(--ink); text-align: center; }
.draft-title { font-size: var(--step-lead); line-height: 1.2; }
.picture-bar { position: absolute; inset: auto 0 0; height: 56px; background: var(--field-1); color: var(--field-1-ink); display: flex; align-items: center; justify-content: space-between; padding-inline: 24px; font-size: 18px; }
.preview-toggle { position: absolute; right: 24px; bottom: 72px; background: none; border: 0; min-height: 44px; padding: 8px; text-decoration: underline; text-underline-offset: 0.2em; }
.how { min-height: 88svh; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr auto; position: relative; }
.how-copy { padding: 100px var(--margin) 56px; }
.how-copy h2 { max-width: 17ch; }
.how-copy > p { max-width: 34ch; margin-top: 32px; }
.how-copy .how-hint { color: var(--muted); margin-top: 48px; }
.how-picture { display: grid; align-items: center; background: var(--surface); padding: 64px var(--margin) 40px; }
.step-chat { width: 100%; max-width: 440px; margin-inline: auto; }
.step-content { min-height: 290px; padding-top: 24px; }
.slider-area { grid-column: 1 / -1; padding: 28px var(--margin) 40px; background: var(--bg); }
input[type='range'] { appearance: none; -webkit-appearance: none; width: 100%; height: 44px; margin: 0; padding: 0; background: transparent; cursor: pointer; }
input[type='range']::-webkit-slider-runnable-track { height: 8px; background: var(--ink); }
input[type='range']::-moz-range-track { height: 8px; background: var(--ink); }
input[type='range']::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 0; border-radius: var(--radius); transition: transform 140ms var(--ease-out); }
input[type='range']::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: var(--radius); transition: transform 140ms var(--ease-out); }
input[type='range']:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type='range']:active::-moz-range-thumb { transform: scale(1.15); }
.stage-names { display: flex; justify-content: space-between; color: var(--muted); margin-top: 8px; }
.stage-names button { min-width: 44px; min-height: 44px; padding: 8px; border: 0; background: transparent; font-size: 18px; }
.stage-names .is-current { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.drafts { background: var(--field-1); color: var(--field-1-ink); display: flex; gap: clamp(48px, 8vw, 140px); align-items: center; padding: 120px var(--margin); }
.drafts-copy { flex: 1; }
.drafts h2 { margin-bottom: 40px; }
.drafts-copy p { margin-top: 24px; max-width: 37ch; }
.drafts-visual { flex: 1; min-width: 0; max-width: 600px; }
.drafts-visual > .button { margin-top: 24px; }
.kaizen-preview { padding: clamp(24px, 3vw, 48px); background: var(--ink); color: var(--bg); }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: var(--step-body); }
.saved-state { background: var(--accent); padding: 4px 12px; font-size: 18px; }
.form-title { font-size: var(--step-lead); margin: 32px 0; }
.draft-fields dt { margin-top: 24px; font-size: 18px; }
.draft-fields dd { padding: 12px 16px; margin-top: 8px; background: var(--field-1); }
.form-foot { margin-top: 32px; color: var(--muted-on-light); }
.questions { display: flex; align-items: start; gap: clamp(48px, 8vw, 140px); padding: 120px var(--margin); }
.questions h2 { flex: 0 0 24%; }
.answers { columns: 2; column-gap: 56px; max-width: 940px; }
.answers > p, .answers details { break-inside: avoid; margin-bottom: 24px; }
.answers summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding-block: 8px; cursor: pointer; list-style: none; font-weight: 500; }
.answers summary::-webkit-details-marker { display: none; }
.answers summary::after { content: '+'; flex: none; color: var(--muted); }
.answers details[open] summary::after { content: '−'; }
.answers details > p { margin-top: 12px; }
.answers strong { display: inline; }
.answers .sign-in-lead { display: block; margin-top: 8px; }
.site-footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 50svh; }
.footer-picture { display: grid; align-items: center; background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 64px var(--margin); }
.footer-chat { width: 100%; max-width: 580px; margin-inline: auto; }
.footer-chat .chat-heading { margin-bottom: 28px; }
.footer-chat .message { max-width: 100%; padding: 40px; }
.footer-chat .message p { font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; }
.footer-chat > .small { margin-top: 28px; }
.footer-menu { padding: 64px var(--margin) 32px; display: flex; flex-direction: column; justify-content: center; }
.footer-menu nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 32px; color: var(--muted); }
.footer-menu nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; line-height: 1.2; text-decoration: none; padding-block: 8px; }
.footer-menu nav a + a::before { content: '·'; margin-right: 12px; }
address { display: flex; flex-direction: column; gap: 8px; margin: 56px 0 36px; font-style: normal; font-size: 16px; }
.legal { margin-top: 24px; color: var(--muted); padding-top: 24px; }
.privacy-page { background: var(--field-1); color: var(--field-1-ink); }
.privacy-header { width: 100%; padding: 28px var(--margin); background: var(--bg); color: var(--ink); }
.privacy-main { max-width: 760px; margin: 0 auto; padding: 72px var(--margin) 96px; }
.privacy-main h1 { margin-bottom: 56px; }
.privacy-main h2 { font-size: var(--step-lead); margin-bottom: 20px; }
.privacy-main section + section { margin-top: 44px; }
.privacy-main ul { margin: 0; padding-left: 24px; }
.privacy-main li + li { margin-top: 12px; }
.privacy-note { margin-top: 56px; }
.privacy-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 32px var(--margin); background: var(--bg); color: var(--ink); font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-3px); }
  .hero-nav a:hover, .preview-toggle:hover { opacity: 0.7; }
  .footer-menu nav a:hover { text-decoration: underline; }
  .stage-names button:hover { color: var(--ink); }
  input[type='range']:hover::-webkit-slider-thumb { transform: scale(1.1); }
  input[type='range']:hover::-moz-range-thumb { transform: scale(1.1); }
}
.button:active { transform: scale(0.97); }
@media (max-width: 1000px) and (min-width: 901px) {
  .hero-nav { flex-wrap: wrap; justify-content: center; column-gap: 28px; }
  .hero-nav .brand { flex-basis: 100%; order: -1; text-align: center; }
  .hero-copy { padding-top: 100px; }
  .questions { gap: 36px; }
  .answers { column-gap: 32px; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; gap: 0; }
  .hero-picture { order: -1; top: 12px; width: 100%; height: 56svh; min-height: 400px; padding: 20px 32px 86px; }
  .hero-chat { max-width: 440px; }
  .chat-scenes { min-height: 280px; }
  .chat-note { margin: 8px 0 20px; }
  .hero-picture .message { padding: 14px 20px; }
  .hero-picture .chat-caption { margin-top: 16px; }
  .hero-sheet { position: relative; z-index: 1; width: 100%; min-height: 650px; padding: 24px var(--margin) 80px; }
  .hero-nav { font-size: 16px; }
  .hero-copy { padding-top: 90px; }
  .hero-copy h1 { font-size: clamp(2.15rem, 5.8vw, 3.5rem); }
  .hero-copy > p:not(.coming, .hero-audience) { max-width: 36ch; }
  .how { min-height: auto; }
  .how-copy { padding-block: 72px; }
  .how-picture { padding-block: 64px; }
  .how-copy h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
  .drafts { padding-block: 88px; gap: 40px; }
  .drafts h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
  .kaizen-preview { padding: 24px; }
  .questions { display: block; padding-block: 88px; }
  .questions h2 { margin-bottom: 48px; }
  .answers { column-gap: 40px; }
  .site-footer { display: block; min-height: auto; }
  .footer-picture { min-height: 50svh; }
  .footer-chat { width: 100%; }
  .footer-chat .message { padding: 24px; }
  .footer-chat .message p { font-size: 32px; }
  .footer-menu { padding-block: 48px 32px; }
}
@media (max-width: 600px) {
  :root { --step-head: 9vw; }
  .hero-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; font-size: 14px; }
  .hero-nav a:last-child { text-align: right; }
  .hero-nav .brand { font-size: 20px; }
  .hero-picture { padding-inline: 22px; min-height: 400px; }
  .hero-picture .chat-heading { padding-block: 8px; }
  .hero-picture .chat-note { font-size: 20px; }
  .hero-picture .chat-scenes { min-height: 270px; }
  .hero-picture .message { font-size: 16px; }
  .hero-picture .draft-title { font-size: 20px; }
  .hero-picture .mock-options { gap: 6px; margin-top: 12px; }
  .hero-picture .mock-options span { padding-block: 6px; }
  .hero-sheet { min-height: 620px; }
  .hero-copy { padding-top: 72px; }
  .hero-copy h1 { font-size: 9vw; }
  .hero-copy > p:not(.coming, .hero-audience) { margin-block: 24px; }
  .hero-copy .button { width: 100%; }
  .picture-bar { padding-inline: 20px; }
  .how { display: flex; flex-direction: column; }
  .how-picture { order: -2; height: 46svh; min-height: 400px; padding: 24px var(--margin); }
  .step-chat .chat-heading { padding-block: 0 12px; }
  .step-content { min-height: 260px; padding-top: 12px; }
  .step-content .message { padding: 16px 20px; font-size: 16px; }
  .step-content .mock-options { margin-top: 16px; gap: 6px; }
  .step-content .mock-options span { padding-block: 6px; }
  .slider-area { order: -1; padding-block: 20px 0; }
  input[type='range']::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  input[type='range']::-moz-range-thumb { width: 40px; height: 40px; }
  .stage-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .stage-names button { text-align: left; }
  .how-copy { padding-block: 56px 72px; }
  .how-copy h2 { font-size: 9vw; }
  .how-copy > p { margin-top: 24px; }
  .how-copy .how-hint { margin-top: 24px; }
  .drafts { flex-direction: column; align-items: stretch; padding-block: 72px; gap: 48px; }
  .drafts h2 { font-size: 9vw; margin-bottom: 32px; }
  .drafts-copy p { margin-top: 20px; }
  .drafts-visual { flex: auto; }
  .questions { padding-block: 72px; }
  .questions h2 { margin-bottom: 36px; }
  .answers { columns: 1; }
  .answers > p, .answers details { margin-bottom: 22px; }
  .site-footer { display: block; }
  .footer-picture { height: 50svh; min-height: 400px; padding-block: 40px; }
  .footer-chat { width: 100%; }
  .footer-chat .message p { font-size: 24px; }
  .footer-menu nav { margin-top: 24px; }
  .privacy-main { padding-block: 56px 72px; }
  .privacy-main h1 { margin-bottom: 40px; }
}
/* The solid range track uses a transformed fill rather than a gradient. */
.range-wrap { position: relative; }
.range-wrap::before, .range-progress { position: absolute; top: 18px; right: 0; left: 0; height: 8px; background: var(--muted); content: ''; pointer-events: none; }
.range-progress { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.range-wrap input { position: relative; }
.range-wrap input::-webkit-slider-runnable-track { background: transparent; }
.range-wrap input::-moz-range-track { background: transparent; }
.how-copy, .step-chat { position: relative; }
.crossfade-copy { position: absolute; margin: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-chat { animation: chat-drift 18s var(--ease-soft) infinite alternate; }
}
@keyframes chat-drift { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-scene { opacity: 0; }
  .hero-scene:first-child { opacity: 1; }
  .button:hover, .button:active, .footer-menu nav a:hover { transform: none; }
  input[type='range']::-webkit-slider-thumb { transform: none !important; }
  input[type='range']::-moz-range-thumb { transform: none !important; }
}
.hero-picture.preview-paused .hero-chat { animation-play-state: paused; }
