/* Maple Helper website. Neutral liquid glass, maple orange as the only accent.
   Logical properties throughout so the same sheet serves RTL (he) and LTR (en). */

:root {
  --orange: #FF9533;
  --orange-deep: #F07A12;
  --on-orange: #2B1400;            /* text on orange fills: 8.9:1 on #FF9533 */
  --accent-text: #9A4600;          /* orange for text on light surfaces: 6.1:1 on white */

  --bg: #F5F5F7;
  --bg-2: #ECECF0;
  --surface: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --text: #1D1D1F;
  --muted: #55555B;                /* 7.0:1 on --bg */
  --faint: #6E6E73;                /* 4.8:1 on --bg */
  --stroke: rgba(0, 0, 0, 0.08);
  --stroke-strong: rgba(0, 0, 0, 0.14);
  --rim: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.06), 0 24px 60px -12px rgba(40, 20, 0, 0.22);
  --glow-a: rgba(255, 149, 51, 0.30);
  --glow-b: rgba(255, 184, 110, 0.22);
  --key-top: #FFFFFF;
  --key-side: #D8D8DE;
  /* headline highlight: deeper maple in light mode so large text keeps 3:1+ */
  --hl: linear-gradient(180deg, #D96500, #A84A00);

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent-text: #FFA552;        /* 9.1:1 on --bg dark */
    --bg: #0C0C0E;
    --bg-2: #151518;
    --surface: #1C1C1E;
    --glass: rgba(30, 30, 33, 0.58);
    --glass-strong: rgba(32, 32, 36, 0.82);
    --text: #F5F5F7;
    --muted: #B4B4BB;
    --faint: #9A9AA2;
    --stroke: rgba(255, 255, 255, 0.10);
    --stroke-strong: rgba(255, 255, 255, 0.18);
    --rim: rgba(255, 255, 255, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 18px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 30px 70px -10px rgba(0, 0, 0, 0.7);
    --glow-a: rgba(255, 149, 51, 0.20);
    --glow-b: rgba(240, 122, 18, 0.12);
    --key-top: #2C2C30;
    --key-side: #0E0E10;
    --hl: linear-gradient(180deg, #FFAE5C, #F07A12);
  }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* warm light behind the glass, fixed so the panels have something to refract */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42rem 32rem at 85% -6%, var(--glow-a), transparent 70%),
    radial-gradient(36rem 30rem at -8% 38%, var(--glow-b), transparent 70%),
    radial-gradient(40rem 30rem at 100% 92%, var(--glow-b), transparent 70%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
:lang(he) h1, :lang(he) h2, :lang(he) h3 { letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
bdi, .ltr { unicode-bidi: isolate; }
bdi, .nw { white-space: nowrap; }
.ltr { direction: ltr; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

/* ---------------------------------------------------------------- glass */

.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--rim);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-strong); }
}

/* ---------------------------------------------------------------- keycap */

kbd, .key {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.86em;
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  min-width: 2.1em;
  padding: 0.08em 0.5em 0.14em;
  border-radius: 0.45em;
  text-align: center;
  line-height: 1.4;
  color: var(--text);
  background: var(--key-top);
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 2px 0 var(--key-side), 0 3px 6px rgba(0, 0, 0, 0.08);
  vertical-align: 0.06em;
}

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 10px;
  z-index: 50;
  margin-top: 10px;
}
.nav .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  padding-inline-start: 10px;
  border-radius: 999px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 4px 8px 4px 4px;
  padding-inline-end: 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav ul a, .lang {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}
.nav ul a:hover, .lang:hover { background: var(--stroke); color: var(--text); }
.lang { gap: 6px; margin-inline-start: auto; }
.nav ul + .lang { margin-inline-start: 0; }
.lang svg { width: 18px; height: 18px; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

@media (max-width: 860px) {
  .nav ul { display: none; }
  .nav ul + .lang { margin-inline-start: auto; }
}
@media (max-width: 420px) {
  .nav .bar { gap: 2px; }
  .brand { font-size: 16px; gap: 8px; padding-inline-end: 4px; }
  .brand img { width: 28px; height: 28px; }
  .lang { padding: 0 10px; }
  .lang svg { display: none; }
  .nav .btn { padding: 0 14px; }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --b-bg: linear-gradient(180deg, #FFA24A 0%, var(--orange) 45%, var(--orange-deep) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(160, 70, 0, 0.35);
  background: var(--b-bg);
  color: var(--on-orange);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 18px -6px rgba(240, 122, 18, 0.65);
  transition: transform 0.16s var(--ease-out), box-shadow 0.2s, filter 0.2s;
}
.btn:hover { filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -6px rgba(240, 122, 18, 0.7); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn.secondary {
  --b-bg: var(--glass-strong);
  color: var(--text);
  border-color: var(--stroke-strong);
  box-shadow: inset 0 1px 0 var(--rim), var(--shadow-sm);
}
.btn.secondary:hover { box-shadow: inset 0 1px 0 var(--rim), 0 8px 22px -8px rgba(0, 0, 0, 0.25); }

/* big platform download buttons */
.dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.dl .btn {
  min-height: 64px;
  padding: 10px 24px 10px 26px;
  border-radius: 20px;
  justify-content: flex-start;
  text-align: start;
  gap: 14px;
  flex: 1 1 230px;
  max-width: 300px;
}
.dl .btn svg { width: 26px; height: 26px; }
.dl .btn span { display: flex; flex-direction: column; line-height: 1.25; }
.dl .btn b { font-size: 17px; font-weight: 600; }
.dl .btn small { font-size: 13px; font-weight: 400; opacity: 0.86; white-space: nowrap; }
.dl .btn.secondary small { color: var(--muted); opacity: 1; }
.dl-meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.dl-meta a { color: var(--muted); }
.dl-meta .pending[hidden] { display: none; }
.mobile-note {
  display: none;
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}
html.is-mobile .mobile-note { display: block; }

/* ---------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(32px, 6vw, 80px) clamp(32px, 5vw, 64px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 6.4vw, 70px);
  font-weight: 700;
  line-height: 1.04;
}
.hero h1 .hl {
  background: var(--hl);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* the fill is decorative; keep a solid fallback where clip-text is missing */
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .hl { color: var(--accent-text); }
}
.lead {
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
}
.lead strong { color: var(--text); font-weight: 600; }

/* the app window, floating */
.stage {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}
.stage::before {             /* warm pool of light under the window */
  content: "";
  position: absolute;
  inset: 8% -6% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 149, 51, 0.45), transparent);
  filter: blur(24px);
}
.window {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--surface);
}
.window img { width: 100%; }
.stage .hotkey {
  position: absolute;
  top: -22px;
  inset-inline-end: -36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  padding-inline-end: 16px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text);
}
.stage .hotkey kbd { font-size: 22px; padding: 0.12em 0.5em 0.2em; border-radius: 12px; box-shadow: 0 3px 0 var(--key-side), 0 6px 12px rgba(0, 0, 0, 0.12); }
.stage .chip {
  position: absolute;
  bottom: -20px;
  inset-inline-start: -40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.stage .chip svg { width: 18px; height: 18px; color: var(--accent-text); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { width: min(100%, 380px); margin-top: 8px; }
  .stage::before { inset: 10% 0 -4%; }
  .stage { margin-top: 30px; margin-bottom: 20px; }
  .stage .hotkey { inset-inline-end: -16px; }
  .stage .chip { inset-inline-start: -16px; }
}
@media (max-width: 480px) {
  .dl .btn { max-width: none; flex-basis: 100%; }
  .stage .hotkey { inset-inline-end: -6px; }
  .stage .chip { inset-inline-start: -6px; }
}

/* ---------------------------------------------------------------- sections */

section { padding-block: clamp(40px, 6vw, 72px); }
.sec-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-text);
  text-transform: uppercase;
}
:lang(he) .kicker { letter-spacing: 0; }
.sec-head h2 { margin-top: 10px; font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  padding: 28px 26px 30px;
  border-radius: var(--radius-lg);
}
.steps .n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  color: var(--on-orange);
  background: linear-gradient(180deg, #FFA24A, var(--orange-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.steps h3 { margin-top: 18px; font-size: 22px; font-weight: 600; }
.steps p { margin-top: 10px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* features: bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}
.tile h3 { font-size: 21px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tile p { color: var(--muted); font-size: 16px; }
.ico {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: var(--accent-text);
  background: rgba(255, 149, 51, 0.14);
  border: 1px solid rgba(255, 149, 51, 0.28);
}
.ico svg { width: 20px; height: 20px; }
.tile .shot {
  margin-top: auto;
  padding-top: 16px;
}
.tile .shot img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile.third { grid-column: span 2; }
.tile.wide.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.tile.wide.split .shot { margin: 0; padding: 0; }
.tile .crop {
  /* screenshots are tall; show the top of the window and fade into the tile */
  max-height: 440px;
  overflow: hidden;
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.tile .crop img { box-shadow: none; border: 1px solid var(--stroke); }
.tile.tall { grid-row: span 2; }
.tile.wide.split .crop { max-height: 320px; }
.tile .crop.tiles { max-height: 210px; }
.tile .crop.tiles img { margin-top: -86%; border: 0; }
.tile ul.ticks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 16px; }
.tile ul.ticks li { display: flex; gap: 10px; align-items: baseline; }
.tile ul.ticks li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transform: translateY(-2px); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 16px; }
.pair img { border-radius: 14px; border: 1px solid var(--stroke); }

@media (max-width: 960px) {
  .tile.wide, .tile.half { grid-column: span 6; }
  .tile.third { grid-column: span 3; }
  .tile.tall { grid-row: auto; }
}
@media (max-width: 640px) {
  .tile.third { grid-column: span 6; }
  .tile.wide.split { grid-template-columns: 1fr; }
  .tile { padding: 22px; }
}

/* requirements + install */
.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.card {
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
}
.card h3 { font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.card > p { margin-top: 10px; color: var(--muted); }

.req { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.req li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.req b { display: block; font-weight: 600; }
.req span { color: var(--muted); font-size: 16px; }

.install { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.install li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.install li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text);
  border: 1.5px solid currentColor;
}
.install li span { color: var(--muted); font-size: 16px; }
.install li b { font-weight: 600; color: var(--text); }

.callout {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 149, 51, 0.10);
  border: 1px solid rgba(255, 149, 51, 0.32);
  font-size: 15px;
  color: var(--text);
}
.callout svg { flex: none; width: 20px; height: 20px; color: var(--accent-text); margin-top: 2px; }

/* tabs for Windows / macOS install */
.tabs [role="tablist"] {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  margin-top: 16px;
}
.tabs [role="tab"] {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tabs [role="tab"][aria-selected="true"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.no-js .tabs [role="tablist"] { display: none; }
.no-js .tabs [role="tabpanel"][hidden] { display: block; }
.no-js .tabs [role="tabpanel"] + [role="tabpanel"] { margin-top: 26px; }
.panel-title { display: none; font-weight: 600; margin-top: 18px; }
.no-js .panel-title { display: block; }

/* privacy & safety */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
.flow { display: grid; gap: 12px; margin-top: 20px; }
.flow > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--stroke);
}
.flow b { display: block; font-weight: 600; }
.flow span { color: var(--muted); font-size: 15.5px; }
.never { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.never li { display: flex; gap: 12px; align-items: flex-start; }
.never svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent-text); }
.fine { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details {
  border-radius: var(--radius);
  padding: 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .a { padding: 0 22px 22px; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }

/* closing CTA */
.final {
  text-align: center;
  border-radius: 36px;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px);
  display: grid;
  justify-items: center;
}
.final img { width: 168px; height: auto; }
.final h2 { margin-top: 16px; font-size: clamp(28px, 4vw, 40px); }
.final p { margin-top: 10px; color: var(--muted); font-size: 18px; max-width: 32em; }
.final .dl { justify-content: center; width: 100%; }

/* footer */
footer {
  padding-block: 40px 56px;
  font-size: 15px;
  color: var(--muted);
}
footer .wrap { display: grid; gap: 16px; }
footer .top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; justify-content: space-between; border-top: 1px solid var(--stroke); padding-top: 28px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
footer a { color: var(--text); }
footer small { font-size: 13.5px; color: var(--faint); line-height: 1.6; }

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  .hero .copy > * { animation: rise 0.8s var(--ease-out) both; }
  .hero .copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero .copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero .copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero .copy > :nth-child(5) { animation-delay: 0.24s; }
  .stage { animation: rise 1s 0.15s var(--ease-out) both; }
  .stage .window { animation: float 7s 1.2s ease-in-out infinite; }
  .stage .hotkey { animation: pop 0.6s 0.7s var(--ease-out) both; }
  .stage .chip { animation: pop 0.6s 0.95s var(--ease-out) both; }

  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.94); } }
@keyframes float { 50% { transform: translateY(-8px); } }

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

@media (forced-colors: active) {
  .btn, .glass, kbd { border: 1px solid CanvasText; }
}

@media print {
  body::before, .nav, .stage .hotkey, .stage .chip { display: none; }
  .glass { background: none; box-shadow: none; border: 1px solid #ccc; }
}
