:root {
  /* Ology app palette pulled from UIHelpers.swift */
  --brand-slate: #1c2b3b;
  --brand-amber: #e0961f;
  --brand-forest: #295c45;
  --brand-moss: #739457;
  --brand-earth: #855e3d;
  --brand-water: #457899;
  --brand-stone: #6e7870;
  --recording: #d4362e;

  --ink: #111c22;
  --ink-soft: #40515a;
  --muted: #66767c;
  --paper: #f7f1e7;
  --panel: #fffaf0;
  --panel-strong: #ffffff;
  --bone: #ead8b6;
  --line: rgba(28, 43, 59, .13);
  --line-strong: rgba(28, 43, 59, .22);
  --dark-line: rgba(255, 255, 255, .12);

  --shadow-soft: 0 14px 40px rgba(28, 43, 59, .11);
  --shadow-strong: 0 24px 70px rgba(28, 43, 59, .22);
  --radius: 24px;
  --radius-lg: 34px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 150, 31, .20), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(69, 120, 153, .16), transparent 31rem),
    linear-gradient(180deg, #fbf7ef 0%, #f4ead9 46%, #eee2cd 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  background-image:
    radial-gradient(ellipse at 18% 26%, transparent 0 38px, rgba(28,43,59,.06) 39px 40px, transparent 41px),
    radial-gradient(ellipse at 72% 18%, transparent 0 52px, rgba(28,43,59,.055) 53px 54px, transparent 55px),
    radial-gradient(ellipse at 54% 72%, transparent 0 70px, rgba(28,43,59,.045) 71px 72px, transparent 73px);
  background-size: 240px 180px, 300px 230px, 420px 300px;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 18px; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--brand-slate);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 50;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(28, 43, 59, .92);
  border-bottom: 1px solid rgba(224, 150, 31, .36);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 10px 28px rgba(28, 43, 59, .18);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-amber), transparent);
  opacity: .75;
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.brand small {
  display: block;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-amber);
  font-size: .68rem;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  text-decoration: none;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .76);
  font-weight: 800;
  font-size: .94rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(224, 150, 31, .16);
  color: white;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: white;
  padding: 10px 13px;
  border-radius: 14px;
  font-weight: 900;
}

.hero { padding: clamp(58px, 8vw, 104px) 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); gap: clamp(28px, 5vw, 58px); align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-earth);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-amber);
}
h1, h2, h3 {
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -.05em;
}
h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7.5vw, 6.6rem);
  color: var(--brand-slate);
}
h2 { font-size: clamp(2rem, 4vw, 3.45rem); color: var(--brand-slate); }
h3 { font-size: 1.28rem; color: var(--brand-slate); }
.lede {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 68ch;
}
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid var(--line-strong);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button.primary {
  background: linear-gradient(135deg, var(--brand-forest), #1f4d39);
  color: white;
  border-color: rgba(41,92,69,.18);
  box-shadow: 0 14px 30px rgba(41, 92, 69, .27);
}
.button.secondary {
  background: rgba(255, 255, 255, .72);
  color: var(--brand-slate);
  box-shadow: 0 10px 24px rgba(28, 43, 59, .08);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(28,43,59,.18); }

.visual-card {
  color: white;
  border-radius: var(--radius-lg);
  min-height: 544px;
  padding: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(224,150,31,.24), transparent 18rem),
    radial-gradient(circle at 20% 84%, rgba(69,120,153,.32), transparent 18rem),
    linear-gradient(145deg, #152331, var(--brand-slate) 45%, #264335 100%);
  border: 1px solid rgba(255,255,255,.12);
}
.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .48;
  background:
    repeating-radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.20) 0 1px, transparent 2px 21px),
    linear-gradient(180deg, transparent 20%, rgba(0,0,0,.22));
}
.visual-card::after {
  content: "FIELD READY";
  position: absolute;
  right: 28px;
  top: 26px;
  z-index: 1;
  padding: 8px 12px;
  border: 1px solid rgba(224,150,31,.42);
  border-radius: 999px;
  background: rgba(28,43,59,.52);
  color: var(--brand-amber);
  font-size: .72rem;
  letter-spacing: .16em;
  font-weight: 950;
}
.phone-shell {
  position: relative;
  z-index: 1;
  width: min(325px, 86%);
  margin: 14px auto 0;
  border: 12px solid #101923;
  border-radius: 42px;
  background: #101923;
  min-height: 468px;
  box-shadow: 0 28px 54px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.07);
  padding: 16px;
}
.phone-shell::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  z-index: 3;
}
.map-screen {
  border-radius: 30px;
  min-height: 424px;
  background:
    linear-gradient(135deg, rgba(224,150,31,.18), transparent 32%),
    repeating-linear-gradient(30deg, rgba(234,216,182,.14) 0 2px, transparent 2px 26px),
    radial-gradient(circle at 72% 42%, rgba(115,148,87,.32), transparent 8rem),
    linear-gradient(150deg, #345244, #152d25 70%);
  padding: 22px 18px 18px;
  position: relative;
  overflow: hidden;
}
.map-screen::before,
.map-screen::after {
  content: "";
  position: absolute;
  inset: 34px -34px auto 26px;
  height: 160px;
  border: 1.5px solid rgba(234,216,182,.22);
  border-left: 0;
  border-radius: 50%;
  transform: rotate(-13deg);
}
.map-screen::after {
  inset: auto 18px 30px -42px;
  height: 140px;
  border-color: rgba(224,150,31,.28);
  transform: rotate(16deg);
}
.map-pin {
  position: absolute;
  left: 55%;
  top: 43%;
  width: 23px;
  height: 23px;
  background: var(--brand-amber);
  border: 4px solid white;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 9px rgba(224,150,31,.16);
}
.hud { position: relative; z-index: 2; display: grid; gap: 11px; }
.hud-pill, .hud-card {
  background: rgba(28,43,59,.62);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 17px;
  padding: 10px 12px;
  backdrop-filter: blur(10px);
}
.hud-pill {
  display: inline-flex;
  width: fit-content;
  font-size: .76rem;
  font-weight: 950;
  color: #f6d18d;
  letter-spacing: .02em;
}
.hud-card strong { display: block; font-size: 1.08rem; color: white; }
.hud-card span { color: rgba(255,255,255,.73); font-size: .86rem; }

.section { padding: clamp(54px, 7vw, 86px) 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.12));
  border-block: 1px solid var(--line);
}
.section-header { max-width: 820px; margin-bottom: 32px; }
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.card {
  position: relative;
  background: rgba(255, 250, 240, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-amber), rgba(224,150,31,.0));
  opacity: .85;
}
.card:hover { box-shadow: 0 18px 46px rgba(28,43,59,.16); transform: translateY(-2px); transition: transform .18s ease, box-shadow .18s ease; }
.card.dark {
  background:
    radial-gradient(circle at 94% 0%, rgba(224,150,31,.20), transparent 16rem),
    linear-gradient(135deg, var(--brand-slate), #142431);
  color: white;
  border-color: rgba(255,255,255,.12);
}
.card.dark h2,
.card.dark h3 { color: white; }
.card.dark p,
.card.dark li { color: rgba(255,255,255,.78); }
.card.dark .eyebrow { color: #f6d18d; }
.card.dark .eyebrow::before { background: var(--brand-amber); }
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(224,150,31,.18), rgba(41,92,69,.10));
  color: var(--brand-earth);
  font-weight: 950;
  font-size: .78rem;
  letter-spacing: .03em;
  margin-bottom: 18px;
  border: 1px solid rgba(224,150,31,.20);
}
.feature-list { padding-left: 18px; margin: 0; color: var(--ink-soft); }
.feature-list li { margin: 9px 0; }
.feature-list li::marker { color: var(--brand-amber); }
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.pill-list li {
  background: rgba(41,92,69,.09);
  color: var(--brand-forest);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 850;
  font-size: .86rem;
  border: 1px solid rgba(41,92,69,.13);
}
.timeline { display: grid; gap: 18px; counter-reset: road; }
.timeline-item { position: relative; padding-left: 72px; }
.timeline-item::before {
  counter-increment: road;
  content: counter(road);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-slate), var(--brand-forest));
  color: white;
  border-radius: 17px;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(28,43,59,.18);
}
.callout {
  background:
    radial-gradient(circle at 88% 10%, rgba(224,150,31,.24), transparent 18rem),
    radial-gradient(circle at 8% 90%, rgba(69,120,153,.20), transparent 18rem),
    linear-gradient(135deg, var(--brand-slate), #172838 60%, #263d31);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 6vw, 58px);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.13) 0 1px, transparent 2px 24px);
  opacity: .35;
}
.callout > * { position: relative; z-index: 1; }
.callout h2 { color: white; }
.callout p { color: rgba(255,255,255,.78); max-width: 74ch; }
.callout .button.secondary { background: rgba(255,255,255,.10); color: white; border-color: rgba(255,255,255,.16); }
.callout .button.primary { background: var(--brand-amber); color: #182330; }
.kicker-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.stat {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 19px;
  padding: 18px;
}
.stat strong { display: block; font-size: 1.55rem; line-height: 1; color: #f6d18d; }
.stat span { color: rgba(255,255,255,.76); font-size: .92rem; }
.subtle { color: var(--ink-soft); }
.notice { font-size: .92rem; color: var(--muted); }
.code-box { background: #11221c; color: #f6ead0; padding: 16px; border-radius: 16px; overflow-x: auto; }

.site-footer {
  padding: 44px 0;
  background: var(--brand-slate);
  color: white;
  border-top: 2px solid rgba(224,150,31,.62);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 850; }
.footer-links a:hover { color: white; }
.site-footer .notice { color: rgba(255,255,255,.62); margin-top: 12px; }
.site-footer .brand { width: fit-content; }

@media (max-width: 920px) {
  .nav { min-height: 70px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    background: rgba(28, 43, 59, .98);
    border: 1px solid rgba(224,150,31,.24);
    border-radius: 20px;
    padding: 10px;
    box-shadow: var(--shadow-strong);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 14px; }
  .hero-grid, .grid.two, .grid.three, .footer-grid, .kicker-box { grid-template-columns: 1fr; }
  h1 { max-width: 14ch; }
  .visual-card { min-height: auto; border-radius: 28px; }
  .phone-shell { width: min(340px, 100%); min-height: 420px; }
  .map-screen { min-height: 380px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  h1 { font-size: clamp(2.55rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(1.85rem, 10vw, 2.7rem); }
  .hero { padding-top: 48px; }
  .button { width: 100%; }
  .timeline-item { padding-left: 0; padding-top: 62px; }
}

/* ============================================================
   Additions: hero map, ology explorer, prediction, model trainer
   ============================================================ */

/* Hero map card (real app terrain render) */
.hero-map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(224,150,31,.4);
  background: var(--brand-slate);
  min-height: 340px;
}
.hero-map-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-map-card .map-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(28,43,59,.86);
  color: #f6ead0;
  border: 1px solid rgba(224,150,31,.45);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .01em;
  backdrop-filter: blur(8px);
}

/* Ology explorer */
.ology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ology-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-slate);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease;
  outline: 3px solid transparent;
  outline-offset: 3px;
}
.ology-card img { display: block; width: 100%; aspect-ratio: 900 / 560; object-fit: cover; }
.ology-card .ology-name {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(247,241,231,.94);
  color: var(--brand-slate);
  font-weight: 900;
  letter-spacing: -.01em;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .95rem;
  box-shadow: 0 8px 22px rgba(28,43,59,.28);
}
.ology-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.ology-card:focus-visible { outline-color: var(--brand-amber); }
.ology-card[aria-expanded="true"] { outline-color: var(--brand-amber); }
.ology-card[aria-expanded="true"] .ology-name { background: var(--brand-amber); color: #182330; }
.ology-card .ology-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(247,241,231,.92);
  color: var(--brand-slate);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .2s ease;
}
.ology-card[aria-expanded="true"] .ology-hint { transform: rotate(45deg); background: var(--brand-amber); }

.ology-detail {
  display: none;
  margin-top: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.ology-detail.open { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.ology-detail img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; background: var(--brand-slate); }
.ology-detail .detail-copy { padding: clamp(22px, 3.4vw, 40px); }
.ology-detail h3 { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -.02em; }

/* Prediction / trainer feature band */
.figure-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-strong);
  background: var(--panel-strong);
}
.figure-frame img { display: block; width: 100%; }
.figure-frame figcaption {
  padding: 12px 18px;
  font-size: .88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.screenshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(224,150,31,.4);
  box-shadow: var(--shadow-strong);
  background: #10161d;
}
.screenshot-frame .window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: #1a2430;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.screenshot-frame .window-bar i {
  width: 11px; height: 11px; border-radius: 50%; display: inline-block;
}
.screenshot-frame .window-bar i:nth-child(1) { background: #d4362e; }
.screenshot-frame .window-bar i:nth-child(2) { background: #e0961f; }
.screenshot-frame .window-bar i:nth-child(3) { background: #739457; }
.screenshot-frame .window-bar span {
  margin-left: 8px;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  font-weight: 700;
}
.screenshot-frame img { display: block; width: 100%; }

.step-list { display: grid; gap: 14px; margin-top: 22px; }
.step-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}
.step-item .step-num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--brand-slate);
  color: #f6d18d;
  font-weight: 900;
  font-size: 1.05rem;
}
.step-item strong { display: block; color: var(--ink); }
.step-item span { color: var(--ink-soft); font-size: .95rem; }

/* Trainer request form (Netlify) */
.request-form { display: grid; gap: 14px; margin-top: 8px; }
.request-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.request-form label { display: grid; gap: 6px; font-weight: 800; color: var(--ink); font-size: .93rem; }
.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--panel-strong);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 14px;
}
.request-form input:focus-visible,
.request-form select:focus-visible,
.request-form textarea:focus-visible {
  outline: 3px solid rgba(224,150,31,.55);
  outline-offset: 1px;
  border-color: var(--brand-amber);
}
.request-form textarea { min-height: 110px; resize: vertical; }
.request-form .form-note { color: var(--muted); font-size: .86rem; margin: 0; }
.request-form button { justify-self: start; cursor: pointer; border: 0; }

/* Downloads */
.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 18px 20px;
}
.download-row .dl-meta strong { display: block; font-size: 1.05rem; }
.download-row .dl-meta span { color: var(--muted); font-size: .9rem; }
.badge-soon {
  display: inline-block;
  background: rgba(224,150,31,.16);
  color: #8a5c10;
  border: 1px solid rgba(224,150,31,.5);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }

@media (max-width: 920px) {
  .ology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ology-detail.open { grid-template-columns: 1fr; }
  .ology-detail img { min-height: 210px; }
  .request-form .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ology-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ology-card, .button, .card { transition: none; }
}

/* App screenshot phone frames */
.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 30px);
  margin-top: 30px;
  align-items: start;
}
.phone-gallery.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phone-shot { text-align: center; }
.phone-shot .phone-bezel {
  position: relative;
  border-radius: clamp(26px, 3.4vw, 40px);
  padding: 9px;
  background: linear-gradient(160deg, #2a3a4a, #141f2b);
  border: 1px solid rgba(224,150,31,.32);
  box-shadow: var(--shadow-strong);
}
.phone-shot .phone-bezel img {
  display: block;
  width: 100%;
  border-radius: clamp(19px, 2.6vw, 32px);
}
.phone-shot figcaption {
  margin-top: 12px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.phone-shot figcaption strong { display: block; color: var(--ink); font-size: .95rem; }

@media (max-width: 920px) {
  .phone-gallery, .phone-gallery.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .phone-gallery, .phone-gallery.four { grid-template-columns: 1fr; }
  .phone-shot .phone-bezel { max-width: 320px; margin: 0 auto; }
}
