/* Ultrec AI Inc — public site
   Edit this file to change colors, spacing, and type.
   Brand colors sampled from the approved desktop mockups. */

@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f5f7;
  --ink: #0c0c0d;
  --muted: #5f6368;
  --soft: #8b9096;
  --line: #e4e6ea;
  --card: #ffffff;
  --blue: #017aff;
  --red: #ff1f2a;
  --purple: #a016ff;
  --gray-tick: #b7bcc4;
  --header: 72px;
  --wrap: 1160px;
  --shadow: 0 12px 32px rgba(22, 24, 35, 0.06), 0 1px 2px rgba(22, 24, 35, 0.04);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

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

h1, h2, h3 {
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(42px, 5vw, 64px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: 20px; letter-spacing: -0.02em; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}

.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection { background: #d7e8ff; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

/* Header — white bar, gray nav, blue underline on the current page */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  height: var(--header);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img { height: 36px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px 18px;
  flex: 1;
  min-width: 0;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header);
  color: #5c6168;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a[aria-current="page"] {
  color: #000;
  font-weight: 650;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 3px 3px 0 0;
}

/* Hide mobile-only CTA on desktop; .site-nav a is more specific than .nav-cta alone */
.site-nav .nav-cta { display: none; }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #2c2c2c; }

.btn-ghost {
  background: #fff;
  color: #111;
  border-color: #e3e5e9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-ghost:hover { border-color: #c8ccd2; background: #fafafa; }

.btn-sm { padding: 11px 16px; font-size: 14px; }

.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.header-cta { flex: none; }

/* Type helpers */

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.red { color: var(--red); }
.eyebrow.purple { color: var(--purple); }
.eyebrow.on-dark { color: #9ec6ff; }

.lede {
  margin-top: 16px;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 640;
  letter-spacing: -0.025em;
  line-height: 1.28;
  color: #1a1a1c;
}

.lede-soft {
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 22px);
  color: #3d4248;
  max-width: 40rem;
}

.body-copy {
  margin-top: 16px;
  color: var(--muted);
  max-width: 38rem;
  font-size: 17px;
}

.page-hero { padding: 72px 0 8px; }

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.title-row .copy { max-width: 760px; }

.hero-mark {
  width: 150px;
  flex: none;
  margin-top: 8px;
}

.section { padding: 76px 0 8px; }

.section h2,
.page-hero h1 { margin-top: 12px; }

/* Home */

.hero { padding: 56px 0 12px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero h1 { font-size: clamp(48px, 5.4vw, 72px); }

/* Video */

.player-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #141414;
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 48px rgba(16, 16, 24, 0.16);
}

.player-frame video,
.player-frame img.poster-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
}

.chip {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 650;
  border: 0;
  line-height: 1;
}

.chip-loop {
  left: 14px;
  background: rgba(16, 16, 16, 0.88);
  color: #fff;
}

.chip-sound {
  right: 14px;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.chip-sound[aria-pressed="true"] { background: #111; color: #fff; }

.player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  color: #fff;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.12); }

.scrub { flex: 1; min-width: 0; padding-bottom: 2px; }

.scrub-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.track-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time { font-variant-numeric: tabular-nums; opacity: 0.9; flex: none; }

.bar {
  position: relative;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #fff;
}

.player-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.player-caption a {
  color: #1c1c1e;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.player-caption a:hover { color: var(--blue); }

/* Cards and grids */

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px 24px;
}

.promise h3,
.path h3,
.step h3,
.product h2 { margin-top: 0; }

.promise p,
.path p,
.step p,
.guard p,
.plain p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

.tick {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.tick-blue { background: var(--blue); }
.tick-red { background: var(--red); }
.tick-purple { background: var(--purple); }
.tick-gray { background: var(--gray-tick); }

.path { position: relative; }
.path .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  margin-bottom: 22px;
}
.dot-blue { background: var(--blue); }
.dot-red { background: var(--red); }
.dot-purple { background: var(--purple); }

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.split .body-copy { margin-bottom: 8px; }

.poster {
  position: relative;
  background: #fff;
  border-radius: 28px;
  min-height: 340px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 36px 32px 80px;
  display: flex;
  align-items: center;
}

.poster-logo { width: min(100%, 280px); }

.poster-title {
  margin-top: 18px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.poster-sub { margin-top: 6px; color: var(--muted); }

.poster-swoosh {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 78%;
  height: auto;
}

/* Products */

.products { margin-top: 36px; }

.product {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 22px 22px;
  min-height: 100%;
}

.product .cap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.cap-blue { background: var(--blue); }
.cap-red { background: var(--red); }
.cap-purple { background: var(--purple); }

.product-mark { width: 54px; height: auto; margin: 8px 0 6px; }

.product h2 { font-size: 26px; }

.role { font-weight: 700; font-size: 14.5px; }
.role-blue { color: var(--blue); }
.role-red { color: var(--red); }
.role-purple { color: var(--purple); }
.role-muted { color: #6d7278; }

.product > p:not(.role) {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}

.rule-pill {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f2f3f5;
  color: #3a3d42;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}

.rule-pill svg { flex: none; }

.more .plus {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f2f3f5;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 500;
  color: #222;
  margin: 10px 0 8px;
}

.more .btn { margin-top: 8px; }

.guard { margin-top: 28px; }
.guard h3 { font-size: 18px; }
.draft {
  margin-top: 36px;
  color: var(--soft);
  font-size: 14px;
}

/* Numbered principles, safety, steps */

.principles { max-width: 780px; margin-top: 18px; }

.principle {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.principle:last-child { border-bottom: 1px solid var(--line); }

.num {
  font-size: 28px;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 4px;
}

.num.blue { color: var(--blue); }
.num.red { color: var(--red); }
.num.purple { color: var(--purple); }

.principle h2 { font-size: 26px; }
.principle p { margin-top: 10px; color: var(--muted); max-width: 40rem; }

.steps { margin-top: 28px; }
.step h3 { font-size: 18px; }

.facts { max-width: 760px; margin-top: 8px; padding: 0; list-style: none; }
.facts li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #3a3f45;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.band {
  background: #070707;
  color: #fff;
  margin-top: 72px;
  padding: 84px 0;
}

.band h2 { color: #fff; max-width: 16em; }
.band p { margin-top: 16px; color: #c9c9c9; max-width: 42rem; }
.band .btn { margin-top: 26px; background: #fff; color: #111; }
.band .btn:hover { background: #f2f2f2; }

.safety-cards { margin-top: 36px; }
.safety-cards .card { min-height: 230px; }
.badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 750;
  margin-bottom: 18px;
}
.badge-blue { background: var(--blue); }
.badge-red { background: var(--red); }
.badge-purple { background: var(--purple); }
.safety-cards h3 { font-size: 22px; }
.safety-cards p { margin-top: 10px; }

.quote {
  margin-top: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px 36px 30px;
}

.quote p {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.quote footer { margin-top: 18px; color: var(--muted); font-size: 14.5px; }

.stat {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
}

.stat b {
  font-size: clamp(104px, 14vw, 168px);
  font-weight: 680;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.stat span {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: #4d5258;
  max-width: 10em;
  line-height: 1.15;
}

.founder {
  margin-top: 8px;
  max-width: 760px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  background: #e9ebef;
  border-radius: 22px;
  padding: 22px;
}

.silhouette {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #d5d8de;
  display: grid;
  place-items: center;
  color: #8b9098;
}

.founder h3 { font-size: 18px; }
.founder p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }

.narrow { max-width: 760px; }
.stack-block { margin-top: 36px; }
.stack-block h2 { font-size: clamp(28px, 3vw, 36px); }
.stack-block p { margin-top: 12px; color: var(--muted); }
.stack-block .facts { margin-top: 4px; }

/* MedOffice */

.med-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.kicker {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a6f76;
}

.url-line {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.url-line:hover { text-decoration: underline; }

.med-logo-card {
  background: #0c0c0c;
  border-radius: 28px;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 40px 28px;
  box-shadow: var(--shadow);
}

.med-logo-card img { width: min(100%, 440px); }

.ready {
  padding: 72px 0 10px;
}

.ready-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 18px;
}

.fine {
  margin-top: 18px;
  color: var(--soft);
  font-size: 13.5px;
}

/* Ultrec2X scaffold */

.chat {
  margin: 36px auto 0;
  max-width: 840px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(22, 24, 35, 0.08);
  overflow: hidden;
  border-top: 4px solid var(--red);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 8px;
}

.chat-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.chat-id img { width: 28px; height: auto; }

.soon-pill {
  background: #fff4cc;
  color: #7a4e00;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 750;
}

.soon-note {
  margin: 4px 18px 12px;
  background: #f6f7f8;
  border: 1px dashed #d5d8de;
  border-radius: 14px;
  padding: 12px 14px;
  color: #3c4148;
  font-size: 14.5px;
}

.thread { padding: 6px 8px 8px; }

.msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin: 10px 10px;
}

.msg.user { justify-content: flex-end; }

.msg img { width: 26px; height: auto; flex: none; }

.bubble {
  max-width: min(78%, 520px);
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.45;
}

.msg.user .bubble {
  background: #111;
  color: #fff;
  border-bottom-right-radius: 6px;
}

.msg.bot .bubble {
  background: #f2f3f5;
  color: #222;
  border-bottom-left-radius: 6px;
}

.composer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 16px 8px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
}

.composer input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: #111;
  min-width: 0;
  padding: 10px 0;
}

.composer input:disabled { color: #8b9096; cursor: not-allowed; }

.send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  opacity: 0.4;
  cursor: not-allowed;
}

.chat-fine {
  text-align: center;
  color: var(--soft);
  font-size: 13px;
  padding: 4px 18px 16px;
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* FAQ */

.faq { max-width: 760px; }
.faq article { padding: 22px 0 6px; }
.faq h2 {
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.faq p { margin-top: 8px; color: var(--muted); }

/* Contact */

.contact-card {
  margin-top: 28px;
  max-width: 640px;
  padding: 28px 26px 24px;
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field span { font-size: 14px; font-weight: 700; }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 14px;
  width: 100%;
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  background: #fff;
  border-color: transparent;
}

.form-note { margin-top: 14px; color: var(--muted); font-size: 14.5px; }

.form-status {
  margin-top: 14px;
  background: #f7f1d8;
  color: #5c4300;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 600;
}

.form-status[hidden] { display: none; }

/* Footer */

.site-footer {
  background: #050505;
  color: #fff;
  margin-top: 88px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex: none;
}

.footer-brand img { width: 34px; height: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-nav a {
  color: #dedede;
  text-decoration: none;
  font-size: 13.5px;
}

.footer-nav a:hover { color: #fff; }

.footer-meta {
  border-top: 1px solid #242424;
  padding: 14px 0 16px;
  color: #9a9a9a;
  font-size: 13px;
}

.rainbow {
  height: 6px;
  background: linear-gradient(90deg, #017aff 0%, #7b46ff 46%, #a016ff 62%, #ff1f2a 100%);
}

/* Small states */

.not-found { padding: 80px 0 40px; max-width: 640px; }
.not-found p { margin-top: 14px; color: var(--muted); }

@media (max-width: 1080px) {
  .site-nav { gap: 2px 12px; }
  .site-nav a { font-size: 12.5px; }
}

@media (max-width: 980px) {
  .nav-burger { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 22px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    height: auto;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--blue); }
  .site-nav .nav-cta {
    display: inline-flex;
    margin-top: 8px;
    height: auto;
    width: auto;
    color: #fff;
  }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-grid,
  .split,
  .med-hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-mark { width: 96px; }
}

@media (max-width: 700px) {
  :root { --header: 64px; }
  .track-title { display: none; }
  .player-bar .icon-btn[data-replay],
  .player-bar .icon-btn[data-unmute] { display: none; }
  .scrub-meta { justify-content: flex-end; }
  .chip { top: 10px; }
  .chip-sound { max-width: 58%; }
  .brand img { height: 30px; }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
  .title-row { flex-direction: column; }
  .principle { grid-template-columns: 52px 1fr; }
  .stat { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
  .player-caption { flex-direction: column; }
  .quote { padding: 24px 20px; }
  .page-hero { padding-top: 40px; }
  .hero { padding-top: 32px; }
  .section { padding-top: 52px; }
  h1 { font-size: 40px; }
  .hero h1 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
