/* Rubrix v3 — corporate sober */
:root {
  /* Paper & ink */
  --paper: #F6F2EA;
  --paper-2: #EEE8DC;
  --paper-3: #E4DCCB;
  --ink: #0C1824;
  --ink-80: #1F2B38;
  --ink-70: #3A4654;
  --ink-50: #6B7584;
  --ink-30: #9AA3AE;
  --line: #D7CFC0;
  --line-soft: #E3DCCC;
  --white: #FFFFFF;

  /* Accents */
  --accent: #0E6B5F;
  /* teal sóbrio */
  --accent-ink: #083D36;
  --accent-soft: #E5EEEA;
  --bronze: #8C5A2B;
  --warn: #B7471E;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Rhythm */
  --container: 1240px;
  --gutter: 32px;
  --sec-y: 88px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

/* Palette variants */
[data-palette="navy"] {
  --accent: #1B3A6B;
  --accent-ink: #0B1F3C;
  --accent-soft: #E4EAF2;
}

[data-palette="bronze"] {
  --accent: #8C5A2B;
  --accent-ink: #5A3817;
  --accent-soft: #EFE6D8;
}

[data-density="compact"] {
  --sec-y: 88px;
}

[data-density="airy"] {
  --sec-y: 160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

html {
  scroll-behavior: smooth;
}

/* Offset anchor targets so sticky nav doesn't cover them */
#how,
#benefits,
#team,
#pricing,
#devs,
#broker,
#faq,
#contact {
  scroll-margin-top: 68px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   PROGRESS BAR
========================================================= */
.progress-bar {
  position: fixed;
  top: 68px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 49;
  transform-origin: left;
  pointer-events: none;
}

@media print {
  .progress-bar {
    display: none;
  }
}

/* =========================================================
   NAV
========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36;
}

.wordmark::after {
  content: ".lat";
  color: var(--accent);
  margin-left: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink-70);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .nav-mobile-only {
  display: none;
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-cta>a:first-child {
  font-size: 14px;
  color: var(--ink-70);
  margin-right: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--ink) 75%, transparent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--paper-2);
  border-color: var(--ink-30);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-ink);
}

.btn .arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn:focus-visible,
.nav-links a:focus-visible,
.faq-q:focus-visible,
.tcard-link:focus-visible,
.devs-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.text-mobile {
  display: none;
}

@media (max-width: 860px) {
  .text-desktop {
    display: none;
  }

  .text-mobile {
    display: inline;
  }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}

@media (max-width: 860px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100svh - 68px);
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 0;
    z-index: 49;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    -webkit-overflow-scrolling: touch;
  }

  .nav-open .nav-links a {
    padding: 13px var(--gutter);
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
    color: var(--ink-70);
  }

  .nav-open .nav-links a:last-child {
    border-bottom: none;
  }

  /* Itens exclusivos do menu mobile */
  .nav-mobile-only {
    display: none;
  }

  .nav-open .nav-links .nav-mobile-only {
    display: block;
  }

  .nav-open .nav-links .nav-mobile-only.btn {
    margin: 8px var(--gutter) 16px;
    text-align: center;
    justify-content: center;
    border-bottom: none;
  }

  .nav-open .nav-links .nav-mobile-only.btn+.nav-mobile-only {
    margin-top: 0;
  }

  .nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =========================================================
   HERO
========================================================= */
.hero {
  padding: 72px 0 100px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-50);
  margin-bottom: 28px;
}

.tag {
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 3px 9px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 560px;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  font-size: 13px;
  color: var(--ink-50);
}

.hero-micro .check {
  color: var(--accent);
  font-weight: 600;
  margin-right: 4px;
}

/* Hero right: document card */
.hero-right {
  position: relative;
}

.doc-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 3px rgba(12, 24, 36, 0.05), 0 24px 48px -24px rgba(12, 24, 36, 0.18);
  overflow: hidden;
}

.doc-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
}

.doc-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-head-left .icon {
  width: 32px;
  height: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--warn);
  font-weight: 600;
}

.doc-head-left>span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.doc-head-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-50);
  text-transform: uppercase;
}

.doc-body {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-line {
  height: 7px;
  background: var(--paper-3);
  border-radius: 2px;
  width: 100%;
}

.doc-line.mid {
  width: 85%;
}

.doc-line.short {
  width: 50%;
}

.doc-line.sig {
  margin-top: 16px;
  height: 2px;
  background: var(--ink);
  width: 140px;
  position: relative;
}

.doc-line.sig::after {
  content: "Signatário 01";
  position: absolute;
  top: 8px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-50);
  letter-spacing: 0.04em;
}

.doc-qr {
  width: 120px;
  height: 120px;
  background: var(--ink);
  padding: 10px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}

.doc-qr>div {
  background: var(--ink);
  border-radius: 1px;
}

.doc-qr>div.on {
  background: white;
}

.doc-qr-label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-50);
  text-align: center;
  letter-spacing: 0.04em;
  max-width: 120px;
}

.doc-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
  letter-spacing: 0.04em;
}

.doc-footer .step strong {
  color: var(--accent);
}

.cert-badge {
  margin-top: 20px;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.cert-badge .seal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.cert-badge b {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}

.cert-badge span {
  font-size: 12px;
  color: var(--ink-50);
}

@media (max-width: 600px) {
  .doc-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doc-qr-label {
    max-width: none;
  }
}

/* =========================================================
   LOGOS / TRUST STRIP
========================================================= */
.logos {
  padding: 40px 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
}

.logos-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.logos-label {
  font-size: 13px;
  color: var(--ink-50);
  max-width: 340px;
  line-height: 1.5;
}

.logos-label b {
  color: var(--ink);
  font-weight: 600;
}

.logos-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.logos-list span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-70);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logos-list span .sub {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--ink-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 680px) {
  .logos-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .logos-label {
    max-width: none;
  }

  .logos-list {
    gap: 20px 32px;
  }
}

/* =========================================================
   SECTIONS
========================================================= */
.section {
  padding: var(--sec-y) 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-head.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.eyebrow .num {
  color: var(--accent);
  font-weight: 600;
}

.section-head h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: balance;
}

.section-head h2 em {
  font-style: italic;
  color: var(--accent);
}

.section-head p {
  font-size: 18px;
  color: var(--ink-70);
  line-height: 1.55;
  text-wrap: pretty;
}

/* =========================================================
   HOW IT WORKS
========================================================= */
.how .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: white;
  overflow: hidden;
}

.how .step {
  padding: 32px 28px;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  position: relative;
}

.how .step:last-child {
  border-right: none;
}

.how .step.featured {
  background: var(--accent);
  color: white;
}

.how .step.featured .step-num {
  color: rgba(255, 255, 255, 0.65);
}

.how .step.featured .step-ic svg {
  color: white;
}

.how .step.featured h3 {
  color: white;
}

.how .step.featured p {
  color: rgba(255, 255, 255, 0.85);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-50);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.step-ic {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-ic svg {
  width: 28px;
  height: 28px;
  color: var(--ink);
}

.how .step h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}

.how .step p {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.5;
}

.how-foot {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--paper-2);
  border-radius: var(--r-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.how-foot>span {
  font-size: 14px;
  color: var(--ink-70);
}

.how-foot a {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.how-foot a .arrow {
  transition: transform 0.2s;
}

.how-foot a:hover .arrow {
  transform: translateX(3px);
}

@media (max-width: 1000px) {
  .how .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .how .step {
    border-bottom: 1px solid var(--line-soft);
  }

  .how .step:nth-child(2n) {
    border-right: none;
  }

  .how .step:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .how .steps {
    grid-template-columns: 1fr;
  }

  .how .step {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }

  .how .step:last-child {
    border-bottom: none;
  }
}

/* =========================================================
   BENEFITS
========================================================= */
.benefits {
  background: var(--paper-2);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.benefit {
  background: var(--paper);
  padding: 40px 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.benefit-ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.benefit h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}

.benefit p {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.6;
  margin-bottom: 14px;
}

.benefit-tag {
  display: inline-block;
  padding: 5px 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 860px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .benefit {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }

  .benefit-ic {
    width: 36px;
    height: 36px;
  }

  .benefit-ic svg {
    width: 16px;
    height: 16px;
  }
}

/* =========================================================
   PIX DEEP DIVE
========================================================= */
.pix-dive {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: #1F2B38;
}

.pix-dive .eyebrow {
  color: rgba(246, 242, 234, 0.55);
}

.pix-dive .eyebrow .num {
  color: #5CC8B4;
}

.pix-dive h2 {
  color: var(--paper);
}

.pix-dive h2 em {
  color: #5CC8B4;
}

.pix-dive .section-head p {
  color: rgba(246, 242, 234, 0.7);
}

.pix-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.pix-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(246, 242, 234, 0.78);
  margin-bottom: 20px;
  max-width: 580px;
}

.pix-copy p:first-child {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-size: 22px;
  color: var(--paper);
  line-height: 1.4;
  margin-bottom: 28px;
}

.pix-footnote {
  margin-top: 8px;
  opacity: 0.55;
}

.hero-footnote {
  margin-top: 10px;
  opacity: 0.5;
}

.learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: #5CC8B4;
  font-weight: 500;
}

.learn .arrow {
  transition: transform 0.2s;
}

.learn:hover .arrow {
  transform: translateX(3px);
}

.phone {
  width: 300px;
  background: #0A1420;
  border: 1px solid #2A3A4E;
  border-radius: 32px;
  padding: 14px;
  margin: 0 auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.phone-inner {
  background: var(--paper);
  border-radius: 22px;
  padding: 24px 20px;
  color: var(--ink);
}

.phone-app {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-50);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.phone-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.phone-sub {
  font-size: 13px;
  color: var(--ink-50);
  margin-bottom: 20px;
}

.phone-qr {
  width: 100%;
  aspect-ratio: 1;
  background: var(--ink);
  padding: 12px;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  margin-bottom: 20px;
}

.phone-qr>div {
  background: var(--ink);
  border-radius: 1px;
}

.phone-qr>div.on {
  background: var(--paper);
}

.phone-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: 6px;
  margin-bottom: 12px;
}

.phone-amount small {
  font-size: 11px;
  color: var(--ink-50);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phone-amount b {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.phone-cta {
  background: var(--accent);
  color: white;
  padding: 13px;
  text-align: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .pix-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .phone {
    margin: 0 auto;
  }
}

/* =========================================================
   AUTHORITY / TEAM
========================================================= */
.authority {
  background: var(--paper);
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.auth-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-card.lead {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  padding: 40px 36px;
}

.auth-card.wide {
  grid-column: span 2;
}

.auth-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-50);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-card.lead .auth-tag {
  color: rgba(246, 242, 234, 0.55);
}

.auth-name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.auth-card.lead .auth-name {
  font-size: 32px;
  font-variation-settings: "opsz" 72;
  color: var(--paper);
}

.auth-card p {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.55;
  margin-top: auto;
}

.auth-card.lead p {
  font-size: 15px;
  color: rgba(246, 242, 234, 0.75);
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .auth-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .auth-card.lead,
  .auth-card.wide {
    grid-column: span 2;
  }

  .auth-card.lead {
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-card.lead,
  .auth-card.wide {
    grid-column: auto;
  }
}

/* =========================================================
   METHODS
========================================================= */
.methods {
  background: var(--paper-2);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.method-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-card .eyebrow {
  margin-bottom: 0;
}

.method-card h3 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.method-card p {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.6;
}

.method-for {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-50);
  line-height: 1.5;
}

.method-for b {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .methods-grid {
    grid-template-columns: 1fr;
  }
}

.methods-roadmap {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.methods-roadmap h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 16px;
}

.methods-roadmap ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.methods-roadmap li {
  font-size: 14px;
  color: var(--ink-70);
  display: flex;
  align-items: center;
  gap: 8px;
}

.methods-roadmap li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-30);
  flex-shrink: 0;
}

.roadmap-eta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
}

/* =========================================================
   PRICING
========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  border: 2px solid var(--accent);
  background: var(--paper);
}

.plan-label {
  position: absolute;
  top: -11px;
  left: 32px;
  background: var(--accent);
  color: white;
  padding: 3px 10px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.plan-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.plan-price {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.plan-price small {
  font-size: 16px;
  color: var(--ink-50);
  font-family: var(--font-sans);
  font-weight: 400;
}

.plan-period {
  font-size: 13px;
  color: var(--ink-50);
  margin-bottom: 20px;
}

.plan-sub {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
  margin-bottom: 24px;
}

.plan-feats {
  margin-bottom: 28px;
}

.plan-feats li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-80);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-feats li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.plan-feats li:last-child {
  border-bottom: none;
}

.plan .btn {
  justify-content: center;
  margin-top: auto;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DEVS
========================================================= */
.devs {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: #1F2B38;
}

.devs .eyebrow {
  color: rgba(246, 242, 234, 0.55);
}

.devs .eyebrow .num {
  color: #5CC8B4;
}

.devs h2 {
  color: var(--paper);
}

.devs h2 em {
  color: #5CC8B4;
}

.devs .section-head p {
  color: rgba(246, 242, 234, 0.7);
}

.devs-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.devs-grid>* {
  min-width: 0;
}

.devs-col-left {
  display: flex;
  flex-direction: column;
}

.devs-section-head {
  max-width: none;
  margin-bottom: 32px;
}

.devs-copy p {
  font-size: 16px;
  color: rgba(246, 242, 234, 0.75);
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 440px;
}

.devs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #5CC8B4;
  margin-top: 8px;
}

.code-card {
  background: #0A1420;
  border: 1px solid #2A3A4E;
  border-radius: var(--r-md);
  overflow: hidden;
}

.code-head {
  padding: 10px 14px;
  background: #111E2C;
  border-bottom: 1px solid #2A3A4E;
  display: flex;
  align-items: center;
  gap: 14px;
}

.code-head .dots {
  display: flex;
  gap: 6px;
}

.code-head .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2A3A4E;
}

.code-head>span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
}

.code-card pre {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(246, 242, 234, 0.85);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 520px) {
  .code-card pre {
    font-size: 11px;
    padding: 16px 16px;
    line-height: 1.65;
  }
}

.code-card .com {
  color: #6B7584;
  font-style: italic;
}

.code-card .cmd {
  color: #E8A06A;
}

.code-card .str {
  color: #A8D5C4;
}

.code-card .key {
  color: #5CC8B4;
}

.devs-foot {
  margin-top: 20px;
  padding: 14px 18px;
  background: #0A1420;
  border: 1px solid #2A3A4E;
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(246, 242, 234, 0.6);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.devs-foot span {
  color: var(--paper);
  padding: 3px 8px;
  background: #1F2B38;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

@media (max-width: 1000px) {
  .devs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================
   FAQ
========================================================= */
.faq {
  background: var(--paper);
}

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  border-top: 1px solid var(--line-soft);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-q {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 24px;
}

.faq-q-text {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}

.faq-q-icon {
  font-size: 24px;
  color: var(--ink-50);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 0 24px;
}

.faq-a p {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.65;
  max-width: 720px;
}

/* =========================================================
   FINAL CTA
========================================================= */
.cta-final {
  padding: 80px 0;
  background: var(--accent);
  color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.cta-final h2 {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-final h2 em {
  font-style: italic;
  color: white;
  opacity: 0.85;
}

.cta-left p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.cta-final .btn-accent {
  background: white;
  color: var(--accent-ink);
}

.cta-final .btn-accent:hover {
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.cta-micro {
  margin-top: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.cta-micro span {
  display: flex;
  gap: 6px;
}

.cta-micro span::before {
  content: "✓";
}

@media (max-width: 520px) {

  .cta-slogan-line,
  .cta-slogan-brand {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================
   CONTACT / LEAD CAPTURE
========================================================= */
.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.contact-head {
  text-align: center;
  margin-bottom: 40px;
}

.contact-head p {
  color: var(--muted-foreground);
  margin-top: 12px;
  font-size: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
}

.contact-field--required label span {
  color: var(--accent);
  margin-left: 2px;
}

.contact-field--primary label {
  font-size: 15px;
  font-weight: 600;
}

.contact-field--primary input {
  padding: 12px 16px;
  font-size: 16px;
}

.contact-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-left: 4px;
}

.contact-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--foreground);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.contact-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.contact-error {
  font-size: 12px;
  color: #e53e3e;
  min-height: 16px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-submit {
  flex-shrink: 0;
  position: relative;
}

.contact-submit .cf-btn-loading {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dz-spin 0.8s linear infinite;
}

.contact-submit.cf-loading .cf-btn-text {
  display: none;
}

.contact-submit.cf-loading .cf-btn-loading {
  display: inline-block;
}

.contact-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-legal a {
  color: var(--muted);
  text-decoration: underline;
}

.contact-feedback {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}

.contact-feedback--ok {
  display: block;
  background: color-mix(in srgb, #38a169 10%, transparent);
  color: #276749;
  border: 1px solid #9ae6b4;
}

.contact-feedback--err {
  display: block;
  background: color-mix(in srgb, #e53e3e 10%, transparent);
  color: #c53030;
  border: 1px solid #feb2b2;
}

@media (max-width: 600px) {
  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--ink);
  color: rgba(246, 242, 234, 0.6);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1F2B38;
}

.footer-brand .wordmark {
  color: var(--paper);
  font-size: 28px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-social-link:hover {
  color: var(--paper);
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(246, 242, 234, 0.65);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .legal {
  display: flex;
  gap: 20px;
}

.footer-bottom .legal a {
  color: rgba(246, 242, 234, 0.55);
}

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================
   TWEAKS
========================================================= */
.tweaks-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: none;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(12, 24, 36, 0.3);
}

.tweaks-trigger.visible {
  display: block;
}

.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 101;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 20px 48px rgba(12, 24, 36, 0.2);
  padding: 20px;
  display: none;
}

.tweaks-panel.open {
  display: block;
}

.tweaks-group {
  margin-bottom: 18px;
}

.tweaks-group:last-child {
  margin-bottom: 0;
}

.tweaks-group h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 10px;
  font-weight: 500;
}

.tweaks-opts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tweaks-opt {
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink-70);
  transition: all 0.15s;
}

.tweaks-opt:hover {
  border-color: var(--ink-30);
}

.tweaks-opt.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Rubrix v4 — shadcn/Geist design system override
   Loaded AFTER v3.css. Re-tokenizes the visual layer to slate + #2563eb. */

:root {
  /* shadcn tokens, mapped */
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --secondary: #e2e8f0;
  --secondary-foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --ring: #2563eb;
  --destructive: #ef4444;
  --radius: 0.3rem;

  /* Map onto v3's variable names so the existing rules use shadcn values */
  --paper: var(--background);
  --paper-2: var(--muted);
  --paper-3: var(--secondary);
  --ink: var(--foreground);
  --ink-80: #1e293b;
  --ink-70: #334155;
  --ink-50: var(--muted-foreground);
  --ink-30: #94a3b8;
  --line: var(--border);
  --line-soft: #eef2f7;
  --white: #ffffff;

  --accent: var(--primary);
  --accent-ink: #1d4ed8;
  --accent-soft: #dbeafe;
  --bronze: #b45309;
  --warn: #dc2626;

  /* Geist everywhere */
  --font-display: "Geist", "Inter", -apple-system, sans-serif;
  --font-sans: "Geist", "Inter", -apple-system, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --r-sm: var(--radius);
  --r-md: calc(var(--radius) * 1.6);
  --r-lg: calc(var(--radius) * 2.2);
}

[data-palette="navy"] {
  --accent: #1e3a8a;
  --accent-ink: #1e293b;
  --accent-soft: #dbeafe;
}

[data-palette="bronze"] {
  --accent: #b45309;
  --accent-ink: #92400e;
  --accent-soft: #fef3c7;
}

[data-palette="teal"] {
  --accent: var(--primary);
  --accent-ink: #1d4ed8;
  --accent-soft: #dbeafe;
}

/* Typography — neutralise Fraunces */
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
}

h1,
h2,
h3,
h4,
h5,
.hero h1,
.section-head h2,
.benefit h3,
.how .step h3,
.auth-name,
.method-card h3,
.plan-name,
.pricing .plan-price,
.price-currency,
.plan-price,
.faq-q,
.cta-final h2,
.doc-head-left>span:last-child,
.phone-title,
.pix-copy p:first-child,
.wordmark,
.footer .wordmark {
  font-family: var(--font-sans) !important;
  font-variation-settings: normal !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  font-style: normal !important;
}

/* Headlines — let weight do the work */
.hero h1 {
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
}

.hero h1 em {
  color: var(--primary) !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

.section-head h2 {
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
}

.section-head h2 em {
  color: var(--primary) !important;
  font-style: normal !important;
}

.wordmark {
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
}

.wordmark::after {
  color: var(--primary) !important;
}

/* Reset Fraunces opsz settings everywhere */
* {
  font-variation-settings: normal !important;
}

/* Body bg */
body {
  background: var(--background) !important;
  color: var(--foreground);
}

.nav {
  background: rgba(248, 250, 252, 0.85) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: saturate(140%) blur(10px);
}

/* Buttons — shadcn defaults */
.btn {
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 10px 18px !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border: 1px solid var(--primary) !important;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 75%, transparent) !important;
  border-color: color-mix(in srgb, var(--primary) 75%, transparent) !important;
}

.btn-ghost {
  background: var(--card) !important;
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
}

.btn-ghost:hover {
  background: var(--muted) !important;
  border-color: var(--ink-30) !important;
}

.btn-accent {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.btn-accent:hover {
  background: var(--accent-ink) !important;
}

/* Tag chip */
.tag {
  background: var(--accent-soft) !important;
  color: var(--accent-ink) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 3px 8px !important;
}

/* Hero bg + lede */
.hero {
  border-bottom: 1px solid var(--border) !important;
}

.hero-lede {
  color: var(--muted-foreground) !important;
}

.hero-eyebrow {
  color: var(--muted-foreground) !important;
}

.hero-micro {
  color: var(--muted-foreground) !important;
}

.hero-micro .check {
  color: var(--primary) !important;
}

/* Doc card — clean white shadcn card */
.doc-card {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.12) !important;
}

.doc-head,
.doc-footer {
  background: var(--muted) !important;
  border-color: var(--border) !important;
}

.doc-head-left .icon {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--destructive) !important;
}

.doc-line {
  background: var(--secondary) !important;
  border-radius: 2px !important;
}

.doc-qr {
  background: var(--foreground) !important;
  border-radius: var(--radius) !important;
}

.doc-qr>div.on {
  background: var(--card) !important;
}

.doc-line.sig {
  background: var(--foreground) !important;
}

.doc-footer .step strong {
  color: var(--primary) !important;
}

.cert-badge {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.cert-badge .seal {
  background: var(--primary) !important;
  border-radius: var(--radius) !important;
}

/* Logos / trust strip */
.logos {
  background: var(--muted) !important;
  border-bottom-color: var(--border) !important;
}

.logos-list span {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  color: var(--foreground) !important;
  font-size: 16px !important;
}

.logos-list span .sub {
  font-family: var(--font-mono) !important;
}

.logos-label,
.logos-label b {
  color: var(--muted-foreground);
}

.logos-label b {
  color: var(--foreground) !important;
}

/* Sections */
.section {
  border-bottom-color: var(--border) !important;
}

.section-head p {
  color: var(--muted-foreground) !important;
}

.eyebrow {
  font-family: var(--font-mono) !important;
  color: var(--muted-foreground) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}

.eyebrow .num {
  color: var(--primary) !important;
  font-weight: 600;
}

/* How it works — sharp cards */
.how .steps {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.how .step {
  border-right: 1px solid var(--border) !important;
}

.how .step h3 {
  font-size: 17px !important;
}

.how .step p {
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
}

.how .step .step-num {
  color: var(--muted-foreground) !important;
}

.how .step.featured {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.how .step.featured .step-num,
.how .step.featured h3,
.how .step.featured p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.how .step.featured .step-num {
  color: rgba(255, 255, 255, 0.7) !important;
}

.step-ic svg {
  color: var(--foreground) !important;
}

.how .step.featured .step-ic svg {
  color: var(--primary-foreground) !important;
}

.how-foot {
  background: var(--muted) !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border);
}

.how-foot a {
  color: var(--primary) !important;
}

/* Benefits — shadcn cards */
.benefits {
  background: var(--muted) !important;
}

.benefits-grid {
  background: var(--border) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.benefit {
  background: var(--card) !important;
}

.benefit h3 {
  font-size: 18px !important;
}

.benefit p {
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
}

.benefit-ic {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--muted);
  color: var(--primary) !important;
  width: 36px !important;
  height: 36px !important;
}

.benefit-tag {
  background: var(--accent-soft) !important;
  color: var(--accent-ink) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-mono) !important;
}

/* Pix dive — dark slate panel */
.pix-dive {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-bottom-color: #1e293b !important;
}

.pix-dive .eyebrow {
  color: rgba(248, 250, 252, 0.55) !important;
}

.pix-dive .eyebrow .num {
  color: #60a5fa !important;
}

.pix-dive h2 {
  color: #f8fafc !important;
}

.pix-dive h2 em {
  color: #60a5fa !important;
}

.pix-dive .section-head p,
.pix-dive .pix-copy p {
  color: rgba(248, 250, 252, 0.7) !important;
}

.pix-dive .pix-copy p:first-child {
  color: #f8fafc !important;
  font-family: var(--font-sans) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

.learn {
  color: #60a5fa !important;
}

.phone {
  background: #020617 !important;
  border: 1px solid #1e293b !important;
  border-radius: 28px !important;
}

.phone-inner {
  background: var(--card) !important;
  border-radius: 20px !important;
}

.phone-qr {
  background: var(--foreground) !important;
  border-radius: var(--radius) !important;
}

.phone-qr>div.on {
  background: var(--card) !important;
}

.phone-amount {
  background: var(--muted) !important;
  border-radius: var(--radius) !important;
}

.phone-cta {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-radius: var(--radius) !important;
}

/* Authority */
.authority {
  background: var(--background) !important;
}

.auth-card {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.auth-card.lead {
  background: var(--foreground) !important;
  color: #f8fafc !important;
  border-color: var(--foreground) !important;
}

.auth-card.lead .auth-name {
  color: #f8fafc !important;
  font-size: 24px !important;
}

.auth-card.lead p {
  color: rgba(248, 250, 252, 0.78) !important;
}

.auth-card.lead .auth-tag {
  color: rgba(248, 250, 252, 0.6) !important;
}

.auth-name {
  font-size: 17px !important;
}

.auth-card p {
  color: var(--muted-foreground) !important;
  font-size: 13px !important;
}

.auth-tag {
  font-family: var(--font-mono) !important;
  color: var(--muted-foreground) !important;
}

/* Methods */
.methods {
  background: var(--muted) !important;
}

.method-card {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.method-card h3 {
  font-size: 19px !important;
}

.method-card p {
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
}

.method-for {
  border-top-color: var(--border) !important;
}

.method-for b {
  font-family: var(--font-mono) !important;
  color: var(--foreground) !important;
}

/* Pricing */
.pricing {
  background: var(--background);
}

.plan {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.plan.featured {
  background: var(--card) !important;
  border: 2px solid var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.plan-label {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-mono) !important;
}

/* Devs / API panel */
.devs {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-bottom-color: #1e293b !important;
}

.devs .eyebrow {
  color: rgba(248, 250, 252, 0.55) !important;
}

.devs .eyebrow .num {
  color: #60a5fa !important;
}

.devs h2 {
  color: #f8fafc !important;
}

.devs h2 em {
  color: #60a5fa !important;
}

.devs .section-head p {
  color: rgba(248, 250, 252, 0.7) !important;
}

.devs-link,
.devs-copy a {
  color: #60a5fa !important;
}

.devs-code,
.terminal {
  background: #020617 !important;
  border: 1px solid #1e293b !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-mono) !important;
}

.devs-integrations {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius) !important;
}

.devs-integrations span {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.03);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border) !important;
}

.faq-item {
  border-bottom: 1px solid var(--border) !important;
}

.faq-q {
  color: var(--foreground) !important;
}

.faq-q-num {
  font-family: var(--font-mono) !important;
  color: var(--muted-foreground) !important;
}

.faq-q-text {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  letter-spacing: -0.01em !important;
}

.faq-q-icon {
  color: var(--muted-foreground) !important;
}

.faq-item.open .faq-q-icon {
  color: var(--primary) !important;
}

.faq-item.open .faq-q-text {
  color: var(--primary) !important;
}

.faq-a p {
  color: var(--muted-foreground) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* CTA final */
.cta-final {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.cta-final h2 {
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
}

.cta-final h2 em {
  color: #f8fafc !important;
  opacity: 0.85;
  font-style: normal !important;
}

.cta-final-right p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.cta-final .btn-primary {
  background: var(--foreground) !important;
  border-color: var(--foreground) !important;
  color: var(--primary-foreground) !important;
}

.cta-final .btn-primary:hover {
  background: var(--card) !important;
  color: var(--foreground) !important;
}

.cta-final-micro {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Footer */
.footer {
  background: var(--background) !important;
  border-top: 1px solid var(--border) !important;
}

.footer-tagline {
  color: var(--muted-foreground) !important;
}

.footer-col h5 {
  font-family: var(--font-mono) !important;
  color: var(--muted-foreground) !important;
}

.footer-col ul {
  color: var(--ink-70) !important;
}

.footer-col a:hover {
  color: var(--primary) !important;
}

.footer-bottom {
  color: var(--muted-foreground) !important;
  border-top-color: var(--border) !important;
  font-family: var(--font-mono) !important;
}

/* Mono labels everywhere */
.mono-label,
.step-num,
.auth-tag,
.method-for b,
.doc-head-tag,
.doc-footer,
.doc-qr-label,
.phone-app,
.phone-amount small,
.devs-integrations,
.footer-bottom,
.eyebrow,
.cta-final-micro {
  font-family: var(--font-mono) !important;
}

/* =========================================================
   HERO v2 — drop-zone composition
========================================================= */
.hero-v2 {
  padding: 40px 0 80px !important;
  text-align: left;
}

.hero-v2 .container {
  max-width: 1180px;
}

.hero-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-col-left {
  min-width: 0;
}

.hero-col-right {
  min-width: 0;
}

.hero-v2 .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted-foreground) !important;
}

.hero-v2 .hero-title {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
  color: var(--foreground) !important;
  text-wrap: balance;
  margin: 0 0 22px !important;
}

.hero-v2 .hero-title em {
  color: var(--primary) !important;
  font-style: normal !important;
  font-weight: 600 !important;
}

.hero-v2 .hero-lede {
  margin: 0 0 32px !important;
  max-width: 540px;
  font-size: 18px !important;
  color: var(--muted-foreground) !important;
}

.hero-v2 .hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-v2 .hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 13px;
  color: var(--muted-foreground);
}

/* Drop zone card */
.dropzone {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 16px 48px -24px rgba(15, 23, 42, 0.14);
}

.dropzone-inner {
  border: 2px dashed var(--border);
  border-radius: calc(var(--radius) * 1.6);
  background: var(--muted);
  padding: 56px 32px 48px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.dropzone-inner:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.dropzone-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dropzone-icon svg {
  width: 28px;
  height: 28px;
}

.dropzone-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 6px;
}

.dropzone-sub {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 20px;
}

.dropzone-sub a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  text-underline-offset: 3px;
}

.dropzone-formats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.fmt-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.fmt-chip.muted {
  background: transparent;
  color: var(--muted-foreground);
  border: 1px dashed var(--border);
}

.dropzone-foot {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-foreground);
}

.dropzone-foot strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Dropzone states */
.dropzone.dz-over .dropzone-inner {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--paper));
}

.dropzone .dz-icon-spinner {
  display: none;
}

.dropzone.dz-loading .dz-icon-upload {
  display: none;
}

.dropzone.dz-loading .dz-icon-spinner {
  display: block;
}

.dropzone.dz-loading .dropzone-title,
.dropzone.dz-loading .dropzone-sub,
.dropzone.dz-loading .dropzone-formats {
  opacity: 0.4;
  pointer-events: none;
}

@keyframes dz-spin {
  to {
    transform: rotate(360deg);
  }
}

.dz-icon-spinner {
  animation: dz-spin 0.9s linear infinite;
}

/* Dropzone error modal */
.dz-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.dz-modal.open {
  display: flex;
}

.dz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

.dz-modal-box {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px 36px;
  max-width: 420px;
  width: calc(100% - 48px);
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.dz-modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.dz-modal-icon svg {
  width: 100%;
  height: 100%;
}

.dz-modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--foreground);
}

.dz-modal-body {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin: 0 0 28px;
}

.dz-modal-btn {
  width: 100%;
  justify-content: center;
}

/* Como funciona — 4-step strip */
.hero-steps {
  margin-top: 72px;
}

.hero-steps-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 20px;
}

.hero-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.hstep {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
}

.hstep-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hstep-num {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hstep-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.hstep p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-foreground);
}

@media (max-width: 960px) {
  .hero-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-v2 .hero-lede {
    max-width: none;
  }
}

.hstep-optional {
  border-style: dashed !important;
  opacity: 0.75;
}

.hstep-optional .hstep-num {
  background: transparent !important;
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
}

@media (max-width: 1000px) {
  .hero-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-steps-grid {
    grid-template-columns: 1fr;
  }

  .dropzone-inner {
    padding: 40px 20px 36px;
  }

  .dropzone-sub {
    display: none;
  }

  .dropzone {
    padding: 18px;
  }

  .hero-v2 {
    padding: 24px 0 48px !important;
  }

  :root {
    --sec-y: 52px;
    --gutter: 20px;
  }
}

/* Footer — fix on light bg */
.footer .wordmark {
  color: var(--foreground) !important;
}

.footer-brand p {
  color: var(--muted-foreground) !important;
  font-size: 14px;
  line-height: 1.55;
}

.footer-col h5 {
  color: var(--muted-foreground) !important;
  font-weight: 500;
}

.footer-col a {
  color: var(--ink-70) !important;
}

.footer-col a:hover {
  color: var(--primary) !important;
}

.footer-bottom {
  color: var(--muted-foreground) !important;
}

.footer-bottom .legal a {
  color: var(--muted-foreground) !important;
}

.footer-bottom .legal a:hover {
  color: var(--foreground) !important;
}

/* CTA final — fix button + layout */
.cta-final .btn-accent {
  background: #ffffff !important;
  color: var(--primary) !important;
  border: 1px solid #ffffff !important;
}

.cta-final .btn-accent:hover {
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--primary) !important;
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
}

.cta-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.cta-left .cta-slogan {
  margin-bottom: 0;
}

.cta-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.cta-right-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cta-right-action .cta-micro {
  margin: 0;
}

/* Team carousel */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px 18px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  row-gap: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.tcard:hover {
  border-color: var(--ink-30);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.18);
}

.tcard-avatar {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}

img.tcard-avatar {
  object-fit: cover;
  display: block;
  align-self: center;
}

.tcard-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.tcard-name {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 0;
}

.tcard-role {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.tcard-link {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tcard-link .arrow {
  transition: transform 0.2s;
}

.tcard-link:hover .arrow {
  transform: translate(2px, -2px);
}

.team-controls {
  display: flex;
  gap: 8px;
  padding: 0 var(--gutter);
  margin-top: 8px;
}

.tnav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}

.tnav:hover {
  background: var(--muted);
  border-color: var(--ink-30);
}

.tnav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* CTA slogan */
.cta-slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  margin-bottom: 28px;
  align-self: flex-start;
  width: fit-content;
  font-family: var(--font-sans);
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

a.cta-slogan:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-slogan-line {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.cta-slogan-brand {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.method-link {
  color: var(--primary) !important;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-underline-offset: 3px;
  font-weight: 500;
}

/* Tweaks panel — shadcn style */
.tweaks-panel {
  background: var(--card) !important;
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 32px -8px rgba(15, 23, 42, 0.18);
}

.tweaks-panel h4 {
  color: var(--muted-foreground) !important;
}

.tweaks-opt {
  background: var(--card) !important;
  color: var(--ink-70) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.tweaks-opt:hover {
  background: var(--muted) !important;
  color: var(--foreground) !important;
}

.tweaks-opt.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.tweaks-trigger {
  background: var(--foreground) !important;
  color: var(--primary-foreground) !important;
  border-radius: var(--radius) !important;
}


/* === BROKER section === */
.section.broker {
  padding-top: var(--sec-y);
  padding-bottom: var(--sec-y);
}

.broker-head {
  max-width: 960px;
  margin-bottom: 64px;
}

.broker-h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--foreground);
  margin: 16px 0 24px;
}

.broker-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 720px;
}

/* List */
.broker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 960px;
  border-top: 1px solid color-mix(in srgb, var(--foreground) 8%, transparent);
}

/* Desktop — 3 columns with grid areas */
.broker-item {
  display: grid;
  grid-template-columns: minmax(140px, 22%) minmax(180px, 28%) 1fr;
  grid-template-areas: "ident title desc";
  column-gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--foreground) 8%, transparent);
}

.broker-num,
.broker-sigla {
  grid-area: ident;
  align-self: baseline;
}

.broker-num {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: color-mix(in srgb, var(--foreground) 50%, transparent);
  letter-spacing: 0.04em;
}

.broker-sigla {
  justify-self: start;
  margin-left: 44px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.015em;
}

.broker-title {
  grid-area: title;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.broker-desc {
  grid-area: desc;
  font-size: 15px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
  margin: 0;
}

/* Tablet (640–959px) — 2 columns */
@media (max-width: 959px) and (min-width: 640px) {
  .broker-item {
    grid-template-columns: minmax(160px, 28%) 1fr;
    grid-template-areas:
      "ident title"
      "ident desc";
    row-gap: 6px;
    padding: 24px 0;
  }

  .broker-sigla {
    font-size: 20px;
  }
}

/* Mobile (<640px) — stacked with indentation */
@media (max-width: 639px) {
  .broker-head {
    margin-bottom: 40px;
  }

  .broker-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "ident"
      "title"
      "desc";
    row-gap: 0;
    padding: 20px 0;
  }

  .broker-num {
    font-size: 12px;
  }

  .broker-sigla {
    font-size: 20px;
    margin-left: 36px;
  }

  .broker-title {
    font-size: 16px;
    margin-left: 36px;
    margin-top: 8px;
  }

  .broker-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-left: 36px;
    margin-top: 4px;
  }
}

/* =========================================================
   TEAM SCROLL HIJACK — vertical scroll → horizontal carousel
========================================================= */
/* ==== Cookie consent banner ==== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  max-width: 680px;
  width: calc(100% - 32px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner .btn-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.25);
}

.cookie-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 12px;
  }
}

@media print {
  .cookie-banner {
    display: none;
  }
}

/* =========================================================
   LANGUAGE SELECTOR
========================================================= */
.lang-select {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.04em;
}

.lang-btn:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.lang-btn svg {
  transition: transform 0.2s;
}

.lang-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lang-opts {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 68px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 4px;
  z-index: 60;
  list-style: none;
}

.lang-opts li {
  border-radius: var(--r-sm);
}

.lang-opts li a,
.lang-opts li .lang-active {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  transition: background 0.12s, color 0.12s;
}

.lang-opts li a {
  color: var(--ink-70);
}

.lang-opts li a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.lang-opts li .lang-active {
  color: var(--ink-30);
  cursor: default;
}

/* Mobile lang selector — inside hamburger nav */
.nav-open .nav-links .nav-mobile-only.lang-select-mobile {
  display: flex;
}

.lang-select-mobile {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line-soft);
}

.lang-select-mobile .lang-mobile-label {
  font-size: 13px;
  color: var(--ink-50);
  margin-right: 10px;
}

.lang-select-mobile a,
.lang-select-mobile .lang-mobile-current {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: var(--r-sm);
}

.lang-select-mobile a {
  color: var(--ink-70);
  transition: background 0.12s, color 0.12s;
}

.lang-select-mobile a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.lang-select-mobile .lang-mobile-current {
  color: var(--ink-30);
  cursor: default;
}