/* Beacon — Apple-inspired marketing site */

:root {
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-gray: #86868b;
  --apple-gray-dark: #6e6e73;
  --apple-text: #1d1d1f;
  --apple-bg: #fbfbfd;
  --apple-bg-alt: #f5f5f7;
  --nav-height: 44px;
  --subnav-height: 52px;
  --max-width: 980px;
  --wide-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--apple-text);
  background: #fff;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
}

a {
  color: var(--apple-blue);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

/* ── Global nav ── */

.globalnav {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: var(--nav-height);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.globalnav-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.globalnav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--apple-text);
  text-decoration: none;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.globalnav-logo:hover { text-decoration: none; opacity: 0.8; }

.globalnav-logo svg { width: 20px; height: 20px; }

.globalnav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.globalnav-links a {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.globalnav-links a:hover { opacity: 0.65; text-decoration: none; }

.globalnav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.globalnav-actions a {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

.globalnav-actions a:hover { opacity: 0.65; text-decoration: none; }

.nav-menu-button {
  display: none;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-menu-button span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 4px 0;
  background: var(--apple-text);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.nav-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: absolute;
  z-index: 9997;
  top: 100%;
  right: 0;
  left: 0;
  min-height: calc(100vh - var(--nav-height));
  padding: 28px 32px 48px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  background: rgba(251, 251, 253, 0.98);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}

.product-page .mobile-nav { min-height: calc(100vh - var(--subnav-height)); }

.mobile-nav a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--apple-text);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

body.menu-open { overflow: hidden; }

.globalnav-mobile-cta {
  display: none;
  color: var(--apple-blue);
  font-size: 12px;
  text-decoration: none;
}

/* ── Sub navigation (product pages) ── */

.subnav {
  position: sticky;
  top: var(--nav-height);
  z-index: 9998;
  height: var(--subnav-height);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-page .subnav {
  top: 0;
}

.subnav-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.subnav-title {
  justify-self: start;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-text);
  text-decoration: none;
}

.subnav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.subnav-links a {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.56);
  text-decoration: none;
}

.subnav-links a:hover,
.subnav-links a.active {
  color: var(--apple-text);
  text-decoration: none;
}

.subnav-cta {
  justify-self: end;
  font-size: 12px;
  color: var(--apple-blue);
  text-decoration: none;
}

.subnav-cta:hover { text-decoration: underline; }

/* ── Typography ── */

.headline-hero {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.headline-section {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.headline-tile {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.subhead {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 400;
  letter-spacing: 0.004em;
  line-height: 1.25;
  color: var(--apple-gray-dark);
  margin-top: 6px;
}

.subhead-light { color: #a1a1a6; }

.eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 8px;
}

.body-copy {
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--apple-gray-dark);
}

/* ── Links & CTAs ── */

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.link-more {
  font-size: 17px;
  color: var(--apple-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-more::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.link-more:hover { text-decoration: underline; }

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 8px 16px;
  border-radius: 980px;
  background: var(--apple-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-download:hover {
  background: var(--apple-blue-hover);
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid var(--apple-blue);
  color: var(--apple-blue);
  font-size: 17px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(0, 113, 227, 0.06);
  text-decoration: none;
}

/* ── Hero sections ── */

.hero {
  text-align: center;
  padding: 55px 22px 0;
}

.hero-dark {
  background: #000;
  color: #f5f5f7;
}

.hero-dark .subhead { color: #a1a1a6; }

.hero-light { background: var(--apple-bg); }

.hero-white { background: #fff; }

.hero-visual {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
}

/* ── Real product screenshots ── */

.product-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.10);
}

.product-shot-hero {
  width: min(1120px, 94vw);
}

.product-shot-tile {
  width: min(560px, 96%);
  max-height: 390px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.08);
}

.tile-dark .product-shot {
  border-color: rgba(255, 255, 255, 0.14);
}

.product-shot-detail {
  width: min(650px, 100%);
  border-radius: 18px;
}

.product-shot-wide {
  width: 100%;
  border-radius: 18px;
}

/* ── Homepage tile grid (apple.com style) ── */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
  background: #fff;
}

.tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 47px 22px 0;
  text-decoration: none;
  color: inherit;
}

.tile:hover { text-decoration: none; }

.tile-light { background: var(--apple-bg); }
.tile-dark { background: #000; color: #f5f5f7; }
.tile-dark .subhead { color: #a1a1a6; }
.tile-gradient { background: linear-gradient(180deg, #fafafa 0%, #e8e8ed 100%); }
.tile-home-hero {
  background: #fff;
  border-radius: 0;
}

.tile-feature-combined {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  min-height: 590px;
  padding: 64px clamp(38px, 6vw, 92px);
  text-align: left;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 190, 105, 0.22), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(96, 120, 255, 0.18), transparent 34%),
    #f5f5f7;
}

.tile-feature-copy {
  max-width: 430px;
}

.tile-feature-copy .subhead {
  margin-top: 14px;
}

.tile-feature-copy .cta-row {
  justify-content: flex-start;
  margin-top: 20px;
}

.tile-feature-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-shot-customize {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.08);
}

.tile .cta-row { margin-top: 12px; }

.tile-visual {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 30px;
  padding-bottom: 28px;
}

.tile-full {
  grid-column: 1 / -1;
  min-height: 692px;
}

/* ── Homepage filter rail ── */

.filter-highlight {
  grid-column: 1 / -1;
  overflow: hidden;
  padding: 82px 0 68px;
  background:
    radial-gradient(circle at 50% 100%, rgba(0, 113, 227, 0.08), transparent 42%),
    var(--apple-bg-alt);
}

.filter-highlight-copy {
  text-align: center;
  padding: 0 22px 32px;
}

.filter-highlight-copy .subhead {
  margin-top: 10px;
}

.filter-rail {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  padding: 14px max(28px, calc((100vw - var(--wide-width)) / 2));
  scroll-snap-type: x proximity;
  scroll-padding-inline: 28px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-rail::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 980px;
  color: var(--apple-text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.filter-chip svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-chip.active {
  color: #fff;
  background: linear-gradient(180deg, #168bf3, var(--apple-blue));
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 10px 26px rgba(0, 113, 227, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.filter-rail-hint {
  display: none;
  margin-top: 14px;
  color: var(--apple-gray);
  font-size: 12px;
  text-align: center;
}

/* ── Feature tabs (iPhone page style) ── */

.feature-tabs-section {
  background: var(--apple-bg);
  padding: 80px 22px 60px;
}

.feature-tabs-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.tab-list {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  max-width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
}

.tab-list::-webkit-scrollbar { display: none; }

.tab-list button {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px 14px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--apple-gray);
  cursor: pointer;
  letter-spacing: -0.016em;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-list button:hover { color: var(--apple-text); }

.tab-list button.active {
  color: var(--apple-text);
  border-bottom-color: var(--apple-text);
}

.tab-panel {
  display: none;
  max-width: var(--wide-width);
  margin: 0 auto;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-panel-copy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.tab-panel-copy h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 24px 0 8px;
}

.tab-panel-copy p {
  font-size: 17px;
  line-height: 1.47059;
  color: var(--apple-gray-dark);
}

.tab-panel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.notes-placeholder {
  width: min(100%, 520px);
  min-height: 330px;
  padding: 48px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 10, 0.2), transparent 48%),
    #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.notes-placeholder svg {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  fill: none;
  stroke: #d99a00;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notes-placeholder strong { font-size: 24px; }
.notes-placeholder span { margin-top: 6px; color: var(--apple-gray); }

.tab-panel.more-panel.active {
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  padding: 52px;
  border-radius: 28px;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 85% 15%, rgba(41, 151, 255, 0.34), transparent 35%),
    #101012;
}

.more-panel-heading h2 {
  margin: 6px 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.more-panel-heading > p:last-child,
.benefit-grid span,
.coming-soon p {
  color: #a1a1a6;
  line-height: 1.45;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.benefit-grid > div {
  min-height: 110px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.06);
}

.benefit-grid strong { margin-bottom: 4px; font-size: 17px; }

.coming-soon {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.coming-soon-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 980px;
  color: #fff;
  background: var(--apple-blue);
  font-size: 12px;
  font-weight: 600;
}

.coming-soon h3 { margin-bottom: 6px; font-size: 24px; }

/* ── Screenshot showcase ── */

.showcase-section {
  padding: 96px 22px;
  background: #fff;
}

.showcase-header {
  max-width: var(--wide-width);
  margin: 0 auto 52px;
}

.showcase-stack {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.showcase-card {
  overflow: hidden;
  background: var(--apple-bg-alt);
  border-radius: 28px;
  padding: 54px;
}

.showcase-copy {
  max-width: 680px;
  margin-bottom: 38px;
}

.showcase-copy h3 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.showcase-copy p:last-child {
  max-width: 580px;
  color: var(--apple-gray-dark);
  font-size: 19px;
  line-height: 1.42;
}

.showcase-card .product-shot {
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

/* ── Lineup cards ── */

.lineup-section {
  padding: 80px 22px;
  background: #fff;
}

.lineup-header {
  text-align: center;
  margin-bottom: 48px;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: var(--wide-width);
  margin: 0 auto;
}

.lineup-card {
  background: var(--apple-bg);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
}

.lineup-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lineup-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--apple-text);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lineup-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 6px;
}

.lineup-card p {
  font-size: 14px;
  color: var(--apple-gray);
  line-height: 1.4;
}

/* ── Download band ── */

.download-band {
  background: #000;
  color: #f5f5f7;
  text-align: center;
  padding: 80px 22px;
}

.download-band .subhead { color: #a1a1a6; margin-top: 8px; margin-bottom: 24px; }

.download-steps {
  max-width: 520px;
  margin: 32px auto 0;
  text-align: left;
  list-style: none;
  counter-reset: steps;
}

.download-steps li {
  counter-increment: steps;
  font-size: 17px;
  color: #a1a1a6;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.download-steps li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f7;
}

.download-steps .step-copy {
  min-width: 0;
  padding-top: 3px;
  line-height: 1.45;
}

.download-steps strong,
.download-steps kbd {
  color: #f5f5f7;
  font: inherit;
  font-weight: 600;
}

.download-steps kbd { white-space: nowrap; }

/* ── GitHub band ── */

.github-band {
  background: var(--apple-bg-alt);
  text-align: center;
  padding: 80px 22px;
}

.github-band .body-copy {
  max-width: 580px;
  margin: 12px auto 24px;
}

/* ── Bento / explore ── */

.explore-section {
  padding: 80px 22px;
  background: var(--apple-bg);
}

.explore-header {
  text-align: center;
  margin-bottom: 48px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: var(--wide-width);
  margin: 0 auto;
}

.bento-item {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.bento-item.wide { grid-column: span 2; }
.bento-item.tall { min-height: 360px; }

.bento-item h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.bento-item p {
  font-size: 14px;
  color: var(--apple-gray);
  line-height: 1.4;
  flex: 1;
}

.bento-visual {
  margin-top: 20px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.feature-pills span {
  padding: 8px 13px;
  border-radius: 980px;
  background: var(--apple-bg-alt);
  color: var(--apple-gray-dark);
  font-size: 13px;
  font-weight: 600;
}

/* ── Mock UI components ── */

.search-mock {
  width: min(680px, 92vw);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
}

.search-mock-dark {
  background: rgba(40, 40, 42, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.search-mock-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.search-mock-dark .search-mock-field { border-color: rgba(255, 255, 255, 0.08); }

.search-mock-field svg { opacity: 0.45; flex-shrink: 0; }

.search-mock-field span {
  font-size: 22px;
  color: rgba(0, 0, 0, 0.85);
  letter-spacing: -0.02em;
}

.search-mock-dark .search-mock-field span { color: rgba(255, 255, 255, 0.9); }

.search-mock-chips {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
}

.search-mock-dark .search-mock-chips { border-color: rgba(255, 255, 255, 0.08); }

.chip {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.65);
}

.chip.active {
  background: var(--apple-blue);
  color: #fff;
}

.search-mock-dark .chip { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); }
.search-mock-dark .chip.active { background: var(--apple-blue); color: #fff; }

.search-mock-results { padding: 4px 0 8px; }

.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  font-size: 13px;
}

.result-row.selected { background: rgba(0, 113, 227, 0.12); }

.result-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.result-icon.file { background: linear-gradient(135deg, #f093fb, #f5576c); }
.result-icon.app { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.result-icon.msg { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.result-text { flex: 1; min-width: 0; }

.result-title {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-mock-dark .result-title { color: rgba(255, 255, 255, 0.92); }

.result-title strong { font-weight: 700; }

.result-meta {
  font-size: 11px;
  color: var(--apple-gray);
  margin-top: 1px;
}

.search-mock-footer {
  padding: 8px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11px;
  color: var(--apple-gray);
  display: flex;
  gap: 16px;
}

.search-mock-dark .search-mock-footer { border-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.45); }

/* Beacon lens icon */
.beacon-lens {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.beacon-lens-sm { width: 48px; height: 48px; }

/* Desktop mock */
.desktop-mock {
  position: relative;
  width: min(900px, 95vw);
}

.desktop-screen {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 12px 12px 0 0;
  padding: 48px 40px 60px;
  position: relative;
}

.desktop-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.desktop-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.desktop-bar span:nth-child(1) { background: #ff5f57; }
.desktop-bar span:nth-child(2) { background: #febc2e; }
.desktop-bar span:nth-child(3) { background: #28c840; }

.desktop-chin {
  height: 18px;
  background: linear-gradient(180deg, #c8c8cc, #a8a8ad);
  border-radius: 0 0 12px 12px;
}

.menu-bar-mock {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  gap: 8px;
}

/* ── Footer ── */

.footer {
  background: var(--apple-bg-alt);
  padding: 40px 22px 20px;
  font-size: 12px;
  color: var(--apple-gray);
  line-height: 1.33337;
}

.footer-inner { max-width: var(--wide-width); margin: 0 auto; }

.footer-note {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  font-size: 12px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-text);
  margin-bottom: 8px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 6px; }

.footer-col a {
  color: var(--apple-gray);
  text-decoration: none;
}

.footer-col a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--apple-gray);
  text-decoration: none;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 0, 0, 0.16);
}

.footer-legal a:first-child { border-left: none; padding-left: 0; }

/* ── Responsive ── */

@media (max-width: 1068px) {
  .globalnav-links { display: none; }
  .globalnav-actions { display: none; }
  .globalnav-inner { justify-content: flex-start; gap: 9px; }
  .globalnav .nav-menu-button { display: block; order: 1; }
  .globalnav-logo { order: 2; }
  .globalnav-mobile-cta { display: block; order: 3; margin-left: auto; }
  .globalnav .mobile-nav.open { display: flex; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile { min-height: 520px; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .tab-panel.more-panel.active { grid-template-columns: 1fr 1fr; }
  .more-panel-heading { grid-column: 1 / -1; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-item.wide { grid-column: span 2; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 734px) {
  .subnav-links { display: none; }
  .subnav-inner { display: flex; justify-content: flex-start; gap: 9px; }
  .subnav .nav-menu-button { display: block; order: 1; }
  .subnav-title { order: 2; margin-right: 0; }
  .subnav-cta { order: 3; margin-left: auto; }
  .subnav .mobile-nav.open { display: flex; }
  .tile-feature-combined {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 20px 28px;
    text-align: center;
  }
  .tile-feature-copy {
    max-width: 540px;
    margin-inline: auto;
  }
  .tile-feature-copy .cta-row {
    justify-content: center;
  }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.wide { grid-column: span 1; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .feature-tabs-section { padding-inline: 18px; }
  .tab-list { justify-content: flex-start; }
  .tab-list button { padding: 10px 14px 12px; font-size: 12px; }
  .tab-panel.more-panel.active { grid-template-columns: 1fr; padding: 30px 22px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .notes-placeholder { min-height: 260px; padding: 32px 20px; }
  .filter-highlight { padding: 62px 0 52px; }
  .filter-highlight-copy { padding-bottom: 22px; }
  .filter-rail { padding-inline: 18px; scroll-padding-inline: 18px; }
  .filter-chip { padding: 10px 15px; font-size: 14px; }
  .filter-rail-hint { display: block; }
  .showcase-section { padding: 68px 12px; }
  .showcase-card { border-radius: 20px; padding: 34px 18px 22px; }
  .showcase-copy { margin-bottom: 24px; }
  .product-shot { border-radius: 16px; }
  .product-shot-hero { width: 96vw; }
  .download-band { padding: 64px 18px; }
  .download-band .headline-section { font-size: clamp(36px, 10vw, 44px); }
  .download-band .subhead { font-size: 20px; }
  .download-band .cta-row { gap: 24px; white-space: nowrap; }
  .download-steps { margin-top: 30px; }
  .download-steps li { gap: 12px; padding: 18px 0; font-size: 16px; }
}

/* Scroll reveal */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
