/* ============ TOKENS ============ */
:root {
  --bg: oklch(0.985 0.005 90);
  --bg-2: oklch(0.965 0.008 90);
  --fg: oklch(0.18 0.01 90);
  --fg-muted: oklch(0.45 0.01 90);
  --fg-subtle: oklch(0.62 0.01 90);
  --line: oklch(0.9 0.005 90);
  --line-strong: oklch(0.82 0.005 90);
  --card: oklch(1 0 0);
  --accent: oklch(0.62 0.14 145);
  --accent-fg: oklch(0.98 0.01 145);
  --accent-soft: oklch(0.94 0.04 145);
  --accent-2: oklch(0.7 0.14 40);
  --accent-2-soft: oklch(0.95 0.03 40);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px oklch(0.18 0.01 90 / 0.04);
  --shadow: 0 1px 2px oklch(0.18 0.01 90 / 0.04), 0 8px 24px -8px oklch(0.18 0.01 90 / 0.08);
  --shadow-lg: 0 2px 4px oklch(0.18 0.01 90 / 0.05), 0 30px 60px -20px oklch(0.18 0.01 90 / 0.18);

  --container: 1200px;
}

[data-theme="dark"] {
  --bg: oklch(0.16 0.008 90);
  --bg-2: oklch(0.2 0.008 90);
  --fg: oklch(0.96 0.005 90);
  --fg-muted: oklch(0.7 0.01 90);
  --fg-subtle: oklch(0.55 0.01 90);
  --line: oklch(0.28 0.008 90);
  --line-strong: oklch(0.38 0.008 90);
  --card: oklch(0.21 0.008 90);
  --accent: oklch(0.72 0.16 145);
  --accent-fg: oklch(0.16 0.01 145);
  --accent-soft: oklch(0.28 0.04 145);
  --accent-2: oklch(0.78 0.13 40);
  --accent-2-soft: oklch(0.3 0.04 40);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  transition: background 0.3s, color 0.3s;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 96px 0; border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin: 20px 0 16px;
}
.section-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-head p {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 28px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--fg);
  color: var(--bg);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.05em;
  position: relative;
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
[data-theme="dark"] .logo-img {
  filter: invert(1) hue-rotate(180deg) brightness(1.1);
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 450;
  color: var(--fg-muted);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { color: var(--fg); background: var(--bg-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.1s, background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover { background: oklch(from var(--fg) calc(l + 0.12) c h); }
.btn-secondary {
  background: var(--card);
  color: var(--fg);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--line-strong); background: var(--bg-2); }
.btn-ghost { color: var(--fg-muted); padding: 8px 12px; }
.btn-ghost:hover { color: var(--fg); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-accent:hover { background: oklch(from var(--accent) calc(l - 0.05) c h); }
.btn-lg { padding: 14px 22px; font-size: 15.5px; border-radius: 12px; }
.btn-icon {
  width: 38px; height: 38px;
  padding: 0;
  border-radius: 10px;
  display: grid; place-items: center;
}
.btn-icon:hover { background: var(--bg-2); }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 100px;
  border-top: none;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.hero-tag span {
  background: var(--accent-soft);
  color: oklch(from var(--accent) calc(l - 0.15) c h);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 12px;
}
[data-theme="dark"] .hero-tag span { color: var(--accent); }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 24px;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 48ch;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta-item .num em {
  font-style: italic;
  color: var(--accent);
}
.hero-meta-item .lbl {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 6px;
}

/* ============ CARD MOCKUP ============ */
.card-stage {
  perspective: 1500px;
  display: grid;
  place-items: center;
  position: relative;
  height: 460px;
}
.card-stage::before {
  content: "";
  position: absolute;
  inset: 20% 10%;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0.6;
  z-index: 0;
}
.card3d {
  position: relative;
  width: 360px;
  height: 226px;
  border-radius: 18px;
  transform-style: preserve-3d;
  transform: rotateX(12deg) rotateY(-18deg) rotateZ(-3deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.4) inset,
    0 30px 60px -20px oklch(0.18 0.01 90 / 0.45),
    0 60px 120px -40px oklch(0.18 0.01 90 / 0.3);
}
.card3d:hover { transform: rotateX(8deg) rotateY(-12deg) rotateZ(-2deg) translateY(-8px); }
.card-face {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(135deg,
    oklch(0.22 0.02 145) 0%,
    oklch(0.18 0.02 145) 50%,
    oklch(0.14 0.015 145) 100%);
  color: oklch(0.96 0.01 90);
}
.card-face::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  background: linear-gradient(120deg,
    transparent 30%,
    oklch(from var(--accent) l c h / 0.35) 50%,
    transparent 70%);
  transform: rotate(15deg);
}
.card-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 90%, oklch(from var(--accent) l c h / 0.25), transparent 50%),
    radial-gradient(circle at 10% 10%, oklch(1 0 0 / 0.08), transparent 40%);
}
.card-top, .card-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; }
.card-brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.card-brand-logo {
  background: oklch(1 0 0 / 0.95);
  padding: 5px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.3) inset, 0 2px 8px oklch(0 0 0 / 0.15);
}
.card-brand-logo img {
  height: 18px;
  width: auto;
  display: block;
}
.card-brand .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.card-chip {
  width: 38px; height: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg, oklch(0.85 0.05 85), oklch(0.7 0.06 80) 50%, oklch(0.55 0.04 80));
  position: relative;
  box-shadow: inset 0 0 0 0.5px oklch(0.5 0.02 80);
}
.card-chip::before, .card-chip::after {
  content: ""; position: absolute;
  background: oklch(0.5 0.02 80 / 0.6);
}
.card-chip::before { inset: 6px 0; border-top: 0.5px solid oklch(0.5 0.02 80 / 0.6); border-bottom: 0.5px solid oklch(0.5 0.02 80 / 0.6); height: 16px; background: transparent; }
.card-chip::after { inset: 0 14px; width: 0.5px; left: 50%; }
.card-num {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0.04em;
  display: flex; gap: 14px;
  margin-top: auto;
  position: relative; z-index: 1;
  text-shadow: 0 1px 0 oklch(0 0 0 / 0.2);
}
.card-num span:not(:last-child) { opacity: 0.6; }
.card-bottom-row {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 14px;
}
.card-name {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.card-tier {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}

.card-stage .float-pill {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.float-pill.p1 { top: 18%; right: 4%; animation-delay: -1s; }
.float-pill.p2 { bottom: 16%; left: 0%; }
.float-pill .ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: oklch(from var(--accent) calc(l - 0.15) c h);
  display: grid; place-items: center;
  font-weight: 600;
}
[data-theme="dark"] .float-pill .ico { color: var(--accent); }
.float-pill .lbl { color: var(--fg-muted); font-size: 11px; }
.float-pill .val { font-weight: 500; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ MARQUEE / LOGOS ============ */
.logos {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos-label {
  text-align: center;
  font-size: 13px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: center;
}
.logo-item {
  height: 44px;
  display: grid; place-items: center;
  font-weight: 500;
  font-size: 17px;
  color: var(--fg-subtle);
  letter-spacing: -0.01em;
  border-right: 1px solid var(--line);
}
.logo-item:last-child { border-right: none; }
.logo-item .alt {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
}

/* ============ TABS / CARDS ============ */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 48px;
  overflow-x: auto;
  max-width: 100%;
}
.tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.tab:hover { color: var(--fg); }
.tab.is-active {
  background: var(--card);
  color: var(--fg);
  box-shadow: var(--shadow-sm);
}
.tab-panel { display: none !important; }
.tab-panel.is-active { display: grid !important; }

.card-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.card-detail .preview {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  min-height: 420px;
  display: grid; place-items: center;
  position: relative;
}
.card-detail h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.card-detail h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.card-detail h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.card-detail .lead { font-size: 17px; color: var(--fg-muted); margin-bottom: 28px; }
.feat-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.feat-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}
.feat-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: oklch(from var(--accent) calc(l - 0.15) c h);
  display: grid; place-items: center;
  margin-top: 1px;
}
[data-theme="dark"] .feat-list .check { color: var(--accent); }

/* card variants by data-card */
.card3d.var-mult .card-face { background: linear-gradient(135deg, oklch(0.22 0.02 145), oklch(0.14 0.015 145)); }
.card3d.var-alim .card-face { background: linear-gradient(135deg, oklch(0.3 0.06 130), oklch(0.18 0.04 130)); }
.card3d.var-farm .card-face { background: linear-gradient(135deg, oklch(0.3 0.08 360), oklch(0.18 0.05 360)); }
.card3d.var-farm .card-tier, .card3d.var-farm .card-brand .dot { color: oklch(0.72 0.16 0); background: oklch(0.72 0.16 0); }
.card3d.var-farm .card-brand .dot { box-shadow: 0 0 12px oklch(0.72 0.16 0); }
.card3d.var-comb .card-face { background: linear-gradient(135deg, oklch(0.28 0.02 260), oklch(0.16 0.02 260)); }
.card3d.var-comb .card-tier, .card3d.var-comb .card-brand .dot { color: oklch(0.75 0.14 240); background: oklch(0.75 0.14 240); }
.card3d.var-comb .card-brand .dot { box-shadow: 0 0 12px oklch(0.75 0.14 240); }
.card3d.var-bem .card-face { background: linear-gradient(135deg, oklch(0.3 0.08 195), oklch(0.18 0.05 200)); }
.card3d.var-bem .card-tier, .card3d.var-bem .card-brand .dot { color: oklch(0.72 0.14 195); background: oklch(0.72 0.14 195); }
.card3d.var-bem .card-brand .dot { box-shadow: 0 0 12px oklch(0.72 0.14 195); }

/* ============ COMO FUNCIONA ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}
.step {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}
.step h4 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--fg-muted); text-wrap: pretty; }
.step-icon {
  position: absolute;
  top: 32px; right: 32px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--fg-muted);
}

/* ============ BENEFITS (SPLIT) ============ */
.split-toggle {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 48px;
}
.split-toggle button {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: background 0.2s, color 0.2s;
}
.split-toggle button.is-active {
  background: var(--fg);
  color: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.2s;
}
.benefit:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.benefit-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: oklch(from var(--accent) calc(l - 0.15) c h);
  margin-bottom: 24px;
}
[data-theme="dark"] .benefit-icon { color: var(--accent); }
.benefit h4 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.02em; }
.benefit p { font-size: 14.5px; color: var(--fg-muted); }
.benefit.feature {
  grid-column: span 2;
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.benefit.feature .benefit-icon { background: oklch(1 0 0 / 0.1); color: var(--bg); }
.benefit.feature p { color: oklch(from var(--bg) l c h / 0.75); }
.benefit.feature .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 88px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ============ NETWORK / SEARCH ============ */
.network-bar {
  display: flex;
  gap: 12px;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.network-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--fg-muted);
}
.network-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-size: 15px;
}
.network-cats {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.network-cat {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--fg-muted);
  font-weight: 450;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.network-cat:hover { border-color: var(--line-strong); color: var(--fg); }
.network-cat.is-active {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.network-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.estab {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.15s;
}
.estab:hover { border-color: var(--line-strong); }
.estab-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--fg-muted);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.estab-name { font-size: 14.5px; font-weight: 500; }
.estab-meta { font-size: 12.5px; color: var(--fg-subtle); margin-top: 2px; }
.estab-tag {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: oklch(from var(--accent) calc(l - 0.15) c h);
  font-weight: 500;
}
[data-theme="dark"] .estab-tag { color: var(--accent); }

.network-foot {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--fg-muted);
  display: flex; justify-content: space-between; align-items: center;
}

/* ============ CALCULATOR ============ */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.calc-form { padding: 36px; }
.calc-form h3 { font-size: 26px; margin-bottom: 6px; letter-spacing: -0.02em; }
.calc-form .sub { color: var(--fg-muted); font-size: 14.5px; margin-bottom: 32px; }

.field { margin-bottom: 24px; }
.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
}
.field label .val {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--fg);
  border: 4px solid var(--card);
  box-shadow: 0 0 0 1px var(--fg);
  cursor: pointer;
  transition: transform 0.1s;
}
.range::-webkit-slider-thumb:active { transform: scale(1.1); }
.range::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--fg);
  border: 4px solid var(--card);
  box-shadow: 0 0 0 1px var(--fg);
  cursor: pointer;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 450;
  transition: all 0.15s;
}
.chip.is-active {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.calc-result {
  background: var(--bg-2);
  border-radius: calc(var(--radius-xl) - 12px);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.calc-result::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  filter: blur(20px);
}
.calc-result h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 12px;
  position: relative;
}
.calc-big {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  position: relative;
}
.calc-big .currency { font-style: normal; font-family: var(--font-sans); font-size: 0.4em; vertical-align: top; color: var(--fg-muted); margin-right: 6px; font-weight: 400; }
.calc-big em { color: var(--accent); }
.calc-period { font-size: 14px; color: var(--fg-muted); margin-bottom: 28px; position: relative; }

.calc-breakdown {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 14px;
  position: relative;
}
.calc-row { display: flex; justify-content: space-between; font-size: 14px; }
.calc-row .k { color: var(--fg-muted); }
.calc-row .v { font-weight: 500; font-variant-numeric: tabular-nums; }
.calc-foot {
  margin-top: auto;
  padding-top: 20px;
  position: relative;
  font-size: 12px;
  color: var(--fg-subtle);
}

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
}
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 450;
  letter-spacing: -0.015em;
}
.faq-q .plus {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--fg-muted);
  transition: transform 0.2s, background 0.15s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.is-open .plus { transform: rotate(45deg); background: var(--fg); color: var(--bg); border-color: var(--fg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15.5px;
  color: var(--fg-muted);
  text-wrap: pretty;
  max-width: 56ch;
}
.faq-item.is-open .faq-a {
  max-height: 200px;
  padding: 0 0 24px;
}

/* ============ CTA FINAL ============ */
.cta-final {
  border-top: none;
  padding: 48px 0 96px;
}
.cta-box {
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, oklch(from var(--accent) l c h / 0.5), transparent 60%);
  filter: blur(40px);
}
.cta-box::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -10%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle, oklch(from var(--accent-2) l c h / 0.35), transparent 60%);
  filter: blur(40px);
}
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; position: relative; z-index: 1; }
.cta-grid h2 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.cta-grid h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.cta-grid p {
  font-size: 17px;
  color: oklch(from var(--bg) l c h / 0.7);
  max-width: 44ch;
  margin-top: 20px;
  text-wrap: pretty;
}
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-actions .btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  padding: 16px 22px;
  font-size: 16px;
  border-radius: 12px;
}
.cta-actions .btn-primary:hover { background: oklch(from var(--accent) calc(l + 0.05) c h); }
.cta-actions .btn-secondary {
  background: transparent;
  color: var(--bg);
  border-color: oklch(from var(--bg) l c h / 0.2);
  padding: 16px 22px;
  font-size: 16px;
  border-radius: 12px;
}
.cta-actions .btn-secondary:hover { background: oklch(from var(--bg) l c h / 0.06); border-color: oklch(from var(--bg) l c h / 0.4); }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 14.5px;
  color: var(--fg-muted);
  max-width: 32ch;
  margin-top: 16px;
}
.footer h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-subtle);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14.5px; color: var(--fg-muted); }
.footer ul a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--fg-subtle);
}
.footer-bottom .legal { display: flex; gap: 20px; }

/* ============ TWEAKS PANEL ============ */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 300px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
  overflow: hidden;
}
.tweaks.is-open { display: block; }
.tweaks-head {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.tweaks-head h4 { font-size: 14px; font-weight: 500; }
.tweaks-head button {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--fg-muted);
}
.tweaks-head button:hover { background: var(--bg-2); color: var(--fg); }
.tweaks-body { padding: 18px; display: grid; gap: 18px; }
.tweak {
  display: grid;
  gap: 8px;
}
.tweak-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tweak-row { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.1s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { border-color: var(--fg); }
.swatch::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: var(--c);
}

.seg {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
}
.seg button {
  flex: 1;
  padding: 6px 8px;
  font-size: 12.5px;
  border-radius: 6px;
  color: var(--fg-muted);
  font-weight: 450;
}
.seg button.is-active {
  background: var(--card);
  color: var(--fg);
  box-shadow: var(--shadow-sm);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .card-stage { height: 380px; }
  .card-detail { grid-template-columns: 1fr; gap: 40px; }
  .calc { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit.feature { grid-column: span 2; }
  .network-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-item:nth-child(3n) { border-right: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit.feature { grid-column: span 1; }
  .network-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 32px; }
  .hero h1 { font-size: 44px; }
  .hero-meta { flex-direction: column; gap: 18px; }
}
