:root {
  --ink: #0e1726;
  --muted: #5b6678;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --navy: #102a43;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #10b981;
  --green-dark: #047857;
  --gold: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

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

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.site-header {
  padding: 24px 0;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.02em;
}

.brand-mark {
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.24);
  color: white;
  display: grid;
  height: 38px;
  place-items: center;
  width: 38px;
}

.nav-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  gap: 22px;
}

.hero {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  padding: 58px 0 72px;
}

.eyebrow {
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  color: var(--green-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  gap: 8px;
  padding: 8px 12px;
}

.hero h1,
.page-title {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 74px);
  letter-spacing: -0.065em;
  line-height: 0.95;
  margin: 18px 0;
}

.hero-text,
.page-subtitle {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 690px;
}

.microcopy {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  margin: -12px 0 20px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.27);
  color: white;
}

.button-secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
}

.button-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 18px 36px rgba(16, 185, 129, 0.24);
  color: white;
}

.price-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08);
  color: var(--muted);
  display: inline-flex;
  flex-direction: column;
  font-size: 13px;
  padding: 10px 16px;
}

.price-pill strong {
  color: var(--ink);
  font-size: 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
}

.hero-price {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.hero-price strong {
  color: var(--ink);
  font-weight: 700;
}

.document-preview {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}

.hero-visual-card {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
}

.hero-visual-card img {
  border-radius: 26px;
  display: block;
  width: 100%;
}

.document-preview::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.15));
  border-radius: 999px;
  content: "";
  filter: blur(10px);
  height: 120px;
  position: absolute;
  right: -18px;
  top: -18px;
  width: 120px;
  z-index: -1;
}

.paper-sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 520px;
  padding: 30px;
}

.sheet-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.sheet-logo {
  font-weight: 900;
}

.sheet-seal {
  background: rgba(16, 185, 129, 0.12);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-align: center;
}

.line {
  background: #e7edf5;
  border-radius: 999px;
  height: 10px;
  margin: 14px 0;
}

.line.short { width: 62%; }
.line.medium { width: 78%; }

.preview-card {
  background: var(--ink);
  border-radius: 20px;
  bottom: 28px;
  box-shadow: 0 22px 44px rgba(14, 23, 38, 0.22);
  color: white;
  left: 28px;
  padding: 18px;
  position: absolute;
  right: 28px;
}

.preview-card span {
  color: #9fb3c8;
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-card strong {
  display: block;
  font-size: 22px;
  margin-top: 4px;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 46px 0;
}

.proof-strip {
  margin: -24px 0 28px;
}

.proof-grid {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(16, 42, 67, 0.08);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  padding: 0;
}

.proof-grid div {
  background: rgba(255, 255, 255, 0.72);
  padding: 20px 22px;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section-heading {
  max-width: 740px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0 0 14px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(16, 42, 67, 0.08);
  padding: 24px;
}

.card-icon {
  background: rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  color: var(--blue);
  display: grid;
  font-size: 22px;
  font-weight: 900;
  height: 44px;
  place-items: center;
  width: 44px;
}

.card h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin: 18px 0 8px;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.image-feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}

.image-feature-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 14px 40px rgba(16, 42, 67, 0.08);
  padding: 24px;
}

.image-feature-card img {
  border-radius: 22px;
  display: block;
  margin-bottom: 18px;
  width: 100%;
}

.image-feature-card h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}

.image-feature-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.product-highlight {
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  padding: 34px;
}

.product-highlight h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 16px 0 12px;
}

.product-highlight p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list span {
  align-items: center;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 16px;
  color: var(--navy);
  display: flex;
  font-weight: 800;
  gap: 10px;
  padding: 13px 14px;
}

.check-list span::before {
  background: var(--green);
  border-radius: 999px;
  color: white;
  content: "OK";
  display: grid;
  flex: 0 0 26px;
  font-size: 9px;
  font-weight: 900;
  height: 26px;
  place-items: center;
  width: 26px;
}

.check-list.compact span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: white;
}

.comparison-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.comparison-card {
  border-radius: 26px;
  padding: 26px;
}

.comparison-card h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.comparison-card p {
  line-height: 1.7;
  margin: 0;
}

.muted-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
}

.muted-card h3 {
  color: var(--ink);
}

.winner-card {
  background: linear-gradient(135deg, var(--blue), var(--green-dark));
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.22);
  color: white;
}

.winner-card p {
  color: rgba(255, 255, 255, 0.86);
}

.pricing-layout {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.68fr) minmax(300px, 0.32fr);
}

.pricing-card {
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.primary-offer {
  background: linear-gradient(145deg, #102a43, #0e1726);
  color: white;
}

.primary-offer h2 {
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 18px 0 10px;
}

.primary-offer p {
  color: #c7d2df;
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.big-price {
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 16px 0 24px;
}

.primary-offer .button {
  margin-top: 24px;
}

.secondary-offer {
  background: white;
  border: 1px solid var(--line);
}

.secondary-offer h3 {
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 12px;
}

.secondary-offer p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.secondary-offer strong {
  display: block;
  font-size: 22px;
  margin-bottom: 20px;
}

.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}

.faq-item h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.faq-item p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.cta-band {
  background: linear-gradient(135deg, var(--ink), #15395d);
  border-radius: 34px;
  box-shadow: var(--shadow);
  color: white;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  padding: 34px;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.05em;
  margin: 0 0 10px;
}

.cta-band p {
  color: #c7d2df;
  line-height: 1.7;
  margin: 0;
}

.form-page {
  padding-bottom: 64px;
}

.form-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.42fr);
}

.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.steps {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
}

.step-pill {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 12px;
  text-align: center;
}

.step-pill.active {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--blue-dark);
}

.form-progress {
  align-items: center;
  display: flex;
  gap: 0;
  margin-bottom: 32px;
}

.progress-step {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 4px;
}

.step-num {
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  display: flex;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.progress-step.active .step-num {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.progress-step.done .step-num {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.progress-connector {
  background: var(--line);
  flex: 1;
  height: 2px;
}

.step-label {
  color: var(--muted);
  font-size: 12px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}

.form-step > p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 24px;
}

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

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

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

input,
textarea,
select {
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: 0;
  padding: 12px 14px;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  min-height: 98px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  background: white;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field-error {
  color: var(--danger);
  display: none;
  font-size: 12px;
  font-weight: 750;
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: rgba(220, 38, 38, 0.65);
}

.field.invalid .field-error {
  display: block;
}

.form-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
}

.aside-card {
  align-self: start;
  background: linear-gradient(180deg, #102a43, #0e1726);
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: white;
  padding: 26px;
  position: sticky;
  top: 20px;
}

.aside-card h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.aside-card p,
.aside-card li {
  color: #c7d2df;
  line-height: 1.65;
}

.aside-card ul {
  list-style: none;
  margin: 22px 0;
  padding: 0;
}

.aside-card li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0;
}

.summary-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
}

.summary-box strong {
  display: block;
  font-size: 30px;
  margin-top: 4px;
}

.alert {
  border-radius: 16px;
  display: none;
  font-weight: 750;
  line-height: 1.5;
  margin-top: 18px;
  padding: 14px;
}

.alert.show {
  display: block;
}

.alert-error {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.success-shell {
  display: grid;
  min-height: calc(100vh - 90px);
  place-items: center;
  padding: 42px 0 72px;
}

.success-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  max-width: 720px;
  padding: 38px;
  text-align: center;
}

.success-icon {
  background: rgba(16, 185, 129, 0.12);
  border-radius: 24px;
  color: var(--green-dark);
  display: grid;
  font-size: 34px;
  font-weight: 950;
  height: 72px;
  margin: 0 auto 22px;
  place-items: center;
  width: 72px;
}

.success-card h1 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0 0 14px;
}

.success-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 auto 24px;
  max-width: 560px;
}

.legal-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
}

.preview-page {
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.preview-shell {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
  padding-bottom: 64px;
}

.preview-aside {
  align-self: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px;
  position: sticky;
  top: 20px;
}

.preview-aside h1 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 18px 0 12px;
}

.preview-aside p {
  color: var(--muted);
  line-height: 1.7;
}

.preview-price {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 22px 0;
  padding: 18px;
}

.preview-price span,
.preview-price strong {
  display: block;
}

.preview-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.preview-price strong {
  font-size: 36px;
  letter-spacing: -0.05em;
}

.preview-document {
  background: #eef2f6;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 48px rgba(16, 42, 67, 0.12);
  min-height: 500px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.preview-banner {
  background: #0e1726;
  border-radius: 16px 16px 0 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  text-align: center;
  text-transform: uppercase;
}

.document-sheet {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 20px rgba(16, 42, 67, 0.08);
  position: relative;
}

.document-sheet-header {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
}

.document-sheet-brand {
  color: #1f2937;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.document-sheet-badge {
  background: #ecfdf5;
  border-radius: 999px;
  color: #047857;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
}

.document-render {
  padding: 28px 32px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

.document-render * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.document-overlay {
  background: rgba(255, 255, 255, 0.45);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.document-fade {
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), transparent 40px, transparent 60%, rgba(238,242,246,0.9));
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 4;
}

.preview-document .document-sheet::after {
  color: rgba(37, 99, 235, 0.08);
  content: "PRÉVIA";
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  left: 50%;
  letter-spacing: 0.08em;
  pointer-events: none;
  position: absolute;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-22deg);
  z-index: 5;
}

.preview-document.is-paid .document-render {
  user-select: auto;
  -webkit-user-select: auto;
}

.preview-document.is-paid .document-render * {
  user-select: auto;
  -webkit-user-select: auto;
}

.preview-document.is-paid .preview-banner,
.preview-document.is-paid .document-overlay,
.preview-document.is-paid .document-fade,
.preview-document.is-paid .document-sheet::after {
  display: none;
}

.preview-document.is-paid {
  min-height: auto;
  background: #fff;
}

.sticky-form-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border: 0;
  border-radius: 16px;
  bottom: 16px;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.27);
  color: white;
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 850;
  left: 16px;
  min-height: 52px;
  position: fixed;
  right: 16px;
  z-index: 40;
}

.retention-modal {
  align-items: center;
  background: rgba(14, 23, 38, 0.58);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 60;
}

.retention-modal-card {
  background: white;
  border-radius: 28px;
  box-shadow: var(--shadow);
  max-width: 460px;
  padding: 28px;
  position: relative;
}

.retention-modal-card h2 {
  font-size: 34px;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 16px 0 10px;
}

.retention-modal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.retention-close {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  height: 36px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 36px;
}

.mobile-cta-bar {
  background: white;
  border-top: 1px solid var(--line);
  bottom: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: none;
  left: 0;
  padding: 12px 20px;
  position: fixed;
  right: 0;
  z-index: 100;
}

@media (max-width: 900px) {
  .hero,
  .form-shell,
  .cta-band,
  .product-highlight,
  .pricing-layout,
  .preview-shell {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .image-feature-grid,
  .comparison-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .document-preview {
    max-width: 560px;
  }

  .aside-card {
    position: static;
  }

  .preview-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .paper-sheet {
    min-height: 430px;
    padding: 22px;
  }

  .field-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .form-card,
  .success-card,
  .cta-band,
  .product-highlight,
  .pricing-card,
  .preview-aside,
  .preview-document {
    border-radius: 24px;
    padding: 22px;
  }

  .preview-document iframe {
    height: 620px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .sticky-form-cta {
    display: block;
  }

  .form-page {
    padding-bottom: 88px;
  }

  .mobile-cta-bar {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

.toast-container {
  bottom: 20px;
  left: 20px;
  position: fixed;
  z-index: 80;
}

.toast-item {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(14, 23, 38, 0.18);
  display: flex;
  gap: 12px;
  margin-top: 12px;
  max-width: 400px;
  opacity: 0;
  padding: 16px 18px;
  transform: translateY(16px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.toast-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-item.hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.toast-icon {
  color: var(--green);
  flex: 0 0 10px;
  font-size: 10px;
}

.toast-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.live-counter-box {
  margin: 22px 0 0;
}

.live-counter-box span {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
}

.live-counter-box strong {
  font-size: 18px;
}

.testimonial-section {
  padding: 58px 0;
}

.testimonial-container {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.testimonial-track {
  min-height: 200px;
  position: relative;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 40px rgba(16, 42, 67, 0.08);
  opacity: 0;
  padding: 28px;
  position: absolute;
  transition: opacity 480ms ease;
  visibility: hidden;
  width: 100%;
}

.testimonial-card.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-card p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.testimonial-author {
  align-items: center;
  display: flex;
  gap: 14px;
}

.testimonial-avatar {
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 999px;
  color: white;
  flex: 0 0 44px;
  font-size: 18px;
  font-weight: 800;
  height: 44px;
  display: grid;
  place-items: center;
  width: 44px;
}

.testimonial-author strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 13px;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.testimonial-dot {
  background: var(--line);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background 200ms ease;
  width: 8px;
}

.testimonial-dot.active {
  background: var(--blue);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

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

.cookie-banner {
  background: rgba(14, 23, 38, 0.92);
  bottom: 0;
  left: 0;
  padding: 16px;
  position: fixed;
  right: 0;
  transform: translateY(100%);
  transition: transform 400ms ease;
  z-index: 90;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hiding {
  transform: translateY(100%);
}

.cookie-banner-content {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
  max-width: 960px;
}

.cookie-banner-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-banner .button {
  min-height: 40px;
  font-size: 13px;
  padding: 0 16px;
}

.cookie-banner .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

@media (max-width: 640px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .button {
    flex: 1;
  }
}

.site-footer {
  background: rgba(14, 23, 38, 0.04);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-inner span {
  color: var(--muted);
  font-size: 13px;
}

.footer-inner a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-inner a:hover {
  color: var(--ink);
}

.legal-page h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page ul {
  margin: 10px 0 18px;
  padding-left: 20px;
}
