/* ============================================================================
   SurvivalKnife — "The Signal Threshold" · Fresh home direction
   Radical-but-on-brand: midnight navy + single Columbia-Blue accent, sage on
   emblem/trust dots only, Inter + Orbitron (wordmark only). Tokens from
   ../../colors_and_type.css. All classes namespaced  fx-  to avoid collisions.
   ============================================================================ */

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

html { scroll-behavior: smooth; }
.fx {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--midnight);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
.fx a { color: var(--primary-blue); text-decoration: none; }
.fx a:hover { color: var(--primary-blue-hi); }
.fx ::selection { background: var(--primary-blue); color: var(--midnight); }
.fx img { display: block; }

/* ---- fixed atmosphere: layered radial glows that slowly breathe -------- */
.fx::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 1200px 680px at 82% -12%, rgba(112,176,232,0.20), transparent 60%),
    radial-gradient(ellipse 900px 560px at -8% 108%, rgba(19,41,82,0.6), transparent 60%);
}
.fx[data-motion="full"]::before { animation: fxBreathe 14s ease-in-out infinite; }
@keyframes fxBreathe {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
/* atmosphere intensity tweak */
.fx[data-atmos="calm"]::before   { opacity: 0.55; }
.fx[data-atmos="bold"]::before   { filter: saturate(1.15) brightness(1.12); }

.fx-wrap { position: relative; z-index: 1; }
.fx-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; }
.fx-container.wide { max-width: 1280px; }

/* ---- shared section frame --------------------------------------------- */
.fx-section { padding: clamp(80px, 11vh, 132px) 0; position: relative; }

.fx-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 12px var(--font-body); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary-blue); margin-bottom: 22px;
}
.fx-eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--primary-blue); opacity: 0.8; }
.fx-eyebrow.no-rule::before { display: none; }

.fx-title {
  font: 800 clamp(30px, 4.4vw, 52px)/1.06 var(--font-body);
  letter-spacing: -0.025em; color: var(--ink); max-width: 16ch; text-wrap: balance;
}
.fx-title .accent { color: var(--primary-blue); }
.fx-lede { font: 400 clamp(16px, 1.7vw, 19px)/1.62 var(--font-body); color: var(--ink-2); max-width: 56ch; margin-top: 22px; text-wrap: pretty; }

/* ---- scroll reveal — content is ALWAYS visible at rest; the entrance is
   played via the Web Animations API (fill:none) so it can never leave content
   stuck hidden (CSS transition-from-opacity:0 doesn't resolve in every host). -- */
.fx-rev { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fx *, .fx *::before, .fx *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===================== HEADER ===================== */
.fx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.fx-header.scrolled {
  background: rgba(3,11,27,0.7);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--border-soft);
}
.fx-header-inner { display: flex; align-items: center; justify-content: space-between; height: 112px; }
.fx-brand { display: flex; align-items: center; gap: 12px; }
.fx-brand img { height: 72px; width: auto; display: block; }
.fx-brand .wm { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.fx-brand .wm span { color: var(--primary-blue); }
.fx-nav { display: flex; align-items: center; gap: 32px; }
.fx-nav-links { display: flex; align-items: center; gap: 30px; }
.fx-nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color var(--dur) var(--ease); }
.fx-nav a:hover { color: var(--ink); }
.fx-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--primary-blue); border-radius: 2px; transition: width var(--dur) var(--ease); }
.fx-nav a:hover::after { width: 100%; }
.fx-nav-links a.active { color: var(--ink); }
.fx-nav-links a.active::after { width: 100%; }
.fx-menu-toggle,
.fx-mobile-menu { display: none; }
@media (max-width: 820px) {
  .fx-header-inner { height: 92px; }
  .fx-brand { min-width: 0; }
  .fx-brand img { width: min(100%, 300px); height: auto; max-height: 58px; }
  .fx-nav-links,
  .fx-nav > .fx-btn { display: none; }
  .fx-nav { display: none; }
  .fx-menu-toggle {
    display: inline-flex; width: 44px; height: 44px; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    border: 1px solid var(--border-strong); border-radius: 50%;
    background: rgba(3,11,27,0.5); color: var(--ink); cursor: pointer;
  }
  .fx-menu-toggle span {
    display: block; width: 18px; height: 1.5px; border-radius: 2px;
    background: currentColor; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  }
  .fx-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .fx-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .fx-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .fx-mobile-menu {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    position: absolute; top: 100%; left: 20px; right: 20px;
    padding: 10px; border: 1px solid var(--border-strong);
    border-radius: var(--radius); background: rgba(3,11,27,0.96);
    box-shadow: 0 24px 60px -24px rgba(0,0,0,0.9);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  }
  .fx-mobile-menu[hidden] { display: none; }
  .fx-mobile-menu a {
    padding: 13px 14px; border-radius: var(--radius-sm);
    color: var(--ink-2); font-size: 15px; font-weight: 600;
  }
  .fx-mobile-menu a:hover,
  .fx-mobile-menu a.active { color: var(--ink); background: rgba(112,176,232,0.12); }
}

/* ===================== BUTTONS ===================== */
.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; font: 600 15px var(--font-body); border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.fx-btn.sm { padding: 11px 20px; font-size: 14px; }
.fx .fx-btn-primary { background: var(--primary-blue); color: var(--midnight); box-shadow: var(--shadow-cta); }
.fx .fx-btn-primary:hover { background: var(--primary-blue-hi); color: var(--midnight); transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(112,176,232,0.7), inset 0 1px 0 rgba(255,255,255,0.18); }
.fx .fx-btn-ghost { background: rgba(3,11,27,0.4); color: var(--ink); border-color: var(--border-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fx .fx-btn-ghost:hover { border-color: var(--primary-blue); background: rgba(112,176,232,0.14); color: var(--ink); transform: translateY(-2px); }
.fx-btn .arr { transition: transform var(--dur) var(--ease); }
.fx-btn:hover .arr { transform: translateX(3px); }

/* ===================== HERO ===================== */
.fx-hero { position: relative; min-height: clamp(760px, 100vh, 1040px); display: flex; align-items: stretch; overflow: visible; isolation: isolate; z-index: 3; background: var(--midnight); }
.fx-hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fx-hero-photo img { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; object-position: center 40%; will-change: transform; filter: brightness(var(--grade-b, 0.62)) saturate(1.06) contrast(1.03); }
.fx-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,11,27,0.55) 0%, rgba(3,11,27,0.28) 38%, rgba(3,11,27,0.9) 100%),
    linear-gradient(90deg, rgba(3,11,27,0.85) 0%, rgba(3,11,27,0.3) 46%, rgba(3,11,27,0.05) 100%);
}
/* faint signal arcs — echoes the emblem's radio motif */
.fx-hero-arcs { position: absolute; z-index: 2; top: 14%; right: 6%; width: min(46vw, 560px); aspect-ratio: 1; pointer-events: none; opacity: 0.5; }
.fx-hero-arcs svg { width: 100%; height: 100%; overflow: visible; }
.fx-hero-arcs circle { fill: none; stroke: var(--primary-blue); stroke-width: 1; opacity: 0; transform-origin: center; }
.fx[data-motion="full"] .fx-hero-arcs circle,
.fx[data-motion="calm"] .fx-hero-arcs circle,
.fx[data-motion="signal"] .fx-hero-arcs circle { animation: fxArc 6s ease-out infinite; }
.fx-hero-arcs circle:nth-child(1) { animation-delay: 0s; }
.fx-hero-arcs circle:nth-child(2) { animation-delay: 1.2s; }
.fx-hero-arcs circle:nth-child(3) { animation-delay: 2.4s; }
.fx-hero-arcs circle:nth-child(4) { animation-delay: 3.6s; }
@keyframes fxArc {
  0%   { opacity: 0; transform: scale(0.55); }
  18%  { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.25); }
}
.fx[data-motion="off"] .fx-hero-arcs { opacity: 0.3; }
.fx[data-motion="off"] .fx-hero-arcs circle { opacity: 0.18; }

.fx-hero-inner { position: relative; z-index: 3; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 132px 0 64px; }
.fx-hero-rail { position: absolute; left: 28px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; z-index: 3; display: flex; align-items: center; gap: 18px; }
.fx-hero-rail .tick { font: 700 11px var(--font-body); letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-3); }
.fx-hero-rail .bar { width: 1px; height: 80px; background: linear-gradient(var(--primary-blue), transparent); }
@media (max-width: 1180px) { .fx-hero-rail { display: none; } }
@media (min-width: 1181px) { .fx-hero-inner { padding-left: 54px; } }

.fx-hero-chip {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 9px 16px 9px 13px; margin-bottom: 30px;
  background: rgba(3,11,27,0.5); border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  font: 700 11px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fx-hero-chip .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(110,190,110,0.22); }
.fx[data-motion="full"] .fx-hero-chip .pip,
.fx[data-motion="calm"] .fx-hero-chip .pip { animation: fxPulse 2.6s ease-in-out infinite; }
@keyframes fxPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(110,190,110,0.22);} 50% { box-shadow: 0 0 0 7px rgba(110,190,110,0.04);} }

.fx-hero-eyebrow { display: inline-block; align-self: flex-start; font: 700 12px var(--font-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--primary-blue); margin-bottom: 24px; text-shadow: 0 2px 16px rgba(3,11,27,0.7); }
.fx[data-hero="centered"] .fx-hero-eyebrow { align-self: center; }

.fx-hero h1 {
  font: 800 clamp(44px, 8.2vw, 104px)/0.98 var(--font-body); letter-spacing: -0.035em;
  color: var(--ink); max-width: 14ch; text-shadow: 0 2px 40px rgba(3,11,27,0.55); text-wrap: balance;
}
.fx-hero h1 .accent { color: var(--primary-blue); }
.fx-hero h1 .line { display: block; }
.fx-hero-lede { font: 400 clamp(17px, 1.7vw, 20px)/1.6 var(--font-body); color: var(--ink); max-width: 50ch; margin: 28px 0 36px; text-shadow: 0 2px 18px rgba(3,11,27,0.6); }
.fx-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }

/* centered hero variant (tweak) */
.fx[data-hero="centered"] .fx-hero-inner { justify-content: center; align-items: center; text-align: center; padding: 132px 0; }
.fx[data-hero="centered"] .fx-hero::after { background: linear-gradient(180deg, rgba(3,11,27,0.62) 0%, rgba(3,11,27,0.36) 42%, rgba(3,11,27,0.94) 100%); }
.fx[data-hero="centered"] .fx-hero-chip,
.fx[data-hero="centered"] .fx-hero-mark { align-self: center; }
.fx[data-hero="centered"] .fx-hero h1 { max-width: 16ch; }
.fx[data-hero="centered"] .fx-hero-lede { margin-left: auto; margin-right: auto; }
.fx[data-hero="centered"] .fx-hero-cta { justify-content: center; }
.fx[data-hero="centered"] .fx-hero-arcs { right: 50%; top: 30%; transform: translateX(50%); }

.fx-scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 9px; font: 700 10px var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.fx-scroll-hint .ln { width: 1px; height: 34px; background: linear-gradient(var(--primary-blue), transparent); }
.fx[data-motion="full"] .fx-scroll-hint .ln,
.fx[data-motion="calm"] .fx-scroll-hint .ln { animation: fxScroll 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes fxScroll { 0%,100% { opacity: 0.3; transform: scaleY(0.5);} 50% { opacity: 1; transform: scaleY(1);} }

/* ===================== SIGNAL DIVIDER ===================== */
.fx-threshold { position: relative; height: 0; }
.fx-threshold .scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary-blue), transparent); opacity: 0.5; }

/* ===================== LIGHT PANEL (is / isn't) ===================== */
.fx-light { position: relative; z-index: 2; }
.fx[data-lightpanel="off"] .fx-light-panel { background: linear-gradient(180deg, rgba(19,41,82,0.55), rgba(9,27,60,0.55)); border-color: var(--border); }
.fx[data-lightpanel="off"] .fx-light-panel,
.fx[data-lightpanel="off"] .fx-light-panel .k,
.fx[data-lightpanel="off"] .fx-light-panel p { color: var(--ink); }
.fx[data-lightpanel="off"] .fx-light-panel p { color: var(--ink-2); }
.fx[data-lightpanel="off"] .fx-light-head .fx-title,
.fx[data-lightpanel="off"] .fx-light .fx-lede { color: inherit; }

.fx-light-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, #FFFFFF 0%, var(--panel-blue-grey) 100%);
  border: 1px solid var(--line-blue-grey); border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
}
.fx-light-panel::before { content: ""; position: absolute; top: -30%; right: -8%; width: 46%; height: 160%; background: radial-gradient(closest-side, rgba(112,176,232,0.16), transparent 70%); pointer-events: none; }
.fx-light-head { max-width: 760px; margin-bottom: 38px; position: relative; }
.fx-light-head .fx-eyebrow { color: #2E6FB0; }
.fx-light-head .fx-eyebrow::before { background: #2E6FB0; }
.fx-light-head .fx-title { color: var(--ink-dark); }
.fx-light-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-blue-grey); border-radius: var(--radius); overflow: hidden; position: relative; }
.fx-isnt { background: #FFFFFF; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.fx-isnt .k { display: inline-flex; align-items: center; gap: 9px; font: 700 12px var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; }
.fx-isnt .k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.fx-isnt.is  .k { color: #2E6FB0; } .fx-isnt.is .k::before { background: var(--primary-blue); box-shadow: 0 0 0 3px rgba(112,176,232,0.18); }
.fx-isnt.no  .k { color: var(--ink-dark-3); } .fx-isnt.no .k::before { background: var(--ink-dark-3); }
.fx-isnt.use .k { color: #5E7A4A; } .fx-isnt.use .k::before { background: var(--emblem-sage); box-shadow: 0 0 0 3px rgba(142,168,119,0.2); }
.fx-isnt p { font-size: 15.5px; line-height: 1.6; color: var(--ink-dark-2); }
.fx-isnt p strong { color: var(--ink-dark); font-weight: 700; }
@media (max-width: 820px) { .fx-light-grid { grid-template-columns: 1fr; } }

/* ===================== PILLARS (staggered editorial) ===================== */
.fx-pillars-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.fx-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fx-pillar {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(168deg, rgba(26,50,102,0.5), rgba(9,27,60,0.55));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 38px 34px 34px; min-height: 260px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.fx-pillar:nth-child(even) { transform: translateY(34px); }
.fx-pillar:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-card); background: linear-gradient(168deg, rgba(30,58,114,0.62), rgba(11,31,68,0.6)); }
.fx-pillar:nth-child(even):hover { transform: translateY(30px); }
.fx-pillar-ghost { position: absolute; top: -18px; right: 10px; font: 900 clamp(96px, 11vw, 150px)/1 var(--font-body); letter-spacing: -0.04em; color: rgba(112,176,232,0.07); pointer-events: none; user-select: none; transition: color var(--dur) var(--ease); }
.fx-pillar:hover .fx-pillar-ghost { color: rgba(112,176,232,0.13); }
.fx-pillar-tag { font: 700 11px var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--primary-blue); margin-bottom: auto; }
.fx-pillar h3 { font: 700 clamp(21px, 2.2vw, 26px)/1.12 var(--font-body); letter-spacing: -0.018em; color: var(--ink); margin: 26px 0 12px; position: relative; }
.fx-pillar p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); position: relative; max-width: 42ch; }
.fx-pillar-more { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px var(--font-body); color: var(--primary-blue); opacity: 0; transform: translateX(-6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.fx-pillar:hover .fx-pillar-more { opacity: 1; transform: none; }
@media (max-width: 880px) {
  .fx-pillars { grid-template-columns: 1fr; }
  .fx-pillar, .fx-pillar:nth-child(even) { transform: none; }
  .fx-pillar:hover, .fx-pillar:nth-child(even):hover { transform: translateY(-4px); }
}

/* ===================== OFFLINE DEMO (atmosphere-reactive) ===================== */
.fx-demo { position: relative; overflow: hidden; }
.fx-demo-atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: opacity var(--dur-slow) var(--ease); }
.fx-demo-atmos.online  { background: radial-gradient(ellipse 900px 520px at 72% 40%, rgba(112,176,232,0.18), transparent 64%); opacity: 1; }
.fx-demo-atmos.offline { background: radial-gradient(ellipse 900px 520px at 72% 40%, rgba(112,176,232,0.05), transparent 64%); opacity: 1; }
.fx-demo .fx-container { position: relative; z-index: 2; }
.fx-demo-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }

.fx-toggle { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; user-select: none; margin-top: 32px; padding: 10px 16px 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: rgba(3,11,27,0.35); transition: border-color var(--dur) var(--ease); }
.fx-toggle:hover { border-color: var(--border-strong); }
.fx-toggle .track { width: 54px; height: 30px; border-radius: 100px; background: var(--navy-elevated); border: 1px solid var(--border-strong); position: relative; transition: background var(--dur) var(--ease); flex-shrink: 0; }
.fx-toggle .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-blue); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.fx-toggle.off .track { background: rgba(241,244,249,0.07); }
.fx-toggle.off .knob { transform: translateX(24px); background: var(--ink-faint); }
.fx-toggle .lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); min-width: 200px; }

/* device */
.fx-device { position: relative; justify-self: center; width: 100%; max-width: 392px; background: linear-gradient(180deg, var(--navy-soft), var(--navy)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 90px -36px rgba(0,0,0,0.78); }
.fx-device-scan { position: absolute; left: 0; right: 0; top: 0; height: 140%; z-index: 5; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(112,176,232,0.22), transparent); }
.fx-device.sweep .fx-device-scan { animation: fxSweep 720ms var(--ease); }
.fx[data-motion="off"] .fx-device.sweep .fx-device-scan { animation: none; }
@keyframes fxSweep { 0% { opacity: 0; transform: translateY(-100%); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(100%); } }
.fx-device-bar { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--border-soft); font-size: 12px; }
.fx-device-bar .time { color: var(--ink-3); font-weight: 600; }
.fx-sig { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; transition: color var(--dur) var(--ease); }
.fx-sig .sd { width: 8px; height: 8px; border-radius: 50%; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fx-device-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.fx-device-label { display: flex; align-items: center; justify-content: space-between; font: 700 10.5px var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 2px; }
.fx-device-label .sync { color: var(--primary-blue); transition: opacity var(--dur) var(--ease); }
.fx-device.off .fx-device-label .sync { opacity: 0; }
.fx-drow { display: flex; align-items: center; gap: 13px; padding: 13px 14px; background: rgba(112,176,232,0.06); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.fx-drow .ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(112,176,232,0.16); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.fx-drow .ic svg { width: 18px; height: 18px; stroke: var(--primary-blue); fill: none; stroke-width: 2; }
.fx-drow .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.fx-drow .t { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fx-drow .sub { font-size: 11.5px; color: var(--ink-3); }
.fx-drow .ready { flex-shrink: 0; font: 700 10px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--emblem-sage); display: inline-flex; align-items: center; gap: 6px; }
.fx-drow .ready::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emblem-sage); }
.fx-device-foot { display: flex; align-items: center; gap: 9px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border-soft); font-size: 12px; color: var(--ink-3); }
.fx-device-foot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emblem-sage); flex-shrink: 0; }
@media (max-width: 900px) { .fx-demo-wrap { grid-template-columns: 1fr; gap: 40px; } .fx-toggle .lbl { min-width: 0; } }

/* ===================== PHOTO BAND (parallax + glass quote) ===================== */
.fx-band { position: relative; height: clamp(420px, 56vw, 600px); overflow: hidden; isolation: isolate; }
.fx-band-photo { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.fx-band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: brightness(var(--grade-band, 0.74)); }
.fx-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3,11,27,0.78), rgba(3,11,27,0.32) 32%, rgba(3,11,27,0.42) 68%, rgba(3,11,27,0.9)); }
.fx-band .fx-container { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.fx-band-card {
  max-width: 620px; padding: 38px 40px;
  background: rgba(3,11,27,0.34); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1);
}
.fx-band-quote { font: 700 clamp(24px, 3.1vw, 38px)/1.22 var(--font-body); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.fx-band-quote .accent { color: var(--primary-blue); }
.fx-band-meta { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; font: 700 11px var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-2); }
.fx-band-meta::before { content: ""; width: 26px; height: 1.5px; background: var(--primary-blue); }

/* ===================== TRUST ===================== */
.fx-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.fx-trust { padding: 32px 28px; background: linear-gradient(168deg, rgba(19,41,82,0.5), rgba(9,27,60,0.5)); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.fx-trust:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.fx-trust h3 { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.fx-trust h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emblem-sage); box-shadow: 0 0 0 3px rgba(142,168,119,0.2); flex-shrink: 0; }
.fx[data-motion="full"] .fx-trust h3 .dot { animation: fxSage 2.8s ease-in-out infinite; }
@keyframes fxSage { 0%,100% { box-shadow: 0 0 0 3px rgba(142,168,119,0.2);} 50% { box-shadow: 0 0 0 6px rgba(142,168,119,0.05);} }
.fx-trust p { font-size: 14.5px; color: var(--ink-2); line-height: 1.62; }
@media (max-width: 880px) { .fx-trust-grid { grid-template-columns: 1fr; } }

/* ===================== WAITLIST ===================== */
.fx-waitlist { position: relative; }
.fx-cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 6vw, 76px) 36px;
  background: radial-gradient(ellipse 820px 420px at 50% -10%, rgba(112,176,232,0.3), transparent 68%), linear-gradient(180deg, rgba(26,50,102,0.85), rgba(9,27,60,0.95));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
}
.fx-cta-card .fx-eyebrow { justify-content: center; }
.fx-cta-card h2 { font: 800 clamp(28px, 4vw, 46px)/1.08 var(--font-body); letter-spacing: -0.025em; color: var(--ink); max-width: 18ch; margin: 0 auto 16px; text-wrap: balance; }
.fx-cta-card p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 32px; font-size: 16px; line-height: 1.6; }
.fx-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.fx-form input { flex: 1; padding: 15px 18px; background: rgba(3,11,27,0.5); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--ink); font: 400 15px var(--font-body); }
.fx-form input::placeholder { color: var(--ink-3); }
.fx-form input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(112,176,232,0.18); }
.fx-success { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 600; color: var(--emblem-sage); }
.fx-success[hidden] { display: none; }
.fx-success .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emblem-sage); box-shadow: 0 0 0 3px rgba(142,168,119,0.2); }
.fx-cta-foot { margin-top: 22px; font: 700 11px var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 520px) { .fx-form { flex-direction: column; } .fx-form input, .fx-form .fx-btn { width: 100%; } }

/* ===================== FOOTER ===================== */
.fx-footer { padding: 64px 0 44px; border-top: 1px solid var(--border-soft); margin-top: 80px; color: var(--ink-3); font-size: 13px; position: relative; z-index: 2; }
.fx-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.fx-footer-brand { display: flex; align-items: center; gap: 12px; }
.fx-footer-brand img { height: 64px; width: auto; }
.fx-footer-brand .wm { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.fx-footer-brand .wm span { color: var(--primary-blue); }
.fx-footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.fx-footer-links a { color: var(--ink-2); }
.fx-footer-links a:hover { color: var(--primary-blue); }
.fx-disclaimer { font-size: 12.5px; line-height: 1.62; color: var(--ink-3); max-width: 820px; padding: 20px 0; border-top: 1px solid var(--border-soft); }
.fx-footer-meta { display: flex; flex-wrap: wrap; gap: 9px; color: var(--ink-3); }
.fx-footer-meta .sep { opacity: 0.5; }

/* ============================================================================
   INTERIOR PAGES
   ============================================================================ */

/* ===================== SUB-HERO ===================== */
.fx-subhero { position: relative; padding: 168px 0 76px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border-soft); }
.fx-subhero.has-photo { padding: 196px 0 104px; }
.fx-subhero-photo { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.fx-subhero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: brightness(var(--grade-b, 0.5)) saturate(1.05); }
.fx-subhero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3,11,27,0.6) 0%, rgba(3,11,27,0.4) 46%, rgba(3,11,27,0.95) 100%), linear-gradient(90deg, rgba(3,11,27,0.7) 0%, rgba(3,11,27,0.15) 60%); }
.fx-subhero .fx-hero-arcs { top: 8%; }
.fx-subhero .fx-container { position: relative; z-index: 3; }
.fx-subhero-inner { max-width: 880px; }
.fx-subhero-title { font: 800 clamp(34px, 5.4vw, 68px)/1.02 var(--font-body); letter-spacing: -0.03em; color: var(--ink); margin-top: 8px; text-wrap: balance; text-shadow: 0 2px 30px rgba(3,11,27,0.5); }
.fx-subhero-title .accent { color: var(--primary-blue); }
.fx-subhero-lede { font: 400 clamp(16px, 1.7vw, 20px)/1.6 var(--font-body); color: var(--ink-2); max-width: 60ch; margin-top: 22px; text-wrap: pretty; }

/* ===================== DETAIL ROWS (how it works) ===================== */
.fx-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; padding: clamp(64px, 8vh, 104px) 0; border-bottom: 1px solid var(--border-soft); position: relative; }
.fx-detail:nth-child(even) .fx-detail-media { order: -1; }
.fx-detail-num { display: inline-flex; align-items: center; gap: 12px; font: 700 12px var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--primary-blue); margin-bottom: 18px; }
.fx-detail-num::before { content: ""; width: 28px; height: 1.5px; background: var(--primary-blue); }
.fx-detail h2 { font: 800 clamp(26px, 3vw, 38px)/1.1 var(--font-body); letter-spacing: -0.025em; color: var(--ink); margin-bottom: 16px; text-wrap: balance; }
.fx-detail > .fx-detail-text > p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 22px; max-width: 52ch; }
.fx-detail-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fx-detail-list li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.fx-detail-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 1.5px; background: var(--primary-blue); border-radius: 1px; }
.fx-detail-list li strong { color: var(--ink); font-weight: 600; }
.fx-detail-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border-strong); box-shadow: 0 30px 70px -36px rgba(0,0,0,0.7); }
.fx-detail-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--grade-band, 0.82)); transition: transform 600ms var(--ease); }
.fx-detail-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(3,11,27,0.55)); }
.fx-detail:hover .fx-detail-media img { transform: scale(1.04); }
@media (max-width: 880px) {
  .fx-detail { grid-template-columns: 1fr; gap: 28px; }
  .fx-detail:nth-child(even) .fx-detail-media { order: 0; }
  .fx-detail-media { aspect-ratio: 16/9; }
}

/* ===================== FEATURE GRID ===================== */
.fx-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fx-feat { position: relative; overflow: hidden; background: linear-gradient(168deg, rgba(26,50,102,0.5), rgba(9,27,60,0.55)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px 32px; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.fx-feat:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-card); background: linear-gradient(168deg, rgba(30,58,114,0.6), rgba(11,31,68,0.6)); }
.fx-feat-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(112,176,232,0.14); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background var(--dur) var(--ease); }
.fx-feat:hover .fx-feat-ic { background: rgba(112,176,232,0.22); }
.fx-feat-ic svg { width: 22px; height: 22px; stroke: var(--primary-blue); fill: none; stroke-width: 2; }
.fx-feat h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 9px; letter-spacing: -0.012em; }
.fx-feat p { font-size: 14.5px; color: var(--ink-2); line-height: 1.58; }
@media (max-width: 880px) { .fx-feat-grid { grid-template-columns: 1fr; } }

/* premium panel */
.fx-premium { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(9,27,60,0.95), rgba(26,50,102,0.85)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 56px); margin-top: 24px; }
.fx-premium::after { content: ""; position: absolute; top: -40%; right: -8%; width: 56%; height: 180%; background: radial-gradient(closest-side, rgba(112,176,232,0.22), transparent 70%); pointer-events: none; }
.fx-premium-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; }
.fx-premium-head h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; max-width: 540px; text-wrap: balance; }
.fx-premium-head .label { font: 700 11px var(--font-body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--primary-blue); white-space: nowrap; }
.fx-premium-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; margin-top: 30px; position: relative; }
.fx-premium-list li { font-size: 15px; color: var(--ink-2); line-height: 1.5; padding-left: 26px; position: relative; }
.fx-premium-list li::before { content: ""; position: absolute; left: 0; top: 0.56em; width: 15px; height: 1.5px; background: var(--primary-blue); border-radius: 1px; }
.fx-premium-list li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) { .fx-premium-list { grid-template-columns: 1fr; } }

/* ===================== iPHONE MOCKUP + SHOWCASE ===================== */
.fx-phone { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.fx-phone::before { content: ""; position: absolute; inset: -14% -18%; z-index: 0; background: radial-gradient(closest-side, rgba(112,176,232,0.22), transparent 72%); pointer-events: none; }
.fx-phone-frame {
  position: relative; z-index: 1; border-radius: 46px; padding: 9px;
  background: linear-gradient(155deg, #222d44 0%, #0a0f1c 60%);
  box-shadow: 0 44px 86px -34px rgba(0,0,0,0.82), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1.5px 0 rgba(255,255,255,0.1);
}
.fx[data-motion="full"] .fx-phone-frame { animation: fxPhoneFloat 8s ease-in-out infinite; }
@keyframes fxPhoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fx-phone-frame img { display: block; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 38px; }
.fx-phone-cap { margin-top: 18px; text-align: center; font: 600 13px var(--font-body); color: var(--ink-3); letter-spacing: 0.01em; }

.fx-showcase { display: grid; grid-template-columns: 0.86fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.fx-showcase.reverse .fx-showcase-media { order: 2; }
.fx-showcase-media { position: relative; }
.fx-showcase-body .fx-eyebrow { margin-bottom: 18px; }
.fx-showcase-title { font: 800 clamp(24px, 3vw, 34px)/1.1 var(--font-body); letter-spacing: -0.022em; color: var(--ink); margin-bottom: 26px; text-wrap: balance; }
@media (max-width: 920px) {
  .fx-showcase { grid-template-columns: 1fr; gap: 40px; }
  .fx-showcase.reverse .fx-showcase-media, .fx-showcase-media { order: 0; }
  .fx-phone { max-width: 264px; }
}

/* feature list (beside a phone) */
.fx-flist { display: flex; flex-direction: column; }
.fx-flrow { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-soft); align-items: start; }
.fx-flrow:first-child { padding-top: 0; }
.fx-flrow:last-child { border-bottom: none; padding-bottom: 0; }
.fx-flrow-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(112,176,232,0.13); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.fx-flrow-ic svg { width: 20px; height: 20px; stroke: var(--primary-blue); fill: none; stroke-width: 2; }
.fx-flrow-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.fx-flrow-head h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.012em; }
.fx-flrow p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.fx-flrow-note { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }

/* ===================== "LOOK INSIDE" GALLERY ===================== */
.fx-gallery-rail { display: flex; gap: clamp(20px, 3vw, 34px); overflow-x: auto; overflow-y: hidden; padding: 14px 4px 44px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.fx-gallery-rail::-webkit-scrollbar { display: none; }
.fx-gallery-item { flex: 0 0 auto; width: 208px; scroll-snap-align: center; }
/* center the set when it fits the container; falls back to start-aligned scrolling on overflow */
.fx-gallery-item:first-child { margin-left: auto; }
.fx-gallery-item:last-child { margin-right: auto; }
.fx-gallery-item:nth-child(even) { transform: translateY(20px); }
@media (max-width: 600px) { .fx-gallery-item { width: 176px; } .fx-gallery-item:nth-child(even) { transform: none; } }

/* ===================== ABOUT (prose + values) ===================== */
.fx-prose { max-width: var(--container-narrow); }
.fx-prose p { font-size: 17.5px; line-height: 1.72; color: var(--ink-2); margin-bottom: 22px; text-wrap: pretty; }
.fx-prose p strong { color: var(--ink); font-weight: 600; }
.fx-prose h2 { font: 800 clamp(23px, 2.8vw, 32px) var(--font-body); letter-spacing: -0.025em; color: var(--ink); margin: 36px 0 16px; }
.fx-prose .lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.fx-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.fx-value { padding: 30px 28px; background: linear-gradient(168deg, rgba(19,41,82,0.5), rgba(9,27,60,0.5)); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.fx-value:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.fx-value h3 { display: flex; align-items: center; gap: 11px; font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 11px; }
.fx-value h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emblem-sage); box-shadow: 0 0 0 3px rgba(142,168,119,0.2); flex-shrink: 0; }
.fx[data-motion="full"] .fx-value h3 .dot { animation: fxSage 2.8s ease-in-out infinite; }
.fx-value p { font-size: 14.5px; color: var(--ink-2); line-height: 1.62; }
@media (max-width: 880px) { .fx-values { grid-template-columns: 1fr; } }

/* ===================== FAQ ===================== */
.fx-faq-list { max-width: 860px; border-top: 1px solid var(--border-soft); }
.fx-faq-item { border-bottom: 1px solid var(--border-soft); }
.fx-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 6px; background: none; border: none; cursor: pointer; text-align: left; font: 700 clamp(17px, 2vw, 21px) var(--font-body); letter-spacing: -0.015em; color: var(--ink); transition: color var(--dur) var(--ease); }
.fx-faq-q:hover { color: var(--primary-blue); }
.fx-faq-item.open .fx-faq-q { color: var(--primary-blue); }
.fx-faq-icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.fx-faq-icon::before, .fx-faq-icon::after { content: ""; position: absolute; background: var(--primary-blue); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.fx-faq-icon::before { top: 11px; left: 2px; right: 2px; height: 2px; }
.fx-faq-icon::after { left: 11px; top: 2px; bottom: 2px; width: 2px; }
.fx-faq-item.open .fx-faq-icon::after { transform: scaleY(0); opacity: 0; }
.fx-faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease); }
.fx-faq-item.open .fx-faq-a { max-height: 820px; }
.fx-faq-a-inner { padding: 0 6px 28px; font-size: 16.5px; line-height: 1.68; color: var(--ink-2); max-width: 70ch; }
.fx-faq-a-inner strong { color: var(--ink); font-weight: 600; }

/* ===================== CTA STRIP ===================== */
.fx-cta-strip { text-align: center; position: relative; }
.fx-cta-strip::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 760px 360px at 50% 30%, rgba(112,176,232,0.12), transparent 70%); pointer-events: none; }
.fx-cta-strip .fx-container { position: relative; z-index: 1; }
.fx-cta-strip h2 { font: 800 clamp(26px, 3.4vw, 42px)/1.08 var(--font-body); letter-spacing: -0.025em; color: var(--ink); max-width: 18ch; margin: 0 auto 16px; text-wrap: balance; }
.fx-cta-strip p { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 52ch; margin: 0 auto 30px; }

/* ============================================================================
   PRICING — license tiers + comparison
   ============================================================================ */
.fx-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.fx-tier {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(168deg, rgba(19,41,82,0.5), rgba(9,27,60,0.55));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px 32px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fx-tier:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.fx-tier.feat {
  border-color: var(--primary-blue);
  background: radial-gradient(ellipse 600px 300px at 50% -10%, rgba(112,176,232,0.22), transparent 68%), linear-gradient(168deg, rgba(26,50,102,0.7), rgba(9,27,60,0.7));
  box-shadow: 0 24px 60px -28px rgba(112,176,232,0.5);
}
.fx-tier-badge { position: absolute; top: 18px; right: 18px; white-space: nowrap; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--primary-blue); color: var(--midnight); font: 700 10px var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.fx-tier-name { font: 800 22px var(--font-body); letter-spacing: -0.01em; color: var(--ink); }
.fx-tier-tag { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-top: 8px; min-height: 42px; }
.fx-tier-price { margin: 22px 0; padding-bottom: 22px; border-bottom: 1px solid var(--border-soft); }
.fx-tier-price .amt { font: 800 26px var(--font-body); color: var(--ink); letter-spacing: -0.01em; }
.fx-tier-price .sub { display: block; margin-top: 4px; font: 700 11px var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary-blue); }
.fx-tier-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.fx-tier-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.fx-tier-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--primary-blue); border-bottom: 2px solid var(--primary-blue); transform: rotate(-45deg); }
.fx-tier-list li.muted { color: var(--ink-3); } .fx-tier-list li.muted::before { border-color: var(--ink-faint); }
.fx-tier-list li strong { color: var(--ink); font-weight: 600; }
.fx-tier .fx-btn { width: 100%; }
.fx-tier-foot { margin-top: 14px; font: 600 11px var(--font-body); letter-spacing: 0.08em; color: var(--ink-3); text-align: center; }
@media (max-width: 920px) { .fx-tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* comparison table */
.fx-compare { margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.fx-compare table { width: 100%; border-collapse: collapse; }
.fx-compare th, .fx-compare td { text-align: center; padding: 16px 14px; border-bottom: 1px solid var(--border-soft); }
.fx-compare thead th { font: 800 15px var(--font-body); color: var(--ink); background: rgba(112,176,232,0.06); }
.fx-compare thead th.feat { color: var(--primary-blue); }
.fx-compare tbody th { text-align: left; font: 500 14.5px var(--font-body); color: var(--ink-2); }
.fx-compare tbody tr:last-child th, .fx-compare tbody tr:last-child td { border-bottom: none; }
.fx-compare td.col-prem { background: rgba(112,176,232,0.05); }
.fx-compare .yes { display: inline-block; width: 20px; height: 20px; position: relative; }
.fx-compare .yes::after { content: ""; position: absolute; left: 6px; top: 2px; width: 7px; height: 12px; border-right: 2.5px solid var(--primary-blue); border-bottom: 2.5px solid var(--primary-blue); transform: rotate(45deg); }
.fx-compare .no { color: var(--ink-faint); font-size: 18px; line-height: 1; }
.fx-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) { .fx-compare table { min-width: 560px; } .fx-compare th, .fx-compare td { padding: 13px 12px; font-size: 13.5px; } }

/* advisory / accuracy note */
.fx-advisory { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: rgba(112,176,232,0.05); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 24px; }
.fx-advisory .ic { flex-shrink: 0; width: 22px; height: 22px; color: var(--primary-blue); margin-top: 1px; }
.fx-advisory .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.fx-advisory p { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.fx-advisory p strong { color: var(--ink-2); font-weight: 600; }

/* tier badge on feature cards + area sections */
.fx-area { margin-top: 8px; }
.fx-area + .fx-area { margin-top: clamp(72px, 9vh, 124px); }
.fx-area-head { margin-bottom: 26px; }
.fx-area-photo { width: 100%; height: clamp(190px, 24vw, 290px); object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 28px; display: block; filter: brightness(0.92) saturate(1.04); }
.fx-feat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.fx-feat-head h3 { margin-bottom: 0; }
.fx-badge { flex-shrink: 0; padding: 4px 11px; border-radius: var(--radius-pill); font: 800 10px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.fx-badge.free { background: rgba(241,244,249,0.06); color: var(--ink-faint); border: 1px solid var(--border-soft); }
.fx-badge.prem { background: linear-gradient(180deg, #F2C66A, #E0A53F); color: #2A1C00; border: 1px solid #F2C66A; box-shadow: 0 2px 12px -3px rgba(224,165,63,0.55); }
.fx-badge.fam { background: rgba(224,165,63,0.12); color: #F0BE5C; border: 1px solid rgba(224,165,63,0.55); }
.fx-feat-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-soft); font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* Made-in-Oregon seal moment (About) */
.fx-oregon { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.fx-oregon-seal { width: clamp(190px, 24vw, 248px); height: auto; filter: drop-shadow(0 20px 44px rgba(0,0,0,0.55)); }
.fx[data-motion="full"] .fx-oregon-seal { animation: fxSealFloat 7s ease-in-out infinite; }
@keyframes fxSealFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fx-oregon-line { font: 700 clamp(22px, 3vw, 32px)/1.22 var(--font-body); letter-spacing: -0.02em; color: var(--ink); max-width: 18ch; text-wrap: balance; }
.fx-oregon-line .accent { color: var(--primary-blue); }
