:root {
  /* Apple Store (store.apple.com) Light & White Palette + Subtle Gear Up! Hardware Accents */
  --apple-white: #FFFFFF;
  --apple-bg-alt: #F5F5F7;
  --apple-surface-subtle: #FBFBFD;
  --apple-ink: #1D1D1F;
  --apple-ink-secondary: #424245;
  --apple-ink-muted: #6E6E73;
  --apple-ink-caption: #86868B;
  --apple-blue: #0071E3;
  --apple-blue-hover: #0077ED;
  --apple-blue-link: #0066CC;
  --apple-copper: #BF4800;
  --verdigris: #5DB3A0;
  --verdigris-ink: #2B6F61;

  /* Hairlines & Elevations */
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-strong: rgba(0, 0, 0, 0.14);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-sticky: 0 12px 32px rgba(0, 0, 0, 0.06);

  /* Hardware LCD Bezel (precision dark-glass insert on light surfaces) */
  --bezel-outer: #161819;
  --bezel-border: #2C2E30;
  --bezel-recess: #0A0C0B;
  --bezel-text: #D7E0B8;

  /* Typography & Layout */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "IBM Plex Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --max-w: 1120px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --header-h: 64px;
  --radius-pill: 980px;
  --radius-bento: 28px;
  --radius-card: 20px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--apple-white);
}

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

body {
  margin: 0;
  background-color: var(--apple-white);
  color: var(--apple-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.56;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 10px 18px;
  background: var(--apple-ink);
  color: var(--apple-white);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
  top: 14px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------
 * Scroll Reveal (subtle Apple cadence, never hides scrolled content)
 * ------------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------
 * Frosted Apple Translucent Top Bar
 * ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  color: var(--apple-ink);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.brand-logo img {
  height: 26px;
  width: auto;
}

.brand-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--hairline-strong);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--apple-ink);
  transition: color 0.15s ease;
}

.brand-product:hover .brand-mark {
  color: var(--apple-blue);
}

.brand-version {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--apple-ink-muted);
  background: var(--apple-bg-alt);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--apple-ink-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--apple-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.header-cta-perk {
  font-size: 10.5px;
  line-height: 1;
  color: var(--verdigris-ink);
  white-space: nowrap;
}

.header-cta-perk strong {
  font-weight: 700;
}

/* Buttons (Apple Pill Architecture) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.btn-accent {
  background: var(--apple-blue);
  color: #FFFFFF;
  border-color: var(--apple-blue);
}

.btn-accent:hover {
  background: var(--apple-blue-hover);
  border-color: var(--apple-blue-hover);
}

.btn-accent:active {
  transform: scale(0.985);
}

.btn-secondary {
  background: transparent;
  color: var(--apple-blue-link);
  border-color: transparent;
  padding-inline: 12px;
}

.btn-secondary:hover {
  color: var(--apple-blue);
  text-decoration: underline;
}

.btn-outline {
  background: var(--apple-white);
  color: var(--apple-ink);
  border-color: var(--hairline-strong);
}

.btn-outline:hover {
  border-color: var(--apple-ink);
}

.site-header .header-cta {
  min-height: 30px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 500;
}

/* Mobile Drawer */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--apple-bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  color: var(--apple-ink);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 115;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-card-hover);
  padding: 14px var(--gutter) 24px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--apple-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

.mobile-nav a:hover {
  color: var(--apple-blue);
}

.mobile-nav .mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  width: 100%;
  border-bottom: none;
  min-height: 44px;
  padding: 0 20px;
  color: #FFFFFF;
}

/* ------------------------------------------------------------------
 * Typography & Shared Inline Controls
 * ------------------------------------------------------------------ */
.eyebrow,
.section-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--apple-copper);
  margin: 0 0 8px;
}

.section-header {
  max-width: 780px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.section-header-center {
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.09;
  letter-spacing: -0.032em;
  font-weight: 600;
  color: var(--apple-ink);
}

.heading-muted {
  color: var(--apple-ink-muted);
}

.section-lead {
  margin: 0;
  color: var(--apple-ink-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.014em;
}

.cta-perk {
  margin: 0;
  font-size: 13px;
  line-height: 1.38;
  color: var(--verdigris-ink);
}

.cta-perk strong {
  font-weight: 700;
}

.mobile-cta-perk {
  text-align: center;
  margin-top: 8px;
}

.kbd {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--apple-ink);
  background: var(--apple-white);
  border: 1px solid var(--hairline-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  vertical-align: baseline;
  white-space: nowrap;
}

.inline-code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--apple-ink);
  background: rgba(0, 0, 0, 0.045);
  padding: 1.5px 6px;
  border-radius: 5px;
}

/* ------------------------------------------------------------------
 * Sections (White #FFFFFF <-> Apple Light Gray #F5F5F7)
 * ------------------------------------------------------------------ */
.section {
  padding-block: clamp(64px, 7.5vw, 104px);
  background: var(--apple-white);
}

.section-alt {
  background: var(--apple-bg-alt);
}

/* ------------------------------------------------------------------
 * 1. Centered Pure-White Apple Hero Showcase
 * ------------------------------------------------------------------ */
.hero {
  background: var(--apple-white);
  padding-block: clamp(44px, 5.5vw, 72px) clamp(56px, 6.5vw, 88px);
  text-align: center;
  border-bottom: 1px solid var(--hairline);
}

.hero-top {
  max-width: 820px;
  margin: 0 auto;
}

.hero-top h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: var(--apple-ink);
}

.hero-tagline {
  margin: 0 0 22px;
  font-size: clamp(20px, 2.5vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--apple-ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 10px;
}

.hero-cta-meta {
  margin: 0 auto 28px;
  font-size: 13.5px;
  color: var(--apple-ink-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
}

.hero-cta-meta .cta-perk {
  font-size: 13.5px;
}

.hero-stage {
  position: relative;
  max-width: 760px;
  margin: 0 auto 28px;
  background: var(--apple-white);
}

.hero-stage-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--apple-white);
}

.hero-stage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 88% 86% at 50% 50%, rgba(255, 255, 255, 0) 76%, #FFFFFF 100%);
}

.hero-stage-media img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-caption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--apple-ink-caption);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}

.hero-copy-block {
  max-width: 740px;
  margin: 0 auto 36px;
  text-align: center;
}

.hero-lead {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -0.012em;
  color: var(--apple-ink-secondary);
}

.hero-lead:last-child {
  margin-bottom: 0;
}

.hero-lead strong {
  color: var(--apple-ink);
  font-weight: 600;
}

.hero-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.hero-spec-cell {
  background: var(--apple-surface-subtle);
  padding: 20px 22px;
}

.hero-spec-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--apple-ink-caption);
  margin-bottom: 5px;
}

.hero-spec-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--apple-ink);
  margin-bottom: 3px;
}

.hero-spec-sub {
  display: block;
  font-size: 13px;
  line-height: 1.42;
  color: var(--apple-ink-muted);
}

/* ------------------------------------------------------------------
 * 2. Apple Bento Showcase (#overview on #F5F5F7)
 * ------------------------------------------------------------------ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  background: var(--apple-white);
  border-radius: var(--radius-bento);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.bento-wide {
  grid-column: 1 / -1;
}

.bento-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--apple-copper);
  margin-bottom: 6px;
}

.bento-kicker-blue {
  color: var(--apple-blue);
}

.bento-card h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--apple-ink);
}

.bento-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.54;
  color: var(--apple-ink-secondary);
}

.bento-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.bento-metric-stat {
  background: var(--apple-bg-alt);
  border-radius: 16px;
  padding: 16px 18px;
}

.bento-metric-num {
  display: block;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--apple-ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.bento-metric-desc {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--apple-ink-muted);
}

/* Interactive Codec Switcher inside Bento Card #2 */
.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--apple-bg-alt);
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  width: fit-content;
}

.seg-btn {
  min-height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--apple-ink-muted);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.seg-btn:hover {
  color: var(--apple-ink);
}

.seg-btn[aria-pressed="true"] {
  background: var(--apple-white);
  color: var(--apple-ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.codec-detail-box {
  background: var(--apple-bg-alt);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}

.codec-detail-box p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--apple-ink-secondary);
}

.codec-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--apple-ink);
}

.codec-pill {
  background: var(--apple-white);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
}

/* Interactive 8-Pad Master Beat FX Deck inside Wide Bento Card */
.bfx-deck-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.bfx-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.bfx-control-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--apple-bg-alt);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
}

.bfx-mini-btn {
  min-height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--apple-ink-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.bfx-mini-btn[aria-pressed="true"] {
  background: var(--apple-white);
  color: var(--apple-ink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.bfx-step-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 0 8px;
  color: var(--apple-ink);
}

.bfx-pads-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bfx-pad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 12px;
  background: var(--apple-bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.bfx-pad:hover {
  background: #ECECF0;
}

.bfx-pad[aria-pressed="true"] {
  background: var(--apple-ink);
  border-color: var(--apple-ink);
  color: var(--apple-white);
  box-shadow: 0 6px 18px rgba(29, 29, 31, 0.18);
}

.bfx-pad-num {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.65;
}

.bfx-pad-name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.bfx-readout-panel {
  background: var(--apple-bg-alt);
  border-radius: 20px;
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}

.bfx-lcd-mini {
  background: var(--bezel-recess);
  border: 1px solid var(--bezel-border);
  border-radius: 12px;
  padding: 12px 14px;
}

.bfx-lcd-code {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bezel-text);
  white-space: pre;
}

.bfx-lcd-sub {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8E958D;
}

.bfx-readout-panel h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--apple-ink);
}

.bfx-readout-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--apple-ink-secondary);
}

.bento-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--apple-ink-secondary);
  background: var(--apple-bg-alt);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
}

/* ------------------------------------------------------------------
 * 3. Sampling Time Charts, 16x1 LCD & Classic SP Comparison (#FFFFFF)
 * ------------------------------------------------------------------ */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.surface-card {
  background: var(--apple-surface-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.table-card-wide {
  margin-top: 24px;
}

.table-card-head {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--hairline);
  background: var(--apple-white);
}

.table-card-head h3 {
  margin: 0 0 3px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-ink);
}

.table-card-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--apple-ink-muted);
}

.chart-body {
  padding: 20px 24px 18px;
  display: grid;
  gap: 15px;
  flex: 1;
  background: var(--apple-white);
}

.bar-item {
  display: grid;
  gap: 7px;
}

.bar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.bar-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--apple-ink);
}

.bar-rate-tag {
  font-weight: 400;
  color: var(--apple-ink-muted);
  margin-left: 4px;
}

.bar-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--apple-ink-secondary);
}

.bar-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--apple-bg-alt);
  overflow: hidden;
  display: flex;
}

.bar-fill-flash {
  height: 100%;
  background: var(--apple-ink);
}

.bar-fill-ram {
  height: 100%;
  background: var(--verdigris);
}

.bar-fill-stream {
  height: 100%;
  background: var(--apple-blue);
}

.chart-legend {
  padding: 0 24px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--apple-ink-muted);
  background: var(--apple-white);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.swatch-flash {
  background: var(--apple-ink);
}

.swatch-ram {
  background: var(--verdigris);
}

.swatch-stream {
  background: var(--apple-blue);
}

.table-footnote {
  padding: 14px 24px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--apple-ink-muted);
  background: var(--apple-bg-alt);
  border-top: 1px solid var(--hairline);
}

.table-footnote strong {
  color: var(--apple-ink);
}

/* Precision 16x1 Panel Readout Reference Strip */
.lcd-module {
  margin-top: 24px;
  padding: 24px;
  background: var(--apple-bg-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}

.lcd-module-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.lcd-module-copy h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lcd-module-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--apple-ink-muted);
}

.lcd-bezel {
  background: var(--bezel-outer);
  border: 1px solid var(--bezel-border);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.lcd-recess {
  background: var(--bezel-recess);
  border: 1px solid #26292B;
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 244px;
}

.lcd-screen {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--bezel-text);
  white-space: pre;
  line-height: 1.25;
}

.lcd-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8E958D;
}

.lcd-controls {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lcd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lcd-tab {
  min-height: 32px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--apple-white);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--apple-ink-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lcd-tab:hover {
  border-color: var(--apple-ink);
  color: var(--apple-ink);
}

.lcd-tab[aria-pressed="true"] {
  background: var(--apple-ink);
  border-color: var(--apple-ink);
  color: var(--apple-white);
}

.lcd-hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--apple-ink-muted);
}

/* Comparison & Spec Tables */
.tables-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.table-scroll {
  overflow-x: auto;
  background: var(--apple-white);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--apple-ink-muted);
  background: var(--apple-surface-subtle);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--apple-ink);
  white-space: nowrap;
}

.spec-table td .inline-code {
  line-height: 1.5;
  overflow-wrap: break-word;
}

.compare-table th.col-sp101-head {
  background: var(--apple-ink);
  color: var(--apple-white);
}

.compare-table td.col-sp101 {
  background: rgba(0, 113, 227, 0.045);
  color: var(--apple-ink);
  font-weight: 500;
}

/* ------------------------------------------------------------------
 * 4. Verified 40-Feature Directory (#features on #F5F5F7)
 * ------------------------------------------------------------------ */
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 36px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: var(--apple-white);
  color: var(--apple-ink-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--apple-ink-secondary);
  color: var(--apple-ink);
}

.filter-btn[aria-pressed="true"] {
  background: var(--apple-ink);
  border-color: var(--apple-ink);
  color: var(--apple-white);
}

.feature-count {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--apple-ink-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-entry {
  background: var(--apple-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.feature-entry[hidden] {
  display: none;
}

.feature-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--apple-blue);
  margin-bottom: 6px;
}

.feature-entry h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--apple-ink);
}

.feature-entry p {
  margin: 0;
  font-size: 14.5px;
  color: var(--apple-ink-secondary);
  line-height: 1.54;
}

/* ------------------------------------------------------------------
 * 5. Apple Store Split Buy Configurator (#get-sp101 on #FFFFFF)
 * ------------------------------------------------------------------ */
.buy-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 36px;
}

.buy-header-bar h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--apple-ink);
}

.buy-header-price {
  text-align: right;
}

.buy-header-price-main {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--apple-ink);
  margin: 0 0 2px;
}

.buy-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.buy-sticky-column {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 20px;
}

.checkout-media-stage {
  background: var(--apple-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-bento);
  padding: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.checkout-media-stage img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.box-manifest-card {
  background: var(--apple-bg-alt);
  border-radius: var(--radius-bento);
  padding: 24px 26px;
}

.box-manifest-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--apple-ink);
}

.purchase-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.purchase-includes li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--apple-ink-secondary);
}

.purchase-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--apple-blue);
}

.buy-options-column {
  display: grid;
  gap: 24px;
}

.buy-copy-block p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.56;
  color: var(--apple-ink-secondary);
}

.buy-copy-block p:last-child {
  margin-bottom: 0;
}

.purchase-card {
  background: var(--apple-white);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-bento);
  padding: 28px;
  box-shadow: var(--shadow-sticky);
}

.purchase-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 18px;
}

.purchase-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-copper);
}

.purchase-card-head h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.purchase-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  flex-shrink: 0;
}

.price-amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--apple-ink);
}

.price-currency {
  font-size: 13px;
  font-weight: 500;
  color: var(--apple-ink-muted);
}

.delivery-summary {
  margin: 0 0 22px;
}

.delivery-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}

.delivery-row:last-child {
  border-bottom: none;
}

.delivery-row dt {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--apple-ink-muted);
}

.delivery-row dd {
  margin: 0;
  color: var(--apple-ink);
}

.purchase-submit {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
  font-weight: 600;
}

.purchase-cta-perk {
  text-align: center;
  margin-top: 10px;
}

.purchase-footnote {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--apple-ink-muted);
  text-align: center;
}

.purchase-footnote a,
.delivery-row a,
.notice-card a,
.step-body a {
  color: var(--apple-blue-link);
}

.purchase-footnote a:hover,
.delivery-row a:hover,
.notice-card a:hover,
.step-body a:hover {
  color: var(--apple-blue);
}

/* ------------------------------------------------------------------
 * 6. Installation Steps (#install on #F5F5F7) & Before You Install
 * ------------------------------------------------------------------ */
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4.5vw, 48px);
  align-items: start;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.step-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px;
  background: var(--apple-white);
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-card);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--apple-bg-alt);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-ink);
  margin-top: 2px;
}

.step-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.step-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.54;
  color: var(--apple-ink-secondary);
}

.safety-card {
  background: var(--apple-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-bento);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.safety-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.check-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--apple-ink-secondary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--apple-ink-caption);
}

.package-box {
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.package-box h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--apple-ink);
}

.package-files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--apple-ink-secondary);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.notice-card {
  background: var(--apple-bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-card);
  padding: 24px 26px;
}

.notice-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.notice-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.54;
  color: var(--apple-ink-secondary);
}

/* ------------------------------------------------------------------
 * 7. Final CTA Strip (#FFFFFF) & Apple Light Footer (#F5F5F7)
 * ------------------------------------------------------------------ */
.final-cta {
  padding-block: clamp(48px, 6vw, 72px);
  background: var(--apple-white);
  border-top: 1px solid var(--hairline);
}

.final-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.final-cta-inner > div:first-child {
  flex: 1 1 420px;
  min-width: 0;
}

.final-cta h2 {
  margin: 0 0 4px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--apple-ink);
}

.final-cta p {
  margin: 0;
  color: var(--apple-ink-muted);
  font-size: 15px;
}

.final-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.site-footer {
  padding-block: 44px 38px;
  border-top: 1px solid var(--hairline);
  background: var(--apple-bg-alt);
  font-size: 13px;
  color: var(--apple-ink-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  line-height: 0;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--apple-ink-muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--apple-ink-muted);
  padding-top: 6px;
}

.footer-meta a {
  color: var(--apple-ink-secondary);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--apple-blue);
  text-decoration: underline;
}

.footer-legal {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  line-height: 1.6;
  color: var(--apple-ink-caption);
  max-width: 920px;
}

.footer-legal p {
  margin: 0;
}

.footer-legal strong {
  color: var(--apple-ink-secondary);
}

/* ------------------------------------------------------------------
 * Responsive Breakpoints
 * ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav-links,
  .header-cta-wrap {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 960px) {
  .hero-spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-grid,
  .bfx-deck-shell,
  .charts-grid,
  .tables-grid,
  .buy-split-grid,
  .install-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .buy-sticky-column {
    position: static;
  }

  .buy-header-price {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .bento-metrics,
  .feature-grid,
  .notice-grid,
  .hero-spec-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .bfx-pads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .lcd-bezel {
    width: 100%;
    overflow-x: auto;
  }

  .purchase-card,
  .bento-card {
    padding: 22px;
  }

  .spec-table td:first-child {
    white-space: normal;
    min-width: 116px;
  }

  .compare-table {
    min-width: 680px;
  }
}

@media (max-width: 540px) {
  .brand-version {
    display: none;
  }

  .brand-group {
    gap: 10px;
  }

  .brand-product {
    padding-left: 10px;
  }

  .brand-logo img {
    height: 23px;
  }
}
