/* Sistema de design "Papel & Tinta".
   Regras da casa:
   1. Papel claro por padrão. O escuro é uma sala, não o padrão.
   2. Estrutura vem de fios de 1px e alinhamento — não de caixas com sombra.
   3. A tipografia carrega o peso. Serifa só onde há intenção editorial.
   4. Cor é sinal, nunca enfeite.
   5. Movimento é físico e ligado ao scroll. Nada flutua por decoração. */

@import url('../fonts/fonts.css');

:root {
  /* papel */
  --paper: #f2f0eb;
  --paper-2: #e9e6df;
  --paper-3: #dedad1;
  --sheet: #fbfaf7;

  /* tinta */
  --ink: #14120f;
  --ink-2: rgba(20, 18, 15, 0.72);   /* contraste AA para texto de apoio */
  --ink-3: rgba(20, 18, 15, 0.62);   /* contraste AA para dicas e rótulos */
  --ink-4: rgba(20, 18, 15, 0.24);
  --rule: rgba(20, 18, 15, 0.13);
  --rule-2: rgba(20, 18, 15, 0.26);

  /* sinal — azul para marca e interação, quente para risco */
  --accent: #0066cc;
  --accent-2: #0071e3;
  --accent-soft: rgba(0, 102, 204, 0.08);
  --danger: #b3402c;
  --amber: #a85718;
  --moss: #4a6a44;
  --sand: #8a6624;
  --slate: #3f5361;

  /* tipografia */
  --sans: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* métrica */
  --nav-h: 68px;
  --page: 1360px;
  --measure: 34rem;
  --gutter: clamp(20px, 4.4vw, 64px);
  --col-gap: clamp(14px, 1.8vw, 26px);

  /* movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.2, 1.12, 0.3, 1);
  --t: 0.36s var(--ease);
  --t-slow: 0.9s var(--ease);

  color-scheme: light;
}

[data-theme='night'] {
  --paper: #100f0d;
  --paper-2: #171613;
  --paper-3: #201e1a;
  --sheet: #191713;

  --ink: #f0ede6;
  --ink-2: rgba(240, 237, 230, 0.70);
  --ink-3: rgba(240, 237, 230, 0.52);
  --ink-4: rgba(240, 237, 230, 0.22);
  --rule: rgba(240, 237, 230, 0.14);
  --rule-2: rgba(240, 237, 230, 0.26);

  --accent: #2997ff;
  --accent-2: #4aa8ff;
  --accent-soft: rgba(41, 151, 255, 0.12);
  --danger: #f0836a;
  --amber: #e29254;
  --moss: #7fae72;
  --sand: #d0a44f;
  --slate: #8fa8b8;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* display: grid/flex nos componentes vence o padrão de [hidden] — aqui não */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--paper); }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--rule-2); border: 3px solid var(--paper); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

.skip {
  position: absolute; top: 8px; left: 8px; z-index: 500;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 0.88rem;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

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

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

.d0 {
  font-size: clamp(2.9rem, 7.6vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.d1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); line-height: 0.94; letter-spacing: -0.045em; }
.d2 { font-size: clamp(1.9rem, 3.7vw, 3.3rem); line-height: 1; letter-spacing: -0.04em; }
.d3 { font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.12; letter-spacing: -0.03em; }
.d4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.25; letter-spacing: -0.02em; }

/* serifa: usada com intenção, nunca como enfeite */
.serif, em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 84;
  letter-spacing: -0.018em;
}

p { text-wrap: pretty; }
.body { font-size: 1.0625rem; line-height: 1.66; color: var(--ink-2); max-width: var(--measure); }
.body-lg {
  font-size: clamp(1.15rem, 1.55vw, 1.42rem);
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: var(--ink-2);
  max-width: 40rem;
}
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.tiny { font-size: 0.78rem; line-height: 1.5; }

.label {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.mono { font-family: var(--mono); font-size: 0.8rem; letter-spacing: -0.01em; }

/* palavra marcada — sublinhado de traço grosso, feito à mão */
.mark-text {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.14em;
  padding-bottom: 0.02em;
}

.page { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { width: 100%; max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); }

.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
/* span vai no END: assim .c4 combina com .start9 sem uma anular a outra */
.c1 { grid-column-end: span 1; }   .c2 { grid-column-end: span 2; }
.c3 { grid-column-end: span 3; }   .c4 { grid-column-end: span 4; }
.c5 { grid-column-end: span 5; }   .c6 { grid-column-end: span 6; }
.c7 { grid-column-end: span 7; }   .c8 { grid-column-end: span 8; }
.c9 { grid-column-end: span 9; }   .c10 { grid-column-end: span 10; }
.c11 { grid-column-end: span 11; } .c12 { grid-column-end: span 12; }

.start2 { grid-column-start: 2; }   .start3 { grid-column-start: 3; }
.start4 { grid-column-start: 4; }   .start5 { grid-column-start: 5; }
.start6 { grid-column-start: 6; }   .start7 { grid-column-start: 7; }
.start8 { grid-column-start: 8; }   .start9 { grid-column-start: 9; }
.start10 { grid-column-start: 10; } .start11 { grid-column-start: 11; }

.band { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.band-tight { padding-block: clamp(40px, 5.5vw, 80px); }
.band-rule { border-top: 1px solid var(--rule); }
.band-dark { background: var(--paper-2); }

.hr { height: 1px; background: var(--rule); border: 0; }

/* cabeçalho de seção: número no canto, título grande, fio contínuo */
.head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(34px, 4.5vw, 64px);
}
.head-top {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.head-top .label { flex: none; }
.head-top .idx { margin-left: auto; font-family: var(--mono); font-size: 0.66rem; color: var(--ink-4); }
.head h2 { max-width: 22ch; }
.head .body-lg { margin-top: 6px; }

/* A grade de doze colunas ao fundo. Sem JS fica estática (o ::before);
   com JS vira campo animado — ver assets/js/field.js. */
.guides {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.55;
}
.guides canvas { display: block; width: 100%; height: 100%; }
.guides.live { opacity: 1; }
.guides.live::before { display: none; }
.guides::before {
  content: '';
  position: absolute; inset: 0;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
  background-image: repeating-linear-gradient(
    to right,
    var(--rule) 0 1px,
    transparent 1px calc((100% - 11 * var(--col-gap)) / 12 + var(--col-gap))
  );
  background-clip: content-box;
  -webkit-background-clip: content-box;
}

.btn {
  --pad: 14px 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.014em;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform 0.2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--t); }
.btn:active { transform: scale(0.985); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent); }
.btn-ink:hover svg { transform: translateX(3px); }

.btn-outline { border: 1px solid var(--rule-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-outline:hover svg { transform: translateX(3px); }

.btn-lg { --pad: 18px 34px; font-size: 1rem; }
.btn-sm { --pad: 9px 18px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* link com fio que corre */
.link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.94rem;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: color var(--t), background-size 0.4s var(--ease);
}
.link:hover { color: var(--accent); background-size: 0 1px; background-position: 100% 100%; }
.link svg { width: 15px; height: 15px; transition: transform var(--t); }
.link:hover svg { transform: translate(3px, -3px); }

/* Não usamos "cards". Usamos blocos delimitados por fio. */
.sheet {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(22px, 2.6vw, 36px);
}
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.tag svg { width: 12px; height: 12px; }
.tag-accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.tag-moss { color: var(--moss); border-color: color-mix(in srgb, var(--moss) 34%, transparent); }
.tag-sand { color: var(--sand); border-color: color-mix(in srgb, var(--sand) 34%, transparent); }

/* formulário */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > .label { color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--rule-2);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  border-radius: 0;
  appearance: none;
  transition: border-color var(--t);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); }
.textarea { min-height: 112px; resize: vertical; line-height: 1.6; padding-top: 8px; }
.select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 15px;
  padding-right: 26px;
}
.hint, .field > span.hint {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
  line-height: 1.5;
}

.note {
  display: none;
  padding: 12px 0 12px 14px;
  border-left: 2px solid var(--danger);
  font-size: 0.88rem;
  color: var(--danger);
}
.note.on { display: block; animation: nudge 0.4s var(--ease); }
.note-ok { border-left-color: var(--moss); color: var(--moss); }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  60% { transform: translateX(3px); }
}

/* O estado inicial só existe quando o JS marca <html class="motion">. */
.motion [data-r] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.motion [data-r='left'] { transform: translateX(-24px); }
.motion [data-r='right'] { transform: translateX(24px); }
.motion [data-r='still'] { transform: none; }
.motion [data-r].in { opacity: 1; transform: none; }

/* título revelado linha a linha: cada palavra é uma máscara e o atraso vem
   da linha real em que ela caiu depois do layout */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; }
.w > span { display: inline-block; }
.motion .w > span {
  transform: translateY(108%);
  transition: transform 1.05s var(--ease);
  transition-delay: var(--d, 0ms);
}
.motion .in .w > span { transform: none; }

/* fio que se desenha */
.motion .draw { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.motion .draw.in { transform: scaleX(1); }

/* nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--rule);
}
.nav-in {
  width: 100%; max-width: var(--page);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* marca (wordmark)
   Sem símbolo. As letras se recolhem no V quando você desce e voltam a
   abrir quando sobe. */
.mark { display: inline-flex; align-items: center; flex: none; }
.mark-word {
  display: inline-flex;
  font-family: var(--serif);
  font-variation-settings: 'opsz' 120;
  font-weight: 500;
  font-size: 1.42rem;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--ink);
}
.mark-word i {
  font-style: normal;
  display: inline-block;
  overflow: hidden;
  max-width: 1.3ch;
  opacity: 1;
  transition:
    max-width 0.62s var(--ease),
    opacity 0.34s var(--ease),
    transform 0.62s var(--ease);
  transition-delay: calc(var(--i) * 26ms);
}
.nav.folded .mark-word i.fold {
  max-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition-delay: calc((6 - var(--i)) * 26ms);
}
.mark:hover .mark-word { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-side { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta .short { display: none; }

.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: color var(--t), background var(--t);
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { color: var(--ink); background: var(--paper-3); }

.burger { display: none; }

.drawer {
  position: fixed; inset: 0; z-index: 119;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 36px;
  background: var(--paper);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.6rem, 8vw, 2.4rem);
  font-weight: 500; letter-spacing: -0.04em;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color var(--t);
}
.drawer a span { font-family: var(--mono); font-size: 0.6rem; color: var(--ink-3); }
.drawer.open a { opacity: 1; transform: none; }
.drawer a:hover { color: var(--accent); }

/* barra de leitura */
.rail {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 130; pointer-events: none;
}
.rail i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.1s linear; }

/* rodapé */
.footer { border-top: 1px solid var(--rule); padding-top: clamp(48px, 6vw, 84px); padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(26px, 4vw, 56px); }
.footer h4 {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: var(--ink-2); padding: 5px 0; transition: color var(--t); }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { max-width: 30ch; margin-top: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  margin-top: clamp(40px, 5vw, 70px); padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem; color: var(--ink-3);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }

/* marquee */
.ticker {
  display: flex; overflow: hidden;
  border-block: 1px solid var(--rule);
  padding-block: 14px;
}
.ticker-track {
  display: flex; flex: none; align-items: center; gap: 44px; padding-right: 44px;
  animation: run var(--dur, 52s) linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-100%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.ticker-item::before { content: ''; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

.toast-wrap {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 400; display: flex; flex-direction: column; gap: 8px;
  max-width: min(420px, calc(100vw - 32px));
}
.toast {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 18px;
  background: var(--ink); color: var(--paper);
  border-radius: 3px;
  font-size: 0.88rem;
  box-shadow: 0 16px 40px -20px rgba(20, 18, 15, 0.6);
  animation: toast-in 0.42s var(--spring);
}
.toast svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.toast.err svg { color: var(--danger); }
.toast.out { animation: toast-out 0.32s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* cursor */
.dot {
  position: fixed; top: 0; left: 0; z-index: 500;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--ink-3); border-radius: 50%;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s;
}
body.cursor-on .dot { opacity: 1; }
body.cursor-active .dot {
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: var(--accent);
}

/* util */
.flex { display: flex; }
.wrap { flex-wrap: wrap; }
.center-y { align-items: center; }
.between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.text-center { text-align: center; }
.rel { position: relative; z-index: 2; }
.full { width: 100%; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-login { display: none; }
  .guides { display: none; }
  /* uma coluna só: 1/-1 evita brigar com os .startN */
  .start2, .start3, .start4, .start5, .start6, .start7,
  .start8, .start9, .start10, .start11 { grid-column-start: auto; }
  .c3, .c4, .c5, .c6, .c7, .c8, .c9, .c10, .c11 { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .dot { display: none; }
  .btn { white-space: normal; }
  .nav-cta .long { display: none; }
  .nav-cta .short { display: inline; }
  .nav-in { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .nav, .footer, .rail, .dot, .no-print, .guides { display: none !important; }
  body { background: #fff; color: #000; }
  .sheet { border-color: #ddd; break-inside: avoid; }
}
