/* Open Coding Partner — marketing site */

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06040f;
  --bg-elevated: rgba(14, 10, 28, 0.85);
  --surface: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --muted: #9db0c9;
  --accent: #00d2ff;
  --accent-2: #c77dff;
  --accent-fg: #041018;
  --warn: #ffd166;
  --header-bg: rgba(8, 6, 18, 0.78);
  --hero-glow: radial-gradient(ellipse 90% 70% at 50% -30%, rgba(0, 210, 255, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(199, 125, 255, 0.14), transparent 50%);
  --btn-primary-bg: linear-gradient(135deg, #00d2ff, #9b6dff);
  --btn-secondary-bg: rgba(255, 255, 255, 0.07);
  --shadow-lg: 0 32px 100px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.35);
  --focus: 0 0 0 3px rgba(0, 210, 255, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --line: #d2d2d7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --accent-2: #0071e3;
  --accent-fg: #ffffff;
  --warn: #9a6700;
  --header-bg: rgba(255, 255, 255, 0.86);
  --hero-glow: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 113, 227, 0.1), transparent 60%);
  --btn-primary-bg: #0071e3;
  --btn-secondary-bg: #e8e8ed;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
  --focus: 0 0 0 3px rgba(0, 113, 227, 0.28);
}

@media (prefers-color-scheme: light) {
  html[data-theme="system"] {
    color-scheme: light;
    --bg: #f5f5f7;
    --bg-elevated: #ffffff;
    --surface: #ffffff;
    --line: #d2d2d7;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --accent: #0071e3;
    --accent-2: #0071e3;
    --accent-fg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.86);
    --hero-glow: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 113, 227, 0.1), transparent 60%);
    --btn-primary-bg: #0071e3;
    --btn-secondary-bg: #e8e8ed;
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
    --focus: 0 0 0 3px rgba(0, 113, 227, 0.28);
  }
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    color-scheme: dark;
    --bg: #06040f;
    --bg-elevated: rgba(14, 10, 28, 0.85);
    --surface: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.1);
    --text: #eef2ff;
    --muted: #9db0c9;
    --accent: #00d2ff;
    --accent-2: #c77dff;
    --accent-fg: #041018;
    --header-bg: rgba(8, 6, 18, 0.78);
    --hero-glow: radial-gradient(ellipse 90% 70% at 50% -30%, rgba(0, 210, 255, 0.2), transparent 55%),
      radial-gradient(ellipse 50% 40% at 100% 0%, rgba(199, 125, 255, 0.14), transparent 50%);
    --btn-primary-bg: linear-gradient(135deg, #00d2ff, #9b6dff);
    --btn-secondary-bg: rgba(255, 255, 255, 0.07);
    --shadow-lg: 0 32px 100px rgba(0, 0, 0, 0.55);
    --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.35);
    --focus: 0 0 0 3px rgba(0, 210, 255, 0.35);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 0; padding: 8px 16px;
  background: var(--accent); color: var(--accent-fg); z-index: 10000;
}
.skip:focus { left: 16px; top: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(22px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 52px; padding-block: 6px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; font-weight: 600;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.nav { display: none; gap: 18px; margin-right: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
}
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } }

.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--btn-secondary-bg);
  cursor: pointer; display: grid; place-items: center;
}
.theme-toggle:focus-visible { outline: none; box-shadow: var(--focus); }
.theme-glyph {
  width: 16px; height: 16px; border-radius: 50%; background: var(--text);
}
html[data-theme="light"] .theme-glyph,
html[data-theme="system"] .theme-glyph {
  box-shadow: inset -5px -4px 0 0 var(--bg);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px; border-radius: 980px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--btn-primary-bg); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-secondary {
  background: var(--btn-secondary-bg); color: var(--text); border: 1px solid var(--line);
}
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* Hero */
.hero {
  position: relative; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 10vw, 100px);
  overflow: hidden;
}
.hero-aurora {
  position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none;
}
.hero-stack { position: relative; display: flex; flex-direction: column; gap: 48px; }
.pill-badge {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 980px;
  border: 1px solid var(--line); color: var(--muted); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.045em;
  margin: 0 0 20px; max-width: 16ch;
}
.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.5; color: var(--muted); margin: 0 0 28px; max-width: 38rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.hero-caption { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* Studio frame mock */
.studio-frame {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--bg-elevated); box-shadow: var(--shadow-lg);
  overflow: hidden; backdrop-filter: blur(20px);
}
.studio-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.traffic { display: flex; gap: 6px; }
.traffic i {
  width: 10px; height: 10px; border-radius: 50%; background: var(--line);
  list-style: none; display: block;
}
.traffic i:first-child { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }
.studio-title { flex: 1; text-align: center; font-weight: 600; color: var(--text); }
.studio-pill {
  font-size: 11px; padding: 3px 8px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line);
}
.studio-tabs {
  display: flex; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--line);
}
.studio-tab {
  flex: 1; padding: 8px; border: none; border-radius: 10px;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 600;
  cursor: pointer;
}
.studio-tab.is-active {
  background: var(--surface); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.studio-body { display: grid; grid-template-columns: 140px 1fr; min-height: 280px; }
.mock-sidebar {
  border-right: 1px solid var(--line); padding: 12px 10px;
  font-size: 12px;
}
.mock-sidebar-head {
  font-weight: 600; margin-bottom: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 10px;
}
.mock-bot-list { list-style: none; margin: 0; padding: 0; }
.mock-bot-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px; border-radius: 10px; margin-bottom: 4px;
}
.mock-bot-list li.is-active { background: var(--surface); }
.eyes {
  width: 22px; height: 22px; border-radius: 8px;
  border: 1px solid var(--line); position: relative; flex-shrink: 0;
}
.eyes::before, .eyes::after {
  content: ""; position: absolute; top: 8px; width: 4px; height: 5px;
  border-radius: 2px; background: var(--text);
}
.eyes::before { left: 5px; }
.eyes::after { right: 5px; }
.eyes.working::before, .eyes.working::after { animation: blink 2.2s ease-in-out infinite; }
.eyes.thinking { animation: pulse-soft 1.6s ease-in-out infinite; }
.eyes.waiting::before, .eyes.waiting::after { background: var(--warn); }

.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.preview-panel { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mock-msg {
  max-width: 92%; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45;
}
.mock-msg.you {
  align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-fg);
}
.mock-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.mock-composer {
  margin-top: auto; padding: 12px; border-radius: 12px;
  border: 1px dashed var(--line); color: var(--muted); font-size: 13px;
}

.approve-card {
  padding: 16px; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--surface);
}
.approve-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--warn); margin: 0 0 10px; }
.approve-steps { margin: 0 0 14px; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.approve-actions { display: flex; gap: 8px; }

.mock-screen { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.mock-screen-bar {
  font-size: 11px; padding: 6px 10px; background: var(--surface);
  border-bottom: 1px solid var(--line); color: var(--accent);
}
.mock-screen-content { padding: 10px; background: #0c0a14; min-height: 140px; }
.mock-browser {
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-size: 11px; color: var(--muted);
}
.mock-browser span {
  width: 8px; height: 8px; border-radius: 50%; background: #333;
}
.mock-code {
  height: 80px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(0,210,255,0.15) 0%, transparent 40%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 12px);
}
.mock-screen-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

@keyframes blink {
  0%, 45%, 100% { transform: scaleY(1); }
  50%, 95% { transform: scaleY(0.12); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Marquee */
.marquee-wrap {
  border-block: 1px solid var(--line);
  padding: 14px 0; overflow: hidden; background: var(--surface);
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding-left: 48px;
}
.marquee-track span { white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 110px) 0; }
.section-alt { background: var(--surface); }
.section-head.center { text-align: center; }
.section-lead { color: var(--muted); font-size: 1.0625rem; line-height: 1.55; margin: 0; }
.section-lead.narrow { max-width: 36rem; margin-inline: auto; }
.section-lead.center { text-align: center; }
.section h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 16px;
}

.hero-stats {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  font-size: 14px; color: var(--muted);
}
.hero-stats.compact { margin-top: 20px; }
.hero-stats strong {
  display: block; font-size: 22px; color: var(--text); letter-spacing: -0.03em;
}

/* Floor */
.floor-grid {
  display: grid; gap: 40px; align-items: start;
}
@media (min-width: 960px) {
  .floor-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
}
.floor-panels { display: grid; gap: 16px; }
.roster-card, .thread-card {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--bg-elevated); box-shadow: var(--shadow-md); overflow: hidden;
}
.roster-card header, .thread-card header {
  padding: 12px 16px; font-size: 13px; font-weight: 600;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between;
}
.live-tag { color: var(--accent); font-size: 11px; letter-spacing: 0.05em; }
.roster-card ul { list-style: none; margin: 0; padding: 8px; }
.bot-row {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  padding: 10px; border-radius: 12px; cursor: pointer;
}
.bot-row.is-selected, .bot-row:hover { background: var(--surface); }
.bot-avatar {
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--line); position: relative;
}
.bot-avatar::before, .bot-avatar::after {
  content: ""; position: absolute; top: 13px; width: 7px; height: 9px;
  border-radius: 3px; background: var(--text);
}
.bot-avatar::before { left: 9px; }
.bot-avatar::after { right: 9px; }
.bot-avatar[data-state="working"]::before, .bot-avatar[data-state="working"]::after { animation: blink 2.4s ease-in-out infinite; }
.bot-avatar[data-state="thinking"] { animation: pulse-soft 1.8s ease-in-out infinite; }
.bot-avatar[data-state="waiting"]::before, .bot-avatar[data-state="waiting"]::after { background: var(--warn); }
.bot-name { display: block; font-weight: 600; font-size: 14px; }
.bot-status { display: block; font-size: 12px; color: var(--muted); }
.roster-card footer {
  padding: 12px 16px; border-top: 1px solid var(--line);
  font-size: 12px; display: flex; flex-direction: column; gap: 2px;
}

.thread-scroll {
  max-height: 220px; overflow-y: auto; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.thread-line {
  font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 10px;
  animation: thread-in 0.35s ease-out;
}
@keyframes thread-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.thread-who { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.thread-you { background: rgba(0, 210, 255, 0.12); }
.thread-coder { background: var(--surface); border: 1px solid var(--line); }
.thread-qa { background: rgba(199, 125, 255, 0.1); }
.thread-system { color: var(--muted); font-style: italic; }

/* Bento */
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
.bento-cell {
  padding: 24px; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--bg-elevated);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bento-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-cell.wide { grid-column: span 2; }
.bento-cell.tall { min-height: 140px; }
.bento-cell h3 { margin: 0 0 8px; font-size: 1.1rem; }
.bento-cell p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell.wide { grid-column: span 1; }
}

/* Roles */
.role-layout {
  display: grid; gap: 32px;
}
@media (min-width: 800px) { .role-layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.role-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.role-chip {
  padding: 8px 16px; border-radius: 980px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer;
}
.role-chip.is-active {
  background: var(--btn-primary-bg); color: var(--accent-fg); border-color: transparent;
}
.role-detail {
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}
.role-detail h3 { margin: 0 0 12px; font-size: 1.5rem; }
.role-detail p { margin: 0; color: var(--muted); line-height: 1.55; }

/* Computer */
.split-computer {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px) { .split-computer { grid-template-columns: 1fr 1fr; } }
.check-list {
  margin: 20px 0 0; padding: 0; list-style: none;
}
.check-list li {
  padding: 8px 0 8px 24px; position: relative; color: var(--muted);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.computer-frame {
  border-radius: var(--radius-lg); padding: 12px;
  border: 1px solid var(--line); background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
}
.computer-stream {
  border-radius: 12px; overflow: hidden; position: relative;
  min-height: 240px; background: #080610;
}
.stream-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(0, 210, 255, 0.2); color: var(--accent);
}
.stream-ui {
  height: 240px;
  background:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 48px),
    linear-gradient(135deg, #12101f, #06040f);
  animation: stream-shimmer 4s ease-in-out infinite;
}
@keyframes stream-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

/* Commitments strip */
.commitments {
  padding: 48px 0; border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), transparent);
}
.commit-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .commit-grid { grid-template-columns: repeat(3, 1fr); } }
.commit-card {
  padding: 20px 0; border-top: 2px solid var(--accent);
}
.commit-card h3 { margin: 0 0 8px; font-size: 1rem; }
.commit-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Pricing */
.section-pricing { text-align: center; }
.pricing-panel { max-width: 520px; margin-inline: auto; }
.price-num {
  font-size: clamp(4rem, 12vw, 6rem); font-weight: 700;
  letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* FAQ */
.faq-wrap h2 { margin-bottom: 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger {
  width: 100%; text-align: left; padding: 18px 0;
  background: none; border: none; color: var(--text);
  font: inherit; font-weight: 600; font-size: 1.05rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-trigger::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-trigger::after { transform: rotate(45deg); }
.faq-body {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-body { max-height: 200px; padding-bottom: 16px; }
.faq-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.faq-body code { font-size: 0.9em; }

/* Download */
.platform-grid {
  display: grid; gap: 14px; grid-template-columns: 1fr;
  margin: 32px 0;
}
@media (min-width: 640px) { .platform-grid { grid-template-columns: repeat(3, 1fr); } }
.platform-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--bg-elevated);
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.platform-card span:last-child { font-size: 13px; color: var(--muted); }
.platform-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); margin-bottom: 4px;
}

.install-block {
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--bg-elevated); overflow: hidden; max-width: 640px; margin-inline: auto;
}
.install-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
}
.code-block {
  margin: 0; padding: 20px 18px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; line-height: 1.55; overflow-x: auto;
  background: #0a0814; color: #e8ecff;
}
.fine-print { font-size: 13px; color: var(--muted); padding: 12px 18px 18px; margin: 0; }
.fine-print a { color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--line); padding: 32px 0 56px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 13px; color: var(--muted);
}
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
