/* Lexend, self-hosted (SIL Open Font License, see /assets/fonts/OFL-Lexend.txt) */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url(/assets/fonts/lexend-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url(/assets/fonts/lexend-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url(/assets/fonts/lexend-latin.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono, self-hosted (SIL Open Font License, see /assets/fonts/OFL-JetBrainsMono.txt): times and values */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
}

/*
  Elunum design system v1 (Cream / Pine).
  Pine is the only thing you can click. Peacock is the only thing that moves by itself.
  Every surface is sculpted from the cream field by one light from the top-left.
  No hover changes: :active presses in, :focus-visible gets a pine ring.
*/
:root {
  --field: #f4efe6;
  --interactive: #1e5645;
  --held: #133629;
  --off: #6f8a7e;
  --on-interactive: #f4efe6;
  --live: #2b6cae;
  --ink: #241f1b;
  --ink-body: #4a4238;
  --ink-quiet: #6d6357;
  --shade: #d7cdbf;
  --light: #fffcf7;
  --flush-shade: #e2dacd;
  --flush-light: #fdf9f2;
  --well: #f0eadf;
  --waveform: #5a5e55;
  --danger: #a04434;
  --disabled: #e4ddd1;
  --disabled-ink: #9a9083;
  --link-rule: #c9d6cf;
  --rule: #e4dbcd;

  --raised: 7px 7px 16px var(--shade), -7px -7px 16px var(--light);
  --raised-sm: 5px 5px 11px var(--shade), -5px -5px 11px var(--light);
  --inset: inset 4px 4px 9px var(--shade), inset -4px -4px 9px var(--light);
  --inset-sm: inset 2px 2px 4px var(--shade), inset -2px -2px 4px var(--light);
  --flush: 3px 3px 7px var(--flush-shade), -3px -3px 7px var(--flush-light);
  --dome: inset 0 2px 2px rgba(255, 255, 255, 0.22), inset 0 -4px 7px rgba(0, 0, 0, 0.26);
  --dome-held: inset 3px 3px 7px rgba(0, 0, 0, 0.38), inset -2px -2px 5px rgba(255, 255, 255, 0.10);

  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  background: var(--field);
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f9f5ee 0%, var(--field) 45%, #eee7dc 100%) fixed;
  color: var(--ink);
  font-family: 'Lexend', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--interactive); text-decoration: none; }
a:active { color: var(--held); }

:focus-visible { outline: 2px solid var(--interactive); outline-offset: 4px; }

img { max-width: 100%; }

h1, h2, h3, p { margin: 0; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

/* separator ridge: 4px, shade below, light above, 12px wider than the column */
.divider {
  height: 4px;
  margin: 0 -12px;
  border-radius: 3px;
  background: var(--field);
  box-shadow: 0 2px 4px var(--shade), 0 -2px 4px var(--light);
}

/* panels */

.panel-title {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

/* header */

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px; /* same height with or without the header button */
  gap: 32px;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  color: var(--ink);
}
.brand:active { color: var(--ink); }

.brand-mark {
  height: 66px;
  width: 48px;
  display: block;
  margin: -26px 0;
  position: relative;
  z-index: 2;
}

.brand-word {
  font-size: 20px;
  font-weight: 360;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  font-weight: 300;
  flex-wrap: wrap;
}

.header-spacer { flex: 1; }

/* status: peacock LED + ink text. Never pine, a status can't be clicked. */

.led {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--field);
  box-shadow: inset 1.5px 1.5px 3px var(--shade), inset -1.5px -1.5px 3px var(--light);
}
.led.is-live,
.is-playing .led {
  background: var(--live);
  box-shadow: 0 0 9px var(--live);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 13px;
  border-radius: 30px;
  background: var(--field);
  box-shadow: var(--flush);
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-body);
  white-space: nowrap;
}
.status-quiet { color: var(--ink-quiet); }

.header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink-body);
  white-space: nowrap;
}
.header-tag .led { width: 7px; height: 7px; }

/* buttons: domed pine pill; pressing pushes it in. Nothing changes on hover. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border: none;
  border-radius: 32px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  background: var(--interactive);
  color: var(--on-interactive);
  box-shadow: var(--raised-sm), var(--dome);
}
.btn:active {
  background: var(--held);
  color: rgba(244, 239, 230, 0.82);
  box-shadow: var(--dome-held);
}
.btn:disabled,
.btn:disabled:active,
.btn[aria-disabled="true"],
.btn[aria-disabled="true"]:active {
  background: var(--disabled);
  color: var(--disabled-ink);
  box-shadow: var(--flush);
  cursor: default;
}

.btn-sm {
  height: 38px;
  padding: 0 20px;
  font-size: 13px;
  box-shadow: 3px 3px 8px var(--shade), -3px -3px 8px var(--light), inset 0 2px 2px rgba(255, 255, 255, 0.22), inset 0 -3px 6px rgba(0, 0, 0, 0.26);
}

.btn-lg { height: 52px; padding: 0 34px; }

.btn-secondary {
  background: var(--field);
  color: var(--interactive);
  box-shadow: var(--raised-sm);
}
.btn-secondary:active {
  background: #eee7dc;
  color: var(--interactive);
  box-shadow: inset 4px 4px 8px var(--shade), inset -4px -4px 8px var(--light);
}

.link-underline {
  font-size: 14px;
  font-weight: 300;
  color: var(--interactive);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--link-rule);
}
.link-underline:active { color: var(--held); border-bottom-color: var(--interactive); }

/* beta open / closed switch (assets/beta-state.js); without it the open state shows */
:root:not([data-beta="closed"]) .when-closed,
[data-beta="closed"] .when-open { display: none !important; }

.waitlist-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex-basis: 100%;
}
.cta-note {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-body);
}

/* forms */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  max-width: 520px;
}
.field-label {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-body);
  margin-bottom: -6px;
}
/* sunken well: cream inside, pine text, because what you type is your input */
.signup-input {
  flex: 1 1 220px;
  min-width: 0;
  height: 48px;
  padding: 0 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--interactive);
  background: var(--well);
  border: none;
  border-radius: 26px;
  box-shadow: inset 3px 3px 7px var(--shade), inset -3px -3px 7px var(--light);
  outline: none;
}
.signup-input::placeholder { color: #8f8476; }
.signup-input:focus-visible { outline: 2px solid var(--interactive); outline-offset: 3px; }
.signup-input:disabled { color: var(--ink-quiet); }

.signup-action { display: flex; align-items: center; gap: 12px; }
.spinner {
  display: none;
  width: 22px;
  height: 22px;
  animation: elspin 0.75s linear infinite;
}
.spinner path { fill: var(--live); }
.is-sending .spinner { display: block; }
@keyframes elspin { to { transform: rotate(360deg); } }

.signup-status {
  flex-basis: 100%;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-quiet);
  margin: 0;
}
.signup-status:empty { display: none; }
.signup-status.is-error { color: var(--danger); }

.turnstile { flex-basis: 100%; }
.turnstile:empty { display: none; }

.microcopy {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ink-quiet);
  margin-top: 14px;
}
.microcopy a { color: var(--interactive); border-bottom: 1px solid var(--link-rule); }

.section-title {
  font-weight: 200;
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-wrap: balance;
}

/* hero */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

h1 {
  font-weight: 200;
  font-size: 76px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.lede {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 38ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* media frame: the screenshot fills a raised panel edge to edge */

.bezel {
  border-radius: 22px;
  overflow: hidden;
  background: var(--field);
  box-shadow: 8px 8px 18px var(--shade), -8px -8px 18px var(--light);
}
.bezel img,
.bezel video {
  display: block;
  width: 100%;
  height: auto;
}

/* listen */

.listen {
  padding-top: 64px;
  padding-bottom: 64px;
}

.listen-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.listen-head p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 52ch;
  text-wrap: pretty;
}

/* segmented control: the selected patch is a pine dome, the others muted pine */
.segmented {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 30px;
  background: var(--field);
  box-shadow: inset 4px 4px 8px var(--shade), inset -4px -4px 8px var(--light);
}
.segmented button {
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  padding: 9px 20px;
  border: none;
  border-radius: 24px;
  background: transparent;
  color: var(--off);
  cursor: pointer;
}
.segmented button:active { color: var(--interactive); box-shadow: inset 2px 2px 4px var(--shade); }
.segmented button[aria-pressed="true"] {
  background: var(--interactive);
  color: var(--on-interactive);
  box-shadow: 2px 2px 5px var(--shade), -1px -1px 4px var(--light), inset 0 1px 2px rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
}

.player {
  background: var(--field);
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: var(--flush);
}

.player-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.player-kind {
  flex: 1;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.player-name {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-quiet);
}

.player-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.player-btn {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--interactive);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 4px 4px 9px var(--shade), -4px -4px 9px var(--light), var(--dome);
}
.player-btn:active { background: var(--held); box-shadow: var(--dome-held); }

.player-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 13px solid var(--on-interactive);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.is-playing .player-icon {
  width: 12px;
  height: 14px;
  margin-left: 0;
  border: none;
  background: linear-gradient(90deg, var(--on-interactive) 0 4px, transparent 4px 8px, var(--on-interactive) 8px 12px);
}

/* the waveform is a display, so it stays ink; play state is peacock */
.player-wave {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(180deg, #efe8dd, #ebe3d7);
  box-shadow: inset 3px 3px 7px var(--shade), inset -3px -3px 7px var(--light);
  overflow: hidden;
  cursor: pointer;
}
.player-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(43, 108, 174, 0.12);
}
.player-bars {
  position: absolute;
  inset: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.player-bars span {
  flex: 1;
  border-radius: 1px;
  background: var(--waveform);
}
.player-head {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--live);
  display: none;
}
.is-started .player-head { display: block; }

.player-time {
  flex: none;
  width: 40px;
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-quiet);
}
.is-playing .player-time { color: var(--live); }

/* recipe: plugin buttons drawn as ink keycaps sunk into the page, never pine */
.recipe {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-quiet);
}
.recipe-label { margin-right: 4px; }
.recipe-arrow { color: #a59c90; }

.keycap {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-body);
  background: var(--field);
  box-shadow: var(--inset-sm);
}

/* craft */

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 4px 1fr 4px 1fr;
  gap: 44px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.craft-item { padding: 50px 0; }

.craft-item h3 {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.craft-item p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-body);
  text-wrap: pretty;
}

.craft-divider {
  border-radius: 3px;
  background: var(--field);
  box-shadow: 2px 0 4px var(--shade), -2px 0 4px var(--light);
}

/* notes */

.notes {
  padding-top: 80px;
  padding-bottom: 80px;
}

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.notes-copy p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-body);
  max-width: 44ch;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.notes-copy .section-title { margin-bottom: 18px; }

/* also inside: flush tiles */

.also {
  padding-top: 64px;
  padding-bottom: 64px;
}

.also-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.also-item {
  background: var(--field);
  border-radius: 18px;
  padding: 24px 26px 26px;
  box-shadow: var(--flush);
}

.also-item h4 {
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--ink);
}

.also-item p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-body);
  margin: 0;
  text-wrap: pretty;
}

/* buy */

.buy {
  padding-top: 80px;
  padding-bottom: 80px;
}

.buy-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.buy-top .section-title { margin-bottom: 0; max-width: 18ch; }

.beta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.beta-item h4 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin: 0 0 14px;
}
.beta-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.beta-item li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-body);
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

/* recessed bay: a darker slot sunk into the page, the panel raised inside it */
.reward-bay {
  max-width: 748px;
  margin: 0 -14px 36px;
  padding: 14px;
  border-radius: 26px;
  background: #e7decf;
  box-shadow: inset 6px 6px 14px #cbbfad, inset -6px -6px 14px #f6f0e6;
}
.reward {
  padding: 34px 32px 30px;
  border-radius: 18px;
  background: var(--field);
  box-shadow: 6px 6px 14px #cbbfad, -4px -4px 10px #f9f4ec;
}
.reward-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 16px;
}
.reward-text {
  font-size: 30px;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.reward-text strong { font-weight: 400; }

/* footer */

.footer-inner {
  display: flex;
  align-items: center;
  gap: 14px 24px;
  padding-top: 34px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { opacity: 0.75; display: block; }

.footer-word {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 12.5px;
  font-weight: 300;
  flex-wrap: wrap;
}

/* beta pages */

.beta-page { padding-top: 80px; padding-bottom: 88px; }
.beta-page .lede { max-width: 56ch; margin-bottom: 24px; }
.beta-page h1 { font-size: 56px; margin-bottom: 24px; }
.beta-page .status { margin-bottom: 28px; }
.signup-panel { max-width: 640px; margin-top: 8px; }

.video { margin: 8px 0 0; max-width: 720px; }
.video-frame {
  position: relative;
  aspect-ratio: 2196 / 1398;
  overflow: hidden;
  background: var(--ink);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--interactive);
  box-shadow: 0 4px 14px rgba(36, 31, 27, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.22), inset 0 -5px 9px rgba(0, 0, 0, 0.26);
}
.video-play::after {
  content: '';
  position: absolute;
  left: 29px;
  top: 22px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--on-interactive);
}
.video-thumb:active .video-play { background: var(--held); box-shadow: var(--dome-held); }

/* legal pages */

.legal { padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: 42px; margin-bottom: 32px; }
.legal h2 { font-size: 18px; font-weight: 400; margin: 36px 0 12px; color: var(--ink); }
.legal p, .legal li { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--ink-body); margin-bottom: 8px; }
.legal ul { padding-left: 20px; margin: 0 0 8px; }

/* responsive */

@media (max-width: 900px) {

  .wrap { padding-left: 28px; padding-right: 28px; }

  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; padding-bottom: 56px; }
  .hero-shot { order: -1; }

  h1 { font-size: 58px; }
  .section-title { font-size: 32px; }

  .listen { padding-top: 44px; padding-bottom: 44px; }
  .beta-grid { grid-template-columns: 1fr; gap: 24px; }

  .craft-grid { grid-template-columns: 1fr; gap: 0; }
  .craft-divider { display: none; }
  .craft-item { padding: 30px 0; border-bottom: 1px solid var(--rule); }
  .craft-item:last-child { border-bottom: none; }

  .notes { padding-top: 56px; padding-bottom: 56px; }
  .notes-grid { grid-template-columns: 1fr; gap: 36px; }

  .also { padding-top: 44px; padding-bottom: 44px; }
  .also-grid { grid-template-columns: 1fr; gap: 16px; }

  .buy { padding-top: 56px; padding-bottom: 56px; }

  .beta-page { padding-top: 48px; padding-bottom: 56px; }
  .beta-page h1 { font-size: 40px; }
}

@media (max-width: 700px) {
  .reward-bay { margin-left: -8px; margin-right: -8px; padding: 10px; border-radius: 22px; }
  .reward { padding: 24px 22px; }
  .reward-text { font-size: 23px; }
  .player { padding: 16px 16px 14px; }
  .player-row { gap: 12px; }
}

@media (max-width: 560px) {
  .wrap { padding-left: 20px; padding-right: 20px; }

  .header-inner { gap: 16px 20px; }
  .header-tag { display: none; }

  h1 { font-size: 46px; }
  .lede { max-width: none; }

  .cta-row .btn { width: 100%; }

  .segmented { width: 100%; }
  .segmented button { flex: 1; padding: 9px 10px; }

  .signup-action { flex: 1; }
  .signup-action .btn { flex: 1; }
}

/* feedback form */

.fb { display: flex; flex-direction: column; gap: 32px; max-width: 620px; }
.fb[hidden] { display: none; }
.fb-prefill { margin: 0; }
.fb > div[data-fb-fields] { display: flex; flex-direction: column; gap: 32px; }
.fb-field { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fb-field[hidden] { display: none; }
.fb .field-label { margin-bottom: 0; }
.fb .signup-input { flex: none; width: 100%; }
.fb-textarea { height: auto; min-height: 110px; padding: 14px 20px; border-radius: 22px; line-height: 1.5; resize: vertical; }

/* dropdown: a sunken well with a small pine triangle; the list drops below it as a raised cream card */
.fb-dropdown { position: relative; }
.fb-select {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}
.fb-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-select.is-empty .fb-select-value { color: #8f8476; }
.fb-select::after {
  content: '';
  flex: none;
  width: 10px;
  height: 6px;
  background: var(--interactive);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: transform 0.18s ease;
}
.fb-dropdown.is-open .fb-select::after { transform: rotate(180deg); }
.fb-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: 264px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--field);
  border-radius: 22px;
  box-shadow: var(--raised);
  outline: none;
}
.fb-menu[hidden] { display: none; }
.fb-menu-option {
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-body);
  cursor: pointer;
}
.fb-menu-option[aria-selected="true"] { color: var(--interactive); font-weight: 400; }
.fb-menu-option.is-active { background: var(--well); box-shadow: var(--inset-sm); color: var(--interactive); }
.fb-menu-option:active { box-shadow: inset 2px 2px 5px var(--shade), inset -2px -2px 5px var(--light); }
@media (prefers-reduced-motion: reduce) { .fb-select::after { transition: none; } }

/* pine scrollbars in long fields and in the dropdown list */
.fb-textarea, .fb-menu { scrollbar-width: thin; scrollbar-color: var(--interactive) transparent; }
@supports not (scrollbar-color: auto) {
  .fb-textarea::-webkit-scrollbar, .fb-menu::-webkit-scrollbar { width: 8px; }
  .fb-textarea::-webkit-scrollbar-track, .fb-menu::-webkit-scrollbar-track { background: transparent; margin: 14px 0; }
  .fb-textarea::-webkit-scrollbar-thumb, .fb-menu::-webkit-scrollbar-thumb { background: var(--interactive); border-radius: 4px; }
}
.fb-number { max-width: 160px; }
.fb-hint { font-size: 12.5px; font-weight: 300; color: var(--ink-quiet); margin: 0; }
.fb-error { font-size: 12.5px; font-weight: 400; color: var(--danger); margin: 0; }
.fb-error[hidden] { display: none; }
.fb-multi { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fb-option, .fb-check label { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--ink-body); }
.fb-option input { margin-top: 4px; accent-color: var(--interactive); flex: none; }
.fb-check a { color: var(--interactive); border-bottom: 1px solid var(--link-rule); }

/* slider switch: off is a sunken track with a grey-green knob on the left; on is solid pine with a cream knob on the right */
.fb-check label { gap: 16px; }
.fb-switch {
  appearance: none;
  position: relative;
  flex: none;
  width: 54px;
  height: 30px;
  margin: 0;
  border-radius: 15px;
  background: var(--well);
  box-shadow: inset 2px 2px 5px var(--shade), inset -2px -2px 5px var(--light);
  cursor: pointer;
  transition: background 0.18s ease;
}
.fb-switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--off);
  box-shadow: 2px 2px 4px var(--shade), inset 1px 1px 2px rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, background 0.18s ease;
}
.fb-switch:checked { background: var(--interactive); box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3); }
.fb-switch:checked::after {
  transform: translateX(24px);
  background: var(--light);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.fb-switch:focus-visible { outline: 2px solid var(--interactive); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fb-switch, .fb-switch::after { transition: none; } }

/* Download page */
.beta-page h2 { font-size: 24px; margin: 40px 0 12px; }
.checksums { display: grid; gap: 16px; margin: 16px 0 24px; }
.checksum code, pre.cmd { display: block; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; white-space: pre-wrap; }
.checksum code { margin-top: 4px; }
pre.cmd { margin: 4px 0 16px; padding: 12px 16px; border: 1px solid var(--link-rule); border-radius: 8px; }
.proof { max-width: 56ch; padding-left: 20px; line-height: 1.7; font-weight: 300; color: var(--ink-body); }
