:root {
  --ink: #0e1726;
  --muted: #5b6678;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --navy: #102a43;
  --navy2: #1a2f4a;
  --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);
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

body > main {
  flex: 1;
}

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

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

.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: 0;
}

.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: 0;
  }

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

  .form-page > main {
    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;
}

/* ── Enhanced mobile improvements ──────────────────────────── */

/* Form shell: sidebar becomes bottom card on mobile */
@media (max-width: 640px) {
  .form-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Reverse order: form first, aside second */
  .form-shell .form-card { order: 1; }
  .form-shell .aside-card { order: 2; }

  /* Aside card full-width non-sticky on mobile */
  .aside-card {
    position: static;
    border-radius: 20px;
    padding: 20px;
  }

  /* Section padding tighter */
  .section { padding: 52px 0; }
  .section-tight { padding: 32px 0; }

  /* Hero text size adjustments */
  .hero h1,
  .page-title {
    font-size: clamp(30px, 9vw, 44px);
  }

  .hero-text,
  .page-subtitle {
    font-size: 16px;
  }

  /* Hero actions full-width */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  /* Proof grid single column */
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Pricing layout stacks */
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  /* Big price smaller */
  .big-price {
    font-size: clamp(42px, 12vw, 64px);
  }

  /* CTA band stacks cleanly */
  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-band .button {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  /* Preview shell: aside first on mobile so CTA is visible */
  .preview-shell {
    grid-template-columns: 1fr;
  }

  .preview-shell .preview-aside { order: 1; }
  .preview-shell .preview-document { order: 2; }

  /* Toast bottom + safe area */
  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 80px;
  }

  .toast-item {
    max-width: 100%;
  }

  /* Section headings centered on mobile */
  .section-heading {
    text-align: center;
  }

  .section-heading h2 {
    font-size: clamp(24px, 7vw, 36px);
  }

  /* FAQ grid full width */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Form progress labels hidden on small screens */
  .step-label {
    display: none;
  }

  /* Steps pill overflow prevention */
  .steps {
    grid-template-columns: 1fr;
  }

  /* Success card padding */
  .success-shell {
    padding: 28px 0 88px;
  }

  /* Footer stacks */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
}

/* Very small screens (≤380px) */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .proof-grid { grid-template-columns: 1fr; }
  .hero-actions { gap: 8px; }
  .button { min-height: 48px; padding: 0 18px; }
}


/* Mobile cleanup: remove floating CTA and keep cookie controls visible */
.mobile-cta-bar {
  display: none !important;
}

.cookie-banner {
  z-index: 9999;
}

.cookie-banner-actions .cookie-refuse,
.cookie-banner-actions .cookie-accept {
  appearance: none;
  border-radius: 10px;
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
  visibility: visible;
}

.cookie-banner-actions .cookie-refuse {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  box-shadow: none;
}

.cookie-banner-actions .cookie-accept {
  background: #c9973a;
  border: 1px solid #c9973a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(201,151,58,.28);
}

@media (max-width: 640px) {
  body { padding-bottom: 0 !important; }

  .cookie-banner {
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .cookie-banner-content {
    align-items: stretch;
    gap: 12px;
    max-width: 420px;
  }

  .cookie-banner-text {
    font-size: 12.5px;
    line-height: 1.5;
    text-align: left;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .cookie-banner-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
  }
}

@media (max-width: 360px) {
  .cookie-banner-actions {
    grid-template-columns: 1fr;
  }
}


/* Final cleanup: no floating form CTA on any viewport */
.sticky-form-cta,
.mobile-cta-bar {
  display: none !important;
}
@media (max-width: 640px) {
  .form-page,
  .form-page > main {
    padding-bottom: 0 !important;
  }
}

/* ── Form layouts: robust responsiveness across all viewports ───────────── */
.form-page > main.container {
  width: min(100%, 1180px);
  padding-top: 30px;
}

.form-shell {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(20px, 3vw, 36px);
  width: 100%;
}

.form-card,
.aside-card,
.form-step,
.field-grid,
.field {
  min-width: 0;
}

.form-card {
  width: 100%;
  overflow: hidden;
}

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

.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.field label {
  overflow-wrap: anywhere;
}

.aside-card {
  width: 100%;
  max-width: 380px;
  top: 84px;
}

/* Prevent long user-entered values from forcing grid columns wider. */
input,
textarea,
select,
button {
  min-width: 0;
}

@media (max-width: 1100px) {
  .form-page > main.container {
    width: min(100%, 900px);
  }

  .form-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-shell .form-card { order: 1; }
  .form-shell .aside-card { order: 2; }

  .aside-card {
    position: static;
    max-width: none;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .form-card {
    padding: clamp(24px, 4vw, 34px);
  }

  .aside-card {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    column-gap: 32px;
    padding: 28px 30px;
  }

  .aside-card h2,
  .aside-card > p:first-of-type {
    grid-column: 1;
  }

  .aside-card ul {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0;
  }

  .aside-card > p:not(:first-of-type),
  .aside-card > hr,
  .aside-card > strong,
  .aside-card > a,
  .aside-card .summary-box {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .form-page > main.container {
    padding-top: 22px;
  }

  .form-shell {
    gap: 18px;
  }

  .form-card {
    border-radius: 20px;
    padding: 18px 16px;
  }

  .field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .field.full {
    grid-column: auto;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 24px;
  }

  .step-pill {
    min-width: 0;
    padding: 10px 5px;
    font-size: 11px;
    line-height: 1.25;
    border-radius: 12px;
    overflow-wrap: anywhere;
  }

  .form-progress {
    margin-bottom: 26px;
  }

  .step-num {
    width: 29px;
    height: 29px;
    font-size: 13px;
  }

  .step-label {
    font-size: 10.5px;
  }

  .form-step h2 {
    font-size: clamp(23px, 7vw, 28px);
  }

  .form-step > p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  input,
  textarea,
  select {
    font-size: 16px; /* avoids automatic zoom on mobile browsers */
    border-radius: 12px;
  }

  .form-actions .button {
    width: 100%;
    justify-content: center;
  }

  .aside-card {
    border-radius: 20px;
    padding: 22px 18px;
  }

  .aside-card h2 {
    font-size: clamp(24px, 7vw, 30px);
  }
}

@media (max-width: 380px) {
  .form-card {
    padding-inline: 13px;
  }

  .step-pill {
    font-size: 10px;
  }

  .progress-connector {
    min-width: 10px;
  }
}

/* ==========================================================
   Preview page responsive refinement
   Keeps the purchase panel and document readable at every width.
   ========================================================== */
.preview-page .container {
  max-width: 1280px;
}

.preview-shell {
  align-items: start;
  gap: clamp(24px, 3vw, 44px);
  grid-template-columns: minmax(330px, 390px) minmax(560px, 1fr);
  padding-top: clamp(28px, 4vw, 54px);
}

.preview-aside,
.preview-document,
.document-sheet,
.document-render {
  min-width: 0;
  width: 100%;
}

.preview-aside {
  border-radius: 24px;
  padding: clamp(24px, 2.6vw, 34px);
}

.preview-aside h1 {
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.preview-aside .button,
.preview-aside button,
.preview-aside a.button {
  justify-content: center;
  max-width: 100%;
  white-space: normal;
  width: 100%;
}

.preview-document {
  border-radius: 24px;
  padding: clamp(16px, 2vw, 26px);
}

.preview-banner {
  line-height: 1.45;
}

.document-sheet-header {
  gap: 14px;
}

.document-sheet-brand,
.document-sheet-badge {
  min-width: 0;
}

.document-render {
  overflow-wrap: anywhere;
  padding: clamp(24px, 3vw, 42px);
}

.document-render img,
.document-render svg,
.document-render canvas,
.document-render table {
  max-width: 100%;
}

.document-render table {
  table-layout: fixed;
  width: 100%;
}

@media (max-width: 1080px) {
  .preview-shell {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin-inline: auto;
  }

  .preview-aside {
    position: static;
  }

  .preview-shell .preview-aside {
    order: 1;
  }

  .preview-shell .preview-document {
    order: 2;
  }

  .preview-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 24px 32px;
    align-items: start;
  }

  .preview-aside > * {
    min-width: 0;
  }

  .preview-aside h1,
  .preview-aside > .eyebrow,
  .preview-aside > p:first-of-type {
    grid-column: 1;
  }

  .preview-price {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin: 0;
  }
}

@media (max-width: 760px) {
  .preview-page .container {
    padding-inline: 16px;
  }

  .preview-shell {
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 40px;
  }

  .preview-aside {
    display: block;
    border-radius: 20px;
    padding: 22px;
  }

  .preview-aside h1 {
    font-size: clamp(30px, 9vw, 42px);
    margin-top: 14px;
  }

  .preview-price {
    margin: 20px 0;
  }

  .preview-document {
    border-radius: 20px;
    padding: 12px;
  }

  .preview-banner {
    border-radius: 12px 12px 0 0;
    font-size: 10px;
    padding: 10px 12px;
  }

  .document-sheet {
    border-radius: 0 0 12px 12px;
  }

  .document-sheet-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .document-sheet-brand {
    font-size: 14px;
  }

  .document-sheet-badge {
    font-size: 9px;
    padding: 4px 9px;
  }

  .document-render {
    font-size: 14px;
    line-height: 1.55;
    padding: 20px 16px 28px;
  }

  .preview-document .document-sheet::after {
    font-size: clamp(58px, 22vw, 96px);
  }
}

@media (max-width: 420px) {
  .preview-page .container {
    padding-inline: 12px;
  }

  .preview-aside {
    padding: 18px;
  }

  .preview-aside h1 {
    font-size: 30px;
  }

  .preview-price strong {
    font-size: 32px;
  }

  .preview-document {
    padding: 8px;
  }

  .document-render {
    font-size: 13px;
    padding: 18px 12px 24px;
  }
}

/* ==========================================================
   Preview page: final responsive correction
   Prevents the two-column layout from being compressed on
   notebooks, tablets and mobile browsers using desktop mode.
   ========================================================== */
.preview-shell {
  align-items: start !important;
}

.preview-aside {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
}

.preview-document {
  align-self: start !important;
  height: auto !important;
  min-width: 0 !important;
}

@media (max-width: 1280px) {
  .preview-page .container {
    max-width: 920px !important;
  }

  .preview-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
    margin-inline: auto !important;
    width: 100% !important;
  }

  .preview-shell .preview-aside,
  .preview-shell .preview-document {
    order: initial !important;
    width: 100% !important;
    max-width: none !important;
  }

  .preview-aside {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
    gap: 24px 34px !important;
  }

  .preview-aside > * {
    min-width: 0 !important;
  }

  .preview-aside > .eyebrow,
  .preview-aside > h1,
  .preview-aside > p:first-of-type {
    grid-column: 1 !important;
  }

  .preview-price {
    grid-column: 2 !important;
    grid-row: 1 / span 4 !important;
    margin: 0 !important;
  }

  .preview-document {
    margin-inline: auto !important;
    max-width: 820px !important;
  }
}

@media (max-width: 820px) {
  .preview-page .container {
    max-width: 680px !important;
    padding-inline: 16px !important;
  }

  .preview-shell {
    gap: 20px !important;
    padding-top: 22px !important;
  }

  .preview-aside {
    display: block !important;
    padding: 22px !important;
  }

  .preview-price {
    margin: 20px 0 !important;
  }

  .preview-document {
    max-width: 100% !important;
    padding: 10px !important;
  }

  .document-sheet {
    overflow: hidden !important;
  }

  .document-render {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}

@media (max-width: 520px) {
  .preview-page .container {
    padding-inline: 12px !important;
  }

  .preview-aside {
    border-radius: 18px !important;
    padding: 18px !important;
  }

  .preview-aside h1 {
    font-size: clamp(29px, 9vw, 36px) !important;
    line-height: 1.05 !important;
  }

  .preview-document {
    border-radius: 18px !important;
    padding: 7px !important;
  }

  .preview-banner {
    font-size: 9px !important;
    padding: 9px 8px !important;
  }

  .document-sheet-header {
    gap: 8px !important;
    padding: 12px !important;
  }

  .document-sheet-brand {
    font-size: 13px !important;
  }

  .document-sheet-badge {
    font-size: 8px !important;
    padding: 4px 7px !important;
  }

  .document-render {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 18px 12px 24px !important;
  }
}

/* ==========================================================
   Preview experience V11 — premium document presentation
   ========================================================== */
.preview-page {
  background: #f7f5ef;
}

.preview-page .preview-shell {
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(310px, 390px) minmax(0, 760px);
  justify-content: center;
  padding-top: clamp(28px, 5vw, 58px);
}

.preview-aside {
  border-radius: 20px;
  padding: 30px;
  top: 92px;
}

.preview-aside .preview-value-kicker {
  align-items: center;
  color: #b98a32;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: .12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.preview-aside .preview-value-kicker::before {
  background: #c9973a;
  content: "";
  height: 1px;
  width: 24px;
}

.preview-aside .preview-main-title {
  color: #0f1e35;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(34px, 3.7vw, 50px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.02;
  margin: 0 0 14px;
}

.preview-aside .preview-main-copy {
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.preview-price.preview-price-premium {
  background: linear-gradient(145deg, #0f1e35, #172e4c);
  border: 0;
  border-top: 3px solid #c9973a;
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(15,30,53,.18);
  color: #fff;
  margin: 24px 0 20px;
  padding: 22px;
}

.preview-price-premium .price-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.preview-price-premium .price-label {
  color: #d7dfeb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.preview-price-premium .price-badge {
  border: 1px solid rgba(201,151,58,.5);
  border-radius: 999px;
  color: #e7bc68;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: uppercase;
}

.preview-price-premium strong {
  color: #fff;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
}

.preview-price-premium .price-note {
  color: #c9d3df;
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 7px;
}

.preview-price-premium .release-benefits {
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
}

.preview-price-premium .release-benefits li {
  color: #e5ebf2;
  font-size: 12.5px;
  line-height: 1.35;
  padding-left: 18px;
  position: relative;
}

.preview-price-premium .release-benefits li::before {
  color: #d9a742;
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.preview-aside #payButton,
.preview-aside .preview-primary-action {
  align-items: center;
  background: #0f1e35;
  border: 0;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(15,30,53,.2);
  color: #fff;
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  width: 100%;
}

.preview-aside .preview-secondary-action {
  align-items: center;
  background: #fff;
  border: 1px solid #ded8cc;
  border-radius: 9px;
  color: #243247;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  margin-top: 10px;
  min-height: 46px;
  width: 100%;
}

.preview-secure-note {
  align-items: center;
  color: #7b8797;
  display: flex;
  font-size: 12px;
  gap: 7px;
  justify-content: center;
  margin: 16px 0 0;
}

.preview-final-features {
  background: #faf8f3;
  border: 1px solid #e7e1d6;
  border-radius: 14px;
  margin-top: 24px;
  padding: 18px;
}

.preview-final-features h2 {
  color: #0f1e35;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  margin: 0 0 12px;
}

.preview-final-features ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.preview-final-features li {
  color: #526174;
  font-size: 13px;
  line-height: 1.45;
  padding-left: 22px;
  position: relative;
}

.preview-final-features li::before {
  align-items: center;
  background: #e9f5ee;
  border-radius: 50%;
  color: #19734c;
  content: "✓";
  display: flex;
  font-size: 9px;
  font-weight: 900;
  height: 15px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 2px;
  width: 15px;
}

.preview-document {
  background: #eeeae1;
  border-color: #ddd6c8;
  border-radius: 18px;
  padding: clamp(14px, 2.4vw, 24px);
}

.preview-banner {
  background: #0f1e35;
  border-radius: 10px 10px 0 0;
  color: #dbb45f;
  font-size: 10px;
  letter-spacing: .11em;
  padding: 12px 16px;
}

.document-sheet {
  border-color: #ded8cd;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 35px rgba(15,30,53,.10);
}

.document-sheet-header {
  background: #fff;
  padding: 15px clamp(18px, 4vw, 34px);
}

.document-sheet-brand {
  color: #0f1e35;
  font-family: 'DM Serif Display', Georgia, serif;
}

.document-sheet-badge {
  background: #fbf7eb;
  border: 1px solid #dfc789;
  color: #9b711e;
  font-size: 9px;
  letter-spacing: .08em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.document-render {
  color: #243247;
  font-family: Georgia, 'Times New Roman', serif;
  padding: clamp(28px, 5vw, 56px) clamp(22px, 6vw, 68px) 54px;
}

.document-render .preview-doc-meta {
  border-bottom: 1px solid #d8d0c1;
  color: #7a6e5d;
  display: flex;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  gap: 10px 18px;
  justify-content: center;
  letter-spacing: .08em;
  margin: -18px 0 30px;
  padding-bottom: 14px;
  text-transform: uppercase;
}

.document-render .preview-doc-summary {
  background: #faf8f3;
  border: 1px solid #e7e0d4;
  border-radius: 10px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin: 26px 0 32px;
  overflow: hidden;
}

.preview-doc-summary .summary-item {
  border-bottom: 1px solid #ebe5da;
  min-width: 0;
  padding: 13px 15px;
}

.preview-doc-summary .summary-item:nth-child(odd) {
  border-right: 1px solid #ebe5da;
}

.preview-doc-summary .summary-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.preview-doc-summary .summary-label {
  color: #b1842e;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.preview-doc-summary .summary-value {
  color: #243247;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.preview-doc-clauses {
  margin-top: 30px;
}

.preview-doc-clauses h3 {
  border-bottom: 1px solid #d8d0c1;
  color: #0f1e35;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  margin: 0 0 12px;
  padding-bottom: 7px;
  text-transform: uppercase;
}

.preview-doc-clauses p {
  color: #4f5d6e;
  font-size: 12px;
  line-height: 1.75;
  margin: 0 0 18px;
  text-align: justify;
}

.preview-locked-value {
  background: linear-gradient(90deg, #fbf8f0, #fff);
  border: 1px dashed #d8c69d;
  border-radius: 8px;
  margin: 26px 0;
  padding: 16px;
}

.preview-locked-value strong {
  color: #0f1e35;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: .09em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.preview-locked-value p {
  color: #6b7280;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
}

.preview-signatures {
  display: grid;
  gap: 28px 20px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: 46px;
}

.preview-signature {
  border-top: 1px solid #7c8795;
  color: #344256;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  letter-spacing: .07em;
  padding-top: 7px;
  text-align: center;
  text-transform: uppercase;
}

.preview-doc-footer {
  align-items: center;
  border-top: 1px solid #e1dbd0;
  color: #8a8174;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 12px;
}

/* Keep the document readable while still visibly protected. */
.preview-document:not(.is-paid) .document-overlay {
  background: rgba(255,255,255,.08);
}

.preview-document:not(.is-paid) .document-fade {
  background: linear-gradient(to bottom, transparent 0, transparent 72%, rgba(255,255,255,.78) 94%, rgba(255,255,255,.94) 100%);
}

.preview-document:not(.is-paid) .document-sheet::after {
  color: rgba(201,151,58,.095);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(66px, 10vw, 118px);
  letter-spacing: .13em;
  top: 47%;
}

@media (max-width: 1279px) {
  .preview-page .preview-shell {
    grid-template-columns: minmax(0, 780px);
  }
  .preview-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .preview-page .preview-shell {
    gap: 20px;
    padding-top: 18px;
  }
  .preview-aside {
    border-radius: 14px;
    padding: 22px 18px;
  }
  .preview-aside .preview-main-title {
    font-size: 34px;
  }
  .preview-price.preview-price-premium {
    padding: 19px;
  }
  .preview-price-premium strong {
    font-size: 42px;
  }
  .preview-document {
    border-radius: 12px;
    padding: 8px;
  }
  .preview-banner {
    font-size: 8px;
    padding: 10px 8px;
  }
  .document-sheet-header {
    padding: 12px 14px;
  }
  .document-sheet-brand {
    font-size: 14px;
  }
  .document-sheet-badge {
    font-size: 7px;
    padding: 4px 7px;
  }
  .document-render {
    padding: 30px 17px 40px;
  }
  .document-render .preview-doc-meta {
    gap: 6px 10px;
    margin-top: -10px;
  }
  .document-render .preview-doc-summary {
    grid-template-columns: 1fr;
  }
  .preview-doc-summary .summary-item,
  .preview-doc-summary .summary-item:nth-child(odd),
  .preview-doc-summary .summary-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #ebe5da;
    border-right: 0;
  }
  .preview-doc-summary .summary-item:last-child {
    border-bottom: 0;
  }
  .preview-doc-clauses p {
    font-size: 11px;
    text-align: left;
  }
  .preview-signatures {
    grid-template-columns: 1fr;
  }
  .preview-doc-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}


/* MeuContrato brand assets v17 */
.brand-seal, .brand-mark {
  background: #fff url('/img/brand-mark.png?v=27') center/cover no-repeat !important;
  border: 1px solid rgba(15,30,53,.10) !important;
  box-shadow: 0 4px 14px rgba(15,30,53,.12) !important;
  overflow: hidden !important;
}
.brand-seal svg, .brand-mark svg { opacity: 0 !important; }

/* V19: exact generated brand assets and stable form button states */
.site-header .brand-logo {
  display: block;
  width: 220px;
  max-width: min(220px, 44vw);
  height: auto;
  object-fit: contain;
}

.form-actions .button,
.form-actions button.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  text-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}
.form-actions .button::before,
.form-actions .button::after,
.form-actions button.button::before,
.form-actions button.button::after {
  content: none !important;
  display: none !important;
}
.form-actions .button-primary,
.form-actions .button-primary:link,
.form-actions .button-primary:visited,
.form-actions .button-primary:hover,
.form-actions .button-primary:focus,
.form-actions .button-primary:focus-visible,
.form-actions .button-primary:active {
  background: #0f1e35 !important;
  color: #fff !important;
  border-color: #0f1e35 !important;
  box-shadow: 0 4px 20px rgba(15,30,53,.25) !important;
  opacity: 1 !important;
}
.form-actions .button-primary:hover,
.form-actions .button-primary:focus-visible {
  background: #1a2f4a !important;
  box-shadow: 0 7px 22px rgba(15,30,53,.30) !important;
  transform: translateY(-1px);
}
.form-actions .button-green,
.form-actions .button-green:link,
.form-actions .button-green:visited,
.form-actions .button-green:hover,
.form-actions .button-green:focus,
.form-actions .button-green:focus-visible,
.form-actions .button-green:active {
  background: #c9973a !important;
  color: #fff !important;
  border-color: #c9973a !important;
  box-shadow: 0 4px 20px rgba(201,151,58,.28) !important;
  opacity: 1 !important;
}
.form-actions .button-green:hover,
.form-actions .button-green:focus-visible {
  background: #b8892e !important;
  box-shadow: 0 7px 22px rgba(201,151,58,.34) !important;
  transform: translateY(-1px);
}
.form-actions .button-secondary:hover,
.form-actions .button-secondary:focus-visible {
  background: #f7f5f0 !important;
  color: #0f1e35 !important;
  border-color: #0f1e35 !important;
  box-shadow: none !important;
}
.form-actions .button:disabled,
.form-actions button.button:disabled {
  transform: none !important;
  filter: none !important;
  opacity: .62 !important;
}


/* V19.1: stable interactive button states across static pages */
.button-primary,
.button-primary:link,
.button-primary:visited {
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy2, #1a2f4a);
  color: #fff;
}

.button-primary:active {
  background: var(--navy, #0f1e35);
  color: #fff;
  transform: translateY(0);
}

.button-green,
.button-green:link,
.button-green:visited,
.button-green:hover,
.button-green:focus-visible,
.button-green:active {
  color: #fff;
}

.button::before,
.button::after {
  pointer-events: none;
}


/* Purchase context: combo and post-purchase complementary flows */
.purchase-flow-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: 22px 28px;
  align-items: center;
  width: 100%;
  margin: 0 0 24px;
  padding: 24px 26px;
  border: 1px solid rgba(201, 151, 58, 0.38);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf0 0%, #fffdf8 100%);
  box-shadow: 0 12px 32px rgba(15, 30, 53, 0.07);
}
.purchase-flow-copy { min-width: 0; }
.purchase-flow-kicker {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.purchase-flow-context h2 {
  margin: 5px 0 8px;
  color: var(--navy);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 400;
  line-height: 1.12;
}
.purchase-flow-context p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.purchase-flow-summary {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(201, 151, 58, 0.2);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}
.purchase-flow-summary span { display: flex; gap: 7px; align-items: baseline; }
.purchase-flow-summary b { color: var(--gold); }
.purchase-flow-summary strong { margin-top: 3px; color: var(--navy); font-size: 16px; }
.purchase-flow-summary small { color: var(--green); font-weight: 700; }
.purchase-flow-back {
  grid-column: 1 / -1;
  width: max-content;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.purchase-flow-back:hover { color: var(--gold); }
@media (max-width: 760px) {
  .purchase-flow-context {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    padding: 19px 17px;
    border-radius: 15px;
  }
  .purchase-flow-back { width: auto; }
}

/* V27: visual polish, keyboard accessibility and motion preferences */
html {
  scroll-padding-top: 88px;
}

::selection {
  background: rgba(201, 151, 58, 0.24);
  color: var(--navy, #0f1e35);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(201, 151, 58, 0.48);
  outline-offset: 3px;
}

:where(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--gold, #c9973a);
  box-shadow: 0 0 0 4px rgba(201, 151, 58, 0.14);
}

.button,
.hamburger,
.footer-inner a {
  -webkit-tap-highlight-color: transparent;
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
}

.site-footer {
  margin-top: auto;
}

.footer-inner a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .footer-inner {
    gap: 10px 18px;
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: center;
  }

  .footer-inner span {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
