/* Self-hosted fonts, no third-party requests */
@font-face { font-family: "Niveau Grotesk"; src: url("../fonts/NiveauGroteskRegular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Niveau Grotesk"; src: url("../fonts/NiveauGroteskMedium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Niveau Grotesk"; src: url("../fonts/NiveauGroteskBold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --white: #fff;
  --paper: #f4f5f7;
  --ink: #14171f;
  --graphite: #5b6170;
  --rule: #d8dbe1;
  --blue: #2a9df4; /* from the logo */
  --black: #000;

  /* Classical scale: 14 / 18 / 24 / 36 / 48 / 72 */
  --fs-small: 0.875rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.5rem;
  --fs-h3: 2.25rem;
  --fs-h2: 3rem;
  --fs-display: 4.5rem;

  --gutter: clamp(20px, 4vw, 48px);
  --space-section: clamp(96px, 13vw, 176px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.5 "Niveau Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ul { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.25rem, 5vw, var(--fs-display)); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-lead); line-height: 1.25; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--white); }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 8px 12px; background: var(--ink); color: var(--white); }

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: 500 var(--fs-body)/1 "Niveau Grotesk", system-ui, sans-serif;
  cursor: pointer;
}
.button:hover { background: var(--blue); color: var(--white); }
.button[disabled] { opacity: 0.6; cursor: wait; }
.button--light { background: var(--white); color: var(--blue); }
.button--light:hover { background: var(--ink); color: var(--white); }

/* ── Header ───────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(244 245 247 / 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgb(20 23 31 / 0.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header a { text-decoration: none; }
.logo { display: block; }
.logo img { display: block; width: auto; height: 28px; }
.header nav { display: flex; gap: 32px; font-size: var(--fs-small); }
.header nav a { color: var(--graphite); }
.header nav a:hover { color: var(--ink); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { padding-top: clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; text-align: center; }
.hero h1 {
  max-width: 16ch; margin-inline: auto;
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  text-wrap: balance;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero__text p { max-width: 30em; text-wrap: balance; margin: 32px auto 0; font-size: var(--fs-lead); line-height: 1.4; color: var(--graphite); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 40px; }
.hero .button { text-decoration: none; }

/* Background (choose in index.njk: fragments, guides or light) */
.hero { position: relative; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }

/* fragments: small product details floating around the headline */
.frag {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.85);
  box-shadow: 0 0 0 1px rgb(20 23 31 / 0.06), 0 18px 40px -16px rgb(20 23 31 / 0.25);
  text-align: left;
  font-size: 15px;
}
.frag p { margin: 0; }
.frag__title { font-weight: 500; }
.frag__sub { color: var(--graphite); font-size: 13px; }
.frag__big { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.frag__check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.frag .toggle { font-size: 13px; margin-left: 16px; }
.frag--1 { top: 120px; left: max(24px, calc(50% - 640px)); }
.frag--2 { top: 300px; left: max(8px, calc(50% - 600px)); opacity: 0.75; }
.frag--3 { top: 96px; right: max(24px, calc(50% - 640px)); display: block; }
.frag--3 svg { display: block; width: 120px; height: 32px; margin-top: 6px; }
.frag--4 { top: 290px; right: max(8px, calc(50% - 610px)); display: block; opacity: 0.75; }
.frag--4 .frag__title { color: #8a90a0; background: #e8f4fe; padding: 0 4px; border-radius: 4px; }
@media (max-width: 1180px) { .hero__bg--fragments { display: none; } }

/* guides: a design-tool canvas with guide lines around the headline */
.hero__bg--guides::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgb(20 23 31 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(20 23 31 / 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 25%, transparent 75%);
}
.guide { position: absolute; background: rgb(42 157 244 / 0.45); }
.guide--v { top: 0; bottom: 0; width: 1px; }
.guide--h { left: 0; right: 0; height: 1px; }
.guide--left { left: calc(50% - min(44vw, 420px)); }
.guide--right { right: calc(50% - min(44vw, 420px)); }
.guide--top { top: clamp(64px, 9vw, 112px); }
.guide--bottom { top: clamp(400px, 34vw, 500px); }
.cross { position: absolute; width: 13px; height: 13px; translate: -6px -6px; background: linear-gradient(var(--blue), var(--blue)) center / 1px 100% no-repeat, linear-gradient(var(--blue), var(--blue)) center / 100% 1px no-repeat; }
.cross::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--blue); border-radius: 50%; background: var(--paper); }
.cross--tl, .cross--bl { left: calc(50% - min(44vw, 420px)); }
.cross--tr, .cross--br { left: calc(50% + min(44vw, 420px)); }
.cross--tl, .cross--tr { top: clamp(64px, 9vw, 112px); }
.cross--bl, .cross--br { top: clamp(400px, 34vw, 500px); }

/* light: soft glows in the three blues of the logo */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow--1 { width: 620px; height: 420px; top: -180px; left: calc(50% - 680px); background: rgb(42 157 244 / 0.35); }
.glow--2 { width: 560px; height: 380px; top: -140px; right: calc(50% - 660px); background: rgb(17 103 177 / 0.25); }
.glow--3 { width: 520px; height: 300px; top: 220px; left: calc(50% - 160px); background: rgb(24 123 205 / 0.14); }
.hero__scene { position: relative; margin-top: clamp(64px, 8vw, 96px); }
/* Soft light behind the product scene, in the logo blue */
.hero__scene::before {
  content: "";
  position: absolute; z-index: -1;
  left: 50%; top: -12%;
  width: 110%; height: 120%;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgb(42 157 244 / 0.16), transparent);
  pointer-events: none;
}

/* Page-load sequence: the only non-scroll motion on the page */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__text p, .hero__actions, .scene { animation: rise 1.1s var(--ease) both; }
  .hero__text p { animation-delay: 0.12s; }
  .hero__actions { animation-delay: 0.2s; }
  .scene { animation-delay: 0.3s; animation-duration: 1.4s; }
  .scene__phone { animation: rise 1.4s var(--ease) 0.55s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

/* ── Product scene (browser + phone), sized in em so it scales ── */
.scene {
  position: relative;
  font-size: clamp(6px, 1.08vw, 13px);
  text-align: left;
}
.scene p { margin: 0; }
.browser {
  width: 86%;
  border-radius: 1.2em 1.2em 0 0;
  background: var(--white);
  box-shadow: 0 0 0 1px rgb(20 23 31 / 0.08), 0 3em 6em -1.5em rgb(20 23 31 / 0.25);
  overflow: hidden;
}
.browser__bar { display: flex; align-items: center; gap: 1.5em; height: 3.2em; padding-inline: 1.3em; background: #f7f8fa; border-bottom: 1px solid #eceef1; }
.browser__dots { display: flex; gap: 0.6em; }
.browser__dots i { width: 0.95em; height: 0.95em; border-radius: 50%; background: #dfe1e6; }
.browser__url { width: 30%; height: 1.7em; margin-inline: auto; border-radius: 0.5em; background: #eceef1; }

.dash { display: grid; grid-template-columns: 15em 1fr; height: 40em; overflow: hidden; }
.dash__side { padding: 1.8em 1.2em; border-right: 1px solid #eceef1; font-size: 1.1em; color: var(--graphite); }
.dash__logo { display: block; width: 2.2em; height: 2.2em; margin: 0 0 2em 0.6em; border-radius: 0.6em; background: var(--blue); }
.dash__side p { display: flex; align-items: center; gap: 0.8em; padding: 0.6em; border-radius: 0.6em; }
.dash__side p i { width: 1.1em; height: 1.1em; border-radius: 0.35em; background: currentColor; opacity: 0.35; }
.dash__side .is-active i { opacity: 1; }
.dash__side .is-active { background: #e8f4fe; color: var(--blue); font-weight: 500; }
.dash__main { padding: 2.2em 2.6em; }
.dash__head { display: flex; justify-content: space-between; align-items: center; }
.dash__title { font-size: 2em; font-weight: 500; letter-spacing: -0.02em; }
.dash__pill { padding: 0.5em 1em; border-radius: 99em; border: 1px solid #e3e5ea; font-size: 1.05em; color: var(--graphite); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 2em; }
.dash__kpis div { padding: 1.3em 1.4em; border-radius: 0.9em; border: 1px solid #eceef1; }
.dash__kpis p { font-size: 1.05em; color: var(--graphite); }
.dash__kpis b { display: block; margin-top: 0.3em; font-size: 2.3em; font-weight: 500; letter-spacing: -0.02em; }
.dash__kpis span { font-size: 1em; color: #0f8a5f; }
.dash__chart { height: 13em; margin-top: 2em; }
.dash__chart svg { display: block; width: 100%; height: 100%; }
.dash__rows { margin-top: 1.6em; border-top: 1px solid #eceef1; }
.dash__rows div { display: flex; align-items: center; gap: 1em; padding: 1em 0; border-bottom: 1px solid #f0f1f4; font-size: 1.1em; }
.dash__rows p { flex: 1; }
.dash__avatar { width: 2em; height: 2em; border-radius: 50%; background: #bfe0fc; }
.dash__avatar--2 { background: #f6d6c4; }
.dash__avatar--3 { background: #cfe8dc; }
.dash__status { padding: 0.3em 0.8em; border-radius: 99em; background: #eef0f3; color: var(--graphite); font-size: 0.9em; }
.dash__status--ai { background: #e8f4fe; color: var(--blue); }
.dash__status--run { background: #e6f5ee; color: #0f8a5f; }

.scene__phone { position: absolute; right: 2%; bottom: -14em; width: 22em; }

/* ── Phone (used in the hero and in the mobile tile) ──────────── */
.phone {
  --r: 3.4em;
  padding: 0.7em;
  border-radius: var(--r);
  background: #1a1b1f;
  box-shadow: inset 0 0 0 0.15em #3a3c42, 0 2.5em 5em -1em rgb(20 23 31 / 0.4);
}
.phone p { margin: 0; }
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  padding: 1.2em 1.3em;
  border-radius: calc(var(--r) - 0.7em);
  background: #f2f3f6;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
}
.phone__status { display: flex; justify-content: space-between; align-items: center; height: 2.2em; padding-inline: 1em; font-size: 0.95em; font-weight: 500; }
.phone__island { position: absolute; left: 50%; top: 1.1em; width: 7em; height: 2em; translate: -50% 0; border-radius: 99em; background: #000; }
.phone__icons { display: flex; gap: 0.3em; }
.phone__icons i { width: 1.2em; height: 0.7em; border-radius: 0.2em; background: var(--ink); }
.phone .phone__date { margin-top: 1.8em; font-size: 0.95em; color: var(--graphite); }
.phone__title { font-size: 2.2em; font-weight: 500; letter-spacing: -0.02em; }
.app-card { display: flex; gap: 0.8em; align-items: center; margin-top: 0.8em; padding: 1em 1.1em; border-radius: 1.1em; background: var(--white); }
.app-card--blue { display: block; margin-top: 1.2em; padding: 1.2em; background: var(--blue); color: var(--white); }
.app-card__label { font-size: 1em; font-weight: 500; }
.phone .app-card__big { margin-top: 0.3em; font-size: 1.6em; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; }
.app-card__sub { font-size: 0.85em; color: var(--graphite); }
.phone .app-card--blue .app-card__sub { margin-top: 0.5em; color: rgb(255 255 255 / 0.75); }
.app-card__check { flex: none; width: 1.4em; height: 1.4em; border-radius: 50%; border: 0.15em solid #c4c8d1; }
.app-card__check--done { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.phone__tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 1.1em 1.5em 2.6em; background: rgb(255 255 255 / 0.85); border-top: 1px solid #e3e5ea; }
.phone__tabs i { width: 1.6em; height: 1.6em; border-radius: 0.45em; background: #c4c8d1; }
.phone__tabs .is-active { background: var(--blue); }
.phone__home { position: absolute; left: 50%; bottom: 0.7em; width: 9em; height: 0.35em; translate: -50% 0; border-radius: 99em; background: var(--ink); }

/* ── Statement: words darken as you scroll ────────────────────── */
.statement { padding-block: var(--space-section); background: var(--white); }
.statement__text {
  max-width: 21em;
  margin-inline: auto;
  font-size: clamp(1.75rem, 4vw, var(--fs-h2));
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-align: center;
}
.statement__text .word { color: #c3c7d0; transition: color 0.35s; }
.statement__text .word.is-on { color: var(--ink); }

/* ── What we make: tiles ──────────────────────────────────────── */
.make { padding-block: var(--space-section); }
.make__head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.make__head p { margin-top: 20px; font-size: var(--fs-lead); color: var(--graphite); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 600px;
  border-radius: 28px;
  background: var(--white);
  overflow: hidden;
  text-align: center;
}
.tile__copy { padding: 56px 48px 0; }
.tile h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.025em; }
.tile__copy p { max-width: 24em; margin: 14px auto 0; color: var(--graphite); }
.tile__visual { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding: 48px 48px 0; font-size: 13px; text-align: left; }
.tile--dark { background: var(--black); color: var(--white); }
.tile--dark .tile__copy p { color: #a3a7b2; }
.tile--blue { background: var(--blue); color: var(--white); }
.tile--blue .tile__copy p { color: var(--white); }

.mini-card {
  width: 100%; max-width: 26em;
  margin-bottom: 48px;
  padding: 1.8em;
  border-radius: 1.4em;
  background: var(--white);
  box-shadow: 0 0 0 1px rgb(20 23 31 / 0.07), 0 2em 4em -1.5em rgb(20 23 31 / 0.22);
  color: var(--ink);
}
.mini-card p { margin: 0; }
.mini-card__label { font-size: 1.1em; font-weight: 500; }
.mini-card .mini-card__big { margin-top: 0.2em; font-size: 3em; font-weight: 500; letter-spacing: -0.03em; }

.bars { display: flex; align-items: flex-end; gap: 0.8em; height: 11em; margin-top: 1.4em; }
.bars i { flex: 1; height: var(--h); border-radius: 0.5em 0.5em 0.2em 0.2em; background: #d3eafd; }
.bars .is-now { background: var(--blue); }
.bars__days { display: flex; gap: 0.8em; margin-top: 0.7em; }
.bars__days span { flex: 1; text-align: center; font-size: 0.95em; color: var(--graphite); }

.settings__head { display: flex; align-items: center; gap: 0.8em; padding-bottom: 1.2em; border-bottom: 1px solid #eceef1; }
.settings__icon { width: 2.4em; height: 2.4em; border-radius: 0.7em; background: #008060; }
.settings__head .mini-card__label { flex: 1; }
.settings__badge { padding: 0.3em 0.8em; border-radius: 99em; background: #e3f4ec; color: #006e52; font-size: 0.95em; font-weight: 500; }
.settings__row { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.1em 0; border-bottom: 1px solid #f0f1f4; font-size: 1.05em; }
.settings__row:last-child { border-bottom: 0; padding-bottom: 0; }
.toggle { position: relative; flex: none; width: 3em; height: 1.75em; border-radius: 99em; background: #d5d8de; }
.toggle::after { content: ""; position: absolute; top: 0.2em; left: 0.2em; width: 1.35em; height: 1.35em; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgb(0 0 0 / 0.2); }
.toggle.is-on { background: #008060; }
.toggle.is-on::after { left: auto; right: 0.2em; }

.tile-phone { width: 22em; margin-bottom: -16em; }

.mini-card--editor { box-shadow: 0 2em 4em -1.5em rgb(0 0 0 / 0.35); }
.mini-card .editor__text { margin-top: 1em; font-size: 1.3em; line-height: 1.45; }
.editor__suggestion { color: #8a90a0; background: #e8f4fe; border-radius: 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.editor__caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: var(--blue); }
.editor__foot { display: flex; align-items: center; gap: 0.6em; margin-top: 1.4em; padding-top: 1.2em; border-top: 1px solid #eceef1; font-size: 1em; color: var(--graphite); }
.editor__key { padding: 0.2em 0.6em; border-radius: 0.4em; border: 1px solid #d5d8de; border-bottom-width: 2px; color: var(--ink); font-weight: 500; }

/* ── Products (only rendered when the list has entries) ───────── */
.products { padding-bottom: var(--space-section); }
.products h2 { margin-bottom: 48px; }
.list { border-top: 1px solid var(--ink); }
.list__row { display: grid; grid-template-columns: 5fr 7fr; gap: 16px var(--gutter); padding-block: 32px; border-bottom: 1px solid var(--rule); }
.list dt { font-size: var(--fs-h3); line-height: 1.1; font-weight: 500; letter-spacing: -0.015em; }
.list dt a { text-decoration: none; }
.list dd { max-width: 32em; padding-top: 0.4em; color: var(--graphite); }
.list__kind { display: block; margin-bottom: 4px; color: var(--ink); }

/* ── Contact ──────────────────────────────────────────────────── */
.contact { padding-block: var(--space-section); background: var(--blue); color: var(--white); }
.contact a:hover { color: var(--white); text-decoration-thickness: 2px; }
.contact :focus-visible { outline-color: var(--white); }
.contact ::selection { background: var(--white); color: var(--blue); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px var(--gutter); }
.contact__text { margin-top: 24px; max-width: 20em; font-size: var(--fs-lead); line-height: 1.4; color: var(--white); }
.contact__details { margin-top: 32px; font-size: var(--fs-lead); line-height: 1.5; }

.form { display: grid; gap: 20px; align-content: start; }
.form label { display: grid; gap: 6px; }
.form input, .form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.08);
  color: var(--white);
  font: inherit;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--white); background: rgb(255 255 255 / 0.14); }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: var(--fs-small); color: var(--white); }
.form .button { justify-self: start; }
.form__status { display: none; padding: 14px 16px; border: 1px solid var(--white); border-radius: 12px; }
.form__status:target, .form__status.is-visible { display: block; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { color: var(--graphite); font-size: var(--fs-small); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 32px; }
.footer nav { display: flex; gap: 24px; }

/* ── Legal pages ──────────────────────────────────────────────── */
.legal { padding-block: clamp(48px, 8vw, 96px) var(--space-section); }
.legal h1 { margin-bottom: 48px; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; }
.prose { max-width: 40em; }
.prose h2 { margin: 48px 0 12px; font-size: var(--fs-lead); line-height: 1.25; letter-spacing: 0; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--blue); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 560px; }
  .contact__grid, .list__row { grid-template-columns: 1fr; }
  .list dd { padding-top: 0; }
}
@media (max-width: 640px) {
  :root { --fs-lead: 1.25rem; --fs-h3: 1.75rem; }
  .header nav a:not(:last-child) { display: none; }
  .scene { font-size: 6.5px; }
  .browser { width: 100%; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .scene__phone { right: 0; width: 24em; }
  .tile__copy { padding: 44px 24px 0; }
  .tile__visual { padding: 40px 20px 0; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .statement__text .word { transition: none; }
}
