/* ==========================================================================
   RootRecord — Dark Neon Brand System (navy + emerald + electric green)
   Matches the brand artwork: rooted tree of circuit lines with solar / weather
   iconography. Deep midnight → emerald gradient, neon-green + cyan accents.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-0: #050F1A;          /* deepest */
  --bg-1: #081C2B;          /* primary navy */
  --bg-2: #0D2F22;          /* emerald undertone */
  --surface: #0F2232;       /* card base */
  --surface-2: #13304A;     /* raised / hover */
  --surface-3: #0B2B20;     /* emerald card variant */

  /* Text */
  --ink: #E7F3EC;           /* near-white with green tint */
  --ink-soft: #A8C3B4;      /* muted body */
  --ink-muted: #6F8A7E;     /* meta / caption */
  --ink-dark: #04120A;      /* for placement on bright accents */

  /* Accents */
  --moss: #3FE28D;          /* ELECTRIC GREEN — primary accent */
  --moss-deep: #0F3B2E;     /* deep emerald backdrop */
  --moss-bright: #5AF0A0;
  --moss-glow: #ADF5CC;
  --cyan: #5CE1F0;          /* secondary circuit cyan */
  --cyan-soft: #B8E6FF;     /* pale flower / ice tones */
  --sun: #FCD34D;           /* warm sun yellow highlight */
  --terracotta: #E89A5A;

  /* Structural */
  --line: rgba(167, 230, 178, 0.10);
  --line-soft: rgba(167, 230, 178, 0.06);
  --line-strong: rgba(167, 230, 178, 0.22);

  /* Shadows / glows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 14px 40px -16px rgba(0,0,0,0.6), 0 4px 10px -4px rgba(0,0,0,0.4);
  --shadow-lg: 0 30px 70px -24px rgba(0,0,0,0.7), 0 8px 22px -10px rgba(0,0,0,0.5);
  --glow-green: 0 0 0 1px rgba(63, 226, 141, 0.35), 0 8px 30px -6px rgba(63, 226, 141, 0.35);
  --glow-cyan: 0 0 0 1px rgba(92, 225, 240, 0.3), 0 8px 30px -6px rgba(92, 225, 240, 0.3);

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;

  --font-display: "Fraunces", "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  background: var(--bg-0);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--bg-1);
  background-image:
    radial-gradient(1100px 700px at 90% 8%, rgba(15, 90, 60, 0.70), transparent 60%),
    radial-gradient(900px 600px at -10% 15%, rgba(8, 28, 43, 0.95), transparent 60%),
    linear-gradient(180deg, #061422 0%, #08201B 50%, #061524 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
  letter-spacing: -0.003em;
  overflow-x: hidden;
}

/* Subtle noise for premium tech feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.15 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Optional scanline / circuit watermark on hero area */
.bg-circuit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none' stroke='%233FE28D' stroke-width='0.6'><path d='M0 40h20v-20h20v40h40'/><path d='M40 0v20h-20v40'/><circle cx='40' cy='40' r='2' fill='%233FE28D' stroke='none'/><circle cx='20' cy='20' r='1.5' fill='%235CE1F0' stroke='none'/></svg>");
  background-size: 80px 80px;
  mix-blend-mode: lighten;
}

::selection { background: var(--moss); color: var(--ink-dark); }

a { color: inherit; }

/* ============================================== LAYOUT */

.site {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

/* ============================================== HEADER / NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 20, 34, 0.75);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 20, "SOFT" 40;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  background: var(--moss-deep);
  box-shadow: 0 0 0 1px rgba(173, 245, 204, 0.35), 0 8px 22px -8px rgba(63, 226, 141, 0.55);
  transition: transform .35s var(--ease-out), box-shadow .3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 0 0 1px rgba(173, 245, 204, 0.7), 0 12px 30px -8px rgba(63, 226, 141, 0.8);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 450;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover { color: var(--ink); background: rgba(167, 230, 178, 0.06); }

.site-nav a[aria-current="page"] {
  color: var(--moss);
  background: rgba(63, 226, 141, 0.10);
  font-weight: 500;
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.1rem !important;
  background: var(--moss) !important;
  color: var(--ink-dark) !important;
  border-radius: var(--r-pill);
  font-weight: 600 !important;
  box-shadow: 0 0 0 1px rgba(173, 245, 204, 0.3), 0 6px 18px -6px rgba(63, 226, 141, 0.5);
}

.nav-cta:hover {
  background: var(--moss-bright) !important;
  color: var(--ink-dark) !important;
  box-shadow: 0 0 0 1px rgba(173, 245, 204, 0.55), 0 10px 26px -6px rgba(63, 226, 141, 0.75);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 1rem; right: 1rem; top: calc(100% + 0.25rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 0.75rem;
    box-shadow: var(--shadow-md);
    gap: 0.15rem;
  }
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
}

/* ============================================== MAIN */

.site-main { flex: 1; position: relative; }

section { position: relative; }

/* ============================================== HERO (home) */

.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--moss);
  background: rgba(63, 226, 141, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(63, 226, 141, 0.22);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss-bright);
  box-shadow: 0 0 0 3px rgba(63, 226, 141, 0.25), 0 0 12px rgba(63, 226, 141, 0.55);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(63, 226, 141, 0.25), 0 0 12px rgba(63, 226, 141, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(63, 226, 141, 0.08), 0 0 18px rgba(63, 226, 141, 0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1.35rem;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.hero-title em {
  font-style: italic;
  color: var(--moss);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-shadow: 0 0 40px rgba(63, 226, 141, 0.35);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 40ch;
  margin: 0 0 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-item::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--moss);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(63, 226, 141, 0.6);
}

/* Hero brand artwork visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  transform: perspective(1400px) rotateY(-3deg);
  transition: transform .8s var(--ease-out);
}

.hero-visual:hover { transform: perspective(1400px) rotateY(0deg); }

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 30% 80%, transparent 60%, rgba(6, 20, 34, 0.45) 100%);
  pointer-events: none;
}

/* Floating glow badges overlayed on hero image */
.hero-badge {
  position: absolute;
  background: rgba(9, 28, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--ink);
  z-index: 2;
}

.hero-badge.tl { top: 20px; left: -18px; transform: rotate(-2deg); }
.hero-badge.br { bottom: 22px; right: -16px; transform: rotate(2deg); }

.hero-badge-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--moss) 0%, #1EB671 100%);
  color: var(--ink-dark);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 14px rgba(63, 226, 141, 0.5);
}

.hero-badge.cyan .hero-badge-icon {
  background: linear-gradient(145deg, var(--cyan) 0%, #2AA6B7 100%);
  box-shadow: 0 0 14px rgba(92, 225, 240, 0.55);
}

.hero-badge strong { color: var(--ink); display: block; font-weight: 600; }
.hero-badge span { color: var(--ink-muted); font-size: 0.72rem; }

/* ============================================== BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.btn-primary {
  background: var(--moss);
  color: var(--ink-dark);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(173, 245, 204, 0.35), 0 10px 26px -8px rgba(63, 226, 141, 0.55);
}

.btn-primary:hover {
  background: var(--moss-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(173, 245, 204, 0.6), 0 16px 36px -10px rgba(63, 226, 141, 0.75);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: rgba(167, 230, 178, 0.06);
  border-color: var(--moss);
  color: var(--moss);
  transform: translateY(-1px);
}

.btn-moss {
  background: var(--moss-deep);
  color: var(--moss-glow);
  border: 1px solid rgba(63, 226, 141, 0.3);
}

.btn-moss:hover {
  background: var(--moss);
  color: var(--ink-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(63, 226, 141, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--moss);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover { color: var(--ink); }

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform .3s var(--ease-out);
}

.btn-arrow:hover::after { transform: translateX(4px); }

.btn-block { width: 100%; }

/* ============================================== SECTION PATTERNS */

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}

.section-header.is-centered {
  margin-left: auto; margin-right: auto;
  text-align: center;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--moss);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.section-title em {
  font-style: italic;
  color: var(--moss);
  text-shadow: 0 0 40px rgba(63, 226, 141, 0.3);
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}

.is-centered .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================== PRINCIPLES STRIP */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: clamp(3rem, 5vw, 4rem) 0;
}

.principle { padding: 0.5rem 0; }

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--moss);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 450;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ============================================== FEATURE GRID */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease-out), border-color .3s ease, box-shadow .4s ease, background .3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(63, 226, 141, 0) 0%, rgba(63, 226, 141, 0) 60%, rgba(63, 226, 141, 0.4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.feature::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 226, 141, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 226, 141, 0.4);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}

.feature:hover::before { opacity: 1; }
.feature:hover::after { opacity: 1; }

.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(63, 226, 141, 0.18), rgba(92, 225, 240, 0.10));
  color: var(--moss-bright);
  border: 1px solid rgba(63, 226, 141, 0.28);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  text-shadow: 0 0 14px rgba(63, 226, 141, 0.6);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================== PRODUCT CARDS */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s ease, box-shadow .4s ease, background .3s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(closest-side, rgba(63, 226, 141, 0.28), transparent 70%);
  transform: translate(40%, -40%);
  transition: transform .6s var(--ease-out), opacity .4s ease;
  opacity: 0.5;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 226, 141, 0.45);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
}

.product-card:hover::before { transform: translate(20%, -20%); opacity: 1; }

.product-card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--moss);
  font-weight: 500;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}

.product-card-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--moss);
  font-weight: 500;
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.product-card-cta::after {
  content: "→";
  transition: transform .3s var(--ease-out);
}

.product-card:hover .product-card-cta::after { transform: translateX(4px); }

/* ============================================== PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 226, 141, 0.25);
}

.price-card.is-featured {
  background:
    radial-gradient(600px 400px at 80% -10%, rgba(63, 226, 141, 0.18), transparent 60%),
    linear-gradient(160deg, #0E3A2A 0%, #0F2232 100%);
  color: var(--ink);
  border-color: rgba(63, 226, 141, 0.45);
  box-shadow: 0 0 0 1px rgba(63, 226, 141, 0.22), var(--shadow-lg);
  transform: translateY(-6px);
}

.price-card.is-featured:hover { transform: translateY(-9px); }

.price-card.is-featured .price-amount { color: var(--moss-glow); }

.price-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--moss);
  color: var(--ink-dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: var(--r-pill);
  position: absolute;
  top: -12px;
  left: 2rem;
  box-shadow: 0 0 0 1px rgba(173, 245, 204, 0.4), 0 6px 16px -4px rgba(63, 226, 141, 0.6);
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.price-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  min-height: 2.5em;
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 3.1rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.price-per {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 450;
}

.price-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.price-feature-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.price-feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3rem;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 10px rgba(63, 226, 141, 0.55);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23061422' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5'/></svg>");
  background-size: contain;
}

.price-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 1rem 0 0;
  line-height: 1.55;
}

/* ============================================== PAGE HEADER (internal) */

.page-header {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(63, 226, 141, 0.10), transparent 70%),
    radial-gradient(400px 300px at 10% 100%, rgba(92, 225, 240, 0.06), transparent 70%);
  pointer-events: none;
}

.page-header-inner { max-width: 820px; position: relative; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.breadcrumb a {
  color: var(--moss);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { color: var(--moss-bright); }

.page-title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}

.page-title em {
  font-style: italic;
  color: var(--moss);
  text-shadow: 0 0 40px rgba(63, 226, 141, 0.3);
}

.page-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0;
}

/* ============================================== LONG-FORM PROSE */

.prose { max-width: 68ch; }

.prose-center { max-width: 68ch; margin: 0 auto; }

.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 2.5rem 0 0.9rem;
  line-height: 1.15;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: 1.22rem;
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
}

.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.prose p, .prose li {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.prose strong { color: var(--ink); font-weight: 600; }

.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.45rem; }

.prose a:not(.btn) {
  color: var(--moss);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color .2s ease, background-size .3s var(--ease-out);
  padding-bottom: 1px;
}

.prose a:not(.btn):hover { color: var(--moss-bright); }

.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(167, 230, 178, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--moss-glow);
}

.prose .lead {
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 450;
}

.prose .seller-address {
  font-style: normal;
  margin: 0.75rem 0 1.35rem;
  line-height: 1.65;
  color: var(--ink);
}

/* ============================================== CALLOUT CARDS */

.callout {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 2rem 0;
}

.callout-hero {
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(63, 226, 141, 0.22), transparent 60%),
    linear-gradient(145deg, var(--moss-deep) 0%, var(--surface) 70%);
  color: var(--ink);
  border: 1px solid rgba(63, 226, 141, 0.25);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.callout-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 300px; height: 300px;
  background: radial-gradient(closest-side, rgba(63, 226, 141, 0.25), transparent 70%);
  pointer-events: none;
}

.callout-hero h2, .callout-hero h3 { color: var(--ink); }
.callout-hero p { color: var(--ink-soft); }
.callout-hero code {
  background: rgba(167, 230, 178, 0.08);
  border-color: rgba(167, 230, 178, 0.18);
  color: var(--moss-glow);
}
.callout-hero a:not(.btn) { color: var(--moss); }
.callout-hero a:not(.btn):hover { color: var(--moss-bright); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  align-items: center;
}

/* ============================================== CTA BAND (home bottom) */

.cta-band {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(700px 380px at 30% 10%, rgba(63, 226, 141, 0.22), transparent 60%),
    radial-gradient(500px 400px at 100% 110%, rgba(92, 225, 240, 0.12), transparent 70%),
    linear-gradient(160deg, var(--moss-deep) 0%, var(--bg-1) 100%);
  color: var(--ink);
  border: 1px solid rgba(63, 226, 141, 0.25);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

.cta-band-title em {
  font-style: italic;
  color: var(--moss);
  text-shadow: 0 0 40px rgba(63, 226, 141, 0.45);
}

.cta-band-lead {
  position: relative;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 54ch;
  margin: 0 auto 2rem;
}

.cta-band .cta-row {
  position: relative;
  justify-content: center;
}

/* ============================================== FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.35rem 1.6rem;
  background: var(--surface);
  transition: border-color .25s ease, background .25s ease;
}

.faq-item:hover {
  border-color: rgba(63, 226, 141, 0.3);
  background: var(--surface-2);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 450;
  margin: 0 0 0.55rem;
  color: var(--ink);
}

.faq-item p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 0.5rem;
}
.faq-item p:last-child { margin-bottom: 0; }

.faq-section-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--moss);
  font-weight: 500;
  margin: 2.5rem 0 1rem;
}

.faq-section-title:first-child { margin-top: 0; }

/* ============================================== ACCOUNT PAGE */

.account-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 4rem);
}

.status {
  min-height: 1.4rem;
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.status-err { color: #FF8A72; }
.status-warn { color: var(--sun); }
.status-ok { color: var(--moss-bright); }

.card-plain {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.card-plain h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 0.9rem;
  color: var(--ink);
}

.card-plain h2:first-child { margin-top: 0; }

.card-plain .lead {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.stack-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stack-form input {
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg-1);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.stack-form input::placeholder { color: var(--ink-muted); }

.stack-form input:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(63, 226, 141, 0.18);
}

.stack-form button { align-self: flex-start; }

.account-grid { margin: 0 0 1.5rem; }

.account-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.account-row:last-child { border-bottom: none; }

.account-k {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-v { word-break: break-word; color: var(--ink); }

.note {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 1rem 0 0;
}

/* ============================================== FOOTER */

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  background: var(--bg-0);
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 226, 141, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand .brand {
  color: var(--ink);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 32ch;
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--moss);
  margin: 0 0 1rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color .2s ease;
}

.footer-col a:hover { color: var(--moss); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.footer-bottom a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--moss); }

/* ============================================== MOTION (entrance) */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .7s var(--ease-out) both; }
.fade-up.delay-1 { animation-delay: .08s; }
.fade-up.delay-2 { animation-delay: .16s; }
.fade-up.delay-3 { animation-delay: .24s; }
.fade-up.delay-4 { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
