/* ────────────────────────────────────────────────────────────────────
   (snap)shot — the app's own shell material, stretched across a page.
   Charcoal gradient, alarm-red viewfinder, amber lens.
   ──────────────────────────────────────────────────────────────────── */

:root {
  color-scheme: dark;
  --bg: #131417;
  --bg-2: #191b1e;
  --surface: #1e2024;
  --surface-2: #26282d;
  --text: #f4f4f6;
  --muted: #9ea3ac;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --red: #ff3a34;
  --red-soft: rgba(255, 58, 52, .14);
  --amber: #f1d06c;
  --amber-deep: #e0b849;
  --mint: #64e9b0;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 88% -6%, rgba(241, 208, 108, .07), transparent 46%),
    radial-gradient(circle at 12% 108%, rgba(255, 58, 52, .06), transparent 44%),
    linear-gradient(160deg, var(--bg-2) 0%, var(--bg) 100%);
  background-attachment: fixed;
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.022em; }
p { margin: 0; }

svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.shell { width: var(--shell); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px; left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--amber);
  color: #191b1e;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Grain over the whole page, the way the app's panels sit on texture. */
.noise {
  position: fixed;
  z-index: 60;
  inset: 0;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(241, 208, 108, .07), transparent 68%);
  transform: translate(-50%, -50%);
  left: var(--mouse-x, -600px);
  top: var(--mouse-y, -600px);
}

/* ─── Header ──────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  padding: 14px 0;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(19, 20, 23, .74);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav { display: flex; align-items: center; gap: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.02em;
  margin-right: auto;
}
.brand img { width: 34px; height: 34px; }
.brand i { color: var(--red); font-style: normal; }

.nav-links { display: flex; gap: 26px; font-size: .93rem; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s var(--ease); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.language-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}
.language-button {
  padding: 5px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.language-button.is-active { background: var(--red); color: #fff; }

/* ─── Shared pieces ───────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow span:first-child {
  width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  border-radius: 2px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.button svg { width: 18px; height: 18px; }
.button .os-mark { width: 17px; height: 17px; }

.button-primary {
  background: linear-gradient(135deg, var(--red), #d92c26);
  color: #fff;
  box-shadow: 0 12px 34px rgba(255, 58, 52, .26);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 58, 52, .34); }

.button-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--text);
}
.button-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .08); border-color: rgba(241, 208, 108, .4); }

.button-large { padding: 15px 28px; font-size: 1rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--amber);
}
.text-link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

kbd, .shortcut {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  white-space: nowrap;
}

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; z-index: 1; }

.section-heading { max-width: 660px; margin-bottom: 56px; }
.section-heading h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 18px 0 18px; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
h2 em, h1 em { font-style: normal; color: var(--muted); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-late { transition-delay: .14s; }

/* ─── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(130px, 17vw, 190px) 0 clamp(60px, 8vw, 90px);
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.aurora-one {
  width: 620px; height: 620px;
  top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(255, 58, 52, .22), transparent 68%);
  animation: drift 20s var(--ease) infinite alternate;
}
.aurora-two {
  width: 560px; height: 560px;
  top: 120px; right: -180px;
  background: radial-gradient(circle, rgba(241, 208, 108, .17), transparent 68%);
  animation: drift 26s var(--ease) infinite alternate-reverse;
}
@keyframes drift {
  to { transform: translate3d(60px, 50px, 0) scale(1.14); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 32%, #000 30%, transparent 76%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 6.6vw, 5rem);
  margin: 20px 0 22px;
  letter-spacing: -.035em;
}
.hero-lead {
  max-width: 30em;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .88rem; }
.hero-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--mint); stroke-width: 2.4; flex: none; }

/* The app window, floating in its own light */
.hero-visual { position: relative; display: grid; place-items: center; }

.visual-orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 108%; aspect-ratio: 1; animation: spin 46s linear infinite; }
.orbit-two {
  width: 82%; aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(255, 58, 52, .16);
  animation: spin 34s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Pills hang off this box, so they track the window edge at every width. */
.window-anchor {
  position: relative;
  width: min(100%, 380px);
}

.app-window {
  position: relative;
  margin: 0;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% { transform: translateY(-13px); }
}
.window-glow {
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(241, 208, 108, .13), transparent 58%);
}
.app-window img { width: 100%; height: auto; }

.floating-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(30, 32, 36, .84);
  backdrop-filter: blur(14px);
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
  animation: float 7s ease-in-out infinite;
}
.floating-pill kbd { padding: 3px 7px; font-size: .68rem; }
.floating-pill b { color: var(--muted); font-weight: 500; }
/* Both straddle a window edge, so neither covers the interface behind it. */
.pill-top { top: -26px; left: 6%; animation-delay: .5s; }
.pill-bottom { bottom: -20px; right: -11%; animation-delay: 1.1s; }
.pill-top i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.platform-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(56px, 8vw, 92px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}
.platform-strip > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 20px 24px;
  background: rgba(30, 32, 36, .6);
}
.platform-strip span { color: var(--red); font-size: .74rem; font-weight: 700; letter-spacing: .1em; }
.platform-strip strong { font-size: .96rem; font-weight: 600; }

/* ─── Tools ───────────────────────────────────────────────────────── */

.group-label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.tool-grid + .group-label { margin-top: 56px; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tool-grid-three { grid-template-columns: repeat(3, 1fr); }

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(38, 40, 45, .7), rgba(25, 27, 30, .7));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 0%), rgba(255, 58, 52, .1), transparent 62%);
  transition: opacity .4s var(--ease);
}
.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 58, 52, .32);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .38);
}
.tool-card:hover::before { opacity: 1; }

.tool-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 11px;
  border: 1px solid rgba(255, 58, 52, .3);
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
}
.tool-icon.amber {
  border-color: rgba(241, 208, 108, .28);
  background: rgba(241, 208, 108, .12);
  color: var(--amber);
}

.tool-card h4 { font-size: 1.16rem; font-weight: 650; }
.tool-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.tool-card .shortcut { align-self: flex-start; margin-top: 4px; }

/* Small in-card demos */
.swatch-row { display: flex; gap: 6px; }
.swatch-row span {
  flex: 1;
  padding: 7px 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: ui-monospace, monospace;
  font-size: .6rem;
  text-align: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
}

.zoom-row { display: flex; gap: 6px; }
.zoom-row span {
  flex: 1;
  padding: 6px 0;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}
.zoom-row .on { border-color: rgba(241, 208, 108, .45); background: rgba(241, 208, 108, .12); color: var(--amber); }

.ruler-demo {
  height: 28px;
  border-bottom: 1.5px solid rgba(241, 208, 108, .6);
  background:
    repeating-linear-gradient(90deg, var(--amber) 0 1.5px, transparent 1.5px 44px) bottom / 100% 16px repeat-x,
    repeating-linear-gradient(90deg, rgba(241, 208, 108, .38) 0 1.5px, transparent 1.5px 11px) bottom / 100% 8px repeat-x;
}

/* ─── Workflow ────────────────────────────────────────────────────── */

.workflow-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.workflow-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 18px 0 18px; }
.workflow-copy p { color: var(--muted); margin-bottom: 26px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  display: flex;
  gap: 20px;
  padding: 26px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(30, 32, 36, .5);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.steps li:hover { transform: translateX(6px); border-color: rgba(241, 208, 108, .3); background: rgba(38, 40, 45, .7); }
.step-number {
  flex: none;
  font-family: ui-monospace, monospace;
  font-size: .8rem;
  font-weight: 700;
  color: var(--red);
  padding-top: 3px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 7px; }
.steps p { color: var(--muted); font-size: .93rem; }

/* ─── Shortcut marquee ────────────────────────────────────────────── */

.shortcuts {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: rgba(25, 27, 30, .5);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i { color: var(--red); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.shortcuts:hover .marquee-track { animation-play-state: paused; }

/* ─── Details ─────────────────────────────────────────────────────── */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.detail-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(30, 32, 36, .48);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.detail-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: rgba(38, 40, 45, .62); }
.detail-card h3 { font-size: 1.1rem; }
.detail-card p { color: var(--muted); font-size: .92rem; flex: 1; }

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-row span {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--muted);
}
.chip-row .on { border-color: rgba(241, 208, 108, .42); background: rgba(241, 208, 108, .12); color: var(--amber); }
.chip-row .listening {
  border-color: rgba(255, 58, 52, .45);
  background: var(--red-soft);
  color: #ff7d78;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ─── Download ────────────────────────────────────────────────────── */

.download-card {
  position: relative;
  padding: clamp(38px, 5.4vw, 66px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(38, 40, 45, .82), rgba(25, 27, 30, .82));
  overflow: hidden;
}
.download-aurora {
  position: absolute;
  inset: -50% -10% auto;
  height: 460px;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 60%, rgba(255, 58, 52, .18), transparent 55%),
    radial-gradient(circle at 78% 50%, rgba(241, 208, 108, .14), transparent 55%);
  filter: blur(50px);
}
.download-copy { position: relative; z-index: 2; max-width: 620px; margin-bottom: 44px; }
.download-logo { width: 74px; height: 74px; margin-bottom: 22px; }
.download-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 18px 0 16px; }
.download-copy p { color: var(--muted); }

.platform-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(19, 20, 23, .6);
  backdrop-filter: blur(10px);
}
.platform-head { display: flex; align-items: center; gap: 14px; }
.platform-head .os-mark { width: 30px; height: 30px; flex: none; color: var(--amber); }
.platform-head h3 { font-size: 1.16rem; }
.platform-head span { color: var(--muted); font-size: .81rem; }
.platform-card > p { color: var(--muted); font-size: .92rem; flex: 1; }
.platform-card .button { align-self: flex-start; }

/* Sits in the same slot as the Ubuntu card's copy-the-command button. */
.platform-note {
  margin-top: auto;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .22);
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}
.platform-note strong { color: var(--text); font-weight: 600; }
.terminal-command { margin-top: auto; }

.terminal-command {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, .3);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.terminal-command:hover { border-color: rgba(241, 208, 108, .45); background: rgba(0, 0, 0, .45); }
.terminal-command code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: .78rem;
  color: var(--amber);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.terminal-command code::-webkit-scrollbar { display: none; }
.terminal-command svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.copy-feedback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: #191b1e;
  font-size: .82rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.terminal-command.is-copied .copy-feedback { opacity: 1; }

/* ─── Footer ──────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  color: var(--muted);
  font-size: .88rem;
}
.footer-layout .brand { margin-right: auto; font-size: .98rem; color: var(--text); }
.footer-layout a[href^="https"] { color: var(--amber); }
.footer-layout a[href^="https"]:hover { text-decoration: underline; }

/* ─── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --shell: min(1180px, calc(100vw - 34px)); }
  .nav-links { display: none; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .window-anchor { width: min(100%, 320px); }
  .workflow-layout { grid-template-columns: 1fr; }
  .platform-strip { grid-template-columns: repeat(2, 1fr); }
  .platform-cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .tool-grid, .tool-grid-three, .detail-grid { grid-template-columns: 1fr; }
  .hero-actions .button { flex: 1; justify-content: center; }
  .visual-orbit { display: none; }
  .steps li { padding: 22px 20px; }
}

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