/* SlideMate UI. Quiet, spacious, product-first: big type, one message per section, alternating light and dark
   chapters, almost no boxes. Inspired by the discipline of Apple's and Louis Vuitton's sites (not their assets).
   Inter is self-hosted (SIL Open Font License); Apple devices show their own system font. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #ffffff;
  --alt: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --hair: #e8e8ed;
  --btn: #1d1d1f;
  --on-btn: #ffffff;
  --accent: #8a6d3b;
  --focus: #0071e3;
  --error: #b3261e;
  --dark: #000000;
  --on-dark: #f5f5f7;
  --on-dark-muted: #a1a1a6;
  --shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.35), 0 14px 28px -14px rgba(0, 0, 0, 0.22);
  --shadow-sm: 0 16px 32px -18px rgba(0, 0, 0, 0.35), 0 4px 10px -4px rgba(0, 0, 0, 0.12);
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #000000; --alt: #161617; --ink: #f5f5f7; --muted: #a1a1a6; --line: #424245; --hair: #2b2b2d;
    --btn: #f5f5f7; --on-btn: #1d1d1f; --accent: #c9a96e; --focus: #2997ff; --error: #ff8a80;
    --shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-sm: 0 16px 32px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}
@media (prefers-contrast: more) {
  :root { --muted: #424245; --line: #86868b; }
  @media (prefers-color-scheme: dark) { :root { --muted: #d2d2d7; --line: #a1a1a6; } }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 1.0625rem/1.5 var(--sans); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--canvas); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, 62.5rem); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 44rem); }
.center { text-align: center; }

/* ---- navigation: thin, translucent, recedes ---- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 52px;
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-in { width: min(100% - 2.5rem, 68rem); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.brand { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none; }
.nav nav { display: flex; gap: 0.25rem; }
.nav nav a { font-size: 0.8125rem; text-decoration: none; opacity: 0.8; padding: 0 0.75rem; min-height: 44px; display: inline-flex; align-items: center; transition: opacity 0.2s; }
.nav nav a:hover { opacity: 1; }

/* ---- sign in with Google (nav) ---- */
.auth { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.auth-who { font-size: 0.8125rem; color: var(--muted); max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-error { margin: 0; padding: 0.5rem 1.25rem; text-align: center; font-size: 0.8125rem; background: #fef2f2; color: #991b1b; border-top: 1px solid #fecaca; }

/* ---- saved decks panel (Create section) ---- */
.saved-decks { margin: 0 0 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 12px; }
.saved-decks h3 { margin: 0; font-size: 1.05rem; }
.saved-decks .hint { margin: 0.35rem 0 1rem; }
.saved-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.saved-item { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.saved-title { font-weight: 600; }
.saved-date { color: var(--muted); font-size: 0.8125rem; margin-right: auto; }
.saved-item button { min-height: 36px; padding: 0 1rem; }

/* ---- type ---- */
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.9rem, 9vw, 6.25rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.07; letter-spacing: -0.03em; }
.kicker { margin: 0 0 1.1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sub { margin: 1.25rem 0 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.35; color: var(--muted); letter-spacing: -0.015em; }

/* ---- buttons and links ---- */
button { font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px; min-height: 44px; padding: 0 1.4rem; border: 1px solid transparent; transition: transform 0.2s var(--ease), opacity 0.2s, background 0.2s; }
button:disabled { opacity: 0.5; cursor: progress; }
.btn, button.primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.75rem;
  background: var(--btn); color: var(--on-btn); border-radius: 999px; font-weight: 600; text-decoration: none; border: 0;
}
.btn:hover, button.primary:hover:not(:disabled) { opacity: 0.86; }
.btn:active, button.primary:active:not(:disabled) { transform: scale(0.98); }
button.primary.big { min-height: 56px; padding: 0 2.6rem; font-size: 1.0625rem; }
button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
button.secondary:hover { border-color: var(--ink); }
button.ghost { background: none; color: var(--ink); padding: 0 0.25rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link { text-decoration: none; }
.link::after { content: "\00A0\203A"; transition: margin 0.2s; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link:hover::after { margin-left: 3px; }
.link.on-dark { color: var(--on-dark); }

/* ---- 1. hero ---- */
.hero { text-align: center; padding: 6rem 1.25rem 0; overflow: hidden; }
.hero .kicker, .hero h1, .hero-sub, .hero-cta { animation: rise 0.9s var(--ease) both; }
.hero h1 { animation-delay: 0.06s; }
.hero-sub { animation-delay: 0.14s; margin: 1.5rem auto 0; max-width: 32rem; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.35; color: var(--muted); letter-spacing: -0.015em; }
.hero-cta { animation-delay: 0.22s; margin: 2.25rem 0 0; display: flex; gap: 1.75rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero-stage { display: flex; justify-content: center; align-items: flex-end; max-width: 68rem; margin: 4.5rem auto 0; padding: 0 0.5rem; }
.hero-stage .tile { margin: 0; flex: 0 0 34%; animation: rise 1.1s var(--ease) both; }
.hero-stage .tile:nth-child(1) { transform: rotate(-3deg) translateY(7%); animation-delay: 0.32s; }
.hero-stage .tile:nth-child(2) { flex-basis: 46%; margin: 0 -4%; z-index: 2; animation-delay: 0.2s; }
.hero-stage .tile:nth-child(3) { transform: rotate(3deg) translateY(7%); animation-delay: 0.44s; }
.hero-stage .rslide { border-radius: 10px; box-shadow: var(--shadow); }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* ---- 2. designs: an always-dark chapter with a slow gallery ---- */
.designs { background: var(--dark); color: var(--on-dark); text-align: center; padding: 8rem 0 6rem; margin-top: -1px; }
.designs .kicker { color: var(--on-dark-muted); }
.designs .sub { color: var(--on-dark-muted); max-width: 34rem; margin-inline: auto; }
.marquee { margin-top: 5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.track { display: flex; gap: 1.75rem; width: max-content; padding: 1rem 0 2rem; animation: drift 110s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track .tile { margin: 0; width: clamp(250px, 27vw, 380px); flex: none; text-align: left; }
.track .rslide { border-radius: 8px; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tile figcaption { margin-top: 1rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
@keyframes drift { to { transform: translateX(-50%); } }
.designs .center { margin: 2rem 0 0; }

/* ---- 3. create ---- */
.make { background: var(--alt); padding: 7rem 0 8rem; }
.make h2 { max-width: 14ch; }
form { margin-top: 3.5rem; }
.topic-field { min-width: 0; }
.topic-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#topic {
  width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink);
  font: 400 clamp(1.25rem, 4.6vw, 2.4rem)/1.25 var(--sans); letter-spacing: -0.025em; padding: 0.5em 0;
}
#topic::placeholder { color: var(--muted); opacity: 0.75; }
#topic:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
#topic:focus-visible { outline: none; }
#topic[aria-invalid="true"] { border-bottom-color: var(--error); }
.hint { color: var(--muted); font-size: 0.875rem; margin: 0.75rem 0 0; letter-spacing: -0.005em; }
.hint a { color: inherit; }
.err { color: var(--error); font-weight: 600; margin: 0.75rem 0 0; font-size: 0.95rem; }
.err[hidden], .status:empty { display: none; }

.options { display: grid; gap: 2.5rem 3rem; margin-top: 3.5rem; grid-template-columns: 1fr 1fr; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .field > label { display: block; padding: 0; margin: 0 0 0.9rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field > label output { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 0.95rem; }

/* segmented control */
.segtrack { display: inline-flex; max-width: 100%; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.segtrack label { position: relative; flex: 1 1 auto; }
.segtrack input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segtrack span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; font-size: 0.95rem; white-space: nowrap; transition: background 0.2s, box-shadow 0.2s; }
.segtrack input:checked + span { background: var(--canvas); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); font-weight: 600; }
.segtrack input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* slider */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%; background: var(--ink); border: 3px solid var(--canvas); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 3px solid var(--canvas); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }

/* switches */
.extras { display: grid; gap: 0; }
.check { display: flex; align-items: center; gap: 0.95rem; min-height: 46px; cursor: pointer; font-size: 1rem; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 46px; height: 28px; margin: 0; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background 0.25s; }
.check input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.25s var(--ease); }
.check input:checked { background: var(--ink); }
.check input:checked::after { transform: translateX(18px); background: var(--canvas); }
.check .hint { margin: 0; }
.check.auto { margin: 0 0 1.5rem; }

/* theme picker */
.themes { margin-top: 4.5rem; }
.themes legend { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.03em; text-transform: none; color: var(--ink); margin-bottom: 1.25rem; }
.count { font-size: 0.95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 0.6rem; }
.cats { display: flex; gap: 1.6rem; margin: 0 0 2rem; overflow-x: auto; border-bottom: 1px solid var(--hair); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; background: none; border: 0; border-radius: 0; min-height: 46px; padding: 0; color: var(--muted); font-weight: 400; font-size: 0.95rem; white-space: nowrap; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.chip[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.chip small { font-size: 0.72rem; margin-left: 0.3rem; color: var(--muted); font-weight: 400; }
.strip { display: grid; gap: 2.25rem 1.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme { position: relative; display: block; cursor: pointer; }
.theme input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.theme .mini-wrap { display: block; border-radius: 8px; outline: 2px solid transparent; outline-offset: 5px; transition: outline-color 0.2s, transform 0.3s var(--ease); }
.theme:hover .mini-wrap { transform: translateY(-3px); }
.theme input:checked ~ .mini-wrap { outline-color: var(--ink); }
.theme input:focus-visible ~ .mini-wrap { outline: 3px solid var(--focus); }
.tname { display: block; margin-top: 0.9rem; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
.theme input:checked ~ .tname { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tstyle { display: block; margin-top: 0.1rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.theme-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 2rem 0 0; }
#theme-current { font-size: 0.95rem; color: var(--muted); }

.turnstile { margin-top: 1.5rem; }
.go-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 4rem; }
.status { margin: 0; color: var(--muted); font-size: 0.95rem; }
.note { color: var(--muted); font-size: 0.8125rem; margin: 1.5rem 0 0; }

/* ---- 4. results ---- */
.result { padding: 7rem 0 9rem; }
.result-head { max-width: 46rem; }
.result-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 0.9rem; margin: 2.5rem 0 0.5rem; }
.result-tools label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
select { font: inherit; font-size: 0.95rem; min-height: 44px; max-width: 15rem; padding: 0 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--canvas); color: var(--ink); }
.result .hint { margin: 0.5rem 0 2rem; max-width: 46rem; }
.slides { list-style: none; margin: 0; padding: 0; }
.slide-item { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); padding: 3rem 0; border-top: 1px solid var(--hair); }
.slide-item .rslide { box-shadow: var(--shadow-sm); border-radius: 8px; }
.slide-item .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin-bottom: 0.4rem; }
.slide-item .num { font-weight: 600; letter-spacing: -0.01em; }
.slide-item .kind { color: var(--muted); font-size: 0.9rem; }
.badge { border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 0.05rem 0.65rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.slide-item label.f { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin: 1.1rem 0 0.35rem; }
.slide-item input[type="text"], .slide-item textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--alt); border: 1px solid transparent; border-radius: 10px; padding: 0.7rem 0.85rem; }
.slide-item input[type="text"]:focus, .slide-item textarea:focus { outline: none; border-color: var(--ink); }
.slide-item textarea { min-height: 5.5rem; resize: vertical; }
.slide-item select { width: 100%; max-width: none; }
.pair { display: grid; gap: 0.75rem 1rem; grid-template-columns: 1fr 1fr; }
.slide-tools, .pic-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.slide-tools button, .pic-tools button { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 400; font-size: 0.9rem; }
.slide-tools button:hover:not(:disabled), .pic-tools button:hover:not(:disabled) { border-color: var(--ink); }
.credit-line { color: var(--muted); font-size: 0.85rem; margin: 0.6rem 0 0; }
details.notes { margin-top: 1rem; }
details.notes summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; font-size: 0.95rem; }
details.notes summary::-webkit-details-marker { display: none; }
details.notes summary::before { content: "\25B8"; margin-right: 0.5rem; }
details.notes[open] summary::before { content: "\25BE"; }

/* the download bar floats like a small glass capsule */
.actions {
  position: sticky; bottom: 18px; z-index: 20; width: max-content; max-width: 100%; margin: 3rem auto 0; padding: 0.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; border-radius: 999px;
  background: color-mix(in srgb, var(--canvas) 74%, transparent); border: 1px solid var(--hair);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-sm);
}
.actions button { min-height: 44px; }

/* ---- footer ---- */
.foot { background: var(--alt); border-top: 1px solid var(--hair); padding: 2.25rem 0 2.75rem; font-size: 0.75rem; color: var(--muted); }
.foot p { margin: 0 0 0.6rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.foot a { color: inherit; }

/* legal pages */
.doc { width: min(100% - 2.5rem, 42rem); margin: 5rem auto 6rem; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.25rem); }
.doc h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin-top: 2.5rem; }
.doc .lede { color: var(--muted); font-size: 1.25rem; margin: 1.25rem 0 0; }
.doc p { max-width: 65ch; }

/* motion: gentle reveals, only when JS is running, never when the visitor prefers less motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Slide previews: the recorded deck drawn as HTML (see preview.js). 10in = 100cqw. */
.rslide { position: relative; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,.14); text-align: left; }
.rslide .ri { position: absolute; box-sizing: border-box; }
.rslide .rtext { display: flex; flex-direction: column; overflow: visible; line-height: 1.2; }
.rslide .rp { margin: 0; overflow-wrap: anywhere; }
.rslide .rbullet { position: relative; padding-left: 1.1em; }
.rslide .rbullet::before { content: "\2022"; position: absolute; left: 0.2em; }
.rslide .rline { pointer-events: none; }
.rslide .rarrow { position: absolute; right: -0.3cqw; top: 50%; transform: translateY(-50%); border-left: 1.4cqw solid; border-top: 0.7cqw solid transparent; border-bottom: 0.7cqw solid transparent; }
.rslide .rimage img { position: absolute; display: block; max-width: none; }
.rslide .rimage { overflow: hidden; }
.rslide .rchart { display: flex; align-items: flex-end; justify-content: center; padding: 2cqw; }
.rslide .rchart svg { width: 100%; height: 100%; }
.rslide .rbars { display: flex; align-items: flex-end; gap: 1.6cqw; width: 100%; height: 100%; border-bottom: 0.4cqw solid rgba(120,120,120,.5); padding: 0 1cqw; }
.rslide .rbars i { flex: 1; min-height: 0.8cqw; }
.rslide .rpie { align-self: center; height: 100%; aspect-ratio: 1; border-radius: 50%; }
.theme .mini-wrap .rslide { box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.tstyle { display: block; margin: 0 0 0 4px; color: var(--muted); font-size: 0.85rem; }
.check.auto { margin: 0 0 0.75rem; }

@media (max-width: 52rem) {
  .options { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .slide-item { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.25rem 0; }
  .pair { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .designs { padding: 5.5rem 0 4.5rem; }
  .make { padding: 5rem 0 6rem; }
  .result { padding: 5rem 0 8rem; }
  .segtrack { display: flex; width: 100%; }
  .segtrack span { padding: 0 0.6rem; font-size: 0.9rem; }
  .actions { border-radius: 26px; }
}
@media (max-width: 30rem) {
  .nav nav a:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .track { animation: none; }
}
