/* Sherlock landing — design tokens from design-brief.md */

:root {
  --bg-light: #FFFFFF;
  --bg-dark: #000000;
  --bg-gray: #F5F5F7;
  --fg-light: #1D1D1F;
  --fg-dark: #F5F5F7;
  --fg-mute: #86868B;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --footer-fg: #6E6E73;
  --hairline: #333333;
  --hairline-light: #D2D2D7;
  --container: 980px;
  --pad-x: 22px;
  --font: "SF Pro Display", "SF Pro Text", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  color: var(--fg-light);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* === Section frames === */
.section-dark { background: var(--bg-dark); color: var(--fg-dark); }
.section-light { background: var(--bg-light); color: var(--fg-light); }
.section-light-gray { background: var(--bg-gray); color: var(--fg-light); }
.section-white { background: var(--bg-light); color: var(--fg-light); }
.section-grad {
  background: linear-gradient(180deg, #0a1530 0%, #000 100%);
  color: var(--fg-dark);
}

main > section {
  padding: 100px var(--pad-x);
  position: relative;
  overflow: hidden;
}

/* === Reveal === */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* === Buttons / links === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 17px/1 var(--font);
  border-radius: 980px;
  padding: 12px 22px;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-lg { padding: 14px 28px; font-size: 19px; }

.link {
  color: var(--accent);
  font-size: 17px;
  font-weight: 400;
  transition: color .2s;
}
.link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.link-lg { font-size: 21px; }

/* === Global chrome (44px nav) === */
.chrome {
  position: sticky; top: 0; z-index: 50;
  height: 44px;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--fg-dark);
}
.chrome-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 44px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--pad-x);
}
.chrome-logo { display: inline-flex; opacity: .92; }
.chrome-menu {
  display: flex; gap: 22px; flex: 1;
  justify-content: center;
}
.chrome-menu a {
  font-size: 12px; color: var(--fg-dark); opacity: .82;
  transition: opacity .2s;
}
.chrome-menu a:hover { opacity: 1; }
.chrome-icons { display: flex; gap: 18px; opacity: .82; }

/* === Sub-nav === */
.subnav {
  position: sticky; top: 44px; z-index: 49;
  background: rgba(245,245,247,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline-light);
}
.subnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 52px;
  display: flex; align-items: center; gap: 22px;
}
.subnav-product { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.subnav-links { display: flex; gap: 22px; flex: 1; }
.subnav-links a { font-size: 12px; color: var(--fg-light); opacity: .82; }
.subnav-links a:hover { opacity: 1; color: var(--accent); }
.subnav-cta { font-size: 12px; padding: 6px 14px; }

/* === Typography === */
.eyebrow {
  font-size: 21px; font-weight: 400; color: var(--fg-mute);
  margin-bottom: 6px;
  text-align: center;
}
.h2 {
  font-size: 56px; font-weight: 600; line-height: 1.07;
  letter-spacing: -0.012em;
  text-align: center;
  margin: 0 auto 22px;
  max-width: 820px;
}
.lede {
  font-size: 21px; line-height: 1.4; color: var(--fg-light);
  max-width: 680px; margin: 0 auto 60px;
  text-align: center;
}

/* === HERO === */
.hero { text-align: center; padding-top: 60px; padding-bottom: 0; }
.hero-title {
  font-size: 96px; font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.05;
  color: #fff;
  margin-top: 8px;
}
.hero-sub { font-size: 28px; font-weight: 400; color: #fff; margin-top: 8px; }
.hero-links { margin-top: 18px; }
.hero-links .dot { color: var(--fg-mute); margin: 0 10px; }
.hero-stage {
  position: relative;
  margin: 60px auto 0;
  max-width: 1100px;
  height: 560px;
  display: flex; align-items: flex-start; justify-content: center;
}
.window {
  width: min(900px, 90vw);
  height: 460px;
  border-radius: 16px;
  background: #0b0b0e;
  box-shadow:
    0 60px 120px rgba(0,113,227,.18),
    0 30px 60px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.window-bar {
  height: 36px;
  background: #16161a;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.dotw { width: 12px; height: 12px; border-radius: 50%; }
.dotw.r { background: #ff5f57; }
.dotw.y { background: #febc2e; }
.dotw.g { background: #28c840; }
.window-title {
  margin-left: auto; margin-right: auto;
  font-size: 12px; color: var(--fg-mute);
}
.window-body {
  position: relative; height: calc(100% - 36px);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.05);
}
.grid-bg {
  position: absolute; inset: 36px 0 0 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.chart {
  background: #0b0b0e;
  width: 100%; height: 100%;
  padding: 24px;
}
.logstream {
  background: #0b0b0e;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #c9c9d1;
  overflow: hidden;
}
.logstream li {
  display: grid;
  grid-template-columns: 70px 50px 1fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.logstream .t { color: var(--fg-mute); }
.logstream .lvl { font-weight: 700; }
.logstream .lvl.ok { color: #28c840; }
.logstream .lvl.warn { color: #febc2e; }
.logstream .lvl.err { color: #ff5f57; }

.window-glow {
  position: absolute;
  width: 70%; height: 80px;
  bottom: 30px; left: 15%;
  background: radial-gradient(ellipse at center, rgba(0,113,227,.4), transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

/* === Pillars === */
.pillars { padding-top: 80px; padding-bottom: 100px; }
.pillars-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 0 28px;
  border-right: 1px solid var(--hairline);
  text-align: left;
  color: var(--fg-dark);
}
.pillar:last-child { border-right: 0; }
.pillar-icon { color: #fff; margin-bottom: 18px; }
.pillar h3 {
  font-size: 28px; font-weight: 600; letter-spacing: -0.005em;
  line-height: 1.15; margin-bottom: 6px;
}
.pillar p { color: var(--fg-mute); font-size: 17px; }

/* === Design section === */
.design { text-align: center; }
.design .h2 { font-size: 64px; }

.design-hero {
  margin: 60px auto;
  max-width: 980px;
  position: relative;
  display: flex; justify-content: center;
}
.laptop {
  position: relative;
  width: 720px; max-width: 90%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.18));
}
.screen {
  background: #0b0b0e;
  border-radius: 14px 14px 4px 4px;
  border: 6px solid #1c1c1f;
  height: 380px;
  position: relative; overflow: hidden;
}
.screen-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.screen-cards {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 32px;
  height: 100%;
}
.screen-cards .card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #fff;
}
.screen-cards .num { font-size: 42px; font-weight: 600; letter-spacing: -0.01em; }
.screen-cards .num small { font-size: 22px; color: var(--fg-mute); }
.screen-cards .lab { color: var(--fg-mute); font-size: 13px; margin-top: 6px; }

.base {
  height: 8px;
  background: linear-gradient(180deg, #c8c8cc, #8e8e93);
  border-radius: 0 0 14px 14px;
  margin: 0 -14px;
}
.dim {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  height: 100px;
  border-left: 1px solid var(--fg-mute);
  border-top: 1px solid var(--fg-mute);
  border-bottom: 1px solid var(--fg-mute);
  width: 8px;
}
.dim span {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px; color: var(--fg-mute);
  white-space: nowrap;
}

.features-2x2 {
  max-width: var(--container);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  text-align: left;
}
.feature-img {
  height: 200px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #eaeaef 0%, #d9d9e0 100%);
  position: relative; overflow: hidden;
}
.feature-img::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 16px 16px;
}
.f-hinge { background: linear-gradient(135deg, #d9d9e0, #aeaeb2); }
.f-ports { background: linear-gradient(135deg, #c7d3e8, #8aa6d6); }
.f-keys { background: linear-gradient(135deg, #1d1d1f, #3a3a3d); }
.f-pad { background: linear-gradient(135deg, #e6e6eb, #c8c8cc); }
.feature p { font-size: 17px; color: var(--fg-light); }

/* === Performance === */
.perf { text-align: center; }
.perf-title { color: #fff; font-size: 72px; line-height: 1.05; margin-bottom: 60px; }
.chip {
  position: relative;
  width: 320px; height: 320px;
  margin: 0 auto 80px;
  perspective: 800px;
}
.chip-die {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0a1230 0%, #1a0d40 100%);
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 1px rgba(0,113,227,.4),
    0 0 80px rgba(0,113,227,.5),
    0 0 140px rgba(123,92,255,.3);
  transform: rotateX(15deg) rotateY(-15deg);
}
.chip-grid {
  position: absolute; inset: 20px;
  background-image:
    linear-gradient(rgba(0,113,227,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,113,227,.4) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 12px;
}
.chip-label {
  position: relative; z-index: 1;
  font-size: 18px; font-weight: 700; letter-spacing: 0.2em;
  color: rgba(255,255,255,.95);
  text-align: center;
}
.chip-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse, rgba(0,113,227,.3) 0%, transparent 60%);
  z-index: -1;
  filter: blur(30px);
}

.bars {
  max-width: 720px;
  margin: 0 auto;
  display: grid; gap: 38px;
}
.bar-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.bar-key { color: var(--fg-mute); font-size: 17px; }
.bar-val { color: #fff; font-size: 48px; font-weight: 600; letter-spacing: -0.012em; }
.bar {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 980px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0071E3, #7B5CFF);
  border-radius: 980px;
  transition: width 1.6s cubic-bezier(.2,.7,.2,1);
}
.is-visible .bar-fill { width: var(--w); }
.bar-cap { color: var(--fg-mute); font-size: 14px; margin-top: 10px; }

/* === Display === */
.display { text-align: center; }
.display-stage {
  margin: 0 auto 40px;
  max-width: 1200px;
  display: flex; justify-content: center;
}
.display-screen {
  width: 92%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--hairline-light);
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
  padding: 26px;
}
.display-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
  margin-bottom: 18px;
}
.dr-cell { height: 80px; border-radius: 12px; }
.c1 { background: linear-gradient(135deg, #e7f0ff, #cfe0ff); }
.c2 { background: linear-gradient(135deg, #f0e9ff, #d8c8ff); }
.c3 { background: linear-gradient(135deg, #ffe9f1, #ffc9d8); }
.display-chart { width: 100%; height: 220px; }
.display-title { font-size: 56px; }
.speclist {
  max-width: 720px; margin: 30px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px;
  text-align: left;
  color: var(--fg-light);
  font-size: 17px;
}
.speclist li b { font-weight: 600; margin-right: 6px; }

/* === Camera/sound (search/alerts) === */
.cs-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.cs-art {
  height: 280px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--hairline-light);
  margin-bottom: 28px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.search-box {
  background: #f0f0f3;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}
.search-box .cur {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.search-box .q { color: var(--fg-light); }
.search-results {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: var(--fg-light);
}
.search-results li {
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline-light);
}
.search-results .t { color: var(--fg-mute); margin-right: 8px; }

.waves {
  flex: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 4px;
}
.waves span {
  display: block;
  flex: 1;
  height: calc(var(--h) * 100%);
  min-height: 12px;
  background: linear-gradient(180deg, #0071E3, #7B5CFF);
  border-radius: 4px;
  animation: wave 1.6s ease-in-out infinite;
  animation-delay: calc(var(--h) * -1s);
}
@keyframes wave {
  0%, 100% { transform: scaleY(.5); }
  50% { transform: scaleY(1); }
}

.cs-h { font-size: 32px; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 8px; }
.cs-p { color: var(--fg-mute); font-size: 17px; }

/* === Big number === */
.bignum { text-align: center; padding: 140px var(--pad-x); }
.big {
  font-size: 160px; font-weight: 700; letter-spacing: -0.025em;
  color: #fff; line-height: 1;
}
.big-cap { font-size: 28px; color: #fff; margin-top: 22px; opacity: .92; }

/* === OS / integrations === */
.os { text-align: center; }
.os-screen {
  margin: 0 auto 60px;
  max-width: 880px;
}
.os-window {
  background: #fff;
  border: 1px solid var(--hairline-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
}
.os-bar {
  height: 32px;
  background: #f5f5f7;
  border-bottom: 1px solid var(--hairline-light);
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
}
.os-bar .dotw { width: 11px; height: 11px; }
.os-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline-light);
}
.os-grid .tile {
  background: #fff;
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 500;
  color: var(--fg-light);
  transition: background .2s;
}
.os-grid .tile:hover { background: #fbfbfd; }
.os-feats {
  max-width: 880px;
  margin: 30px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  text-align: center;
}
.os-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-gray);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.02em;
}
.os-feats b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.os-feats span { color: var(--fg-mute); font-size: 14px; }

/* === Environment === */
.env { text-align: center; }
.env-grid {
  max-width: var(--container);
  margin: 60px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.env-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
}
.env-icon {
  color: var(--accent);
  margin: 0 auto 18px;
  display: flex; justify-content: center;
}
.env-num { font-size: 40px; font-weight: 600; letter-spacing: -0.012em; }
.env-cap { color: var(--fg-mute); font-size: 15px; margin-top: 6px; }

/* === Compare === */
.compare { text-align: center; }
.compare-row {
  max-width: var(--container);
  margin: 50px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cmp {
  background: var(--bg-gray);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
}
.cmp-featured {
  background: #fff;
  outline: 2px solid var(--accent);
}
.cmp-render {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cmp-render-air { background: linear-gradient(135deg, #e6e6eb, #c8c8cc); }
.cmp-render-neo { background: linear-gradient(135deg, #0a1230, #1a0d40); }
.cmp-render-pro { background: linear-gradient(135deg, #1d1d1f, #3a3a3d); }

.node {
  width: 40px; height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.node::before, .node::after {
  content: "";
  position: absolute; left: 8px; right: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  opacity: .6;
}
.node::before { top: 12px; }
.node::after { top: 18px; background: var(--fg-mute); }
.cmp-render-air .node { transform: scale(1.1); }
.cmp-render-neo .node { margin: 0 4px; }
.cmp-render-neo .node.n2 { transform: translateY(-6px) scale(1.05); }
.cmp-render-neo .node.n2::before { background: #fff; }

.node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.node-grid i {
  display: block;
  width: 22px; height: 30px;
  background: rgba(255,255,255,.85);
  border-radius: 3px;
  position: relative;
}
.node-grid i::before {
  content: "";
  position: absolute; left: 4px; right: 4px; top: 6px;
  height: 1.5px;
  background: var(--accent);
  opacity: .6;
}
.cmp h4 { font-size: 24px; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 4px; }
.cmp-price { font-size: 14px; color: var(--fg-mute); margin-bottom: 18px; }
.cmp-list {
  font-size: 14px; color: var(--fg-light);
  text-align: left;
  display: grid; gap: 6px;
  margin-bottom: 22px;
}
.cmp-list li { padding-left: 14px; position: relative; }
.cmp-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-mute);
}

/* === CTA === */
.cta { text-align: center; padding: 120px var(--pad-x); }
.cta-title { color: #fff; font-size: 64px; }
.cta-row { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 30px; flex-wrap: wrap; }

/* === Footer === */
.footer {
  background: var(--bg-gray);
  color: var(--footer-fg);
  font-size: 12px;
  line-height: 1.55;
  padding: 20px var(--pad-x) 30px;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.disclaimer { margin: 6px 0; }
.footer hr {
  border: 0; border-top: 1px solid var(--hairline-light);
  margin: 18px 0;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.footer-cols h6 {
  font-size: 12px; font-weight: 600; color: var(--fg-light);
  margin-bottom: 8px;
}
.footer-cols a { color: var(--footer-fg); }
.footer-cols a:hover { text-decoration: underline; }
.footer-cols ul { display: grid; gap: 5px; }

.footer-bottom {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom > p { margin-right: auto; }
.footer-legal { display: flex; gap: 14px; }
.footer-legal a { color: var(--footer-fg); }
.footer-legal a:hover { text-decoration: underline; }
.lang { color: var(--footer-fg); }

/* === Responsive: tablet === */
@media (max-width: 1023px) {
  .hero-title { font-size: 64px; }
  .h2, .design .h2, .display-title { font-size: 48px; }
  .perf-title { font-size: 56px; }
  .big { font-size: 120px; }
  .cta-title { font-size: 48px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pillar:nth-child(2) { border-right: 0; }
  .features-2x2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .chrome-menu { gap: 14px; }
  .chrome-menu li:nth-child(n+8) { display: none; }
}

/* === Responsive: mobile === */
@media (max-width: 767px) {
  :root { --pad-x: 16px; }
  main > section { padding: 70px 16px; }
  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 21px; }
  .h2, .display-title { font-size: 36px; }
  .design .h2 { font-size: 36px; }
  .perf-title { font-size: 40px; }
  .cta-title { font-size: 36px; }
  .lede { font-size: 18px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 28px 0; }
  .pillar:last-child { border-bottom: 0; }
  .speclist { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; gap: 40px; }
  .env-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .os-grid { grid-template-columns: repeat(2, 1fr); }
  .os-feats { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }

  .chrome-menu { display: none; }
  .chrome-inner::after {
    content: "";
    width: 18px; height: 14px;
    margin-left: auto;
    background-image:
      linear-gradient(currentColor, currentColor),
      linear-gradient(currentColor, currentColor),
      linear-gradient(currentColor, currentColor);
    background-size: 100% 1.5px;
    background-position: top, center, bottom;
    background-repeat: no-repeat;
    opacity: .8;
  }
  .chrome-icons { display: none; }

  .subnav-links { display: none; }

  .hero-stage { height: 360px; }
  .window { width: 100%; height: 320px; }
  .window-body { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }

  .big { font-size: 88px; }
  .bignum { padding: 80px 16px; }

  .chip { width: 220px; height: 220px; margin-bottom: 50px; }
  .bar-val { font-size: 36px; }

  .laptop { width: 100%; }
  .screen { height: 240px; }
  .screen-cards { padding: 16px; gap: 8px; }
  .screen-cards .num { font-size: 28px; }
  .dim { display: none; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .bar-fill { transition: none; }
  .waves span, .search-box .cur { animation: none; }
  html { scroll-behavior: auto; }
}
