@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(fonts/CormorantGaramond-normal-cyrillic-44d82a.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(fonts/CormorantGaramond-normal-latin-e99b45.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(fonts/CormorantGaramond-italic-cyrillic-bd3fa9.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap;
  src: url(fonts/CormorantGaramond-italic-latin-fe99e3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(fonts/Montserrat-normal-cyrillic-9e6b6d.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(fonts/Montserrat-normal-latin-2f5adf.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Design tokens. The palette is intentionally light-only. */
:root {
  --bg: #f0f0ee;
  --paper: #f7f7f5;
  --ink: #111110;
  --body: rgba(17, 17, 16, .92);
  --mid: #4a4a48;
  --faint: rgba(17, 17, 16, .62);
  --line: rgba(17, 17, 16, .16);
  --frame: rgba(17, 17, 16, .3);
  --box: rgba(17, 17, 16, .55);
  --accent: #cc0000;
  --on-ink: #ffffff;
  --display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --text: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 20px;
  --maxw: 880px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}
@media (min-width: 700px) { :root { --gutter: 8.5vw; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: .5px solid var(--ink); outline-offset: 3px; }

.wrap {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.eyebrow { margin: 0; font: 500 11px/1.4 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.eyebrow a { text-decoration: none; border-bottom: .5px solid var(--frame); }
.display {
  margin: 0; font: 300 clamp(48px, 7vw, 96px)/.95 var(--display); text-transform: uppercase;
  letter-spacing: -.01em; text-wrap: balance;
}
.display--s { font-size: clamp(36px, 5vw, 56px); }
.lead { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--body); }

/* Top bar */
.progress { position: fixed; inset: 0 0 auto; height: calc(1.5px + env(safe-area-inset-top, 0px)); z-index: 20; background: var(--line); }
.progress__bar { position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: .5px solid var(--line); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding-top: 2px; }
.save-state { font: 500 11px/1.3 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); text-align: right; transition: color .3s; }
.save-state[data-state="saving"] { color: var(--mid); }
.save-state[data-state="saved"] { color: var(--ink); }
.save-state[data-state="error"] { color: var(--accent); }

/* Hero */
.page-form { --maxw: 1240px; --card: #f6f6f3; --tile: #ffffff; }
.brief .q__label, .brief .q__hint { max-width: 70ch; }
.hero {
  position: relative; min-height: calc(100svh - 53px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: #141210; color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 68% 50%;
  will-change: transform; transform: scale(1.08);
}
/* Shown until a hero photo is provided: warm low light with a little grain. */
.hero__img--placeholder {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(55% 65% at 74% 38%, #8a6a4c 0%, #4d3a2a 34%, #221a14 66%, #121010 100%);
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, .74) 0%, rgba(10, 10, 9, .38) 46%, rgba(10, 10, 9, 0) 78%),
    linear-gradient(0deg, rgba(10, 10, 9, .62) 0%, rgba(10, 10, 9, 0) 48%);
}
.hero__in { position: relative; z-index: 1; width: 100%; display: grid; gap: 30px; padding-block: 140px 190px; opacity: var(--hero-fade, 1); }
.hero__kicker { color: rgba(255, 255, 255, .92); display: flex; align-items: center; gap: 14px; }
.hero__kicker::before { content: ''; width: 40px; height: 1.5px; background: var(--accent); }
.hero__title { margin: 0; display: grid; gap: 14px; will-change: transform; }
.hero__line { display: block; font: 300 clamp(64px, 12.5vw, 200px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.025em; text-wrap: balance; color: #fff; }
.hero__italic { display: block; font: italic 400 clamp(26px, 3.4vw, 46px)/1.2 var(--display); color: rgba(255, 255, 255, .92); }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: .5px solid rgba(255, 255, 255, .3); }
.hero__form { margin: 0; font: 500 15px/1.4 var(--text); color: #fff; }
.hero__form-label { margin-right: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--light .btn__arrow { background: rgba(255, 250, 242, .92); color: var(--ink); }
.btn--light:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hero__cue {
  position: absolute; z-index: 1; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 38%;
  display: grid; justify-items: center; gap: 14px; text-decoration: none;
  font: 500 10px/1 var(--text); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.hero__cue span { writing-mode: vertical-rl; }
.hero__cue i { position: relative; display: block; width: .5px; height: 64px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__cue i::after { content: ''; position: absolute; left: -.5px; top: -40%; width: 1.5px; height: 40%; background: var(--accent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.hero__kicker, .hero__line, .hero__italic, .hero__foot > * { animation: rise .9s var(--ease) both; }
.hero__line { animation-delay: .08s; }
.hero__italic { animation-delay: .22s; }
.hero__foot > * { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* How it works: glass cards over the hero photo */
.how { position: relative; z-index: 2; margin-top: -130px; padding-bottom: 72px; }
.how__steps {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  perspective: 1400px;
}
/* The entrance animates the individual translate property, so scripts can own transform for parallax and tilt. */
.how__card {
  position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 28px 32px; border-radius: 12px; min-width: 0;
  background: rgba(250, 250, 248, .74); border: .5px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px rgba(10, 10, 9, .22);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .35s var(--ease);
  animation: card-rise .9s var(--ease) both;
}
.how__card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--glare-x, 50%) var(--glare-y, 0%), rgba(255, 255, 255, .55), transparent 55%);
  transition: opacity .35s var(--ease);
}
.how__card.is-tilting { box-shadow: 0 40px 90px rgba(10, 10, 9, .28); }
.how__card.is-tilting::after { opacity: 1; }
@keyframes card-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.how__card:nth-child(2) { animation-delay: .12s; }
.how__card:nth-child(3) { animation-delay: .24s; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .how__card { background: rgba(250, 250, 248, .97); } }
.how__num { font: italic 300 56px/.9 var(--display); color: var(--accent); }
.how__card h2 { margin: 0; font: 300 30px/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.how__card p { margin: 0; color: var(--body); font-size: 14px; line-height: 1.7; }
.how__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px 56px; align-items: end; margin-top: 72px; }
.how__lead { font-size: 17px; max-width: 46ch; color: var(--ink); }
.how__facts { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; }
.how__facts > div { min-width: 0; padding-top: 16px; border-top: .5px solid var(--frame); }
.how__facts dt { font: 500 11px/1.4 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.how__facts dd { margin: 10px 0 0; }
.how__facts .num { display: block; font: 300 clamp(38px, 4vw, 56px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; overflow-wrap: normal; }
.how__facts .unit { display: block; margin-top: 6px; font: 500 11px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--mid); }
.how .warning { margin-top: 48px; }
.warning { margin: 4px 0 0; padding: 4px 0 4px 18px; border-left: 1.5px solid var(--accent); font-size: 15px; line-height: 1.7; color: var(--ink); max-width: 64ch; }

@media (max-width: 900px) {
  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .how__row { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .how__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__facts > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hero__in { padding-block: 110px 150px; gap: 24px; }
  .hero__img { object-position: 62% 50%; }
  .hero__cue { display: none; }
  .hero__foot .btn { width: 100%; justify-content: space-between; }
  .how { margin-top: -100px; }
  /* Steps scroll horizontally on phones. */
  .how__steps {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); padding: 0 max(var(--gutter), env(safe-area-inset-left, 0px)) 28px;
  }
  .how__steps::-webkit-scrollbar { display: none; }
  .how__card { flex: 0 0 82%; scroll-snap-align: start; padding: 22px 22px 26px; box-shadow: 0 20px 50px rgba(10, 10, 9, .18); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__kicker, .hero__line, .hero__italic, .hero__foot > *, .how__card, .hero__cue i::after { animation: none !important; }
}

/* Section tabs */

.tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 52px); z-index: 9; background: var(--bg); padding-top: 14px; }
.tabs > .wrap { position: relative; }
/* The baseline spans the card only; the active tab covers it. */
.tabs > .wrap::after { content: ''; position: absolute; z-index: 1; bottom: 0; height: .5px; background: var(--frame);
  left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.tabs__in {
  position: relative; display: flex; align-items: flex-end; gap: 4px; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.tabs__in::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; padding: 12px 18px 11px; border: .5px solid var(--frame); border-bottom: 0; border-radius: 10px 10px 0 0;
  background: #e4e3df; cursor: pointer;
  font: 500 12px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--mid);
  transition: background .25s, color .25s, margin .25s, padding .25s;
}
.tab:hover { background: #ebeae6; color: var(--ink); }
.tab::after { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab[aria-selected="true"] {
  z-index: 2; margin-top: 0; padding: 15px 20px 14px; background: var(--card); color: var(--ink);
}
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab__count { font-weight: 400; letter-spacing: .04em; color: var(--faint); font-variant-numeric: tabular-nums; }
.tab__dot { width: 6px; height: 6px; border-radius: 50%; border: .5px solid var(--box); flex: 0 0 auto; transition: background .25s, border-color .25s; }
.tab.is-started .tab__dot { border-color: var(--accent); }
.tab.is-done .tab__dot { background: var(--accent); border-color: var(--accent); }
.tab.is-done .tab__count { color: var(--accent); }

/* Section card */
.brief {
  position: relative; background: var(--card); border: .5px solid var(--frame); border-top: 0; border-radius: 0 0 12px 12px;
  padding: 0 clamp(20px, 4vw, 56px) 44px; box-shadow: 0 30px 80px rgba(10, 10, 9, .08);
}
.brief .section { padding-top: clamp(32px, 5vw, 56px); }

/* Pager */
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 40px; }
.pager__step { font: 500 11px/1.4 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.btn--back { padding: 11px 22px 11px 13px; }
.btn--back .btn__arrow { transform: scaleX(-1); background: transparent; border: .5px solid var(--frame); }
.btn--back:hover .btn__arrow { transform: scaleX(-1) translateX(3px); }
.section[hidden] { display: none; }
.finish[hidden] { display: none; }

@media (max-width: 700px) {
  .tabs { padding-top: 10px; }
  .tabs__in { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 40px; }
  .tab { padding: 10px 14px 9px; font-size: 11px; }
  .tab[aria-selected="true"] { padding: 13px 16px 12px; }
  .brief { padding: 0 12px 28px; border-radius: 0 0 10px 10px; }
  .q { padding: 18px 16px 16px; border-radius: 10px; margin-bottom: 10px; }
  .brief .section__head { padding-inline: 6px; }
  .pager { flex-direction: column-reverse; align-items: stretch; }
  .pager .btn { justify-content: space-between; }
  .pager__step { text-align: center; }
}

/* Questions */

.section__head { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; align-items: baseline; padding-bottom: 8px; }
.section__num { font: italic 400 26px/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.section__title { margin: 0; font: 300 clamp(34px, 5vw, 56px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.section__note { grid-column: 2; margin: 6px 0 0; color: var(--mid); font-size: 14px; }

.q {
  position: relative; min-width: 0; margin: 0 0 14px; padding: 24px 28px 22px;
  background: var(--tile); border: .5px solid var(--frame); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(10, 10, 9, .04), 0 10px 28px rgba(10, 10, 9, .04);
  transition: border-color .3s, box-shadow .3s;
}
.q:focus-within { border-color: rgba(17, 17, 16, .45); box-shadow: 0 1px 2px rgba(10, 10, 9, .05), 0 16px 40px rgba(10, 10, 9, .08); }
/* Answered marker */
.q::before {
  content: ''; position: absolute; left: -.5px; top: 22px; bottom: 22px; width: 2px; border-radius: 0 2px 2px 0;
  background: var(--accent); transform: scaleY(0); transition: transform .35s var(--ease);
}
.q.is-answered::before { transform: scaleY(1); }
.q.is-answered .q__num { background: var(--ink); border-color: var(--ink); color: #fff; }
.q.is-target .q__num { background: var(--accent); border-color: var(--accent); color: #fff; }
.brief .section__head { margin-bottom: 18px; }
/* Floating the legend removes the extra gap browsers add below it. */
.q__label { float: left; width: 100%; padding: 0; margin: 0; font: 500 17px/1.5 var(--text); color: var(--ink); }
.q__num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; padding: 0 8px; margin-right: 12px;
  border: .5px solid var(--frame); border-radius: 999px; vertical-align: 2px; text-decoration: none;
  font: 500 12px/1 var(--text); letter-spacing: .02em; color: var(--mid); font-variant-numeric: lining-nums tabular-nums;
  transition: background .25s, color .25s, border-color .25s;
}
.q__num:hover { border-color: var(--ink); color: var(--ink); }
/* Highlight for a question opened through a #q link */
.q.is-target .q__num { background: var(--accent); border-color: var(--accent); color: #fff; }
.q.is-target .q__label { animation: target 2.4s var(--ease); }
@keyframes target { 0%, 60% { color: var(--accent); } 100% { color: var(--ink); } }
.q__hint { clear: both; margin: 0; padding-top: 4px; color: var(--mid); font-size: 14px; }
.q__body { clear: both; padding-top: 16px; }

.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; min-height: 42px;
  border: .5px solid var(--frame); border-radius: 999px; background: var(--paper);
  font: 400 14px/1.35 var(--text); letter-spacing: .02em; color: var(--ink); cursor: pointer; user-select: none;
  transition: background .25s, color .25s, border-color .25s;
}
.opt span::before {
  content: ''; flex: 0 0 auto; width: 16px; height: 16px; border: .5px solid var(--box);
  background: center / 10px 10px no-repeat; transition: border-color .25s, background-color .25s;
}
.opt--check span::before { border-radius: 3px; }
.opt--radio span::before { border-radius: 50%; }
.opt span:hover { border-color: var(--ink); }
.opt input:focus-visible + span { outline: .5px solid var(--ink); outline-offset: 3px; }
.opt input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.opt--check input:checked + span::before {
  border-color: var(--accent); background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
}
.opt--radio input:checked + span::before {
  border-color: #fff; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ccircle cx='5' cy='5' r='3' fill='%23cc0000'/%3E%3C/svg%3E");
}
.opt input:disabled + span { opacity: .38; cursor: not-allowed; }

.extra { margin-top: 12px; display: grid; gap: 6px; }
.extra[hidden] { display: none; }
.input, .textarea {
  width: 100%; max-width: 560px; padding: 9px 12px; border: .5px solid var(--frame); border-radius: 8px;
  background: var(--paper); color: var(--ink); font: 400 14px/1.55 var(--text); transition: border-color .25s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); }
.textarea { min-height: 96px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.extra__label { font: 500 11px/1.3 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* Text buttons */
.comment-toggle, .copy-link {
  justify-self: start; margin-top: 14px; padding: 0 0 2px; border: 0; border-bottom: .5px solid var(--frame); background: none; cursor: pointer;
  font: 500 11px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transition: color .25s, border-color .25s;
}
.comment-toggle:hover, .copy-link:hover { color: var(--ink); border-color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 11px 13px 11px 26px;
  border: .5px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--on-ink);
  font: 500 14px/1 var(--text); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: gap .35s var(--ease), background .35s, color .35s;
}
.btn__arrow {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #f4efe6; color: var(--ink); transition: transform .35s var(--ease);
}
.btn:hover { gap: 18px; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--frame); padding: 11px 22px; }
.btn--ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* Finish */
.finish { display: grid; gap: 22px; justify-items: start; padding-block: 56px clamp(64px, 10vw, 100px); margin-top: 48px; border-top: .5px solid var(--frame); }
.finish__text { margin: 0; max-width: 58ch; color: var(--body); }
.finish.is-sent .finish__text { color: var(--ink); padding-left: 18px; border-left: 1.5px solid var(--accent); }

.footer { border-top: .5px solid var(--line); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); color: var(--faint); font-size: 12px; }

/* Scroll reveal, enabled by script */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Plain pages */
.plain { display: grid; gap: 24px; padding-block: clamp(64px, 14vh, 160px); }
.login { display: grid; gap: 18px; max-width: 360px; }
.field { display: grid; gap: 6px; }
.field__label { font: 500 11px/1.3 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.error { margin: 0; color: var(--accent); font-size: 14px; }

/* Answers dashboard */
.page-admin { --maxw: 1240px; }
.admin { padding-block: 56px 100px; display: grid; gap: 24px; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.admin-head > div { display: grid; gap: 14px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-actions form { margin: 0; }
.admin-updated { margin: 0; color: var(--faint); font-size: 12px; }
.admin-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: start; }
.card { background: var(--paper); border: .5px solid var(--line); border-radius: 10px; padding: 28px; min-width: 0; }
.card__head { display: grid; gap: 12px; padding-bottom: 20px; border-bottom: .5px solid var(--frame); }
.card__title { margin: 0; font: 300 36px/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 12px; color: var(--mid); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: .5px solid var(--frame); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pill--done { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pill--active::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.meter { height: 1.5px; background: var(--line); }
.meter > i { display: block; height: 100%; background: var(--ink); }
.copy-link { margin-top: 0; }
.a-section { margin-top: 26px; }
.a-section h3 { margin: 0 0 8px; font: 500 11px/1.3 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.a-item { padding: 12px 0; border-top: .5px solid var(--line); display: grid; gap: 4px; }
.a-item__q { font-size: 13px; color: var(--mid); }
.a-item__a { font-size: 14px; font-weight: 400; white-space: pre-wrap; overflow-wrap: anywhere; }
.a-item--empty .a-item__a { color: var(--faint); font-weight: 300; }
.project-list { list-style: none; margin: 0; padding: 0; border-top: .5px solid var(--frame); }
.project-list a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 20px 0; border-bottom: .5px solid var(--frame); text-decoration: none; }
.project-list__name { font: 300 30px/1 var(--display); text-transform: uppercase; }
.project-list__meta { color: var(--mid); font-size: 13px; align-self: center; }

@media (max-width: 560px) {
  body { font-size: 14px; }
  .q__label { font-size: 16px; }
  .save-state { letter-spacing: .1em; }
  .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, .js-reveal .reveal { transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
