/* SMPHosting homepage rebuild. Strata are navigation, not scenery. */
:root {
  --sc-canvas: #081319;
  --sc-surface: #11232b;
  --sc-ink: #eef5ec;
  --sc-ink-soft: #a9bcb6;
  --sc-accent: #a3ef63;
  --sc-accent-ink: #0b1a0a;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --sc-font-mono: "Geist Mono", ui-monospace, monospace;
  --home-edge: rgba(163, 239, 99, .32);
  --home-edge-soft: rgba(163, 239, 99, .13);
  --home-glow: rgba(163, 239, 99, .11);
  --home-card: rgba(10, 26, 29, .82);
}

.site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom-color: color-mix(in srgb, var(--grass) 16%, var(--line));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header .bar { min-height: 72px; }
.brand svg { filter: drop-shadow(0 0 12px rgba(163,239,99,.14)); }
.nav a, .nav button { position: relative; transition: color .18s ease; }
.nav a::after, .nav button::after {
  position: absolute; content: ""; inset-inline: 0; bottom: -7px; height: 1px;
  background: var(--grass); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after, .nav button:hover::after, .nav a:focus-visible::after, .nav button:focus-visible::after { transform: scaleX(1); }

.hero {
  min-height: min(850px, calc(100svh - var(--header-h)));
  display: grid; align-items: center; padding-block: clamp(58px, 8vw, 112px) clamp(72px, 9vw, 128px);
  isolation: isolate;
  background-color: var(--layer-surface);
  background-image:
    radial-gradient(ellipse at 74% 50%, rgba(55, 104, 61, .24), transparent 47%),
    linear-gradient(145deg, rgba(5, 14, 15, .02), rgba(5, 14, 15, .18));
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--home-edge), transparent);
}
.hero-grid { width: min(1320px, calc(100% - var(--gutter) - var(--gutter))); grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr); gap: clamp(30px, 5vw, 78px); }
.hero-copy { padding-block: clamp(12px, 2vh, 32px); }
.hero .eyebrow { display: inline-flex; gap: 9px; align-items: center; color: var(--grass); }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; box-shadow: 0 0 14px currentColor; }
.hero h1 { max-width: 760px; font-size: clamp(3.45rem, 7vw, 6.6rem); line-height: .94; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 .accent { color: var(--grass); }
.hero .lede { max-width: 54ch; line-height: 1.65; }
.hero-facts { border-top-color: var(--home-edge); }
.hero-facts li { border-color: var(--home-edge); }
.hero-facts b { font-family: var(--font-mono); letter-spacing: -.025em; }
.hero-facts span { color: var(--text-3); }
.hero-actions .btn-primary { box-shadow: 0 8px 28px rgba(127, 201, 79, .18); }

.island-stage { isolation: isolate; min-height: clamp(400px, 43vw, 620px); display: grid; place-items: center; position: relative; }
.island-stage::before { content: ""; position: absolute; inset: 12% 4%; z-index: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(ellipse, rgba(94, 155, 68, .2), rgba(18, 48, 37, .08) 42%, transparent 72%); filter: blur(18px); }
.island { z-index: 1; max-width: 660px; width: min(100%, 660px); }
.strata-plane { display: none !important; }
.island-caption { color: var(--text-3); }

.page-particles { position: fixed; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: .48; mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .page-particles { display: none; } }

.layer { scroll-margin-top: calc(var(--header-h) + 24px); }
.layer + .layer::before { opacity: .72; }
.layer-head { max-width: 820px; }
.layer-head h2, .feature-intro h2, .panel-copy h2, .faq-grid h2, .cta-row h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.4rem); line-height: 1.02; letter-spacing: -.052em; text-wrap: balance;
}
.ytag { display: inline-flex; align-items: center; gap: 10px; width: max-content; padding: 8px 11px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.ytag b { padding-right: 9px; border-right: 1px solid var(--line-strong); }
.feature-grid { align-items: center; }
.feature-intro .lede, .panel-copy .lede { max-width: 58ch; }
.features { border-top-color: var(--home-edge-soft); }
.features li { border-bottom-color: var(--home-edge-soft); transition: background .2s ease, padding .2s ease; }
.features li:hover { background: linear-gradient(90deg, var(--home-glow), transparent 85%); padding-left: 12px; }
.features h3 { letter-spacing: -.025em; }

#plans .layer-head { margin-bottom: clamp(24px, 3vw, 40px); }
#plans .plans { padding: clamp(18px, 3vw, 34px); border: 1px solid var(--home-edge); border-radius: 10px; background: linear-gradient(145deg, rgba(16,35,38,.72), rgba(8,19,25,.72)); box-shadow: 0 28px 90px rgba(0,0,0,.22); }
#plans .plans-controls { gap: 12px; }
#plans .seg { border-color: var(--line-strong); }
#plans .summary { border-color: var(--home-edge); background: rgba(7, 18, 20, .72); }
#plans .rung { border-radius: 5px; }
#plans .rung:has(input:checked) { border-color: var(--grass-edge); box-shadow: inset 4px 0 0 var(--grass), 0 5px 18px rgba(0,0,0,.16); }
#plans .item-lg { border-radius: 4px; }

.panel-band { overflow: hidden; }
.panel-grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(28px, 4vw, 52px); }
.panel-copy { max-width: 900px; }
.panel-copy h2 { max-width: 15ch; }
.panel-dashboard-preview { min-width: 0; width: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; }
.panel-dashboard-preview iframe { display: block; width: 100%; height: clamp(540px, 46vw, 760px); border: 1px solid var(--home-edge); border-radius: 12px; background: #0b171b; box-shadow: 0 28px 72px rgba(0,0,0,.32); }
.panel-dashboard-preview > p { margin: 0; color: var(--text-3); font: 500 .75rem/1.4 var(--font-mono); text-align: right; }
.pdemo { box-shadow: 0 32px 90px rgba(0,0,0,.3); }
.pdemo-top { border-bottom-color: var(--home-edge); }

.network-section { overflow: hidden; }
.network-surface { border-color: var(--home-edge); background: linear-gradient(130deg, rgba(10,27,31,.86), rgba(8,19,25,.6)); }
.network-region-count { font-family: var(--font-mono); letter-spacing: .04em; }
.network-region-count [data-sc-count] { color: var(--grass); font-weight: 700; }

.real-smps-section { border-block: 1px solid var(--home-edge-soft); }
.faq-band { background-image: radial-gradient(ellipse at 10% 80%, rgba(67,95,65,.12), transparent 42%); }
.faq-list details { border-color: var(--line-strong); }
.cta-band { padding-top: clamp(48px, 7vw, 88px); }
.cta-row { padding: clamp(28px, 5vw, 64px); border: 1px solid var(--home-edge); border-radius: 10px; background: linear-gradient(115deg, rgba(24,48,40,.76), rgba(9,22,27,.9)); }
.site-footer { border-top: 1px solid var(--home-edge-soft); }

.depth { width: 78px; left: max(16px, calc((100vw - 1430px) / 2)); }
.depth ol { align-items: start; }
.depth li { width: 5px; overflow: visible; transition: opacity .2s ease, width .2s ease; }
.depth li a { display: block; position: relative; width: 20px; height: 100%; min-height: 18px; margin-left: -6px; outline-offset: 5px; }
.depth li a::after { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 5px; background: transparent; transition: background .16s ease, width .16s ease; }
.depth li.is-here a::after, .depth li a[aria-current="location"]::after { width: 9px; background: var(--c); box-shadow: 0 0 17px color-mix(in srgb, var(--c) 30%, transparent); }
.depth li a:focus-visible { outline: 2px solid var(--grass); outline-offset: 3px; }
.depth .readout { padding: 8px 9px; width: max-content; border: 1px solid var(--line); border-radius: 4px; background: color-mix(in srgb, var(--bg) 88%, transparent); }
.depth .readout span { color: var(--grass); }

:root[data-theme="light"] {
  --sc-canvas: #f4f7f1;
  --sc-surface: #ffffff;
  --sc-ink: #0b161b;
  --sc-ink-soft: #46534e;
  --sc-accent: #2f6b12;
  --sc-accent-ink: #ffffff;
  --home-edge: rgba(47, 107, 18, .28);
  --home-edge-soft: rgba(47, 107, 18, .14);
  --home-glow: rgba(111, 184, 58, .1);
  --home-card: rgba(246, 250, 243, .9);
}
:root[data-theme="light"] .hero { background-image: radial-gradient(ellipse at 74% 50%, rgba(163,239,99,.2), transparent 47%), linear-gradient(145deg, rgba(255,255,255,.12), rgba(47,107,18,.035)); }
:root[data-theme="light"] #plans .plans { background: rgba(239,246,234,.82); }
:root[data-theme="light"] #plans .summary { background: rgba(255,255,255,.88); }
:root[data-theme="light"] .cta-row { background: linear-gradient(115deg, rgba(220,239,206,.9), rgba(246,250,243,.92)); }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --sc-canvas: #f4f7f1; --sc-surface: #ffffff; --sc-ink: #0b161b;
    --sc-ink-soft: #46534e; --sc-accent: #2f6b12; --sc-accent-ink: #ffffff;
  }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); }
  .hero h1 { font-size: clamp(3.2rem, 7.1vw, 5rem); }
  .depth { display: none !important; }
}
@media (max-width: 760px) {
  .site-header .bar { min-height: 62px; }
  .hero { min-height: auto; padding-block: 36px 68px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding: 14px 0 0; }
  .hero h1 { max-width: 10ch; font-size: clamp(3rem, 13.2vw, 5rem); }
  .hero .lede { max-width: 44ch; }
  .island-stage { min-height: 0; aspect-ratio: 1.08; margin-top: 2px; }
  .island { width: 100%; }
  .strata-plane--back { inset: 4% 0 16%; }
  .strata-plane--front { right: 0; bottom: 13%; width: 26%; }
  .layer-head h2, .feature-intro h2, .panel-copy h2, .faq-grid h2, .cta-row h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  #plans .plans { padding: 14px; }
  .cta-row { padding: 24px; }
}
@media (max-width: 420px) {
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts li { min-width: 0; }
  .hero-facts b { font-size: .78rem; }
  .hero-facts span { font-size: .68rem; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .strata-plane, .nav a::after, .nav button::after, .features li, .depth li, .depth li a::after { transition: none !important; }
  .strata-plane { transform: none !important; }
}
