/* zamde.zennia.sg. Every colour, space and radius comes from tokens.css. */

/* Family scope, as in the design system's bundle.css. */
[data-family="riffle"]  { --accent: var(--riffle);  --accent-ink: var(--riffle-ink);  --accent-soft: var(--riffle-soft);  --accent-on: var(--riffle-on); }
[data-family="rondo"]   { --accent: var(--rondo);   --accent-ink: var(--rondo-ink);   --accent-soft: var(--rondo-soft);   --accent-on: var(--rondo-on); }
[data-family="rebus"]   { --accent: var(--rebus);   --accent-ink: var(--rebus-ink);   --accent-soft: var(--rebus-soft);   --accent-on: var(--rebus-on); }
[data-family="scherzo"] { --accent: var(--scherzo); --accent-ink: var(--scherzo-ink); --accent-soft: var(--scherzo-soft); --accent-on: var(--scherzo-on); }
[data-family="quaver"]  { --accent: var(--quaver);  --accent-ink: var(--quaver-ink);  --accent-soft: var(--quaver-soft);  --accent-on: var(--quaver-on); }
[data-family="quoin"]   { --accent: var(--quoin);   --accent-ink: var(--quoin-ink);   --accent-soft: var(--quoin-soft);   --accent-on: var(--quoin-on); }
[data-family="recess"]  { --accent: var(--recess);  --accent-ink: var(--recess-ink);  --accent-soft: var(--recess-soft);  --accent-on: var(--recess-on); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px; line-height: 24px;
  background: var(--surface); color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }

.wrap { --gutter: var(--space-7); width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); }
.sep { color: var(--ink-muted); margin: 0 0.15em; }

.skip { position: absolute; left: var(--space-4); top: -48px; z-index: 20; background: var(--ink); color: var(--surface); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--space-4); }

/* Type styles, from tokens.json. */
.display-xl { font-family: var(--font-display); font-size: clamp(48px, 7vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.display-l  { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); line-height: 1.07; font-weight: 700; letter-spacing: -0.025em; }
.heading-2  { font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); line-height: 1.19; font-weight: 650; letter-spacing: -0.015em; }
.heading-3  { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.body-l     { font-size: 18px; line-height: 28px; }
.overline   { font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-4); }

/* Buttons and badges, as the design system's Button and Badge. */
.btn {
  font: inherit; font-size: 14px; line-height: 20px; font-weight: 600;
  height: 44px; padding: 0 var(--space-5);
  display: inline-flex; align-items: center; gap: var(--space-2);
  border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .12s ease-out, box-shadow .12s ease-out;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { box-shadow: inset 0 0 0 999px rgba(22, 20, 26, 0.10); }
.btn-primary:focus-visible:hover { box-shadow: inset 0 0 0 999px rgba(22, 20, 26, 0.10), var(--focus-ring); }
.btn-secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-sunken); }
.btn-ghost { background: transparent; color: var(--accent-ink); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn:focus-visible { border-radius: var(--radius-sm); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; line-height: 16px; font-weight: 600;
  padding: 3px var(--space-2); border-radius: var(--radius-pill);
  white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-neutral { background: var(--surface-sunken); color: var(--ink); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger  { background: var(--danger-soft);  color: var(--danger); }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease-out;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; padding: var(--space-1); margin-left: calc(-1 * var(--space-1)); }
.brand img { height: 28px; width: auto; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav a {
  font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); color: var(--ink-muted);
  transition: color .12s ease-out, background-color .12s ease-out;
}
.nav a:hover { color: var(--ink); background: var(--surface-sunken); }
.theme {
  width: 40px; height: 40px; margin-left: var(--space-2);
  display: inline-grid; place-items: center;
  background: transparent; color: var(--ink); cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: background-color .12s ease-out;
}
.theme:hover { background: var(--surface-sunken); }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.theme .i-sun { display: none; }
[data-theme="dark"] .theme .i-sun { display: block; }
[data-theme="dark"] .theme .i-moon { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: var(--space-9) 0 calc(var(--space-9) + var(--space-5)); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .lede { font-size: 20px; line-height: 30px; color: var(--ink-muted); max-width: 34em; margin-top: var(--space-5); }
.hero h1 { max-width: 9em; }
.hero-art { position: relative; height: clamp(300px, 34vw, 440px); }
/* The z runs off the right edge, like the cover. */
.hero-z { position: absolute; left: 0; top: 0; height: 100%; width: auto; overflow: visible; color: var(--zamde-ink); }
[data-theme="dark"] .hero-z { color: var(--zamde-paper); }
.z-bar { fill: currentColor; }
.z-slice { animation: slice-in 220ms cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(240ms + var(--i) * 40ms); }
@keyframes slice-in { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: var(--space-9) 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: var(--space-7); }
.section-head.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: end; }
.section-head.split > p { max-width: 32em; padding-bottom: 6px; }

/* App lockups: tile, lowercase name, what it's for. */
.app-head { display: flex; align-items: center; gap: var(--space-4); }
.app-head .badge { margin-left: auto; }
.tile { flex: none; }
.app-name { font-family: var(--font-display); font-weight: 660; font-size: 28px; line-height: 1; letter-spacing: -0.012em; }
.app-family { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: 4px; }

.ticks { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-muted); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: var(--accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Featured: Scherzo */
.feature {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-7);
  align-items: center;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
/* One vermilion rule along the top: the family speaking, once. */
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--accent); }
.feature-copy .heading-2 { margin-top: var(--space-6); }
.feature-copy .body-l { margin-top: var(--space-4); color: var(--ink-muted); }

/* The console sketch */
.console {
  background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; font-size: 12px; line-height: 16px;
}
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); background: var(--surface-raised); }
.console-title { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-states { display: flex; gap: var(--space-2); flex: none; }
.console-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }

.stage { position: relative; padding: var(--space-4); min-height: 300px; }
.fake { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--space-3); height: 100%; box-shadow: var(--shadow-sm); }
.fake-top { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.fake-top > span:first-child { width: 22px; height: 22px; border-radius: 6px; background: var(--surface-sunken); flex: none; }
.fake-search { flex: 1; height: 24px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 3px 8px; font-size: 11px; color: var(--ink-muted); }
.fake-row { display: flex; gap: var(--space-2); align-items: center; padding: 7px 6px; border-radius: 6px; }
.fake-row i { width: 26px; height: 26px; border-radius: 6px; background: var(--surface-sunken); flex: none; }
.fake-row span { display: grid; gap: 5px; flex: 1; }
.fake-row b { display: block; height: 7px; width: 70%; border-radius: 4px; background: var(--line-strong); opacity: .55; }
.fake-row em { display: block; height: 6px; width: 45%; border-radius: 4px; background: var(--line); }
.fake-row.is-hover { background: var(--surface-sunken); }
.fake-row:nth-child(4) b { width: 58%; }
.fake-row:nth-child(5) b { width: 64%; }
.cursor { position: absolute; left: 62%; top: 42%; width: 18px; height: 18px; fill: var(--ink); stroke: var(--surface-raised); stroke-width: 1.5; stroke-linejoin: round; }

.task {
  position: absolute; right: var(--space-2); bottom: var(--space-2); width: 64%; max-width: 230px;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-3); box-shadow: var(--shadow-md);
  border-top: 3px solid var(--accent);
}
.task-k { font-size: 10px; line-height: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.task-t { font-size: 13px; line-height: 18px; font-weight: 600; margin-top: 4px; }
.task-b { display: flex; gap: 6px; margin-top: var(--space-3); }
.mini { font-size: 11px; line-height: 14px; font-weight: 600; padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line-strong); }
.mini-primary { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }

.notes { border-left: 1px solid var(--line); padding: var(--space-4); background: var(--surface-raised); }
.notes-h { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-3); }
.notes ol { display: grid; gap: var(--space-3); }
.notes li { display: grid; grid-template-columns: 38px 1fr; column-gap: var(--space-2); row-gap: 4px; font-size: 12.5px; line-height: 17px; }
.notes time { color: var(--accent-ink); font-weight: 600; }
.notes .mark { grid-column: 2; justify-self: start; font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-ink); }
.notes .typing span { color: var(--ink-muted); }
.caret { display: inline-block; width: 1.5px; height: 13px; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.track { position: relative; height: 34px; border-top: 1px solid var(--line); background: var(--surface-raised); }
.track::before { content: ""; position: absolute; left: 4%; right: 4%; top: 16px; height: 2px; border-radius: 2px; background: var(--line); }
.track .seg { position: absolute; top: 14px; height: 6px; border-radius: 3px; background: var(--surface-sunken); box-shadow: inset 0 0 0 1px var(--line-strong); }
.track .pin { position: absolute; top: 10px; width: 2px; height: 14px; border-radius: 1px; background: var(--ink-muted); }
.track .head { position: absolute; top: 7px; width: 3px; height: 20px; border-radius: 2px; background: var(--accent); }

/* Upcoming */
.upcoming { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.soon {
  position: relative; overflow: hidden;
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-6); display: flex; flex-direction: column;
  transition: box-shadow .18s ease-out, border-color .18s ease-out;
}
.soon:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
/* The family icon, cropped large and bleeding off the corner, in its own fill. */
.soon-crop { position: absolute; width: 260px; height: 260px; right: -92px; top: -92px; pointer-events: none; }
.soon > *:not(.soon-crop) { position: relative; }
.soon .app-head { padding-right: 120px; }
.soon .heading-3 { margin-top: var(--space-4); max-width: 16em; }
.soon > p:not(.soon-foot) { margin-top: var(--space-3); color: var(--ink-muted); }
.soon .ticks li { color: var(--ink); }
.soon-foot { margin-top: auto; padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.soon .ticks { margin-bottom: var(--space-6); }
.soon-status { align-self: flex-start; margin-top: var(--space-6); }

/* Recess: an issue laid out like a contents page. The lead takes the family's field. */
.recess-lockup { height: 36px; width: auto; margin-bottom: var(--space-6); }
.recess-status { margin-top: var(--space-4); }
.issue { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-5); }
.kicker { font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.meta { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.lead {
  position: relative; overflow: hidden;
  background: var(--accent); color: var(--accent-on);
  border-radius: var(--radius-md); padding: var(--space-7);
  display: flex; flex-direction: column; min-height: 460px;
}
.lead .kicker, .lead .meta { color: var(--accent-on); }
.lead-title { font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; margin-top: var(--space-4); max-width: 9em; }
.lead-stand { font-size: 18px; line-height: 28px; margin-top: var(--space-5); max-width: 22em; }
.lead .meta { margin-top: auto; padding-top: var(--space-6); font-weight: 600; }
/* The niche, cropped large off the corner: the alcove you step into. */
.lead-crop {
  position: absolute; width: 380px; height: 380px; right: -96px; bottom: -120px; pointer-events: none;
  background: var(--accent-on);
  -webkit-mask: url("assets/recess-icon.svg") center / contain no-repeat;
          mask: url("assets/recess-icon.svg") center / contain no-repeat;
}
.lead > *:not(.lead-crop) { position: relative; }
.stack { display: grid; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.stack li { padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.stack li + li { border-top: 1px solid var(--line); }
.stack h3 { margin-top: var(--space-1); }
.stack li > p:not(.kicker):not(.meta) { color: var(--ink-muted); }
.issue-note { margin-top: var(--space-4); font-size: 13px; line-height: 20px; color: var(--ink-muted); }

/* Families directory */
.spine { display: flex; gap: 3px; padding: 0 6px; margin-bottom: var(--space-5); }
.spine span { flex: 1; height: 8px; transform: skewX(-40deg); border-radius: 1px; }
.spine span:nth-child(1) { background: var(--riffle); }
.spine span:nth-child(2) { background: var(--rondo); }
.spine span:nth-child(3) { background: var(--rebus); }
.spine span:nth-child(4) { background: var(--scherzo); }
.spine span:nth-child(5) { background: var(--quaver); }
.spine span:nth-child(6) { background: var(--quoin); }
.families { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3); }
.families li {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2);
}
.families img { width: 40px; height: 40px; margin-bottom: var(--space-3); }
.fam-name { font-family: var(--font-display); font-weight: 660; font-size: 22px; line-height: 26px; letter-spacing: -0.012em; }
.fam-trait { font-size: 13px; line-height: 18px; color: var(--ink-muted); flex: 1; margin-bottom: var(--space-3); }
.fam-recess {
  display: grid; grid-template-columns: auto minmax(0, 190px) minmax(0, 1fr) auto; gap: var(--space-5); align-items: center;
  margin-top: var(--space-5); padding: var(--space-5);
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.fam-recess img { width: 40px; height: 40px; }
.fam-recess .fam-trait { margin: 4px 0 0; }
.fam-recess-desc { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.fam-wait { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-muted); padding: 3px 0; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.principles li { border-top: 2px solid var(--ink); padding-top: var(--space-5); }
.principles .num { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink-muted); }
.principles h3 { margin-top: var(--space-5); max-width: 12em; }
.principles p { margin-top: var(--space-3); color: var(--ink-muted); }

/* Footer: Zamde in ink, whatever the theme. The pattern never sits behind text. */
.foot { background: var(--zamde-ink); color: var(--zamde-paper); margin-top: var(--space-8); }
.pattern { height: 192px; background: url("assets/zamde-ensemble-pattern.svg") 0 0 / 576px 192px repeat-x; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--space-7); padding-top: var(--space-8); padding-bottom: var(--space-8); }
.foot-brand img { width: 240px; height: auto; }
.signoff { margin-top: var(--space-6); font-size: 16px; color: #ABA7B4; }
.foot-nav { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); font-size: 15px; }
.foot-h { font-size: 12px; line-height: 16px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #ABA7B4; margin-bottom: var(--space-2); }
.foot-nav a { text-decoration: none; border-radius: var(--radius-xs); }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-nav a:focus-visible { box-shadow: 0 0 0 2px #16141A, 0 0 0 4px #F3F1EC; }
.foot-dim { color: #ABA7B4; }
.foot-base { display: flex; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-5); padding-bottom: var(--space-6); font-size: 13px; color: #ABA7B4; position: relative; }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid #2E2C35; }

/* Responsive */
@media (max-width: 1080px) {
  .families { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .wrap { --gutter: var(--space-5); }
  .hero { padding: var(--space-8) 0 var(--space-8); }
  .hero-in { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-art { order: -1; height: 200px; }
  .section { padding: var(--space-8) 0; }
  .section-head.split { grid-template-columns: 1fr; gap: var(--space-4); }
  .upcoming, .principles, .issue { grid-template-columns: 1fr; }
  .lead { min-height: 0; padding: var(--space-6) var(--space-6) 184px; }
  .lead-crop { width: 240px; height: 240px; right: -64px; bottom: -84px; }
  .fam-recess { grid-template-columns: auto 1fr; }
  .fam-recess-desc, .fam-recess .badge { grid-column: 1 / -1; justify-self: start; }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { --gutter: var(--space-4); }
  .nav a { display: none; }
  .hero-art { height: 150px; }
  .hero-copy .lede { font-size: 18px; line-height: 28px; }
  .feature { padding: var(--space-5); gap: var(--space-6); }
  .app-head { flex-wrap: wrap; }
  .feature .app-head .badge { margin-left: 0; }
  .console-body { grid-template-columns: 1fr; }
  .notes { border-left: 0; border-top: 1px solid var(--line); }
  .console-states .badge-success { display: none; }
  .soon { padding: var(--space-5); }
  .soon-crop { width: 200px; height: 200px; right: -80px; top: -80px; }
  .soon .app-head { padding-right: 80px; }
  .families { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .lead { padding: var(--space-5) var(--space-5) 168px; }
  .lead-crop { width: 220px; height: 220px; right: -60px; bottom: -80px; }
  .stack li { padding: var(--space-5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .z-slice, .caret { animation: none; }
}
