/* =========================================================
   OJEX — shared stylesheet
   ========================================================= */

:root {
  --bg: #060a13;
  --bg-raised: #0c1220;
  --bg-raised-2: #10182a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f8;
  --text-dim: #9aa4b8;
  --text-dimmer: #6b7690;
  --accent: #49b4ff;
  --accent-2: #3fe0c5;
  --accent-green: #4ade80;
  --gradient: linear-gradient(120deg, #1a2a52 0%, #0c1220 55%, #06101d 100%);
  --radius: 4px;
  --radius-lg: 10px;
  --maxw: 1180px;
  --font-display: "Sora", "Noto Sans TC", "Segoe UI", Roboto, sans-serif;
  --font-body: "Sora", "Noto Sans TC", "Segoe UI", Roboto, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h3, h4 { font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-dim); max-width: 62ch; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 19, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14.5px;
  color: var(--text-dim);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 9px 20px;
  border-radius: 999px;
  color: var(--text) !important;
  font-size: 14px;
}
.nav-cta:hover { border-color: var(--accent); background: rgba(73,180,255,0.08); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

@media (max-width: 820px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: var(--bg-raised); flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .nav-links.open { max-height: 400px; }
  .nav-links a { width: 100%; padding: 16px 32px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 16px 32px; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); background: rgba(73,180,255,0.08); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--gradient);
  border-bottom: 1px solid var(--line);
  /* Extra height = scroll distance while the pinned hero rotates the gimbal */
  height: calc(100vh - 72px + 110vh);
}
.hero-pin {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-poster { transition: opacity .6s ease; }
.model-ready .hero-canvas { opacity: 1; }
.model-ready .hero-poster { opacity: 0; }
.hero-product-tag {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  background: rgba(6, 10, 19, 0.6);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 999px;
  transition: color .15s ease, border-color .15s ease;
}
.hero-product-tag:hover { color: var(--text); border-color: var(--accent); }
.hero-product-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  /* No pinning on small screens or for reduced motion: normal-height hero */
  .hero { height: auto; }
  .hero-pin { position: relative; top: 0; height: auto; min-height: 0; }
}
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); }
.hero p.lead { font-size: 17px; max-width: 46ch; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); }

.hero-visual { position: relative; height: clamp(420px, calc(100vh - 230px), 620px); display: flex; align-items: center; justify-content: center; }
.hero-photo-frame { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; container-type: size; }
.hero-photo-frame::before {
  content: "";
  position: absolute;
  width: min(460px, 90%); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,180,255,0.28), rgba(63,224,197,0.08) 55%, transparent 72%);
  filter: blur(6px);
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  /* Always a true circle: sized from the frame's shorter side */
  width: min(80cqw, 80cqh); aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero-photo-frame img {
  position: relative;
  max-height: 400px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-visual { height: 360px; order: -1; margin-bottom: 36px; }
  .hero-photo-frame::before { width: 280px; height: 280px; }
  .hero-photo-frame img { max-height: 280px; }
}

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.eyebrow { color: var(--accent-2); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; display: block; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.benefit-visual {
  aspect-ratio: 1 / 1;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #101c33, #060a13);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-visual img { width: 45%; height: 45%; object-fit: contain; }
.benefit-list { display: flex; flex-direction: column; }
.benefit-item { padding: 26px 0; border-top: 1px solid var(--line); }
.benefit-item:last-child { border-bottom: 1px solid var(--line); }
.benefit-item h3 { font-size: 19px; margin-bottom: 6px; }
.benefit-item p { font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } .benefit-visual { margin: 0 auto; } }

/* ---------- Cursor spotlight (frosted blue glow that follows the pointer) ---------- */
.spotlight { position: relative; overflow: hidden; }
.spotlight-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(96,196,255,0.38), rgba(96,196,255,0.12) 38%, transparent 68%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  filter: blur(8px);
  backdrop-filter: blur(2px);
}
.spotlight.is-active .spotlight-layer { opacity: 1; }
@media (hover: none) { .spotlight-layer { display: none; } }
/* Keep real content (icons, text, buttons) above the glow layer */
.cat-card > *:not(.spotlight-layer) { position: relative; z-index: 1; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 30px 26px 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color .2s ease, transform .2s ease;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-icon { width: 40px; height: 40px; margin-bottom: 40px; object-fit: contain; }
.cat-card h3 { font-size: 19px; margin-bottom: 4px; }
.cat-card span.sub { font-size: 13.5px; color: var(--text-dimmer); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Application scenarios ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scenario .photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-raised);
}
.scenario .photo img { width: 100%; height: 100%; object-fit: cover; }
.scenario .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,19,0.05) 30%, rgba(6,10,19,0.85) 100%);
  pointer-events: none;
}
.scenario .num {
  position: absolute;
  top: 18px; left: 20px;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.scenario h4 {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 1;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
@media (max-width: 900px) { .scenario-grid { grid-template-columns: 1fr; } .scenario .photo { aspect-ratio: 16/10; } }

.scenario-banner {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21/6;
}
.scenario-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
@media (max-width: 700px) { .scenario-banner { aspect-ratio: 4/5; } }

/* ---------- Footer / closing CTA ---------- */
.closing-cta {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 120%, rgba(73,180,255,0.35), transparent 60%), linear-gradient(160deg, #141b33, #0a0e1c);
  padding: 80px 40px;
  text-align: center;
  border: 1px solid var(--line);
}
.closing-cta h2 { font-size: clamp(26px, 3.6vw, 38px); max-width: 720px; margin: 0 auto 10px; }
.closing-cta p { margin: 0 auto; max-width: 480px; }
.closing-cta > * { position: relative; z-index: 1; }

footer.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 13px; color: var(--text-dimmer); text-transform: none; margin-bottom: 14px; font-weight: 500; }
.footer-grid h4.footer-heading { font-size: 17px; color: var(--text); font-weight: 600; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-nav-links { padding-top: 4px; }
.footer-nav-links a { font-size: 15.5px; color: var(--text); font-weight: 500; }
.footer-nav-links a:hover { color: var(--accent-2); }
.footer-grid ul a { color: var(--text-dim); }
.footer-grid ul a:hover { color: var(--text); }
.footer-contact-list { margin-top: 4px; }
.footer-logo img { width: clamp(200px, 30vw, 340px); height: auto; margin-bottom: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-dimmer); border-top: 1px solid var(--line); padding-top: 24px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Products list page ---------- */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 46px); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 44px; }
.filter-btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-dim);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .15s ease;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 50% 40%, #16233d, #0a0e1a);
}
/* Absolutely positioned so every browser (incl. iOS Safari) keeps it centered and inside the frame */
.product-card .thumb img {
  position: absolute; inset: 24px;
  width: calc(100% - 48px); height: calc(100% - 48px);
  object-fit: contain;
}
.product-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .tag { font-size: 11.5px; color: var(--accent-2); letter-spacing: 0.03em; margin-bottom: 8px; }
.product-card h3 { font-size: 18px; margin-bottom: 6px; }
.product-card p { font-size: 13.8px; margin-bottom: 0; flex: 1; }
.product-card .cta-row { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.product-card.soon { position: relative; cursor: pointer; }
.product-card.soon .thumb, .product-card.soon .body { opacity: 0.8; }
/* Tap/click feedback for cards without a spec page */
.soon-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(128, 128, 128, 0.35);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.soon-overlay span {
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.product-card.soon.show-soon .soon-overlay { opacity: 1; }
.soon-badge { display: inline-block; font-size: 11px; border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 999px; color: var(--text-dimmer); margin-bottom: 10px; width: fit-content; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Product detail page ---------- */
.detail-hero { border-bottom: 1px solid var(--line); padding: 56px 0 64px; }
.detail-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.detail-photo {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 40%, #16233d, #080b14);
  border: 1px solid var(--line);
  position: relative;
}
.detail-photo img {
  position: absolute; inset: 40px;
  width: calc(100% - 80px); height: calc(100% - 80px);
  object-fit: contain;
}
.crumb { font-size: 13px; color: var(--text-dimmer); margin-bottom: 20px; }
.crumb a:hover { color: var(--text); }
.detail-copy .tag { font-size: 12.5px; color: var(--accent-2); letter-spacing: 0.03em; margin-bottom: 10px; display: block; }
.detail-copy h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.detail-copy .lead { font-size: 16px; }
.ndaa-badge { height: 34px; width: auto; margin: 22px 0 4px; display: block; }
.cta-group { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 900px) { .detail-hero .wrap { grid-template-columns: 1fr; } .detail-photo { max-width: 420px; margin: 0 auto; } }

.specs { padding: 72px 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table tr { border-top: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 16px 4px; vertical-align: top; }
.spec-table th { width: 34%; color: var(--text-dimmer); font-weight: 500; }
.spec-table td { color: var(--text); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.applications { padding: 0 0 72px; }
.app-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.app-tag { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: var(--text-dim); }

/* ---------- MIPI catalog table ---------- */
.mipi-table-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(6,10,19,0.86), rgba(6,10,19,0.93)), url("../images/scenarios/mipi-bg.jpg");
  background-size: cover;
  background-position: center;
}
.mipi-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mipi-table-scroll::-webkit-scrollbar { display: none; }
table.mipi { border-collapse: collapse; width: 100%; min-width: 920px; font-size: 13.8px; }
table.mipi th, table.mipi td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.mipi thead th { background: rgba(16,24,42,0.85); color: var(--accent-2); font-family: var(--font-display); font-weight: 600; }
table.mipi tbody th { color: var(--text-dim); font-weight: 500; background: rgba(12,18,32,0.72); }
table.mipi tbody tr:last-child td, table.mipi tbody tr:last-child th { border-bottom: none; }
.status-pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(73,180,255,0.16); color: var(--accent); }
.scroll-hint { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-dim); margin-top: 12px; }
.scroll-hint svg { width: 15px; height: 15px; flex-shrink: 0; animation: scroll-hint-move 1.6s ease-in-out infinite; }
@keyframes scroll-hint-move { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* ---------- About page ---------- */
.advantage-strip {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 20%, rgba(73,180,255,0.14), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(63,224,197,0.12), transparent 55%),
    linear-gradient(160deg, #0d1730 0%, #060a13 75%);
  overflow: hidden;
}
.advantage-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 34px;
}
.advantage-item { width: 190px; text-align: center; }
.advantage-item .ic { width: 50px; height: 50px; margin: 0 auto 18px; color: var(--accent-2); display: block; }
.advantage-item h3 { font-size: 15.5px; margin-bottom: 8px; letter-spacing: 0; }
.advantage-item p { font-size: 12.8px; margin: 0 auto; color: var(--text-dim); }

/* Supply chain layer stack */
.supply-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.supply-copy h2 { font-size: clamp(28px, 3.4vw, 38px); }
.supply-copy p { font-size: 15.5px; }
.supply-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.supply-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; color: var(--text-dim);
}
.supply-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); }

.supply-stack { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 12px; }
/* Vertical chain line running through the layer icons */
.supply-stack::before {
  content: ""; position: absolute; left: 43px; top: 30px; bottom: 30px; width: 1px;
  background: linear-gradient(180deg, rgba(63,224,197,0.5), rgba(73,180,255,0.5));
}
.layer {
  position: relative;
  display: grid; grid-template-columns: 46px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 22px 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(100deg, var(--bg-raised-2), var(--bg-raised));
  transition: opacity .5s ease, transform .5s ease, border-color .5s ease;
}
.layer-ic {
  width: 46px; height: 46px; padding: 11px; border-radius: 50%;
  color: var(--accent-2); background: var(--bg); border: 1px solid rgba(63,224,197,0.35);
  position: relative; z-index: 1;
}
.layer-num { display: block; font-size: 11.5px; color: var(--accent-2); letter-spacing: 0.03em; margin-bottom: 4px; }
.layer h3 { font-size: 17px; margin: 0; }
.layer p { font-size: 13.5px; margin: 0; }
.layer-origin {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--accent-green);
  border: 1px solid rgba(74,222,128,0.35); background: rgba(74,222,128,0.08);
  padding: 5px 12px 5px 9px; border-radius: 999px; white-space: nowrap;
}
.layer-origin svg { width: 14px; height: 14px; }
.layer-result {
  grid-template-columns: 1fr; text-align: center; padding: 20px 22px;
  border-color: rgba(73,180,255,0.4);
  background: radial-gradient(circle at 50% 140%, rgba(73,180,255,0.3), transparent 70%), var(--bg-raised);
}
.layer-result .layer-num { color: var(--accent); }
.layer-result h3 { font-size: 16px; }

/* Scroll reveal: layers light up one by one (only when JS adds .js-reveal) */
.supply-stack.js-reveal .layer { opacity: 0.18; transform: translateY(10px); }
.supply-stack.js-reveal .layer.lit { opacity: 1; transform: none; }
.supply-stack.js-reveal .layer.lit:not(.layer-result) { border-color: rgba(63,224,197,0.28); }

@media (max-width: 900px) {
  .supply-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .layer { gap: 14px; padding: 14px 16px; }
  .supply-stack::before { left: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  .supply-stack.js-reveal .layer { opacity: 1; transform: none; transition: none; }
}

.timeline-strip { display: flex; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.timeline-strip .stat strong { font-family: var(--font-display); font-size: 26px; display: block; }
.timeline-strip .stat span { font-size: 13px; color: var(--text-dimmer); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 13px; color: var(--text-dimmer); text-transform: none; margin-bottom: 16px; }
.contact-info p.line { color: var(--text); font-size: 15px; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 110px; }
.product-chip {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(73,180,255,0.1);
  border: 1px solid rgba(73,180,255,0.35);
  color: var(--accent);
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  width: fit-content;
}
.form-note { font-size: 12.5px; color: var(--text-dimmer); margin-top: 14px; margin-bottom: 4px; }
.form-privacy { font-size: 11px; color: var(--text-dimmer); margin: 0; }
.form-privacy a, .footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.form-privacy a:hover, .footer-bottom a:hover { color: var(--text); }

/* Privacy policy page */
.legal { max-width: 72ch; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 15px; color: var(--text-dim); max-width: none; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
