:root {
  --bg: #f6f0e5;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: #fffdf8;
  --ink: #1f221c;
  --muted: #5c6256;
  --line: rgba(31, 34, 28, 0.12);
  --accent: #124734;
  --accent-2: #c96f2d;
  --accent-3: #f2c880;
  --shadow: 0 28px 80px rgba(41, 43, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 111, 45, 0.16), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(18, 71, 52, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf7ef 0%, #f3ebdd 100%);
  font-family: "Manrope", sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(50, 40, 18, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 54px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.brand-label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  background: rgba(18, 71, 52, 0.08);
  color: var(--ink);
}

.nav-cta {
  background: var(--accent);
  color: #fefbf6 !important;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  padding: 72px 0 28px;
}

.hero-copy,
.hero-card,
.feature-card,
.pricing-card,
.form-shell,
.timeline,
.logo-strip,
.success-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 20%, rgba(242, 200, 128, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(255, 251, 244, 0.94), rgba(246, 237, 222, 0.92));
}

.hero-copy h1,
.section-heading h2,
.pricing-copy h2,
.success-card h2 {
  margin: 14px 0 16px;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.hero-copy p,
.pricing-copy p,
.feature-card p,
.timeline p,
.form-note,
.success-card p {
  color: var(--muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1f6f53 100%);
  color: #fffdf7;
}

.btn-secondary {
  background: rgba(18, 71, 52, 0.08);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.hero-points,
.pricing-list,
.form-sidecard ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.pricing-list li,
.form-sidecard li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.hero-points li::before,
.pricing-list li::before,
.form-sidecard li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(19, 38, 31, 0.96), rgba(16, 55, 41, 0.94));
  color: #f8f5ee;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(248, 245, 238, 0.78);
}

.signal {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8dffb2;
  box-shadow: 0 0 0 7px rgba(141, 255, 178, 0.14);
}

.metric-grid {
  display: grid;
  gap: 16px;
}

.metric-grid article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.metric-grid strong,
.feature-card h3,
.timeline h3,
.form-sidecard h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.metric-grid span {
  color: rgba(248, 245, 238, 0.72);
  line-height: 1.6;
}

.highlight-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201, 111, 45, 0.92), rgba(242, 200, 128, 0.98));
  color: #321d0d;
  font-weight: 800;
}

.highlight-band strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.logo-strip {
  margin: 10px 0 56px;
  padding: 18px 22px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  text-align: center;
  color: var(--muted);
}

.section {
  margin-bottom: 34px;
  padding: 34px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
}

.section-heading.compact {
  margin-bottom: 18px;
}

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

.feature-card {
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.84);
}

.timeline-section {
  overflow: hidden;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 246, 0.72);
}

.timeline article {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(18, 71, 52, 0.05);
}

.timeline article span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fffdf7;
  font-weight: 800;
}

.pricing-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(242, 200, 128, 0.24), transparent 28%),
    rgba(255, 252, 247, 0.86);
}

.pricing-tag {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 71, 52, 0.09);
  color: var(--accent);
  font-weight: 800;
}

.price {
  display: block;
  margin-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 5vw, 4.4rem);
  letter-spacing: -0.05em;
}

.price-caption,
.trial-copy,
.pricing-card small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.trial-copy {
  margin: 10px 0 22px;
}

.form-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 248, 0.84);
}

.signup-form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.signup-form label,
.payment-choice {
  display: grid;
  gap: 8px;
}

.signup-form span,
.payment-choice legend {
  font-size: 0.95rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(18, 71, 52, 0.18);
  border-color: rgba(18, 71, 52, 0.22);
}

.payment-choice {
  grid-template-columns: repeat(3, 1fr);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.payment-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.payment-choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(18, 71, 52, 0.05);
}

.payment-choice input,
.consent input {
  width: auto;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
}

.field-block {
  display: grid;
}

[data-tone="success"] {
  color: var(--accent);
}

[data-tone="error"] {
  color: #9c2f1f;
}

.form-sidecard {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 71, 52, 0.95), rgba(18, 71, 52, 0.82));
  color: #f7f1e7;
}

.form-sidecard li {
  color: rgba(247, 241, 231, 0.8);
}

.success-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(25, 26, 20, 0.42);
  backdrop-filter: blur(10px);
}

.success-card {
  position: relative;
  width: min(760px, 100%);
  padding: 32px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.96);
  text-align: left;
}

.success-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.success-brand img {
  height: 64px;
  width: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 71, 52, 0.08);
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.activation-summary,
.pix-layout {
  display: grid;
  gap: 16px;
}

.activation-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 18px;
}

.activation-summary article,
.activation-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(248, 243, 234, 0.88);
}

.activation-summary strong,
.activation-panel-copy strong {
  display: block;
  margin-bottom: 6px;
}

.activation-summary span,
.activation-panel-copy span,
.pix-expiration {
  color: var(--muted);
  line-height: 1.6;
}

.activation-panel {
  margin-bottom: 18px;
}

.activation-panel-copy {
  margin-bottom: 16px;
}

.pix-layout {
  grid-template-columns: 220px 1fr;
  align-items: center;
}

.pix-qr-image {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
}

.pix-meta {
  display: grid;
  gap: 12px;
}

.pix-copy-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.pix-copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.pix-copy-row input {
  min-width: 0;
}

.activation-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.activation-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.activation-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

.hidden {
  display: none;
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 600ms ease forwards;
}

.reveal-delay {
  animation-delay: 120ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .pricing-section,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 14px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .brand img {
    height: 44px;
  }

  .nav {
    justify-content: center;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-copy,
  .hero-card,
  .pricing-card,
  .form-shell,
  .timeline,
  .success-card {
    padding: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 15vw, 3.8rem);
  }

  .feature-grid,
  .timeline,
  .field-grid,
  .payment-choice {
    grid-template-columns: 1fr;
  }

  .activation-summary,
  .pix-layout,
  .pix-copy-row {
    grid-template-columns: 1fr;
  }

  .pix-qr-image {
    max-width: 200px;
  }

  .logo-strip {
    border-radius: 28px;
  }
}
