@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,700;12..96,800&family=IBM+Plex+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #06080b;
  --bg1: #0a0f14;
  --bg2: #0e151d;
  --bg3: #131d27;
  --surface: rgba(255, 255, 255, 0.04);
  --surface2: rgba(255, 255, 255, 0.07);
  --surface3: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --teal: #00c49a;
  --teal-strong: #00e5b3;
  --teal-dim: rgba(0, 196, 154, 0.12);
  --teal-glow: rgba(0, 196, 154, 0.22);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.14);
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.14);
  --purple: #8b5cf6;
  --purple-dim: rgba(139, 92, 246, 0.14);
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --muted-strong: #64748b;
  --radius: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --card-bg: linear-gradient(180deg, rgba(12, 18, 26, 0.94), rgba(8, 13, 18, 0.82));
  --card-bg-scroll: rgba(8, 13, 18, 0.95);
  --hero-logo-color: #00c49a;
  --float-card-bg: #0e1922;
  --float-card-text: #e2e8f0;
  --float-hint: #94a3b8;
  --noise-dot: rgba(255, 255, 255, 0.03);
  --grid-line: rgba(255, 255, 255, 0.02);
  --nav-hover-bg: rgba(255, 255, 255, 0.04);
  --nav-hover-border: rgba(255, 255, 255, 0.12);
  --dropdown-bg: #131d27;
}

[data-theme="light"] {
  --bg: #f5f7fa;
  --bg1: #edf0f5;
  --bg2: #e4e8ef;
  --bg3: #dce1ea;
  --surface: rgba(0, 0, 0, 0.03);
  --surface2: rgba(0, 0, 0, 0.05);
  --surface3: rgba(0, 0, 0, 0.07);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --teal: #009e7c;
  --teal-strong: #00b38e;
  --teal-dim: rgba(0, 158, 124, 0.1);
  --teal-glow: rgba(0, 158, 124, 0.18);
  --amber: #d97706;
  --amber-dim: rgba(217, 119, 6, 0.1);
  --blue: #2563eb;
  --blue-dim: rgba(37, 99, 235, 0.1);
  --purple: #7c3aed;
  --purple-dim: rgba(124, 58, 237, 0.1);
  --ink: #1a202c;
  --muted: #4a5568;
  --muted-strong: #718096;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.08);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.85));
  --card-bg-scroll: rgba(248, 250, 252, 0.95);
  --hero-logo-color: #1a202c;
  --float-card-bg: #ffffff;
  --float-card-text: #1a202c;
  --float-hint: #4a5568;
  --noise-dot: rgba(0, 0, 0, 0.02);
  --grid-line: rgba(0, 0, 0, 0.03);
  --nav-hover-bg: rgba(0, 0, 0, 0.04);
  --nav-hover-border: rgba(0, 0, 0, 0.1);
  --dropdown-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.ambient,
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.32;
  animation: drift 22s ease-in-out infinite alternate;
}

.ambient-blob:nth-child(1) {
  width: 620px;
  height: 620px;
  top: -220px;
  left: -140px;
  background: radial-gradient(circle, rgba(0, 196, 154, 0.32) 0%, transparent 72%);
}

.ambient-blob:nth-child(2) {
  width: 520px;
  height: 520px;
  top: 14%;
  right: -140px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24) 0%, transparent 72%);
  animation-delay: -6s;
}

.ambient-blob:nth-child(3) {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: 28%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  animation-delay: -11s;
}

.site-noise {
  z-index: 0;
  opacity: 0.2;
  background-image: radial-gradient(var(--noise-dot) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 86%);
  mask-image: radial-gradient(circle at center, black, transparent 86%);
}

.site-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px 40px;
}

.site-header,
.hero-panel,
.page-hero,
.detail-card,
.metric-card,
.signal-card,
.scenario-card,
.offer-card,
.faq-group,
.contact-panel,
.cart-panel,
.timeline-item,
.info-banner,
.split-panel,
.feature-card,
.site-form,
.tech-visual,
.cta-card,
.site-footer,
.trust-strip {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand-kicker,
.eyebrow,
.offer-kicker,
.timeline-year,
.feature-index,
.system-label,
.tech-visual-title,
.why-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-kicker {
  margin: 0 0 2px;
  font-size: 0.65rem;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: start;
  gap: 14px;
  padding: 10px 16px;
  margin-bottom: 18px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: var(--card-bg-scroll);
  border-color: var(--border-strong);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
[data-theme="light"] .brand-mark {
  filter: brightness(0);
}

.wordmark,
.footer-brand {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--ink);
}

.brand-tag {
  display: none;
}

.lang-switcher {
  position: relative;
  display: inline-block;
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-dim);
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.lang-current:hover { color: var(--ink); border-color: var(--teal-dim); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 200;
}
.lang-switcher.is-open .lang-dropdown { display: block; }
.lang-option {
  display: block;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.lang-option:hover { background: var(--surface-dim); color: var(--ink); }
.lang-option.is-active { color: var(--teal); font-weight: 600; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 0.85rem; color: var(--ink-muted); }
.cookie-inner p strong { color: var(--ink); }
.cookie-actions { display: flex; gap: 8px; margin-left: auto; }
.button-sm { padding: 6px 14px; font-size: 0.78rem; }

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.header-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}

.header-controls-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.82rem;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: var(--ink);
  background: var(--nav-hover-bg);
  border-color: var(--nav-hover-border);
}

.cart-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  margin-left: 8px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--teal);
  color: #03150f;
  font-size: 0.78rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #03150f;
  background: linear-gradient(135deg, var(--teal), var(--teal-strong));
  box-shadow: 0 10px 32px var(--teal-glow);
}

.button-secondary,
.button-ghost {
  color: var(--ink);
  background: var(--surface2);
  border-color: var(--border-strong);
}

.page-main {
  display: grid;
  gap: 28px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.page-section,
.page-hero,
.section-grid {
  margin: 0;
}

.hero-panel,
.page-hero,
.split-panel,
.info-banner,
.trust-strip,
.site-footer,
.cta-card {
  padding: 32px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 30px;
  align-items: center;
}

.hero-panel::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 196, 154, 0.09) 0%, transparent 48%, rgba(59, 130, 246, 0.08) 100%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.cta-card > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(0, 196, 154, 0.24);
  border-radius: 999px;
  background: var(--teal-dim);
  color: var(--teal-strong);
  font-size: 0.84rem;
  font-weight: 500;
}

.hero-badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--teal);
  color: #03150f;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(0, 196, 154, 0.12);
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.section-header h2,
.split-panel h2,
.info-banner h2,
.cta-card h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  margin-bottom: 18px;
}

.page-hero h1,
.section-heading h2,
.section-header h2,
.split-panel h2,
.info-banner h2,
.cta-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.accent {
  background: linear-gradient(135deg, var(--teal), var(--teal-strong) 45%, #73fff0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description,
.page-hero p,
.section-heading p,
.section-header p,
.split-panel p,
.info-banner p,
.cta-card p,
.offer-card p,
.detail-card p,
.scenario-card p,
.contact-panel p,
.cart-panel p,
.timeline-item p,
.faq-group p {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions,
.link-stack,
.section-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-proof-value {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
}

.hero-proof-label {
  color: var(--muted-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-proof-sep {
  width: 1px;
  height: 38px;
  background: var(--border-strong);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: min(100%, 520px);
  height: auto;
}

/* --- Hero logo scene (replaces SVG house illustration) --- */
.hero-logo-scene {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: 220px;
  height: 220px;
  color: var(--hero-logo-color);
  opacity: 1;
  filter: drop-shadow(0 0 80px rgba(0, 196, 154, 0.75)) drop-shadow(0 0 160px rgba(0, 196, 154, 0.4)) drop-shadow(0 0 240px rgba(0, 196, 154, 0.2));
  animation: logo-breathe 5s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 80px rgba(0, 196, 154, 0.75)) drop-shadow(0 0 160px rgba(0, 196, 154, 0.4)) drop-shadow(0 0 240px rgba(0, 196, 154, 0.2)); }
  50%      { opacity: 1; filter: drop-shadow(0 0 100px rgba(0, 196, 154, 0.9)) drop-shadow(0 0 200px rgba(0, 196, 154, 0.5)) drop-shadow(0 0 300px rgba(0, 196, 154, 0.25)); }
}

.hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 196, 154, 0.07);
}

.hero-orbit-ring--outer {
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
}

.hero-orbit-ring--inner {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-color: rgba(0, 196, 154, 0.05);
}

.hero-orbit-dot {
  position: absolute;
}

.hero-orbit-dot span {
  display: block;
  border-radius: 50%;
}

/* Floating info cards (HTML version of old SVG cards) */
.hero-float-card {
  position: absolute;
  background: var(--float-card-bg);
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 120px;
  border: 1px solid rgba(0, 196, 154, 0.2);
  pointer-events: none;
}

.hero-float-card strong {
  display: block;
  color: var(--float-card-text);
  font-size: 0.95rem;
  line-height: 1.3;
}

.hero-float-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hero-float-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--float-hint);
  font-size: 0.7rem;
  margin-top: 3px;
}

.hero-float-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c49a;
  box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.2);
}

.trust-strip {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(0, 196, 154, 0.04), rgba(255, 255, 255, 0.02));
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 2px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
}

.trust-item span {
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 196, 154, 0.2);
  background: var(--teal-dim);
  color: var(--teal-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex: 0 0 auto;
}

.section-header,
.section-heading {
  max-width: 760px;
}

.section-header {
  margin: 0 auto 32px;
}

.section-header.text-center,
.text-center {
  text-align: center;
}

.section-heading.compact-heading h2 {
  margin-bottom: 10px;
}

.section-surface {
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 15, 20, 0.94), rgba(8, 13, 18, 0.84));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.features-grid,
.card-grid,
.timeline,
.faq-groups {
  display: grid;
  gap: 20px;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two-up,
.timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card,
.scenario-card,
.offer-card,
.faq-group,
.contact-panel,
.cart-panel,
.timeline-item,
.info-banner,
.feature-card,
.site-form {
  padding: 24px;
}

.feature-card,
.detail-card,
.scenario-card,
.offer-card,
.timeline-item,
.faq-group,
.contact-panel,
.cart-panel,
.site-form,
.info-banner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.offer-card::before,
.scenario-card::before,
.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 196, 154, 0.08), transparent 58%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.feature-card:hover::before,
.offer-card:hover::before,
.scenario-card:hover::before,
.detail-card:hover::before {
  opacity: 1;
}

.feature-card-large {
  grid-column: span 2;
}

.feature-card h3,
.detail-card h3,
.scenario-card h3,
.offer-card h3,
.timeline-item h3,
.faq-group h3,
.contact-panel h2,
.cart-panel h2,
.info-banner h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.bullet-list,
.signal-list,
.step-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.bullet-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bullet-row {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.bullet-row::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.bullet-list li,
.signal-list li,
.step-list li {
  margin-bottom: 8px;
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-points span,
.footer-pills span,
.proto-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 196, 154, 0.18);
  background: rgba(0, 196, 154, 0.08);
  color: var(--ink);
  font-size: 0.88rem;
}

.feature-index {
  color: var(--teal-strong);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.why-column {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
}

.why-column-positive {
  background: linear-gradient(180deg, rgba(0, 196, 154, 0.08), rgba(255, 255, 255, 0.02));
  border-color: rgba(0, 196, 154, 0.2);
}

.why-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
}

.why-label-negative {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.why-label-positive {
  color: var(--teal-strong);
  background: var(--teal-dim);
  border: 1px solid rgba(0, 196, 154, 0.24);
}

.why-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
}

.why-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--teal-strong);
  font-weight: 700;
}

/* Video CTA inside why-column */
.why-video-cta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 196, 154, 0.15);
}
.why-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.why-video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--teal-strong);
  font-size: 0.85rem;
}

/* Fullscreen video overlay */
.video-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
.video-overlay.is-open {
  display: flex;
}
.video-overlay video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  outline: none;
}
.video-overlay-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
}
.video-overlay-close:hover {
  color: var(--teal-strong);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.step-item {
  position: relative;
  padding: 0 20px;
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 2px solid var(--teal);
  background: var(--bg2);
  color: var(--teal-strong);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 0 28px var(--teal-dim);
}

.step-item h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}
.split-reverse > * {
  direction: ltr;
}

.cap-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cap-heading h2 {
  margin-bottom: 12px;
}

.cap-tagline {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

.cap-body p {
  margin-bottom: 16px;
}

.tech-protocols,
.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-protocols {
  margin-top: 28px;
}

.proto-chip {
  background: var(--surface2);
  border-color: var(--border-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.tech-visual {
  padding: 24px;
}

.tech-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.tech-row-last {
  border-bottom: 0;
}

.tech-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.tech-row-dot-blue {
  background: var(--blue);
}

.tech-row-dot-amber {
  background: var(--amber);
}

.tech-row-name {
  font-size: 0.95rem;
}

.tech-row-val {
  color: var(--teal-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.catalog-note,
.cart-meta,
.form-status,
.metric-label {
  color: var(--muted);
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item:first-of-type {
  border-top: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

/* Collapsible FAQ sections */
.faq-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.faq-section > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-section > summary::-webkit-details-marker {
  display: none;
}

.faq-section > summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-section[open] > summary::after {
  content: "−";
}

.faq-section-title h2 {
  margin: 0;
}

/* FAQ search */
.faq-search-wrap {
  margin-bottom: 24px;
}

.faq-search {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.faq-search:focus {
  outline: 0;
  border-color: rgba(0, 196, 154, 0.34);
  box-shadow: 0 0 0 4px rgba(0, 196, 154, 0.12);
}

.faq-no-results {
  text-align: center;
  color: var(--muted);
  padding: 32px 0;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 22px;
}

.site-form {
  display: grid;
  gap: 16px;
}

.site-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 0;
  border-color: rgba(0, 196, 154, 0.34);
  box-shadow: 0 0 0 4px rgba(0, 196, 154, 0.12);
}

.cart-layout {
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.cart-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.cart-item header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-side-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.hero-side-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-side-stack {
  display: grid;
  gap: 12px;
}

.hero-side-row {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.hero-side-row strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.hero-side-row span {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-side-recommended {
  border-color: var(--accent);
  background: rgba(0, 196, 154, 0.07);
}

.badge-recommended {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  vertical-align: middle;
  margin-left: 6px;
}

.hero-side-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 6px;
  padding: 0 2px;
}

.compact-actions {
  margin-top: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 6px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-heading {
  margin-bottom: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-intro p,
.site-footer p,
.site-footer a {
  color: var(--muted);
  margin: 0;
  padding: 0;
  line-height: 1.2;
}
.site-footer > div > p + p {
  margin-top: 3px;
}

.footer-intro {
  display: flex;
  align-items: flex-start;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--card-bg, #0e1922);
  border: 1px solid var(--border, #1a2535);
  border-radius: 12px;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s;
}
.testimonial-card:hover {
  border-color: var(--accent, #00c49a);
}
.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--body, #cbd5e1);
  line-height: 1.6;
  flex: 1;
}
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.testimonial-name {
  font-weight: 700;
  color: var(--heading, #e2e8f0);
}
.testimonial-focus {
  font-size: 0.8em;
  color: var(--accent, #00c49a);
  opacity: 0.8;
}

.cta-section {
  position: relative;
}

.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* ── Getting-started step tabs ─────────────────────────────── */
.gs-steps-nav .step-item {
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 18px 20px;
}
.gs-steps-nav .step-item:hover {
  border-color: var(--teal-dim);
}
.gs-steps-nav .step-item.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 20px var(--teal-dim);
}
.gs-steps-nav .step-item.is-active .step-number {
  background: var(--teal);
  color: var(--bg);
}
.gs-step-panels { margin-top: 32px; }
.gs-step-panel { display: none; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--shadow); animation: gsPanelIn .35s ease; }
.gs-step-panel.is-active { display: block; }
@keyframes gsPanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.journey-stack {
  display: grid;
  gap: 18px;
}

.journey-step,
.journey-substep {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.journey-substep {
  margin-top: 22px;
  border-radius: var(--radius-lg);
}

.journey-step-summary,
.journey-substep summary {
  list-style: none;
  cursor: pointer;
}

.journey-step-summary::-webkit-details-marker,
.journey-substep summary::-webkit-details-marker {
  display: none;
}

.journey-step-summary {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
}

.journey-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(0, 196, 154, 0.3);
  background: var(--teal-dim);
  color: var(--teal-strong);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.journey-step-copy h3,
.journey-substep summary {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.journey-step-copy p,
.journey-substep p {
  margin: 0;
  color: var(--muted);
}

.journey-step-body,
.journey-substep {
  padding: 0 26px 26px;
}

.journey-inline-products {
  margin-top: 22px;
}

.journey-product-card {
  min-height: 100%;
}

.journey-option-card--recommended {
  border-color: rgba(0, 196, 154, 0.28);
  background: linear-gradient(180deg, rgba(0, 196, 154, 0.1), rgba(255, 255, 255, 0.02));
}

.journey-substep summary {
  padding: 20px 0 10px;
}

.cta-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  justify-content: center;
  margin-top: 26px;
}

.orbit {
  animation: orbit-spin 12s linear infinite;
  transform-origin: 260px 270px;
}

.hero-logo-scene .orbit,
.hero-logo-scene .orbit-reverse {
  transform-origin: center;
  animation: float 6s ease-in-out infinite;
}

.hero-logo-scene .orbit-reverse {
  animation-direction: reverse;
  animation-duration: 9s;
}

.orbit-reverse {
  animation-direction: reverse;
  animation-duration: 18s;
}

.house-glow {
  animation: house-pulse 4s ease-in-out infinite alternate;
}

.room-active {
  animation: room-flicker 3s ease-in-out infinite;
}

.float-card {
  animation: float 6s ease-in-out infinite;
}

.float-card-delayed {
  animation-delay: -3s;
  animation-duration: 8s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(38px, 28px) scale(1.08);
  }
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes house-pulse {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

@keyframes room-flicker {
  0%,
  90%,
  100% {
    opacity: 1;
  }

  95% {
    opacity: 0.72;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1100px) {
  .hero-panel,
  .page-hero-grid,
  .split-panel,
  .form-layout,
  .site-footer,
  .card-grid.three-up,
  .card-grid.two-up,
  .features-grid,
  .timeline,
  .why-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .split-reverse {
    direction: ltr;
  }

  .feature-card-large {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    gap: 2px;
    order: 3;
    padding: 12px 0 4px;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px;
    min-height: 44px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .nav-resources {
    width: 100%;
  }

  .nav-resources-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.9rem;
    justify-content: space-between;
    border-radius: 12px;
  }

  .nav-resources-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 14px;
    margin: 0;
  }

  .nav-resources-dropdown li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink);
    font-size: 0.88rem;
  }

  .header-controls {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .hero-proof-sep {
    display: none;
  }

  .design-switcher {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 14px 12px 28px;
  }

  .site-header,
  .hero-panel,
  .page-hero,
  .split-panel,
  .info-banner,
  .section-surface,
  .detail-card,
  .offer-card,
  .faq-group,
  .contact-panel,
  .cart-panel,
  .timeline-item,
  .site-footer,
  .site-form,
  .feature-card,
  .scenario-card,
  .trust-strip,
  .tech-visual,
  .cta-card,
  .why-column {
    padding: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .page-hero h1,
  .section-heading h2,
  .section-header h2,
  .split-panel h2,
  .info-banner h2,
  .cta-card h2 {
    font-size: clamp(1.6rem, 7vw, 2.6rem);
  }

  .feature-card h3,
  .detail-card h3,
  .scenario-card h3,
  .offer-card h3,
  .timeline-item h3,
  .faq-group h3,
  .contact-panel h2,
  .cart-panel h2,
  .info-banner h2 {
    font-size: 1.2rem;
  }

  .journey-step-summary {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 44px;
  }

  .steps-grid::before {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-item {
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }

  .step-number {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .hero-float-card {
    display: none;
  }

  .hero-logo-scene {
    width: min(100%, 220px);
    margin: 0 auto;
  }

  .hero-logo-img {
    width: 140px;
    height: 140px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-intro {
    justify-content: center;
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
    padding: 14px 16px;
  }

  .cookie-actions {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-badges-strip {
    justify-content: center;
  }

  .page-hero-grid {
    gap: 16px;
  }

  .section-header.text-center {
    text-align: left;
  }

  .hero-description,
  .page-hero p,
  .section-heading p,
  .section-header p {
    font-size: 0.92rem;
  }

  .cart-item header {
    flex-direction: column;
    gap: 8px;
  }

  .hero-side-card {
    padding: 18px;
  }

  .plans-row {
    grid-template-columns: 1fr;
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .profile-doc-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .store-detail-desc table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Blog cards ───────────────────────────────────── */
.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.blog-card:hover {
  border-color: var(--teal);
}
.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.blog-lang {
  background: var(--teal-dim);
  color: var(--teal);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.7rem;
}
.blog-card h2 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.blog-card-excerpt {
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}
.blog-card-cta {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 12px;
}
.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.blog-short-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.doc-faq-preview {
  align-items: start;
}

.doc-faq-card {
  min-height: 100%;
}

.hero-side-label-spaced {
  margin-top: 1.25rem;
}

.actions-centered-spaced {
  justify-content: center;
  margin-top: var(--space-5);
}

/* ── Blog pagination ─────────────────────────────── */
.blog-pagination {
  text-align: center;
}
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.pagination-info {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Blog subscription ───────────────────────────── */
.blog-subscribe {
  max-width: 560px;
  margin: 3rem auto;
}
.subscribe-card {
  background: var(--card-bg, #f8f9fa);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}
.subscribe-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.subscribe-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.2rem;
}
.subscribe-form {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.subscribe-form input[type="email"] {
  flex: 1;
  max-width: 280px;
  padding: 10px 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  font-size: 0.9rem;
}
.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--teal);
}

@media (max-width: 720px) {
  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input[type="email"] {
    max-width: none;
  }
}

/* ── Blog detail page ────────────────────────────── */
.blog-detail {
  max-width: 800px;
  margin: 0 auto;
}
.blog-article-header {
  margin-bottom: 2rem;
}
.blog-back-link {
  display: inline-block;
  color: var(--teal);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
}
.blog-back-link:hover {
  text-decoration: underline;
}
.blog-article-header h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 0 0 12px;
}
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.blog-article-lead {
  max-width: 52rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: var(--teal-dim);
  color: var(--teal-strong);
  font-size: 0.78rem;
  font-weight: 700;
}
.blog-article-hero {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.blog-article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
}
.blog-article-content h2 {
  font-size: 1.3rem;
  margin: 2em 0 0.8em;
}
.blog-article-content h3 {
  font-size: 1.1rem;
  margin: 1.5em 0 0.6em;
}
.blog-article-content p {
  margin: 0 0 1.2em;
}
.blog-article-content ul, .blog-article-content ol {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}
.blog-article-content li {
  margin-bottom: 0.4em;
}
.blog-article-content a {
  color: var(--teal);
}
.blog-lang-switch {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #e2e8f0);
  font-size: 0.88rem;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}
.blog-lang-switch a {
  color: var(--teal);
  text-decoration: none;
}
.blog-lang-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .blog-article-header h1 {
    font-size: 1.5rem;
  }

  .blog-article-meta {
    gap: 10px;
  }
}

/* ── Alert flash messages ────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ── Legal / Privacy pages ────────────────────────── */
.legal-content {
  max-width: 720px;
}
.legal-content h2 {
  font-size: 1.15rem;
  margin: 2em 0 0.6em;
  color: var(--ink);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  color: var(--muted);
  line-height: 1.7;
}
.legal-content ul {
  color: var(--muted);
  padding-left: 1.5em;
}
.legal-content li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}
.legal-content a {
  color: var(--teal);
}

/* ── Footer legal links ──────────────────────────── */
.footer-legal-links {
  margin-top: 12px;
  font-size: 0.82rem;
}
.footer-legal-links a {
  color: var(--muted);
}
.footer-legal-links a:hover {
  color: var(--teal);
}

/* ── Design switcher ──────────────────────────── */
.design-switcher {
  position: relative;
  display: inline-block;
}
.design-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.design-toggle:hover {
  color: var(--ink);
  border-color: var(--teal-dim);
  background: var(--surface2);
}
.design-toggle svg { fill: currentColor; }
.design-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 200;
}
.design-switcher.is-open .design-dropdown { display: block; }
.design-dropdown li {
  display: block;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.design-dropdown li:hover { background: var(--surface-dim); color: var(--ink); }
.design-dropdown li.is-active { color: var(--teal); font-weight: 600; }

/* ── Theme toggle ──────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--teal-dim);
  background: var(--surface2);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ── Light theme overrides for hardcoded dark backgrounds ── */
[data-theme="light"] .ambient-blob { opacity: 0.12; }
[data-theme="light"] .site-noise { opacity: 0.08; }
[data-theme="light"] .trust-strip {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.01), rgba(0, 158, 124, 0.04), rgba(0, 0, 0, 0.01));
}
[data-theme="light"] .hero-logo-img {
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.08));
}
[data-theme="light"] .hero-float-card {
  border-color: rgba(0, 158, 124, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .hero-float-dot {
  box-shadow: 0 0 0 3px rgba(0, 158, 124, 0.15);
}
[data-theme="light"] .hero-orbit-ring {
  border-color: rgba(0, 158, 124, 0.1);
}
[data-theme="light"] .hero-orbit-ring--inner {
  border-color: rgba(0, 158, 124, 0.07);
}
[data-theme="light"] .detail-card,
[data-theme="light"] .metric-card,
[data-theme="light"] .signal-card,
[data-theme="light"] .scenario-card,
[data-theme="light"] .offer-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .split-panel,
[data-theme="light"] .cta-card {
  background: var(--card-bg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--teal-strong));
}
[data-theme="light"] .button-primary:hover {
  color: #ffffff;
}
[data-theme="light"] .cart-link span {
  color: #ffffff;
}
[data-theme="light"] .hero-kicker-bg {
  background: linear-gradient(135deg, rgba(0, 158, 124, 0.09) 0%, transparent 48%, rgba(37, 99, 235, 0.06) 100%);
}
[data-theme="light"] @keyframes logo-breathe {
  0%, 100% { opacity: 0.92; }
  50%      { opacity: 1; filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.12)); }
}

/* ── Store ─────────────────────────────────────────── */

.store-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.store-sidebar {
  position: sticky;
  top: 90px;
}

.store-search-row {
  margin-bottom: 16px;
}

.store-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.92rem;
}

.store-search:focus {
  outline: none;
  border-color: var(--teal);
}

.store-categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  text-align: left;
  transition: background 120ms ease, color 120ms ease;
}

.store-cat-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.store-cat-btn.is-active {
  background: rgba(0, 196, 154, 0.1);
  color: var(--teal-strong);
  font-weight: 600;
}

.store-cat-count {
  font-size: 0.78rem;
  opacity: 0.6;
}

.store-result-count {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.store-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.store-grid-related {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.store-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.store-card:hover {
  border-color: rgba(0, 196, 154, 0.3);
  transform: translateY(-2px);
}

.store-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.store-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.store-card-img-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.03);
}

.store-card-body {
  padding: 14px 16px 8px;
}

.store-card-body h3 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 4px;
}

.store-card-cat {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.store-card-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-strong);
}

.store-card-actions {
  padding: 0 16px 14px;
}

.store-card-actions .button {
  width: 100%;
  font-size: 0.82rem;
}

.store-no-results {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 32px 0;
  text-align: center;
}

/* --- Store detail --- */

.store-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.store-breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.store-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.4;
}

.store-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.store-detail-media {
  position: sticky;
  top: 90px;
}

.store-detail-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  object-fit: contain;
}

.store-detail-img-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.store-detail-info h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.store-detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-strong);
  margin-bottom: 8px;
}

.store-detail-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.store-detail-stock {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.store-detail-stock.in-stock {
  color: var(--teal);
}

.store-detail-stock.out-of-stock {
  color: #f87171;
}

.store-detail-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.store-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 196, 154, 0.18);
  background: rgba(0, 196, 154, 0.08);
  color: var(--ink);
  font-size: 0.82rem;
  text-decoration: none;
}

.store-tag:hover {
  border-color: var(--teal);
}

.store-detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.store-detail-desc {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.store-detail-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.store-detail-desc td,
.store-detail-desc th {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
}

.store-detail-desc td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* --- Store light theme --- */
[data-theme="light"] .store-card {
  background: var(--card-bg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .store-search {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .store-cat-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* --- Store responsive --- */
@media (max-width: 980px) {
  .store-layout {
    grid-template-columns: 1fr;
  }
  .store-sidebar {
    position: static;
  }
  .store-categories {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .store-cat-btn {
    width: auto;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
  }
}

@media (max-width: 720px) {
  .store-detail-layout {
    grid-template-columns: 1fr;
  }
  .store-detail-media {
    position: static;
  }
  .store-detail-actions {
    flex-direction: column;
  }
  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* ===================================================================
   MEMBERSHIP
   =================================================================== */

/* --- Section titles for plans & add-ons --- */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 .3rem;
}
.section-subtitle {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* --- Billing info bar --- */
.billing-info-bar {
  padding: 0;
}
.billing-info-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  font-size: 0.88rem;
}
.billing-info-label {
  font-weight: 600;
}
.billing-trial-badge,
.billing-cancel-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.billing-trial-badge {
  background: rgba(0, 196, 154, 0.15);
  color: #00c49a;
}
.billing-cancel-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* --- Plans row (mutually exclusive) --- */
.plans-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.plan-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.plan-card:hover {
  border-color: var(--accent, #0af);
  box-shadow: 0 4px 24px rgba(0, 170, 255, .08);
}
.plan-card--default {
  border-color: var(--accent, #0af);
  box-shadow: 0 0 0 1px var(--accent, #0af);
}
.plan-card--active {
  border-color: #2ecc71;
  box-shadow: 0 0 0 2px #2ecc71;
}
.plan-card--active:hover {
  border-color: #2ecc71;
  box-shadow: 0 0 12px rgba(46, 204, 113, .25);
}
.plan-card-badge--active {
  background: #2ecc71;
}
.plan-card-badge {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: var(--accent, #0af);
  color: #000;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .5rem;
  border-radius: 4px;
}
.plan-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.plan-card-name {
  font-size: 1.15rem;
  margin: 0;
}
.plan-card-highlights {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.plan-card-stat {
  font-size: .75rem;
  color: var(--accent, #0af);
  background: rgba(0, 170, 255, .08);
  padding: .2rem .5rem;
  border-radius: 4px;
}
.plan-card-tier-badge {
  font-size: .7rem;
  font-weight: 600;
  color: #e76f51;
  background: rgba(231, 111, 81, .12);
  padding: .2rem .5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.plan-includes-banner {
  font-size: .82rem;
  color: var(--fg);
  background: rgba(0, 170, 255, .06);
  border-left: 3px solid var(--accent, #0af);
  padding: .5rem .75rem;
  border-radius: 0 6px 6px 0;
  margin: .2rem 0 0;
  line-height: 1.4;
}
.plan-includes-icon {
  color: var(--accent, #0af);
  margin-right: .25rem;
}
.plan-includes-plus {
  display: block;
  font-size: .75rem;
  color: #e76f51;
  margin-top: .15rem;
}
.plan-exclusive-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent, #0af);
  margin: .3rem 0 0;
  font-weight: 600;
}
.plan-enhanced-note {
  font-size: .8rem;
  color: var(--muted);
  font-style: italic;
  margin: .3rem 0 0;
}

/* --- Add-ons section: title spans full width above sidebar+grid --- */
.membership-addons-title,
.membership-addons-subtitle {
  grid-column: 1 / -1;
}

/* Collapsible services wrapper */
.membership-details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
}
.membership-details[open] {
  padding-bottom: 1.5rem;
}
.membership-toggle {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .75rem;
  user-select: none;
}
.membership-toggle::-webkit-details-marker { display: none; }
.membership-toggle .section-title { margin: 0; }
.membership-toggle .section-subtitle { margin: 0; width: 100%; }
.membership-toggle-icon {
  margin-left: auto;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform .2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2399a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.membership-details[open] .membership-toggle-icon {
  transform: rotate(180deg);
}
.membership-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 0 1.5rem;
}
.membership-sidebar {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.membership-filter-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.membership-filter-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0;
}
.membership-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.membership-tier-btn,
.membership-domain-btn {
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: .35rem .7rem;
  border-radius: 6px;
  font-size: .8rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.membership-tier-btn:hover,
.membership-domain-btn:hover {
  border-color: var(--accent, #0af);
}
.membership-tier-btn.is-active,
.membership-domain-btn.is-active {
  background: var(--accent, #0af);
  color: #000;
  border-color: var(--accent, #0af);
}
.membership-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.membership-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.membership-card:hover {
  border-color: var(--accent, #0af);
  box-shadow: 0 4px 24px rgba(0, 170, 255, .08);
}
.membership-card-link {
  text-decoration: none;
  color: inherit;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.membership-card-header {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.membership-tier-badge,
.membership-domain-badge {
  font-size: .7rem;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.membership-tier-badge {
  background: var(--accent, #0af);
  color: #000;
}
.membership-tier-standard {
  background: #2a9d8f;
  color: #fff;
}
.membership-tier-enhanced {
  background: #e76f51;
  color: #fff;
}
.membership-domain-badge {
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--muted);
}
.membership-card h3 {
  font-size: 1.05rem;
  margin: 0;
}
.membership-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent, #0af);
  margin: 0;
}
.membership-card-desc {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.membership-card-perks {
  list-style: none;
  padding: 0;
  margin: .3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .78rem;
  color: var(--muted);
}
.membership-card-perks li::before {
  content: "✓ ";
  color: var(--accent, #0af);
}
.membership-card-perks .perk-extra {
  display: none;
}
.membership-card-perks.is-expanded .perk-extra {
  display: list-item;
}
.membership-card-perks .membership-more {
  font-style: italic;
  color: var(--accent, #0af);
  cursor: pointer;
  user-select: none;
}
.membership-card-perks .membership-more:hover {
  text-decoration: underline;
}
.membership-card-perks .membership-more::before {
  content: "";
}
.membership-card-actions {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
}
/* Included-in-plan state */
.membership-card--included {
  opacity: .55;
  pointer-events: auto;
}
.membership-card--included:hover { opacity: .7; }
.membership-included-badge {
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(var(--accent-rgb, 0,200,150), .12);
  padding: .15rem .5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.membership-included-note {
  font-size: .8rem;
  color: var(--accent);
  font-weight: 500;
  margin: 0;
}
/* Detail */
.membership-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.membership-detail-header {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}
.membership-detail-badges {
  display: flex;
  gap: .4rem;
  margin-bottom: .75rem;
}
.membership-detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent, #0af);
  margin: .5rem 0 0;
}
.membership-detail-billing {
  font-size: .85rem;
  color: var(--muted);
  margin: .25rem 0 0;
}
.membership-detail-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.membership-detail-desc p {
  line-height: 1.65;
  color: var(--muted);
}
.membership-perks-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.membership-perks-list li {
  padding: .5rem .75rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .88rem;
}
.membership-perks-list li::before {
  content: "✓ ";
  color: var(--accent, #0af);
  font-weight: 700;
}
.membership-detail-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
/* Light theme */
[data-theme="light"] .membership-card {
  background: #fff;
}
[data-theme="light"] .membership-tier-btn,
[data-theme="light"] .membership-domain-btn {
  background: #f4f4f5;
}
[data-theme="light"] .membership-perks-list li {
  background: #f8f8fa;
}
/* Responsive */
@media (max-width: 980px) {
  .membership-layout {
    grid-template-columns: 1fr;
  }
  .membership-sidebar {
    position: static;
    flex-direction: column;
    gap: .75rem;
  }
  .membership-filter-btns {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .membership-detail-layout {
    grid-template-columns: 1fr;
  }
  .membership-detail-header {
    position: static;
  }
  .membership-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* ==========================================================================
   Authentication
   ========================================================================== */

.page-hero-compact {
  text-align: center;
  padding-block: var(--section-gap, 48px) 24px;
}
.page-hero-compact h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.page-hero-compact p  { max-width: 500px; margin-inline: auto; opacity: .7; }

.auth-layout {
  max-width: 440px;
  margin-inline: auto;
}

.auth-form {
  gap: 18px !important;
}

.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  opacity: .5;
  transition: opacity .2s;
}
.password-toggle:hover { opacity: 1; }

.auth-hint {
  font-size: .82rem;
  opacity: .55;
  margin-top: -8px;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-link {
  font-size: .85rem;
  opacity: .7;
  transition: opacity .2s;
}
.auth-link:hover { opacity: 1; }

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.auth-footer p { opacity: .7; }
.auth-footer a { font-weight: 600; }

.auth-alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.45;
}

.auth-alert-error {
  background: rgba(220, 38, 38, .1);
  border: 1px solid rgba(220, 38, 38, .25);
  color: #f87171;
}

.auth-alert-success {
  background: rgba(0, 196, 154, .1);
  border: 1px solid rgba(0, 196, 154, .25);
  color: #00c49a;
}

.auth-alert-warning {
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .25);
  color: #fbbf24;
}

.auth-link-btn {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
  margin-left: 6px;
}

.input-disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Auth nav buttons (header) */
.auth-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.auth-login-btn {
  background: var(--accent, #00c49a);
  color: #111;
}
.auth-login-btn:hover {
  filter: brightness(1.15);
}

.auth-profile-btn {
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
}
.auth-profile-btn:hover {
  background: rgba(255, 255, 255, .14);
}

.auth-nav-label {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* System selector dropdown in nav */
.system-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.system-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  border: 1px solid var(--border, rgba(255,255,255,.12));
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.system-selector-btn:hover {
  background: rgba(255, 255, 255, .12);
}

.system-selector-label {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--dropdown-bg, #1c1c1e);
  border: 1px solid var(--border, rgba(255,255,255,.12));
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  z-index: 200;
  list-style: none;
  padding: 6px;
  margin: 0;
}
.system-dropdown.is-open {
  display: block;
}
.system-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 500;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s;
}
.system-option:hover { background: rgba(255,255,255,.06); }
.system-option.is-active { color: var(--accent, #00c49a); }

/* Membership subscription UI */
.membership-expiry-note {
  font-size: .76rem;
  color: var(--text-secondary, #999);
  margin: 4px 0 0;
  text-align: center;
}
.membership-no-system-note {
  font-size: .8rem;
  color: var(--text-secondary, #999);
  font-style: italic;
}

/* Profile — linked systems */
.auth-section {
  margin-top: 32px;
}
.auth-section h2 { font-size: 1.1rem; margin-bottom: 12px; }

.auth-systems-list {
  display: grid;
  gap: 10px;
}

.auth-system-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
}

.auth-system-status {
  font-size: .8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.status-active { background: rgba(0, 196, 154, .15); color: #00c49a; }
.status-inactive { background: rgba(220, 38, 38, .15); color: #f87171; }
.status-pending { background: rgba(245, 158, 11, .15); color: #fbbf24; }

@media (max-width: 600px) {
  .auth-row {
    grid-template-columns: 1fr;
  }
  .auth-actions {
    flex-direction: column;
  }
  .auth-nav-label {
    display: none;
  }
}

/* ── MCP conversation examples ────────────────────── */
.mcp-examples { max-width: 720px; margin-inline: auto; }
.mcp-examples h2 { text-align: center; margin-bottom: .5rem; }
.mcp-examples-intro { text-align: center; color: var(--text-secondary, #999); margin-bottom: 2rem; }
.mcp-chat { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.mcp-bubble { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1.25rem; border-radius: 1rem; }
.mcp-tag { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: .25rem .6rem; border-radius: .375rem; flex-shrink: 0; margin-top: .15rem; }
.mcp-tag-user { background: rgba(255,255,255,.1); color: var(--text-secondary, #aaa); }
.mcp-tag-agent { background: var(--accent, #6366f1); color: #fff; }
.mcp-bubble p { margin: 0; line-height: 1.5; }
.mcp-user { background: var(--surface-alt, rgba(255,255,255,.06)); }
.mcp-agent { background: var(--accent-bg, rgba(99,102,241,.12)); border-left: 3px solid var(--accent, #6366f1); }
.mcp-highlight { margin: 2rem 0 1rem; padding: 1.25rem 1.5rem; border-radius: 1rem; background: var(--accent-bg, rgba(99,102,241,.08)); border: 1px dashed var(--accent, #6366f1); }
.mcp-highlight-label { font-weight: 600; font-size: 1.1rem; margin: 0 0 .5rem; }
.mcp-highlight-explain { margin: 0; color: var(--text-secondary, #999); line-height: 1.6; }

/* ── Extensibility card accent bars ───────────────── */
.ext-card-accent { width: 40px; height: 4px; border-radius: 2px; margin-bottom: .75rem; }
.ext-accent-1 { background: #18bcf2; }
.ext-accent-2 { background: #6366f1; }
.ext-accent-3 { background: #f59e0b; }
.ext-accent-4 { background: #10b981; }

/* ── Homepage redesign — hero additions ───────────── */
.hero-privacy-phrase {
  margin: 14px 0 22px;
  font-size: 0.95rem;
  color: var(--teal-strong);
  font-style: italic;
  line-height: 1.5;
}
.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,196,154,0.35);
  background: rgba(0,196,154,0.07);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Nav resources dropdown ───────────────────────── */
.nav-resources {
  position: relative;
  display: inline-block;
}
.nav-resources-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-resources-btn:hover { color: var(--ink); background: var(--surface-dim); }
.nav-resources-btn svg { flex-shrink: 0; opacity: 0.6; }
.nav-resources-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 300;
}
.nav-resources.is-open .nav-resources-dropdown { display: block; }
.nav-resources-dropdown li a {
  display: block;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.nav-resources-dropdown li a:hover { background: var(--surface-dim); color: var(--ink); }

/* ── Life scenario cards ──────────────────────────── */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.life-scenario-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-dim);
  transition: border-color 0.2s;
}
.life-scenario-card:hover { border-color: rgba(0,196,154,0.30); }
.life-scenario-icon { font-size: 1.6rem; line-height: 1; }
.life-scenario-card h3 { font-size: .95rem; font-weight: 700; font-style: italic; margin: 0; }
.life-scenario-card p { font-size: 0.82rem; color: var(--ink-muted); margin: 0; line-height: 1.55; }

/* ── Shuffle / refresh button ──────────────────────── */
.shuffle-btn {
  background: none;
  border: 1px solid var(--border, #1a2535);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink-muted, #94a3b8);
  cursor: pointer;
  vertical-align: middle;
  margin-left: 8px;
  transition: color 0.2s, border-color 0.2s, transform 0.3s;
}
.shuffle-btn:hover {
  color: var(--accent, #00c49a);
  border-color: var(--accent, #00c49a);
  transform: rotate(180deg);
}
.pool-item[hidden] { display: none; }
.pool-item.pool-visible {
  animation: poolFadeIn 0.45s ease;
}
@keyframes poolFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Sovereignty section ──────────────────────────── */
.sovereignty-header {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.sovereignty-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sovereignty-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 28px;
}
.sovereignty-stats-centered {
  grid-template-columns: repeat(4, auto);
  max-width: 640px;
  margin: 32px auto 0;
  justify-content: center;
  gap: 0 48px;
}
.sovereignty-stat { display: flex; flex-direction: column; gap: 4px; }
.sovereignty-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-strong);
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1;
}
.sovereignty-stat-label { font-size: 0.82rem; color: var(--ink-muted); }
.sovereignty-protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.sovereignty-protocols .proto-chip {
  font-size: 0.72rem;
  padding: 3px 8px;
}

/* ── Device search ────────────────────────────────── */
.device-search-wrap { margin-top: 28px; }
.device-search-hint {
  font-size: 0.82rem;
  color: var(--muted, var(--ink-muted));
  margin-bottom: 8px;
}
.device-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--surface-dim);
  border-radius: var(--radius, 8px);
  color: var(--ink);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.device-search-input:focus { border-color: var(--teal); }
.device-search-results { margin-top: 8px; min-height: 28px; }
.device-search-hint-link {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.85rem;
  color: var(--teal-strong);
  background: rgba(0,196,154,0.08);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.device-search-hint-link:hover { background: rgba(0,196,154,0.16); }

/* ── Pricing grid ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-dim);
  transition: border-color 0.2s;
}
.pricing-card--featured {
  border-color: rgba(0,196,154,0.40);
  background: var(--surface);
  box-shadow: 0 4px 24px rgba(0,196,154,0.08);
}
.pricing-card-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card-name { font-size: 1.1rem; font-weight: 700; margin: 0; }
.pricing-card-desc { font-size: 0.88rem; color: var(--ink-muted); margin: 0; line-height: 1.5; }
.pricing-card-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pricing-card-features li { font-size: 0.88rem; display: flex; align-items: flex-start; gap: 8px; }
.pricing-check { color: var(--teal-strong); font-weight: 700; flex-shrink: 0; }
.pricing-more { font-size: 0.8rem; color: var(--ink-muted); margin-top: 4px; }
.pricing-card-price { margin: 12px 0 0; }
.pricing-price-amount { font-size: 2rem; font-weight: 800; color: var(--ink-strong, #111); letter-spacing: -0.02em; }
.pricing-price-period { font-size: 0.85rem; color: var(--ink-muted); margin-left: 4px; }
.pricing-card--featured .pricing-price-amount { color: #fff; }
.pricing-card--featured .pricing-price-period { color: rgba(255,255,255,0.75); }
.pricing-price-onrequest { font-size: 1.1rem; font-weight: 600; color: var(--ink-muted); }
.pricing-card-actions { margin-top: auto; }
.pricing-card-actions .button { width: 100%; text-align: center; justify-content: center; }
.pricing-quote-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--muted, var(--ink-muted));
}
.pricing-footer { text-align: center; margin-top: 32px; }
.pricing-domains { font-size: 0.82rem; color: var(--ink-muted); margin: 0 0 20px; }

/* ── Pricing model (2-column) ─────────────────────── */
.pricing-model { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 640px; margin: 32px auto 0; }
.pricing-model--single { grid-template-columns: 1fr; max-width: 520px; }
.pricing-model-block { padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-dim); }
.pricing-model-block strong { display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--ink, #f0f4f8); }
.pricing-model-block p { font-size: 0.88rem; color: var(--ink-muted); margin: 0; line-height: 1.6; }

/* ── Pricing columns (3-column cards) ─────────────── */
.pricing-subtitle { font-size: 1.05rem; color: var(--ink-muted); margin: 8px 0 0; }
.pricing-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 820px; margin: 32px auto 0; }
.pricing-col { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-dim); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pricing-col-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 14px; border-radius: 20px; }
.pricing-col-badge--start { background: rgba(0,196,154,.15); color: #00c49a; }
.pricing-col-badge--equip { background: rgba(59,130,246,.15); color: #3b82f6; }
.pricing-col-badge--extend { background: rgba(139,92,246,.15); color: #8b5cf6; }
.pricing-col-label { font-size: 1rem; font-weight: 700; color: var(--ink, #f0f4f8); }
.pricing-col-price { font-size: 1.5rem; font-weight: 800; color: var(--teal-strong, #00c49a); margin: 4px 0; }
.pricing-col-features { list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.85rem; color: var(--ink-muted); line-height: 1.7; }
.pricing-col-features li { white-space: normal; }

/* ── Pricing clarify block ────────────────────────── */
.pricing-clarify { max-width: 680px; margin: 36px auto 0; text-align: left; }
.pricing-clarify h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--ink, #f0f4f8); }
.pricing-clarify-list { padding-left: 20px; margin: 0; font-size: 0.88rem; color: var(--ink-muted); line-height: 1.8; }
.pricing-clarify-list li { margin-bottom: 12px; }
.pricing-clarify-list li strong { color: var(--ink, #f0f4f8); }

/* ── Testimonial stars + location ────────────────── */
.testimonial-stars { font-size: 1rem; color: var(--teal-strong, #00c49a); letter-spacing: 1px; margin-bottom: 10px; }
.testimonial-location { font-size: 0.8rem; color: var(--ink-muted); margin-left: 8px; }

/* ── Responsive adjustments ───────────────────────── */
@media (max-width: 900px) {
  .scenarios-grid { grid-template-columns: 1fr; }
  .sovereignty-body { grid-template-columns: 1fr; }
  .sovereignty-stats-centered { grid-template-columns: repeat(2, auto); gap: 20px 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-model { grid-template-columns: 1fr; }
  .pricing-columns { grid-template-columns: 1fr; max-width: 360px; }
}

/* ═══════════════════════════════════════════════════════
   Profile page — tabs + panels
   ═══════════════════════════════════════════════════════ */
.profile-layout {
  max-width: 1100px;
  margin-inline: auto;
}

.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.12));
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.profile-tab {
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  opacity: .55;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s, border-color .2s;
}
.profile-tab:hover { opacity: .8; }
.profile-tab.is-active {
  opacity: 1;
  border-bottom-color: var(--accent, #00c49a);
  color: var(--accent, #00c49a);
}

.profile-panel {
  display: none;
}
.profile-panel.is-active {
  display: block;
}

.profile-card {
  padding: 24px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border, rgba(255,255,255,.12));
  margin-bottom: 20px;
}
.profile-card h3 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--ink);
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.profile-detail-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .82rem;
  color: var(--ink);
  opacity: .8;
}
.profile-detail-grid input,
.profile-detail-grid select {
  font: inherit;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border, rgba(255,255,255,.12));
  color: var(--ink);
}
.profile-detail-grid .full-width {
  grid-column: 1 / -1;
}

/* ── Profile — system cards ── */
.profile-systems-grid {
  display: grid;
  gap: 14px;
}

.profile-system-card {
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border, rgba(255,255,255,.12));
}
.profile-system-card h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.profile-system-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  font-size: .82rem;
}
.profile-system-meta dt {
  opacity: .55;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.profile-system-meta dd {
  margin: 0;
  font-weight: 600;
}

.profile-system-services {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-service-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(0,196,154,.12);
  color: #00c49a;
}

/* ── Profile — document tables ── */
.profile-doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.profile-doc-table th {
  text-align: left;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .5;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.12));
}
.profile-doc-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.profile-doc-table tr:hover td {
  background: rgba(255,255,255,.03);
}

.profile-doc-badge {
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: capitalize;
}
.profile-doc-badge-paid { background: rgba(0,196,154,.15); color: #00c49a; }
.profile-doc-badge-sent { background: rgba(59,130,246,.15); color: #60a5fa; }
.profile-doc-badge-overdue { background: rgba(220,38,38,.15); color: #f87171; }
.profile-doc-badge-draft { background: rgba(148,163,184,.15); color: #94a3b8; }
.profile-doc-badge-approved { background: rgba(0,196,154,.15); color: #00c49a; }
.profile-doc-badge-rejected { background: rgba(220,38,38,.15); color: #f87171; }
.profile-doc-badge-cancelled { background: rgba(148,163,184,.15); color: #94a3b8; }

.profile-doc-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent, #00c49a);
}

.profile-no-data {
  text-align: center;
  padding: 32px 16px;
  opacity: .5;
  font-size: .9rem;
}

/* ═══════════════════════════════════════════════════════
   Login — method tabs (email / SMS)
   ═══════════════════════════════════════════════════════ */
.auth-method-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.12));
  margin-bottom: 24px;
}

.auth-method-tab {
  flex: 1;
  padding: 10px 16px;
  font-size: .88rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  opacity: .5;
  cursor: pointer;
  text-align: center;
  transition: opacity .2s, border-color .2s;
}
.auth-method-tab:hover { opacity: .75; }
.auth-method-tab.is-active {
  opacity: 1;
  border-bottom-color: var(--accent, #00c49a);
  color: var(--accent, #00c49a);
}

.auth-method-panel {
  display: none;
}
.auth-method-panel.is-active {
  display: block;
}

.auth-alert-info {
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  color: #60a5fa;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.45;
  margin-bottom: 16px;
}

.auth-code-input {
  letter-spacing: .3em;
  font-size: 1.3rem;
  text-align: center;
  font-weight: 700;
}

.auth-link-btn {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
  font-size: .85rem;
  opacity: .65;
}
.auth-link-btn:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   Public document page (offer / invoice)
   ═══════════════════════════════════════════════════════ */
.document-layout {
  max-width: 720px;
  margin-inline: auto;
}

.document-header {
  margin-bottom: 24px;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.document-badge {
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: capitalize;
}
.document-badge-gray   { background: rgba(148,163,184,.15); color: #94a3b8; }
.document-badge-blue   { background: rgba(59,130,246,.15); color: #60a5fa; }
.document-badge-green  { background: rgba(0,196,154,.15); color: #00c49a; }
.document-badge-red    { background: rgba(220,38,38,.15); color: #f87171; }

.document-date {
  font-size: .82rem;
  opacity: .6;
}

.document-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.document-party {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .88rem;
}
.document-party-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .5;
  margin-bottom: 4px;
}

/* Commercial document header */
.document-header-commercial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.12));
  align-items: start;
}
.document-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.document-logo {
  width: 60px;
  height: auto;
  display: block;
}
.document-company-addr {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: .85rem;
  opacity: .7;
}
.document-header-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: .85rem;
  text-align: right;
}
.nowrap { white-space: nowrap; }

/* Price columns: prevent CHF from wrapping onto next line */
.document-table th.text-right,
.document-table td.text-right {
  white-space: nowrap;
}
.document-totals { max-width: 360px; }

.document-complement {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border, rgba(255,255,255,.12));
  margin-bottom: 24px;
  font-size: .9rem;
  font-style: italic;
  opacity: .8;
}

.document-card {
  padding: 24px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border, rgba(255,255,255,.12));
  margin-bottom: 20px;
}
.document-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.document-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.document-table th {
  text-align: left;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .5;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.12));
}
.document-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.document-table .text-right { text-align: right; }
.document-table .text-center { text-align: center; }
.document-table .text-muted { opacity: .4; }

.document-line-detail {
  font-size: .78rem;
  opacity: .55;
  font-style: italic;
}

.document-totals {
  max-width: 300px;
  margin-left: auto;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.document-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: .88rem;
}
.document-totals-grand {
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--border, rgba(255,255,255,.12));
}

/* ── Document pay section ── */
.document-pay-section h3 { color: var(--accent, #00c49a); }

.document-pay-btn {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.document-bank-info {
  font-size: .85rem;
  margin-bottom: 18px;
}
.document-bank-detail {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 6px;
}
.document-bank-detail span { opacity: .6; white-space: nowrap; }
.document-bank-detail code {
  font-family: monospace;
  font-size: .82rem;
  background: rgba(255,255,255,.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.document-qr {
  margin-top: 16px;
}
.document-qr h4 {
  font-size: .9rem;
  margin-bottom: 10px;
}
.document-qr-img {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  display: inline-block;
}
.document-qr-img svg {
  max-width: 100%;
  height: auto;
}

.document-paid-section {
  text-align: center;
  padding: 40px 24px;
}
.document-paid-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(0,196,154,.15);
  color: #00c49a;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-offer-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .profile-detail-grid { grid-template-columns: 1fr; }
  .profile-tabs { gap: 0; }
  .profile-tab { padding: 10px 12px; font-size: .8rem; }
  .document-parties { grid-template-columns: 1fr; }
  .document-offer-actions { flex-direction: column; }
  .profile-system-meta { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Getting-started — hardware choice, split layout, inline store, plans
   ═══════════════════════════════════════════════════════════════════════ */

/* Step 1 — hardware choice cards */
.gs-hw-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.gs-hw-card {
  position: relative;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
  color: var(--fg);
}
.gs-hw-card:hover {
  border-color: var(--accent, #0af);
}
.gs-hw-card.is-active {
  border-color: var(--accent, #0af);
  box-shadow: 0 0 0 1px var(--accent, #0af), 0 4px 20px rgba(0, 170, 255, .08);
}
.gs-hw-card h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.gs-hw-card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
}
.gs-hw-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent, #0af);
  color: #000;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .15rem .5rem;
  border-radius: 4px;
}

/* Step 1 — conditional product zones */
.gs-products-zone {
  margin-bottom: 22px;
}
.gs-products-group {
  display: none;
}
.gs-products-group.is-visible {
  display: block;
}

/* Step 1 — DIY installation steps */
.gs-diy-steps {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   Partners page
   ═══════════════════════════════════════════════════════════════ */

.partners-print-bar {
  display: flex;
  justify-content: flex-end;
  padding: 12px var(--page-gutter, 32px);
  gap: 8px;
}
.partners-print-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Value strip */
.partners-value-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.partners-value-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.partners-value-icon {
  font-size: 2rem;
  line-height: 1;
}

/* Profile cards */
.partners-profile {
  max-width: 900px;
  margin: 0 auto;
}
.partners-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.partners-profile-icon {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.partners-profile-tagline {
  color: var(--text-secondary);
  margin-top: 4px;
  font-size: 1.05rem;
}
.partners-profile-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.partners-profile-domains {
  grid-column: 1 / -1;
}
.partners-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.partners-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.partners-profile-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.partners-profile-benefits li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.partners-profile-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent, #00c896);
  font-weight: 700;
}
.partners-profile-body h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .partners-profile-body {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Small phone (≤480px) — tightest layout
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .site-shell {
    padding: 10px 8px 24px;
  }

  .site-header {
    padding: 8px 10px;
    gap: 8px;
    top: 6px;
  }

  .brand-lockup {
    gap: 6px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .wordmark {
    font-size: 1.1rem;
  }

  .brand-kicker {
    font-size: 0.55rem;
  }

  .site-header,
  .hero-panel,
  .page-hero,
  .split-panel,
  .info-banner,
  .section-surface,
  .detail-card,
  .offer-card,
  .faq-group,
  .contact-panel,
  .cart-panel,
  .timeline-item,
  .site-footer,
  .site-form,
  .feature-card,
  .scenario-card,
  .trust-strip,
  .tech-visual,
  .cta-card,
  .why-column {
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 9vw, 2.5rem);
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .section-heading h2,
  .section-header h2,
  .split-panel h2,
  .cta-card h2 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .feature-card h3,
  .detail-card h3,
  .scenario-card h3,
  .offer-card h3 {
    font-size: 1.05rem;
  }

  .hero-description,
  .page-hero p,
  .offer-card p,
  .detail-card p,
  .scenario-card p {
    font-size: 0.88rem;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-item strong {
    font-size: 1rem;
  }

  .hero-badges-strip {
    gap: 6px;
  }

  .hero-strip-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .hero-logo-scene {
    width: min(100%, 180px);
  }

  .hero-logo-img {
    width: 110px;
    height: 110px;
  }

  .hero-side-card {
    padding: 14px;
  }

  .hero-side-row {
    padding: 10px 12px;
  }

  .plan-card-body {
    padding: 1rem;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .membership-grid {
    grid-template-columns: 1fr;
  }

  .gs-compact-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .journey-step-summary {
    padding: 16px 14px;
  }

  .journey-step-body,
  .journey-substep {
    padding: 0 14px 16px;
  }

  .journey-step-number {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .journey-step-copy h3 {
    font-size: 1.2rem;
  }

  .billing-info-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .auth-layout {
    padding: 0 4px;
  }

  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .profile-system-meta {
    grid-template-columns: 1fr;
  }

  .mcp-bubble {
    flex-direction: column;
    gap: .5rem;
    padding: .75rem 1rem;
  }

  .pricing-columns {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .pricing-model {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .sovereignty-stats-centered {
    grid-template-columns: 1fr;
  }

  .cookie-inner p {
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Global mobile touch‑target and overflow fixes
   ═══════════════════════════════════════════════════════════════ */
@media (pointer: coarse) {
  .main-nav a,
  .nav-resources-btn,
  .nav-resources-dropdown li a,
  .lang-current,
  .store-cat-btn,
  .membership-tier-btn,
  .membership-domain-btn,
  .gs-cat-btn,
  .profile-tab,
  .auth-method-tab {
    min-height: 44px;
  }

  .lang-current {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Print layout (toggled via .print-layout class or @media print)
   ═══════════════════════════════════════════════════════════════ */

/* Toggle-based print mode (button) */
.print-layout {
  --bg: #fff !important;
  --text: #111 !important;
  --text-secondary: #444 !important;
  --card-bg: #fff !important;
  --border: #ccc !important;
  --accent: #333 !important;
  background: #fff !important;
  color: #111 !important;
}
.print-layout .site-header,
.print-layout .site-footer,
.print-layout .no-print,
.print-layout .ambient,
.print-layout .site-noise,
.print-layout .cookie-banner,
.print-layout .cta-section {
  display: none !important;
}
.print-layout .section-surface {
  background: #f8f8f8 !important;
}
.print-layout .detail-card,
.print-layout .partners-tag {
  background: #fff !important;
  border-color: #ccc !important;
}
.print-layout .detail-card::before {
  display: none !important;
}

/* Native @media print */
@media print {
  html, body {
    background: #fff !important;
    color: #111 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .site-header,
  .site-footer,
  .no-print,
  .ambient,
  .site-noise,
  .cookie-banner,
  .cta-section,
  .partners-print-bar {
    display: none !important;
  }
  .section-surface {
    background: #f5f5f5 !important;
  }
  .detail-card,
  .partners-tag {
    background: #fff !important;
    border: 1px solid #ccc !important;
  }
  .detail-card::before {
    display: none !important;
  }
  a { color: #111 !important; text-decoration: underline; }
  .page-section, .page-hero {
    padding: 16px 0;
    break-inside: avoid;
  }
  .partners-profile {
    break-inside: avoid;
  }
}
.gs-diy-intro {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.gs-diy-list {
  margin: 0;
  padding: 0 0 0 20px;
  counter-reset: none;
}
.gs-diy-list li {
  margin-bottom: 12px;
  font-size: .88rem;
  line-height: 1.5;
}
.gs-diy-list li:last-child {
  margin-bottom: 0;
}
.gs-diy-list li strong {
  display: block;
  margin-bottom: 2px;
  color: var(--fg);
  font-size: .92rem;
}
.gs-diy-list li p {
  margin: 0;
  color: var(--muted);
}
.gs-diy-list li a {
  color: var(--accent, #0af);
}

/* Step 2 — 25/75 split layout */
.gs-split {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 28px;
  margin-bottom: 22px;
}
.gs-split-aside {
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-self: start;
}
.gs-split-aside h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.gs-split-aside p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}
.gs-pair-points {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.7;
}

/* Step 2 — inline store */
.gs-store-inline {
  min-width: 0;
}
.gs-store-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.gs-cat-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .78rem;
  cursor: pointer;
  color: var(--fg);
  transition: border-color .15s, background .15s;
  font-family: inherit;
}
.gs-cat-btn:hover {
  border-color: var(--accent, #0af);
}
.gs-cat-btn.is-active {
  background: var(--accent, #0af);
  color: #000;
  border-color: var(--accent, #0af);
}
.gs-cat-count {
  font-size: .7rem;
  opacity: .65;
  margin-left: 2px;
}
.gs-store-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Getting-started — compact product cards */
.gs-compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.gs-compact-card .store-card-img {
  aspect-ratio: 4 / 3;
}
.gs-compact-card .store-card-body {
  padding: 8px 10px 4px;
}
.gs-compact-card .store-card-body h3 {
  font-size: .76rem;
}
.gs-compact-card .store-card-cat {
  font-size: .68rem;
}
.gs-compact-card .store-card-price {
  font-size: .82rem;
}
.gs-compact-card .store-card-actions {
  padding: 0 10px 8px;
}
.gs-compact-card .store-card-actions .button {
  font-size: .70rem;
  padding: 4px 8px;
}
.gs-card-desc {
  max-height: 54px;
  overflow-y: auto;
  font-size: .74rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 4px 0 6px;
  padding-right: 4px;
}
.gs-card-desc::-webkit-scrollbar {
  width: 3px;
}
.gs-card-desc::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* Step 3 — freemium feature list */
.gs-freemium-perks {
  list-style: none;
  margin: 10px 0 14px;
  padding: 0;
}
.gs-freemium-perks li {
  position: relative;
  padding-left: 20px;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
}
.gs-freemium-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent, #0af);
  font-weight: 700;
}

/* Step 3 — plan preview row */
.gs-plans-intro {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 14px;
}
.gs-plans-row {
  margin-bottom: 22px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
}
.gs-plans-row .plan-card {
  font-size: .85rem;
}
.gs-plans-row .plan-card-name {
  font-size: .95rem;
}
.gs-plans-row .membership-card-price {
  font-size: 1rem;
}
.gs-plans-row .membership-card-desc {
  font-size: .78rem;
}
.gs-plans-row .plan-card-stat {
  font-size: .72rem;
}
.gs-plans-row .plan-card-tier-badge {
  font-size: .65rem;
}
.gs-plans-row .plan-includes-banner {
  font-size: .75rem;
}
.gs-plans-row .membership-card-perks {
  font-size: .75rem;
}
.gs-plans-row .gs-freemium-perks li {
  font-size: .75rem;
  line-height: 1.55;
}
.gs-plan-more {
  font-size: .72rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .gs-hw-choice-row { grid-template-columns: 1fr; }
  .gs-split { grid-template-columns: 1fr; }
  .gs-store-cats { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

/* ===================================================================
   MANUAL PAGE
   =================================================================== */

/* Table of contents */
.manual-toc {
  margin-bottom: 32px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
}
.manual-toc h2 {
  font-size: 1.1rem;
  margin: 0 0 16px;
}
.manual-toc-list {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 32px;
}
.manual-toc-list li {
  font-size: 0.88rem;
  line-height: 1.6;
}
.manual-toc-list a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.manual-toc-list a:hover {
  color: var(--teal-strong, #00c49a);
}

/* Search — reuse FAQ search styles */
.manual-search-wrap {
  margin-bottom: 24px;
}

/* Accordion sections */
.manual-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  transition: border-color 0.2s;
}
.manual-section[open] {
  border-color: rgba(0,196,154,0.25);
}
.manual-section-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
}
.manual-section-summary::-webkit-details-marker { display: none; }
.manual-section-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  margin-left: auto;
  transition: transform 0.2s;
}
.manual-section[open] > .manual-section-summary::after {
  content: "−";
}
.manual-section-summary h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.manual-section-index {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-strong, #00c49a);
  opacity: 0.7;
  min-width: 24px;
}

/* Section body */
.manual-section-body {
  padding: 0 24px 24px;
}

/* Content paragraphs */
.manual-content p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 8px;
}
.manual-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 16px 0 8px;
}
.manual-bullet {
  padding-left: 18px;
  position: relative;
}
.manual-bullet::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--teal-strong, #00c49a);
}

/* Subsections */
.manual-subsections {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.manual-subsection {
  border-top: 1px solid var(--border);
  padding: 12px 0 0;
}
.manual-subsection > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.manual-subsection > summary::-webkit-details-marker { display: none; }
.manual-subsection > summary::after {
  content: "▸";
  font-size: 0.9rem;
  color: var(--muted);
  transition: transform 0.15s;
}
.manual-subsection[open] > summary::after {
  transform: rotate(90deg);
}
.manual-subsection-body {
  margin-top: 10px;
}
.manual-subsection-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 6px;
}

/* Images */
.manual-images {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.manual-figure {
  margin: 0;
}
.manual-figure img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Links in manual content */
.manual-content a,
.manual-subsection-body a {
  color: var(--teal-strong, #00c49a);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.manual-content a:hover,
.manual-subsection-body a:hover {
  border-bottom-color: var(--teal-strong, #00c49a);
}

@media (max-width: 768px) {
  .manual-toc-list {
    grid-template-columns: 1fr;
  }
  .manual-images {
    grid-template-columns: 1fr;
  }
  .manual-section-summary {
    padding: 14px 16px;
  }
  .manual-section-body {
    padding: 0 16px 16px;
  }
}
