:root {
  color-scheme: dark;
  --ink: #080a0f;
  --ink-2: #0b0e15;
  --panel: #10141d;
  --panel-2: #151b26;
  --panel-3: #1b2230;
  --border: #232b38;
  --border-strong: #354052;
  --text: #f4efe4;
  --text-soft: #ded8cb;
  --muted: #9aa3b2;
  --muted-2: #6f7887;
  --gold: #e8b45a;
  --gold-bright: #f5d08a;
  --gold-deep: #b9852f;
  --gold-soft: rgba(232, 180, 90, 0.12);
  --mint: #5eead4;
  --mint-soft: rgba(94, 234, 212, 0.1);
  --red: #f87171;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 18px;
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(232, 180, 90, 0.32);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 600;
  padding: 10px 14px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ── Atmosphere ─────────────────────────────────────────────────────────── */

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.ambient-hero {
  top: -300px;
  right: -140px;
  width: 760px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 180, 90, 0.16), transparent 68%);
}

.ambient-side {
  top: 34%;
  left: -280px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.07), transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 74%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 74%);
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 10, 15, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 10, 15, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  display: block;
  filter: drop-shadow(0 0 18px rgba(232, 180, 90, 0.16));
}

.brand-word {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-word em {
  color: var(--gold);
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 20, 29, 0.7);
}

.lang-button {
  min-width: 30px;
  height: 26px;
  padding: 0 6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-button:hover {
  color: var(--text);
}

.lang-button[aria-pressed="true"] {
  background: var(--gold-soft);
  color: var(--gold-bright);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: #151008;
  box-shadow: 0 12px 34px -18px rgba(232, 180, 90, 0.7);
}

.btn-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 18px 42px -18px rgba(232, 180, 90, 0.72);
}

.btn-secondary {
  border-color: var(--border-strong);
  background: rgba(16, 20, 29, 0.65);
  color: var(--text-soft);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--text);
}

.btn-ghost {
  padding: 0 8px;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-wide {
  width: 100%;
}

.header-cta {
  min-height: 40px;
  padding: 0 15px;
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 650;
}

.text-link:hover {
  color: var(--gold-bright);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 32px clamp(52px, 7vw, 92px);
}

.hero-copy {
  position: relative;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.hero h1 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(50px, 6.6vw, 94px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 10px;
  line-height: 1;
}

.hero-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seal-line {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── Agent preview ──────────────────────────────────────────────────────── */

.hero-stage {
  position: relative;
  min-height: 540px;
  padding: 20px 0 0;
}

.agent-preview {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  margin-left: auto;
  overflow: hidden;
  border-color: rgba(232, 180, 90, 0.24);
  background:
    radial-gradient(circle at 88% 0%, rgba(232, 180, 90, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(21, 27, 38, 0.98), rgba(13, 17, 25, 0.99));
  box-shadow:
    0 0 0 1px rgba(232, 180, 90, 0.04),
    0 44px 100px -50px rgba(0, 0, 0, 0.95),
    0 0 80px -50px rgba(232, 180, 90, 0.28);
  transform: rotate(-1.1deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.agent-preview:hover {
  transform: rotate(0deg) translateY(-3px);
  border-color: rgba(232, 180, 90, 0.4);
}

.agent-preview::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(232, 180, 90, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

.agent-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 10, 15, 0.32);
}

.agent-orb {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(232, 180, 90, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--gold-bright), var(--gold-deep) 64%, #5c3d10);
  box-shadow: 0 0 0 5px rgba(232, 180, 90, 0.06);
}

.agent-orb span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px rgba(8, 10, 15, 0.2);
}

.agent-preview-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.agent-preview-id strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.agent-preview-id span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1);
  animation: pulse 2.4s ease-in-out infinite;
}

.agent-preview-body {
  padding: 20px 18px 10px;
}

.agent-preview-title {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.bubble {
  display: flex;
  gap: 9px;
  max-width: 92%;
  margin-bottom: 10px;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 12.5px;
  line-height: 1.55;
}

.bubble-user {
  margin-left: auto;
  border: 1px solid rgba(232, 180, 90, 0.2);
  border-bottom-right-radius: 4px;
  background: rgba(232, 180, 90, 0.1);
  color: var(--text-soft);
}

.bubble-agent {
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  background: rgba(21, 27, 38, 0.9);
  color: var(--muted);
}

.bubble-mark {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 5px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 10px 28px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(21, 27, 38, 0.7);
}

.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  animation: typing 1.3s ease-in-out infinite;
}

.typing span:nth-child(2) { animation-delay: 0.16s; }
.typing span:nth-child(3) { animation-delay: 0.32s; }

.agent-preview-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 18px 18px;
  padding: 11px 12px 11px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 10, 15, 0.52);
  color: var(--muted-2);
  font-size: 12px;
}

.agent-preview-input span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.send-glyph {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  margin-left: auto;
  border-radius: 7px;
  background: var(--gold);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.float-card {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(16, 20, 29, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9);
}

.float-balance {
  left: -14px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 210px;
  padding: 14px 16px;
}

.float-label {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.float-balance strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.float-meter {
  height: 3px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--panel-3);
}

.float-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

.float-meta {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
}

.float-api {
  top: 2px;
  right: -6px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
}

.float-api code {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.float-api strong {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 9px;
}

.api-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1);
}

.float-chip {
  right: -4px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(232, 180, 90, 0.3);
  border-radius: 10px;
  background: rgba(232, 180, 90, 0.08);
}

.chip-star {
  color: var(--gold);
  font-size: 16px;
}

.float-chip div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.float-chip strong {
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 11px;
}

.float-chip span:last-child {
  color: var(--muted-2);
  font-size: 9.5px;
}

/* ── Stats ──────────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 28px;
  border-left: 1px solid var(--border);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) 32px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2,
.section-aside h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.section-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 34px;
  background: linear-gradient(90deg, var(--gold), var(--border) 55%, transparent);
}

/* ── Steps ──────────────────────────────────────────────────────────────── */

.steps-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.section-aside {
  position: sticky;
  top: 118px;
}

.steps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: start;
  padding: 26px 26px 26px 22px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.step:hover {
  border-color: rgba(232, 180, 90, 0.32);
  background: linear-gradient(180deg, rgba(27, 34, 48, 0.86), rgba(16, 20, 29, 0.97));
  transform: translateX(3px);
}

.step-number {
  color: transparent;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px rgba(232, 180, 90, 0.65);
}

.step-copy h3 {
  margin: 2px 0 7px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.step-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 10, 15, 0.42);
  color: var(--gold);
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

/* ── Features ───────────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  grid-column: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border-color: rgba(232, 180, 90, 0.24);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.feature:hover {
  border-color: rgba(232, 180, 90, 0.3);
  transform: translateY(-2px);
}

.feature-wide {
  grid-column: span 8;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid rgba(232, 180, 90, 0.2);
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

.feature-tag {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
}

.feature-agent {
    grid-column: span 12;
    gap: 26px;
    padding: 34px;
    border-color: rgba(232, 180, 90, 0.28);
    background:
      radial-gradient(circle at 100% 0%, rgba(232, 180, 90, 0.12), transparent 40%),
      linear-gradient(180deg, rgba(27, 34, 48, 0.88), rgba(16, 20, 29, 0.98));
  }

.feature-agent::before {
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-copy .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.feature-terminal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  align-self: stretch;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 10, 15, 0.56);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
}

.feature-terminal code {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.terminal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.08);
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.feature-dark {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 30px;
  background:
    linear-gradient(135deg, rgba(232, 180, 90, 0.07), transparent 46%),
    rgba(11, 14, 21, 0.82);
}

.feature-code {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
}

.code-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(8, 10, 15, 0.46);
  white-space: nowrap;
}

.code-line i {
  color: var(--gold);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.code-line b {
  margin-left: auto;
  color: var(--mint);
  font-weight: 600;
}

/* ── Pricing ────────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 34px;
  border-color: rgba(232, 180, 90, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 180, 90, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(27, 34, 48, 0.88), rgba(16, 20, 29, 0.98));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card .btn-wide {
  margin-top: auto;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  right: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
}

.price-head h3 {
  min-height: 24px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-kicker {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.price-head h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(232, 180, 90, 0.26);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 26px 0 24px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-value > span {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0;
}

.price-value small {
  margin-left: 8px;
  color: var(--muted-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.price-list {
  display: grid;
  gap: 11px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.price-list li > span:first-child {
  color: var(--mint);
  font-size: 12px;
  line-height: 1.6;
}

.price-list.compact {
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.price-foot {
  display: block;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
  text-align: center;
}

.price-side {
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: rgba(11, 14, 21, 0.7);
}

.price-side h3 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.price-side p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.price-side .btn {
  margin-top: auto;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}

.faq-item {
  border-radius: 12px;
  background: rgba(16, 20, 29, 0.62);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span:last-child {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item[open] summary span:last-child {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.faq-item a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── CTA ────────────────────────────────────────────────────────────────── */

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: calc(100% - 64px);
  max-width: calc(var(--max) - 64px);
  margin: 0 auto 100px;
  padding: 44px 46px;
  overflow: hidden;
  border-color: rgba(232, 180, 90, 0.24);
  background:
    radial-gradient(circle at 82% 20%, rgba(232, 180, 90, 0.18), transparent 46%),
    linear-gradient(135deg, rgba(27, 34, 48, 0.92), rgba(13, 17, 25, 0.98));
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(232, 180, 90, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band h2 {
  margin: 12px 0 6px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.cta-band .btn {
  flex: none;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 32px 52px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 11.5px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 17px;
}

.footer-brand em {
  color: var(--gold);
  font-style: italic;
}

.site-footer > p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-left: auto;
}

.footer-links a {
  color: var(--muted-2);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ── 404 ────────────────────────────────────────────────────────────────── */

.not-found {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 220px);
  padding: 60px 32px;
}

.not-found-card {
  width: min(640px, 100%);
  padding: 46px;
  border-color: rgba(232, 180, 90, 0.2);
  background:
    radial-gradient(circle at 90% 0%, rgba(232, 180, 90, 0.1), transparent 42%),
    var(--panel);
}

.not-found-code {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  opacity: 0.85;
}

.not-found-card h1 {
  margin: 22px 0 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.not-found-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ── Motion ─────────────────────────────────────────────────────────────── */

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

@keyframes typing {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    gap: 44px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .float-balance {
    left: -4px;
  }

  .site-nav {
    gap: 18px;
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 16px 22px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 64px 22px 50px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-stage {
    width: min(560px, 100%);
    min-height: 520px;
    margin: 10px auto 0;
  }

  .agent-preview {
    width: 100%;
    margin: 0;
  }

  .float-balance {
    left: -10px;
    bottom: 34px;
  }

  .stats {
    padding: 0 22px;
  }

  .stat {
    padding: 22px 16px;
  }

  .section {
    padding: 84px 22px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 38px;
  }

  .steps-section {
    grid-template-columns: 1fr;
  }

  .section-aside {
    position: static;
  }

  .feature-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .feature,
  .feature-wide {
    grid-column: span 6;
  }

  .feature-agent,
  .feature-dark {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .cta-band {
    width: calc(100% - 44px);
    max-width: calc(var(--max) - 44px);
    padding: 32px;
  }

  .site-footer {
    padding: 30px 22px 44px;
  }

  .footer-links {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .brand-word {
    font-size: 20px;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .header-cta svg {
    width: 16px;
    height: 16px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-ghost {
    width: auto;
  }

  .hero-points {
    display: grid;
    gap: 8px;
  }

  .hero-stage {
    min-height: auto;
    padding-bottom: 58px;
  }

  .float-api {
    display: none;
  }

  .float-balance {
    left: 8px;
    bottom: -14px;
    width: 190px;
  }

  .float-chip {
    right: 4px;
    bottom: -10px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-top: 1px solid var(--border);
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-top: 0;
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .step {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 22px;
  }

  .step-number {
    font-size: 34px;
  }

  .step-icon {
    display: none;
  }

  .feature {
    min-height: 0;
  }

  .price-card,
  .price-side {
    padding: 26px 22px;
  }

  .price-head {
    flex-direction: column;
    gap: 10px;
  }

  .price-value {
    flex-wrap: wrap;
  }

  .price-value small {
    width: 100%;
    margin-left: 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .btn {
    width: 100%;
  }

  .not-found-card {
    padding: 32px 24px;
  }

  .not-found-code {
    font-size: 72px;
  }
}

/* CTA de preços */
.price-value {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 26px 0 24px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-old {
  color: var(--muted-2);
  text-decoration: line-through;
  font-size: 16px;
  font-weight: 500;
}

.price-value > .price-current {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
}

.price-current span {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0;
}

.price-discount {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.12);
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.price-card .btn-primary {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(232, 180, 90, 0.35);
}

.price-card.is-featured {
  border-color: rgba(232, 180, 90, 0.6);
  box-shadow: 0 0 0 1px rgba(232, 180, 90, 0.2), 0 20px 50px rgba(0,0,0,0.4);
  animation: price-pulse 3s ease-in-out infinite;
}

@keyframes price-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(232, 180, 90, 0.2), 0 20px 50px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 0 1px rgba(232, 180, 90, 0.45), 0 24px 60px rgba(232,180,90,0.15); }
}

/* Model badges */
.model-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(232,180,90,0.25);
  background: rgba(232,180,90,0.06);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.model-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(232,180,90,0.5);
  box-shadow: 0 6px 18px rgba(232,180,90,0.15);
}

.model-badge img {
  width: 18px;
  height: 18px;
  flex: none;
}

.model-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.model-claude::before { background: #d97757; }
.model-gpt::before { background: #10a37f; }
