/* Grid 2 home page. Plain CSS, no theme. Used by _includes/v2/home.html. */
:root {
  --ink: #0f1720;
  --ink-2: #3b4554;
  --ink-3: #5b6676;
  --grey: #f4f6fa;
  --rule: #e6e9ef;
  --line: #cfd6e1;
  --accent: #0a6cff;
  --accent-dark: #0050c8;
  --accent-soft: #e6f0ff;
  --night: #0f1720;
  --night-ink: #c6cfdb;
  --night-accent: #6fb1ff;
  --display: 'Space Grotesk', Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 17px/1.55 Inter, system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 960px; margin: 0 auto; }
.center { text-align: center; justify-content: center; align-items: center; }
.stack-48, .stack-40, .stack-32, .stack-22 { display: flex; flex-direction: column; }
.stack-48 { gap: 48px; } .stack-40 { gap: 40px; } .stack-32 { gap: 32px; } .stack-22 { gap: 22px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav-row { padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 18px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 24px; flex-grow: 1; justify-content: flex-end; align-items: center; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn-sm { padding: 9px 16px; border-radius: 10px; font-size: 15px; min-height: 40px; }
.btn-lg { padding: 15px 24px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--accent-soft); color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bands */
.band { padding: clamp(56px, 8vw, 96px) 24px; }
.band-grey { background: var(--grey); }
.band-rule { border-top: 1px solid var(--rule); }
.band-dark { background: var(--night); color: #fff; }
.band-accent { background: var(--accent); color: #fff; }
.band-accent p { color: var(--accent-soft); font-size: 15px; }
.band-accent a:not(.btn) { color: #fff; text-decoration: underline; }
.intro { max-width: 680px; display: flex; flex-direction: column; gap: 12px; }
.intro.center { max-width: none; }
.intro p { color: var(--ink-2); }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; font-weight: 700; }
.band-accent h2 { font-size: clamp(32px, 4.5vw, 44px); }
.h-sm { font-size: 32px; }
.h-xs { font-size: 22px; }
.eyebrow { color: var(--night-accent); font-weight: 600; font-size: 15px; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 72px) 24px clamp(56px, 8vw, 88px); }
.hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.fine { font-size: 14px; color: var(--ink-3); }
.pill { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; background: #fff; border: 1px solid #dfe4ec; border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 4px; background: #1f9d55; }

.hero-pic { flex: 1 1 520px; }
.mac { background: #1c2433; border-radius: 18px; padding: 14px 14px 18px; box-shadow: 0 30px 60px rgba(15,23,32,0.22); }
.screen { position: relative; height: clamp(220px, 32vw, 380px); border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #7f9fd0, #5f7fb3); }
.menubar { position: absolute; inset: 0 0 auto; height: 22px; background: rgba(255,255,255,0.72); display: flex; align-items: center; gap: 14px; padding: 0 12px; font-size: 11px; color: #1c2433; }
.menubar i { flex-grow: 1; }
.win { position: absolute; background: #fff; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.18); overflow: hidden; }
.win.active { box-shadow: 0 0 0 3px var(--accent), 0 10px 24px rgba(0,0,0,0.25); }
.tb { height: 26px; background: #eef1f5; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.tb s { width: 9px; height: 9px; border-radius: 5px; background: #ff5f57; }
.tb s:nth-child(2) { background: #febc2e; } .tb s:nth-child(3) { background: #28c840; }
.lines { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.lines u { height: 8px; background: #eef1f5; border-radius: 3px; }
.lines u:first-child { background: #dfe4ec; }
.lines em { height: 30%; min-height: 40px; background: #e3ecff; border-radius: 6px; }
.stand { height: 8px; width: 34%; margin: 12px auto 0; background: var(--ink); border-radius: 4px; }
.tb-accent { background: var(--accent-soft); }

/* Hero demo: one window snaps left half, full screen, top-right corner, in step with two fingers on a trackpad */
.w-back { left: 18%; top: 16%; width: 46%; height: 50%; opacity: .7; }
.demo-win { left: 30%; top: 22%; width: 40%; height: 52%; animation: demo-win 12s ease-in-out infinite; }
@keyframes demo-win {
  0%, 4% { left: 30%; top: 22%; width: 40%; height: 52%; }
  10%, 30% { left: 1%; top: 8%; width: 48.5%; height: 90%; }
  36%, 40% { left: 30%; top: 22%; width: 40%; height: 52%; }
  46%, 63% { left: 1%; top: 8%; width: 98%; height: 90%; }
  69%, 73% { left: 30%; top: 22%; width: 40%; height: 52%; }
  79%, 82% { left: 50.5%; top: 8%; width: 48.5%; height: 90%; }
  86%, 96% { left: 50.5%; top: 8%; width: 48.5%; height: 44%; }
  100% { left: 30%; top: 22%; width: 40%; height: 52%; }
}
.demo-caption { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.pad { position: relative; width: 150px; height: 96px; flex-shrink: 0; background: #d9dee6; border-radius: 14px; box-shadow: inset 0 2px 6px rgba(0,0,0,0.12); }
.fingers { position: absolute; left: 54px; top: 38px; display: flex; gap: 8px; animation: fingers 12s ease-in-out infinite; }
.fingers span { width: 14px; height: 14px; border-radius: 7px; background: var(--accent); box-shadow: 0 0 0 5px rgba(10,108,255,0.18); }
@keyframes fingers {
  0%, 3% { transform: translate(0, 0); opacity: 0; }
  5% { opacity: 1; transform: translate(0, 0); }
  10% { transform: translate(-30px, 0); opacity: 1; }
  13%, 36% { opacity: 0; transform: translate(-30px, 0); }
  37% { transform: translate(0, 0); opacity: 0; }
  39% { opacity: 1; transform: translate(0, 0); }
  46% { transform: translate(0, -22px); opacity: 1; }
  49%, 69% { opacity: 0; transform: translate(0, -22px); }
  70% { transform: translate(0, 0); opacity: 0; }
  72% { opacity: 1; transform: translate(0, 0); }
  79%, 82% { transform: translate(30px, 0); opacity: 1; }
  86% { transform: translate(30px, -22px); opacity: 1; }
  89%, 100% { opacity: 0; transform: translate(30px, -22px); }
}
.captions { position: relative; flex-grow: 1; height: 64px; }
.cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-size: 18px; color: var(--ink-2); opacity: 0; }
.cap small { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--accent-dark); font-weight: 500; }
.cap small::before { content: ""; width: 22px; height: 8px; border-radius: 3px; border: 2px solid currentColor; border-top-width: 1px; flex-shrink: 0; }

/* Dock in the hero demo: hidden while the window reaches down to it (left half, full screen),
   back when the window leaves it clear (top-right corner), like Grid's Dock auto-hide. */
.demo-dock { position: absolute; left: 50%; bottom: 3%; width: 46%; height: 8%; transform: translate(-50%, 0); display: flex; gap: 4%; justify-content: center; align-items: center; padding: 0 3%; box-sizing: border-box; background: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.6); border-radius: 10px; backdrop-filter: blur(6px); animation: demo-dock 12s ease-in-out infinite; }
.demo-dock i { width: 9%; aspect-ratio: 1; border-radius: 22%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.demo-dock i:nth-child(1) { background: #3d8bfd; } .demo-dock i:nth-child(2) { background: #f59f00; } .demo-dock i:nth-child(3) { background: #37b24d; }
.demo-dock i:nth-child(4) { background: #e64980; } .demo-dock i:nth-child(5) { background: #7048e8; } .demo-dock i:nth-child(6) { background: #868e96; }
@keyframes demo-dock {
  0%, 5% { transform: translate(-50%, 0); opacity: 1; }
  8%, 33% { transform: translate(-50%, 160%); opacity: 0; }
  36%, 42% { transform: translate(-50%, 0); opacity: 1; }
  44%, 66% { transform: translate(-50%, 160%); opacity: 0; }
  69%, 75% { transform: translate(-50%, 0); opacity: 1; }
  78%, 85% { transform: translate(-50%, 160%); opacity: 0; }
  88%, 100% { transform: translate(-50%, 0); opacity: 1; }
}
.cap b { font-family: var(--display); color: var(--ink); margin-left: 6px; font-size: 22px; }
.cap-1 { animation: cap1 12s infinite; } .cap-2 { animation: cap2 12s infinite; } .cap-3 { animation: cap3 12s infinite; }
@keyframes cap1 { 0%, 4% { opacity: 0; } 8%, 32% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes cap2 { 0%, 38% { opacity: 0; } 42%, 65% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes cap3 { 0%, 71% { opacity: 0; } 75%, 96% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .demo-win, .demo-dock, .fingers, .cap-1, .cap-2, .cap-3 { animation: none; }
  .demo-win { left: 50.5%; top: 8%; width: 48.5%; height: 44%; }
  .cap-3 { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Try it */
.try-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.try-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.try-copy > p:not(.fine) { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 600 15px Inter, system-ui, sans-serif; min-height: 44px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.try-stage { flex: 1.4 1 480px; background: #1c2433; border-radius: 18px; padding: 14px; }
.try-screen { position: relative; height: clamp(280px, 34vw, 420px); border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #7f9fd0, #5f7fb3); }
.try-win { position: absolute; left: 25%; top: 15%; width: 50%; height: 65%; padding: 4px; box-sizing: border-box; transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease; }
.try-inner { height: 100%; background: #fff; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,0.3); overflow: hidden; display: flex; flex-direction: column; }
.try-bar { height: 40px; flex-shrink: 0; background: var(--accent); color: #fff; display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 13px; font-weight: 600; cursor: grab; overscroll-behavior: contain; touch-action: none; }
.try-bar s { width: 10px; height: 10px; border-radius: 5px; background: #ff5f57; }
.try-bar s:nth-child(2) { background: #febc2e; } .try-bar s:nth-child(3) { background: #28c840; }
.try-bar span { margin-left: 8px; }
.try-label { flex-grow: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-family: var(--display); font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .try-win { transition: none; } }


/* Strip */
.strip { padding: 28px 24px; border-bottom: 1px solid var(--rule); }
.strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; font-size: 15px; color: var(--ink-2); }
.strip strong { color: var(--ink); }
code { background: var(--grey); padding: 2px 6px; border-radius: 4px; font-size: 14px; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.card { background: var(--grey); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
/* Feature card demos: small animated screens, each with the Dock that hides only when a window needs its space */
.mini { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #7f9fd0, #5f7fb3); margin-bottom: 4px; --t: 8s; }
.mini-bar { position: absolute; inset: 0 0 auto; height: 7%; background: rgba(255,255,255,0.75); display: flex; align-items: center; justify-content: space-between; padding: 0 3%; }
.mini-bar b { width: 18%; height: 40%; border-radius: 2px; background: rgba(15,23,32,0.25); }
.mini-icon { width: 4.5%; height: 55%; border: 1.5px solid #1c2433; border-radius: 2px; box-sizing: border-box; }
.mini-win { position: absolute; left: 30%; top: 26%; width: 40%; height: 44%; padding: 1%; box-sizing: border-box; animation: var(--t) ease-in-out infinite; }
.mini-win::before { content: ""; position: absolute; inset: 1%; background: #fff; border-radius: 6px; box-shadow: 0 0 0 2px var(--accent), 0 8px 18px rgba(0,0,0,0.25); }
.mini-tb { position: relative; height: 16px; display: flex; gap: 4px; align-items: center; padding: 0 8px; background: var(--accent-soft); border-radius: 6px 6px 0 0; }
.mini-tb s { width: 6px; height: 6px; border-radius: 3px; background: #ff5f57; }
.mini-tb s:nth-child(2) { background: #febc2e; } .mini-tb s:nth-child(3) { background: #28c840; }
.mini-dock { position: absolute; left: 50%; bottom: 3%; width: 44%; height: 10%; transform: translateX(-50%); display: flex; gap: 5%; justify-content: center; align-items: center; background: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.6); border-radius: 8px; animation: var(--t) ease-in-out infinite; }
.mini-dock i { width: 11%; aspect-ratio: 1; border-radius: 22%; background: #3d8bfd; }
.mini-dock i:nth-child(2) { background: #f59f00; } .mini-dock i:nth-child(3) { background: #37b24d; } .mini-dock i:nth-child(4) { background: #e64980; } .mini-dock i:nth-child(5) { background: #7048e8; }

/* 1. Trackpad: swipe right, right half, Dock hides */
.m-pad { position: absolute; left: 4%; top: 12%; width: 18%; height: 18%; background: rgba(255,255,255,0.85); border-radius: 8px; display: flex; gap: 8%; align-items: center; justify-content: center; }
.m-pad span, .m-mouse span { width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); animation: var(--t) ease-in-out infinite; }
.m-pad span { width: 14%; animation-name: m-fingers-right; }
.mini-trackpad .mini-win { animation-name: m-win-right; }
.mini-trackpad .mini-dock, .mini-mouse .mini-dock { animation-name: m-dock-a; }
@keyframes m-fingers-right { 0%, 10% { transform: translateX(-120%); opacity: 0; } 12% { opacity: 1; transform: translateX(-120%); } 20% { transform: translateX(120%); opacity: 1; } 24%, 100% { opacity: 0; transform: translateX(120%); } }
@keyframes m-win-right { 0%, 14% { left: 30%; top: 26%; width: 40%; height: 44%; } 22%, 62% { left: 50.5%; top: 8.5%; width: 49%; height: 91%; } 72%, 100% { left: 30%; top: 26%; width: 40%; height: 44%; } }
@keyframes m-dock-a { 0%, 14% { transform: translate(-50%, 0); opacity: 1; } 18%, 64% { transform: translate(-50%, 150%); opacity: 0; } 70%, 100% { transform: translate(-50%, 0); opacity: 1; } }

/* 2. Magic Mouse: swipe up, full screen, Dock hides */
.m-mouse { position: absolute; left: 6%; top: 12%; width: 9%; height: 24%; background: rgba(255,255,255,0.9); border-radius: 40% / 30%; display: flex; justify-content: center; align-items: center; }
.m-mouse span { width: 34%; animation-name: m-finger-up; }
.mini-mouse .mini-win { animation-name: m-win-max; }
@keyframes m-finger-up { 0%, 10% { transform: translateY(80%); opacity: 0; } 12% { opacity: 1; transform: translateY(80%); } 20% { transform: translateY(-80%); opacity: 1; } 24%, 100% { opacity: 0; transform: translateY(-80%); } }
@keyframes m-win-max { 0%, 14% { left: 30%; top: 26%; width: 40%; height: 44%; } 22%, 62% { left: 0.5%; top: 8.5%; width: 99%; height: 91%; } 72%, 100% { left: 30%; top: 26%; width: 40%; height: 44%; } }

/* 3. Keyboard: control-option-left, then control-option-I */
.m-kbd { position: absolute; left: 4%; top: 12%; display: flex; gap: 6px; opacity: 0; animation: var(--t) ease-in-out infinite; }
.m-kbd kbd { min-width: 26px; height: 26px; padding: 0 6px; box-sizing: border-box; display: grid; place-items: center; background: #fff; border-radius: 6px; box-shadow: 0 2px 0 #b9c2cf; font: 600 14px Inter, system-ui, sans-serif; color: var(--ink); }
.m-kbd.k1 { animation-name: m-k1; } .m-kbd.k2 { animation-name: m-k2; }
@keyframes m-k1 { 0%, 6% { opacity: 0; } 9%, 22% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes m-k2 { 0%, 46% { opacity: 0; } 49%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
.mini-keys .mini-win { animation-name: m-win-keys; }
.mini-keys .mini-dock { animation-name: m-dock-keys; }
@keyframes m-win-keys { 0%, 12% { left: 30%; top: 26%; width: 40%; height: 44%; } 17%, 48% { left: 0.5%; top: 8.5%; width: 49%; height: 91%; } 53%, 82% { left: 50.5%; top: 8.5%; width: 49%; height: 45%; } 90%, 100% { left: 30%; top: 26%; width: 40%; height: 44%; } }
@keyframes m-dock-keys { 0%, 12% { transform: translate(-50%, 0); opacity: 1; } 15%, 49% { transform: translate(-50%, 150%); opacity: 0; } 54%, 100% { transform: translate(-50%, 0); opacity: 1; } }

/* 4. Dragging: drag to the left edge, preview, release to the left half */
.m-edge, .m-cursor, .m-kbd, .m-menu, .m-pad, .m-mouse { z-index: 2; }
.m-pad, .m-mouse { animation: m-overlay var(--t) ease-in-out infinite; }
@keyframes m-overlay { 0%, 22% { opacity: 1; } 26%, 68% { opacity: 0; } 74%, 100% { opacity: 1; } }
.m-edge { position: absolute; left: 0.5%; top: 8.5%; width: 49%; height: 91%; border-radius: 6px; background: rgba(10,108,255,0.25); border: 2px solid rgba(255,255,255,0.8); box-sizing: border-box; opacity: 0; animation: m-edge var(--t) ease-in-out infinite; }
.m-cursor { position: absolute; left: 50%; top: 29%; width: 4%; height: auto; animation: m-cursor var(--t) ease-in-out infinite; }
.mini-drag .mini-win { animation-name: m-win-drag; }
.mini-drag .mini-dock { animation-name: m-dock-drag; }
@keyframes m-cursor { 0%, 8% { left: 50%; top: 29%; } 30%, 40% { left: 1%; top: 40%; } 48%, 76% { left: 20%; top: 50%; } 90%, 100% { left: 50%; top: 29%; } }
@keyframes m-win-drag { 0%, 8% { left: 30%; top: 26%; width: 40%; height: 44%; } 30%, 40% { left: -19%; top: 37%; width: 40%; height: 44%; } 44%, 76% { left: 0.5%; top: 8.5%; width: 49%; height: 91%; } 88%, 100% { left: 30%; top: 26%; width: 40%; height: 44%; } }
@keyframes m-edge { 0%, 26% { opacity: 0; } 30%, 40% { opacity: 1; } 43%, 100% { opacity: 0; } }
@keyframes m-dock-drag { 0%, 39% { transform: translate(-50%, 0); opacity: 1; } 42%, 78% { transform: translate(-50%, 150%); opacity: 0; } 84%, 100% { transform: translate(-50%, 0); opacity: 1; } }

/* 5. Menu bar: Top Right from Grid's menu; the window leaves the Dock clear, so it stays */
.m-menu { position: absolute; right: 2%; top: 7%; margin: 0; padding: 4px; list-style: none; width: 34%; background: rgba(255,255,255,0.96); border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,0.25); font: 500 11px/1.5 Inter, system-ui, sans-serif; color: var(--ink); opacity: 0; transform-origin: top right; animation: m-menu var(--t) ease-in-out infinite; }
.m-menu li { padding: 1px 8px; border-radius: 4px; }
.m-menu .pick { animation: m-pick var(--t) ease-in-out infinite; }
.mini-menu .mini-icon { animation: m-icon var(--t) ease-in-out infinite; }
.mini-menu .mini-win { animation-name: m-win-menu; }
.mini-menu .mini-dock { animation: none; }
@keyframes m-menu { 0%, 8% { opacity: 0; transform: scale(.96); } 11%, 38% { opacity: 1; transform: scale(1); } 42%, 100% { opacity: 0; transform: scale(.96); } }
@keyframes m-pick { 0%, 24% { background: transparent; color: var(--ink); } 27%, 40% { background: var(--accent); color: #fff; } 42%, 100% { background: transparent; color: var(--ink); } }
@keyframes m-icon { 0%, 6% { background: transparent; } 8%, 40% { background: rgba(10,108,255,0.35); } 42%, 100% { background: transparent; } }
@keyframes m-win-menu { 0%, 38% { left: 30%; top: 26%; width: 40%; height: 44%; } 46%, 80% { left: 50.5%; top: 8.5%; width: 49%; height: 45%; } 90%, 100% { left: 30%; top: 26%; width: 40%; height: 44%; } }

@media (prefers-reduced-motion: reduce) {
  .mini *, .mini *::before { animation: none !important; }
  .m-pad span, .m-mouse span { opacity: 1; }
  .m-kbd.k1 { opacity: 1; }
}
.card h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card p { color: var(--ink-2); font-size: 16px; }
.card-dark { background: var(--night); color: #fff; justify-content: flex-end; }
.card-dark p { color: var(--night-ink); }
.card-dark .btn { align-self: flex-start; }
.tag { font-family: Inter, sans-serif; font-size: 12px; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; }

/* New in Grid 2 */
.new-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.new-item { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #2b3647; padding-top: 20px; }
.new-item svg { color: var(--night-accent); }
.new-item h3 { font-size: 20px; }
.new-item p { color: var(--night-ink); font-size: 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.plan { background: #fff; border: 1px solid #dfe4ec; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan-pro { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(10,108,255,0.12); }
.plan h3 { font-size: 22px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.amount { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; white-space: nowrap; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink-2); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.quotes figure { margin: 0; padding: 24px; border: 1px solid var(--rule); border-radius: 14px; display: flex; flex-direction: column; gap: 12px; }
.quotes blockquote { margin: 0; font-size: 18px; }
.quotes figcaption { font-size: 14px; color: var(--ink-3); }

/* FAQ + releases */
.faq-row { display: flex; flex-wrap: wrap; gap: 64px; }
.faq { flex: 2 1 480px; display: flex; flex-direction: column; gap: 28px; }
.faq h3 { font-size: 18px; margin-bottom: 6px; }
.faq p { color: var(--ink-2); }
.releases { flex: 1 1 300px; align-self: flex-start; background: var(--grey); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.releases div { display: flex; flex-direction: column; gap: 4px; }
.releases span { color: var(--ink-3); font-size: 14px; }
.releases div p + p { font-size: 15px; color: var(--ink-2); }
.releases .more { font-weight: 600; font-size: 15px; }

/* Footer */
.foot { padding: 32px 24px; font-size: 14px; color: var(--ink-3); }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.foot a { color: var(--ink-3); }
.foot a:hover { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 600px) {
  .nav-links { justify-content: flex-start; gap: 6px 16px; }
  .hero-row { gap: 36px; }
  .plan { padding: 24px; }
  .demo-caption { gap: 16px; }
  .pad { width: 110px; height: 72px; }
  .fingers { left: 34px; top: 26px; }
}
