/* ==========================================================================
   Farmiss — landing cinématique
   Images et vidéos plein cadre (dossier media/), verre dépoli par-dessus.
   Sans médias, des décors dégradés tiennent la place.
   ========================================================================== */

:root {
  color-scheme: dark;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #07110b;
  --ink: #f4f6f1;
  --ink-2: rgba(244, 246, 241, 0.72);
  --ink-3: rgba(244, 246, 241, 0.5);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.07);
  --leaf: #3cc47c;
  --sun: #ffb347;
  --stamp: #ff6b57;

  /* fenêtre d'appli : thème clair de l'application */
  --a-bg: #f5f5f7; --a-card: #ffffff; --a-side: #ebebee;
  --a-text: #1d1d1f; --a-text-2: #636366; --a-line: rgba(60, 60, 67, 0.12); --a-fill: rgba(118, 118, 128, 0.12);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: #000; border-radius: 8px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(38px, 6vw, 76px); line-height: 1; }
h3 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; }
.mono { font: 500 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sun); }
.tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 500 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.2); }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { text-align: center; }
.sub { margin-top: 16px; color: var(--ink-2); font-size: 18px; }

/* Verre dépoli */
.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 60px -30px rgba(0,0,0,.6); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn-light { background: #fff; color: #08140c; }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: var(--sun); }
  .btn-glass:hover { background: rgba(255,255,255,.2); }
}

/* ---------- Navigation ---------- */
.nav { position: fixed; z-index: 50; top: 16px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 28px; width: min(100% - 24px, 760px); padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(10, 20, 14, 0.5); border: 1px solid var(--line); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: #fff; } }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: 120px 0 28px; overflow: clip; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,12,8,.55) 0%, rgba(5,12,8,.1) 30%, rgba(5,12,8,.35) 60%, rgba(7,17,11,.96) 100%), radial-gradient(90% 70% at 15% 90%, rgba(5,12,8,.65), transparent 70%); }
.hero-inner, .hero-bar { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.hero h1 { font-size: clamp(50px, 9vw, 128px); line-height: 0.94; letter-spacing: -0.045em; max-width: 9.5em; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.lead { max-width: 33em; margin-top: 26px; font-size: clamp(17px, 1.8vw, 20px); color: rgba(244,246,241,.85); text-wrap: pretty; text-shadow: 0 1px 20px rgba(0,0,0,.5); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.fine a { color: var(--ink-2); }
.hero-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: clamp(40px, 7vw, 80px); padding: 18px 26px; border-radius: 20px; font-size: 15px; color: var(--ink-2); }
.hero-bar b { color: #fff; font-weight: 600; margin-right: 4px; }

/* Décor provisoire */
.dawn { position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, #0a1a26 0%, #17343f 28%, #8a5a3f 56%, #e9964a 72%, #ffcf80 80%, #1a2d16 80.2%, #0a150a 100%); }
.dawn-sun { position: absolute; left: 62%; bottom: 20%; width: min(34vw, 380px); aspect-ratio: 1; translate: -50% 50%; border-radius: 50%; background: radial-gradient(circle, #fff3c4 0%, #ffd27a 35%, rgba(255,179,71,.4) 60%, transparent 72%); filter: blur(2px); }
.dawn-land { position: absolute; inset: auto 0 0 0; width: 100%; height: 48%; }
.grain { position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Produit ---------- */
.product { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: clip; isolation: isolate; background: var(--bg); }
.product-bg { position: absolute; inset: -10% 0; z-index: -1; opacity: .55; background: url("media/field.jpg") center/cover, radial-gradient(60% 60% at 50% 40%, #1f4a2c, transparent 70%), linear-gradient(180deg, var(--bg), #0e2415 50%, var(--bg)); }
.product::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 80%, var(--bg) 100%); }
.frame { max-width: 1020px; margin-inline: auto; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid var(--line); box-shadow: 0 60px 120px -30px rgba(0,0,0,.8); }

.app { overflow: hidden; border-radius: 14px; background: var(--a-bg); color: var(--a-text); font-size: 12.5px; line-height: 1.35; user-select: none; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--a-side); border-bottom: 1px solid var(--a-line); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.app-bar i:nth-child(2) { background: #febc2e; } .app-bar i:nth-child(3) { background: #28c840; }
.app-bar span { margin: 0 auto; padding-right: 50px; color: var(--a-text-2); font-weight: 600; }
.app-body { display: grid; grid-template-columns: 180px 1fr; min-height: 380px; }
.app-side { padding: 12px 10px; background: var(--a-side); border-right: 1px solid var(--a-line); }
.app-farm { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 10px; border-radius: 10px; background: var(--a-card); }
.app-farm img { border-radius: 6px; }
.app-farm b { display: block; font-size: 12.5px; } .app-farm small { color: var(--a-text-2); font-size: 11px; }
.app-side ul { list-style: none; display: grid; gap: 2px; }
.app-side li { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 7px; color: var(--a-text-2); font-weight: 500; }
.app-side li svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-side li.on { background: var(--a-card); color: var(--a-text); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.app-side li.on svg { color: #1f8f55; }
.app-main { padding: 16px 18px 18px; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.app-top b { font-size: 16px; letter-spacing: -0.01em; }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--a-fill); }
.seg u, .seg i { text-decoration: none; font-style: normal; padding: 3px 10px; border-radius: 6px; color: var(--a-text-2); font-weight: 500; }
.seg u { background: var(--a-card); color: var(--a-text); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { padding: 12px 13px; border-radius: 12px; background: var(--a-card); }
.kpi small { display: block; color: var(--a-text-2); font-size: 11px; }
.kpi b { display: block; margin: 4px 0 2px; font: 700 20px/1.15 var(--text); letter-spacing: -0.02em; white-space: nowrap; }
.kpi b s { text-decoration: none; font-size: 10.5px; font-weight: 500; color: var(--a-text-2); }
.kpi em { font-style: normal; font-size: 11px; color: var(--a-text-2); font-weight: 500; }
.kpi em.up { color: #16743f; } .kpi em.warn { color: #b3641a; }
.app-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-top: 10px; }
.panel { padding: 13px 14px; border-radius: 12px; background: var(--a-card); }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.panel-h b { font-size: 12.5px; } .panel-h small { color: var(--a-text-2); font-size: 11px; }
.chart svg { width: 100%; height: 130px; overflow: visible; }
.chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart .area { opacity: 0; }
.frame.in .chart .line { animation: draw 1.4s 300ms var(--ease-out) forwards; }
.frame.in .chart .area { animation: fade 600ms 1.2s ease-out forwards; }
.watch ul { list-style: none; display: grid; gap: 8px; }
.watch li { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--a-text-2); }
.tag-s { align-self: flex-start; padding: 1px 7px; border-radius: 5px; font-size: 10px; font-weight: 600; }
.t-green { background: rgba(31,143,85,.14); color: #16743f; } .t-teal { background: rgba(42,166,160,.15); color: #1b7a75; }
.t-orange { background: rgba(240,138,36,.17); color: #96510a; } .t-red { background: rgba(229,88,78,.13); color: #b3352c; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Scènes plein cadre ---------- */
.scene { position: relative; display: flex; align-items: flex-end; min-height: 92svh; padding: 0 0 clamp(32px, 6vw, 72px); overflow: clip; isolation: isolate; }
.scene-bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, rgba(5,12,8,.1) 55%, rgba(5,12,8,.8) 100%); }
.s1 .scene-bg { background-image: url("media/scene-elevage.jpg"), radial-gradient(70% 60% at 70% 30%, #c98a4a, transparent 70%), linear-gradient(160deg, #2a3b1c, #6b4a2a 60%, #3a2a18); }
.s2 .scene-bg { background-image: url("media/scene-ventes.jpg"), radial-gradient(70% 60% at 30% 25%, #d9a44f, transparent 70%), linear-gradient(200deg, #3d2a18, #7a4a2c 55%, #241608); }
.s3 .scene-bg { background-image: url("media/scene-gestion.jpg"), radial-gradient(70% 60% at 65% 30%, #5aa070, transparent 70%), linear-gradient(170deg, #0f2a1a, #1d4a30 60%, #0a1810); }
.scene-card { max-width: 560px; padding: clamp(24px, 3.4vw, 40px); border-radius: 26px; }
.scene-card h3 { margin: 16px 0 14px; }
.scene-card p:not(.mono) { color: var(--ink-2); font-size: 17px; text-wrap: pretty; }
.s2 .wrap { display: flex; justify-content: flex-end; }

/* ---------- Registre ---------- */
.registre { position: relative; padding: clamp(80px, 11vw, 150px) 0; background: radial-gradient(60% 60% at 80% 20%, rgba(255,179,71,.12), transparent 70%), var(--bg); }
.split { display: grid; gap: 56px; align-items: center; }
.big { margin-top: 26px; max-width: 30em; font-size: 19px; color: var(--ink-2); text-wrap: pretty; }
.ticks { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.500l3 3 6-6.500' fill='none' stroke='%2307110b' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.ledger { padding: 26px 26px 22px; border-radius: 26px; }
.ledger-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ledger-h b { font: 600 22px/1 var(--display); letter-spacing: -0.02em; }
.ledger-h small { font: 500 12px/1.2 var(--mono); color: var(--sun); text-align: right; }
.ledger table { width: 100%; border-collapse: collapse; font: 400 14.5px/1.3 var(--mono); }
.ledger th { padding: 8px 6px; text-align: left; font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.ledger td { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.08); transition: color 200ms ease; }
.ledger td:last-child { width: 118px; text-align: right; }
.ledger tr.void td:not(:last-child) { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--ink-3); }
.undo { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font: 500 12.5px/1 var(--mono); cursor: pointer; transition: transform 140ms var(--ease-out), background-color 140ms ease; }
.undo:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .undo:hover:not(.done) { background: rgba(255,255,255,.22); } }
.undo.done { min-height: 0; padding: 4px 9px; border-radius: 4px; border: 2px solid var(--stamp); background: transparent; color: var(--stamp); text-transform: uppercase; letter-spacing: 0.1em; cursor: default; transform: rotate(-6deg); animation: stamp 200ms var(--ease-out); }
@keyframes stamp { from { transform: rotate(-6deg) scale(1.6); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }
.ledger-f { margin-top: 18px; font: 400 14px/1.3 var(--mono); color: var(--ink-2); }
.ledger-f b { color: #fff; font-weight: 600; }

/* ---------- Démarrer ---------- */
.start { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 11vw, 150px); }
.steps { list-style: none; display: grid; gap: 14px; }
.steps li { padding: 30px; border-radius: 24px; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 28px; border-radius: 50%; background: #fff; color: #08140c; font: 700 19px/1 var(--display); }
.steps p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; text-wrap: pretty; }
.steps b { color: #fff; font-weight: 600; }

/* ---------- Téléchargement ---------- */
.dl { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: clip; isolation: isolate; }
.dl-bg { position: absolute; inset: -10% 0; z-index: -2; background: url("media/dl.jpg") center/cover, radial-gradient(60% 70% at 50% 100%, #c9743a, transparent 70%), linear-gradient(180deg, var(--bg), #1a2a14 60%, #2a2010); }
.dl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(7,17,11,.4) 30%, rgba(7,17,11,.6) 100%); }
.dl-icon { margin: 0 auto 26px; border-radius: 22px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); }
.dl-list { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.dl-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px 18px; align-items: center; padding: 20px 22px; border-radius: 22px; color: inherit; text-decoration: none; transition: background-color 180ms ease, transform 180ms var(--ease-out); }
.dl-row .os { width: 30px; height: 30px; fill: currentColor; }
.dl-row .who b { display: block; font: 600 20px/1.2 var(--display); letter-spacing: -0.02em; }
.dl-row .who small { display: block; color: var(--ink-3); font-size: 14px; }
.dl-row .meta { grid-column: 2; color: var(--ink-3); font: 400 13px/1.3 var(--mono); }
.dl-row .btn { grid-column: 3; grid-row: 1 / span 2; }
.dl-row[data-recommended] { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
@media (hover: hover) and (pointer: fine) { .dl-row:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); } }
.dl-row:active { transform: scale(0.99); }
.notes { max-width: 880px; margin: 40px auto 0; }

/* ---------- FAQ ---------- */
.faq-sec { padding: clamp(80px, 11vw, 140px) 0; }
.faq-grid { display: grid; gap: 28px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; display: block; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 250ms var(--ease-out); }
details[open] > summary::after { transform: rotate(-135deg); margin-top: -1px; }
details p { padding: 0 44px 24px 0; max-width: 40em; color: var(--ink-2); font-size: 16.5px; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { summary:hover { color: var(--sun); } }
.notes summary { font-size: 16px; padding: 18px 44px 18px 0; }
.notes p { font-size: 15.5px; padding-bottom: 20px; }
em { font-style: normal; color: #fff; font-weight: 500; }

/* ---------- Pied de page ---------- */
.foot { padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.foot .brand { color: var(--ink); }
.foot a { color: var(--ink-2); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 700ms var(--ease-out) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Grand écran ---------- */
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .faq-grid { grid-template-columns: 5fr 7fr; gap: 72px; }
  .dl-row { grid-template-columns: 44px 1.4fr 1fr auto; }
  .dl-row .meta { grid-column: auto; }
  .dl-row .btn { grid-column: auto; grid-row: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .hero-bar { border-radius: 18px; }
  .dawn-sun { left: 70%; width: 60vw; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hide-s { display: none; }
  .hero { padding-top: 100px; }
  .hero-bar { padding: 16px 20px; font-size: 14px; }
  .cta .btn { flex: 1 1 100%; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .app-cols { grid-template-columns: 1fr; }
  .watch { display: none; }
  .frame { padding: 6px; border-radius: 18px; }
  .scene { min-height: 80svh; }
  .scene-card, .steps li { padding: 24px; }
  .ledger { padding: 20px 16px 18px; }
  .ledger-h small { display: none; }
  .ledger td:last-child { width: 96px; }
  .dl-row { grid-template-columns: 34px 1fr; padding: 18px; }
  .dl-row .os { width: 26px; height: 26px; }
  .dl-row .btn { grid-column: 1 / -1; grid-row: auto; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame .chart .line, .frame.in .chart .line { animation: none; stroke-dashoffset: 0; }
  .frame .chart .area, .frame.in .chart .area { animation: none; opacity: 1; }
  .js .reveal { transform: none; transition: opacity 300ms ease var(--d, 0ms); }
  .undo.done { animation: none; }
  [data-parallax] { transform: none !important; }
}
