/* =========================================================
   Fortress Freedom Phone — site styles
   Self-hosted typography. No external CDNs. No tracking.
   ========================================================= */

/* ---- self-hosted webfonts (see assets/fonts/README.md) ---- */
@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable-Italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Dark palette (default) — refined steel & graphite, not neon-cyan */
  --bg:           #07080a;
  --bg-soft:      #0d1014;
  --bg-card:      #101319;
  --bg-card-hi:   #151923;
  --border:       #1c2029;
  --border-strong:#272c37;
  --ink:          #ebeef4;
  --ink-muted:    #8d96a7;
  --ink-dim:      #5a6172;
  --accent:       #a4cce0;          /* refined slate-ice, less saturated than before */
  --accent-hi:    #c2dded;
  --accent-dim:   #4a6b7c;
  --accent-soft:  rgba(164,204,224,0.07);
  --warn:         #d9a26b;
  --diagram-line: #272c37;
  --diagram-node: #101319;

  /* Type stack — premium editorial. Self-hosted. */
  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif:   "Instrument Serif", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Spacing rhythm */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 28px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  --space-3xl: 180px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg:           #fbfaf6;
  --bg-soft:      #f3f1ea;
  --bg-card:      #ffffff;
  --bg-card-hi:   #ffffff;
  --border:       #e3e0d6;
  --border-strong:#cfcbbe;
  --ink:          #12131a;
  --ink-muted:    #4d5263;
  --ink-dim:      #828798;
  --accent:       #3f6e85;          /* matched mature slate */
  --accent-hi:    #285670;
  --accent-dim:   #6a92a8;
  --accent-soft:  rgba(63,110,133,0.07);
  --warn:         #a85a16;
  --diagram-line: #cfcbbe;
  --diagram-node: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";   /* Inter alt forms — refined a/g */
  font-variation-settings: "opsz" 28;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .18s var(--ease-io);
}
a:hover, a:focus { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Headings use Instrument Serif — editorial, restrained, expensive */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--ink);
  font-feature-settings: "liga", "kern";
}
h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  letter-spacing: -0.028em;
  line-height: 0.98;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
h3 {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.15;
}
p { margin: 0 0 1em; }
em { font-style: italic; }

/* Selection */
::selection { background: var(--accent); color: var(--bg); }

.mono { font-family: var(--font-mono); font-size: .85em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

hr.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* skip link for screen-reader / keyboard users */
.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--accent); color: var(--bg); padding: 8px 14px;
  border-radius: 6px; font-weight: 600;
}
.skip:focus { left: 12px; z-index: 9999; }

/* ---------------- NAV ---------------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; max-width: 1180px; margin: 0 auto;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
}
.brand .brand-divider {
  display: inline-block;
  margin: 0 .55em;
  color: var(--ink-dim);
  font-weight: 400;
}
.brand:hover { color: var(--ink); text-decoration: none; }
/* Legacy brand-mark — kept hidden in case any page still has it; new markup omits it */
.brand-mark { display: none; }
nav.links {
  display: flex; gap: 26px; align-items: center;
  font-size: .94rem;
}
nav.links a { color: var(--ink-muted); }
nav.links a:hover, nav.links a:focus { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: -0.005em;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    color .18s var(--ease-io),
    border-color .18s var(--ease-io),
    background-color .18s var(--ease-io);
  font-family: inherit;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
}
.btn::after {
  content: "→";
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  transform: translateX(0);
  transition: transform .25s var(--ease-out);
  opacity: .85;
}
.btn:hover, .btn:focus {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.btn:hover::after, .btn:focus::after {
  transform: translateX(3px);
  opacity: 1;
}
.btn-primary {
  background: var(--accent);
  color: #07080a;
  border-color: var(--accent);
  font-weight: 600;
}
.btn-primary::after {
  color: #07080a;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-hi);
  color: #07080a;
  border-color: var(--accent-hi);
}
.btn-primary:hover::after, .btn-primary:focus::after {
  color: #07080a;
}

.theme-toggle {
  background: transparent; border: 1px solid var(--border-strong);
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-muted);
  font-size: 1rem; transition: all .18s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }

@media (max-width: 820px) { nav.links .hide-s { display: none; } }
@media (max-width: 480px) { nav.links { gap: 10px; } .btn { padding: 9px 14px; font-size: .88rem; } }

/* ---------------- HERO ---------------- */
section.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 75% 10%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 28px 130px;
  max-width: 1240px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.hero-copy h1 {
  margin-bottom: 0.6em;
}
.hero-copy h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.hero-copy .lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 42ch;
  margin: 0 0 40px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-phone {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}
.hero-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-phone::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,9,11,.4) 100%);
  pointer-events: none;
}
.screen-mask {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  aspect-ratio: 9/19;
  background: radial-gradient(ellipse at center, #000 0%, #000 55%, rgba(0,0,0,.75) 80%, transparent 100%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.screen-mask .mark-hex {
  width: 42px; height: 42px;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .82rem; font-weight: 600;
  background: rgba(8,9,11,.6);
  margin: 0 auto 10px;
}
.screen-mask .mark-name {
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--ink);
  font-family: var(--font-mono);
  text-align: center;
  opacity: .82;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 28px 70px;
  }
  .hero-phone { margin: 0 auto; max-width: 360px; }
}

/* ---------------- STATS BAR ---------------- */
.bar {
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
}
.bar-inner > div {
  padding: 32px 32px;
  border-right: 1px solid var(--border);
}
.bar-inner > div:last-child { border-right: 0; }
.bar-k {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.018em;
  line-height: 1.1;
}
.bar-k small {
  font-size: .92rem; color: var(--ink-muted);
  font-family: var(--font-sans); font-weight: 400;
  font-style: italic;
}
.bar-v {
  font-size: .74rem;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .bar-inner { grid-template-columns: 1fr 1fr; }
  .bar-inner > div:nth-child(2) { border-right: 0; }
  .bar-inner > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ---------------- GENERIC BLOCK ---------------- */
section.block {
  padding: 110px 0;
  border-bottom: 1px solid var(--border);
}
section.block .header {
  max-width: 700px;
  margin-bottom: 64px;
}
section.block .header h2 { margin-bottom: .35em; }
section.block .header p { font-size: 1.05rem; line-height: 1.6; }
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

@media (max-width: 720px) { section.block { padding: 70px 0; } section.block .header { margin-bottom: 40px; } }

/* ---------------- HOW IT WORKS — 3-STEP ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
  position: relative;
}
.step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 18px;
  background: var(--accent-soft);
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p  { color: var(--ink-muted); margin: 0; font-size: .94rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Out-of-the-box callout (replaces former architecture diagram) */
.oob {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
  padding: 32px 28px;
  text-align: center;
  position: relative;
}
.oob::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .4;
}
.oob h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 600;
  margin: 0 0 10px;
}
.oob p {
  color: var(--ink-muted);
  margin: 0 auto;
  max-width: 56ch;
  font-size: .98rem;
}

/* ---------------- BENEFITS (5 cards, editorial pacing) ---------------- */
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.benefit {
  flex: 1 1 200px;
  padding: 36px 28px 32px;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: background-color .25s var(--ease-io);
}
.benefit:hover { background: var(--bg-soft); }
.benefit .b-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
  opacity: .85;
}
.benefit .b-icon svg { width: 22px; height: 22px; stroke-width: 1.2; }
.benefit h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 10px;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.benefit p {
  color: var(--ink-muted);
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
}
@media (max-width: 820px) {
  .benefits { flex-direction: column; }
  .benefit  { flex: 1 1 100%; padding: 28px 24px 24px; }
}

/* ---------------- STOCK PILL ---------------- */
.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--ink);
  background: var(--bg-card);
  margin-bottom: 14px;
}
.stock-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.16);
  flex-shrink: 0;
  position: relative;
}
.stock-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #4ade80;
  opacity: .35;
  animation: stock-pulse 2.4s ease-out infinite;
}
@keyframes stock-pulse {
  0%   { transform: scale(.9); opacity: .35; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stock-dot::after { animation: none; }
}
[data-theme="light"] .stock-dot { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16); }
[data-theme="light"] .stock-dot::after { border-color: #16a34a; }

/* ---------------- STORY SECTIONS (cinematic spine) ---------------- */
.story {
  padding: 110px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.story:nth-of-type(2n) {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.story.reverse .story-grid > .story-image { order: 2; }
.story-eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 22px;
  display: block;
}
.story-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 22ch;
}
.story-narrative {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 50ch;
  margin: 0 0 32px;
}
.story-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--accent);
  text-transform: uppercase;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  padding-bottom: 3px;
  transition: border-color .18s ease;
}
.story-cta:hover { border-bottom-color: var(--accent); text-decoration: none; }
.story-image {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #0c0e13 0%, #181b22 50%, #0a0c10 100%);
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
.story-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.story-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,9,11,.4) 100%);
  pointer-events: none;
}
.story-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}
.story-placeholder .ph-meta {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  color: var(--ink-dim);
  font-size: .78rem;
  letter-spacing: .06em;
  line-height: 1.7;
  max-width: 30ch;
}
.story-placeholder .ph-meta strong {
  display: block;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  margin-bottom: 14px;
}
.story-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(122,220,255,.04) 1px, transparent 1px),
    linear-gradient(rgba(122,220,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 880px) {
  .story { padding: 70px 0; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story.reverse .story-grid > .story-image { order: 0; }
}

/* ---------------- AUDIENCE ---------------- */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.aud-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
}
.aud-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 6px;
}
.aud-card p { color: var(--ink-muted); margin: 0; font-size: .92rem; }
.aud-not {
  margin-top: 36px;
  padding: 22px 24px;
  border-left: 2px solid var(--warn);
  background: color-mix(in srgb, var(--warn) 6%, transparent);
  border-radius: 0 8px 8px 0;
}
.aud-not h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--warn);
  font-size: 1rem;
  margin: 0 0 8px;
}
.aud-not p { color: var(--ink-muted); margin: 0; font-size: .92rem; }
@media (max-width: 680px) { .audience { grid-template-columns: 1fr; } }

/* ---------------- PRICING — TWO TIERS (editorial luxe) ---------------- */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}
.tier {
  padding: 48px 44px 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .25s var(--ease-io), transform .25s var(--ease-io);
}
.tier:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.tier.featured {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 60px 120px -40px rgba(164,204,224,.12);
}
.tier.featured::before {
  content: "Most popular";
  position: absolute;
  top: -1px; right: 32px;
  transform: translateY(-50%);
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-weight: 500;
}
.tier .t-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}
.tier .t-tag {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 36px;
  max-width: 38ch;
}
.tier .t-price {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier.featured .t-price { color: var(--accent); }
.tier .t-price small {
  font-size: 1.05rem;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  margin-left: 4px;
  vertical-align: middle;
}
.tier .t-price-note {
  font-size: .86rem;
  color: var(--ink-muted);
  margin: 8px 0 36px;
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex: 1;
  border-top: 1px solid var(--border);
}
.tier li {
  padding: 16px 0 16px 28px;
  position: relative;
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.tier li strong {
  color: var(--ink);
  font-weight: 600;
}
.tier .t-cta {
  margin-top: auto;
}
.tier .t-cta .btn {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 1rem;
}
.tier .t-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--ink-dim);
  font-size: .82rem;
  line-height: 1.6;
  font-family: var(--font-sans);
}
.tier .t-foot strong { color: var(--ink-muted); font-weight: 500; }
@media (max-width: 820px) {
  .tiers { grid-template-columns: 1fr; gap: 20px; }
  .tier { padding: 36px 28px 32px; }
  .tier .t-price { font-size: 3.2rem; }
}

/* ---------------- TRUST CARDS ---------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  transition: border-color .25s var(--ease-io);
}
.trust-card:hover { border-color: var(--border-strong); }
.trust-card .t-icon {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-dim);
}
.trust-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: -0.012em;
  line-height: 1.18;
  margin: 0 0 10px;
}
.trust-card p { color: var(--ink-muted); font-size: .92rem; line-height: 1.6; margin: 0; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
details.faq {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
details.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-sans);
  cursor: pointer;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--ink-dim);
  font-size: 1.3rem;
  transition: transform .15s ease;
  flex-shrink: 0;
}
details.faq[open] summary::after { content: "\2013"; }
details.faq summary:hover { color: var(--accent); }
details.faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}
details.faq .a {
  color: var(--ink-muted);
  margin-top: 12px;
  font-size: .94rem;
  max-width: 72ch;
  line-height: 1.7;
}

/* ---------------- CONTACT ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}
.contact-card .c-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.contact-card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.contact-card p  { color: var(--ink-muted); font-size: .92rem; margin: 0 0 14px; }
.contact-card .c-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .94rem;
  color: var(--accent);
  word-break: break-all;
}
.pay-note {
  border-left: 2px solid var(--accent);
  padding: 18px 22px;
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  font-size: .94rem;
}
.pay-note strong { color: var(--accent); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------- FINAL CTA ---------------- */
.cta-final {
  text-align: center;
  padding: 90px 0;
  background: radial-gradient(ellipse at center top, var(--accent-soft), transparent 60%);
}
.cta-final h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-final p  { color: var(--ink-muted); max-width: 50ch; margin: 0 auto 30px; }

/* ---------------- FOOTER (editorial) ---------------- */
footer {
  padding: 90px 0 36px;
  color: var(--ink-dim);
  font-size: .9rem;
  background: var(--bg);
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: .4;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.foot-grid > div:first-child .brand {
  font-size: .82rem;
  margin-bottom: 18px;
}
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-dim);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot-grid a {
  color: var(--ink-muted);
  display: block;
  padding: 5px 0;
  font-size: .92rem;
  transition: color .15s var(--ease-io);
}
.foot-grid a:hover, .foot-grid a:focus {
  color: var(--ink); text-decoration: none;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom .mono {
  color: var(--ink-dim);
  font-size: .76rem;
  letter-spacing: .04em;
}
.foot-disclaimer {
  margin-top: 18px;
  color: var(--ink-dim);
  font-size: .78rem;
  line-height: 1.7;
  max-width: 78ch;
}
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; margin-bottom: 8px; }
}

/* utility */
.center-h { text-align: center; margin-left: auto; margin-right: auto; }
.muted    { color: var(--ink-muted); }
.dim      { color: var(--ink-dim); }
.no-wrap  { white-space: nowrap; }

/* ---------------- SCROLL-TRIGGERED ANIMATIONS ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s var(--ease-out),
    transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* Fluid hero parallax — tiny translate as page scrolls */
.hero-phone, .hero-video {
  transform: translateY(0);
  transition: transform .2s linear;
  will-change: transform;
}

/* ---------------- PRODUCT SHOWCASE (3-up phone gallery) ---------------- */
.phone-showcase {
  padding: 110px 0;
  border-bottom: 1px solid var(--border);
}
.phone-showcase-head {
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 0 28px;
  text-align: center;
}
.phone-showcase-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin: 0 0 16px;
  letter-spacing: -0.024em;
}
.phone-showcase-title em {
  font-style: italic;
  color: var(--accent);
}
.phone-showcase-sub {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}
.phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.phone-shot {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  transition: transform .5s var(--ease-out);
}
.phone-shot:hover { transform: translateY(-4px); }
.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) saturate(0.95);
  transition: transform .8s var(--ease-out);
}
.phone-shot:hover img { transform: scale(1.03); }

@media (max-width: 880px) {
  .phone-showcase { padding: 70px 0; }
  .phone-showcase-head { margin-bottom: 36px; }
  .phone-gallery { grid-template-columns: 1fr; gap: 14px; }
  .phone-shot { aspect-ratio: 3 / 4; }
}

/* ---------------- STORY MEDIA CONTAINERS (image or video) ---------------- */
.story-video-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #0c0e13 0%, #181b22 50%, #0a0c10 100%);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  isolation: isolate;
}
.story-video-frame video,
.story-video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) saturate(0.95);
}
.story-video-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,8,10,.45) 100%);
  pointer-events: none;
  z-index: 2;
}
.story-video-frame.placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(164,204,224,.04) 1px, transparent 1px),
    linear-gradient(rgba(164,204,224,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}
/* If there's no video source yet, hide the broken video element + sound toggle.
   The gradient + grid backdrop reads as an intentional design hold. */
.story-video-frame.placeholder video,
.story-video-frame.placeholder .story-video-toggle {
  display: none;
}
.story-video-frame .ph-meta {
  position: absolute;
  inset: auto auto 22px 24px;
  z-index: 2;
}
.story-video-frame .ph-meta > div {
  font-family: var(--font-mono);
  color: var(--ink-dim);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
}
.story-video-frame .ph-meta strong {
  display: inline-block;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: .7rem;
  margin: 0;
}

/* Video sound toggle — subtle pill bottom-right */
.story-video-toggle {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(7,8,10,0.62);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s var(--ease-io);
}
.story-video-toggle:hover { background: rgba(7,8,10,0.85); }
.story-video-toggle svg { width: 12px; height: 12px; }

/* Override the older .story-image styles to give the video frame the same
   editorial treatment when used in the existing markup */
.story-image {
  aspect-ratio: 16 / 9;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .story-video-frame video { animation: none; }
}
