:root {
  --brand: #e61e1e;
  --brand-dark: #b90f18;
  --ink: #1f2933;
  --muted: #64707d;
  --line: #e5e9ee;
  --paper: #ffffff;
  --soft: #f7f4f2;
  --mint: #dff3ec;
  --blue: #e8f0fb;
  --dark: #20242a;
  --shadow: 0 22px 70px rgba(31, 41, 51, 0.12);
  font-family: "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body,
button,
input,
select,
textarea {
  font: 16px/1.6 "Open Sans", Arial, sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
legend {
  font-family: Raleway, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 72px);
  overflow-wrap: normal;
  hyphens: auto;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 160px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

.nav-cta {
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  padding: 8px 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 4vw, 58px);
  min-height: calc(100vh - 86px);
  padding: clamp(48px, 8vw, 108px) clamp(20px, 5vw, 72px) 54px;
  background:
    radial-gradient(circle at 80% 10%, rgba(230, 30, 30, 0.12), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fff8f8 44%, #f2f6fb 100%);
}

.hero-copy {
  align-self: center;
  min-width: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.03;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: #3d4852;
  font-size: clamp(20px, 2vw, 25px);
}

.microcopy {
  max-width: 700px;
  margin: 0;
  color: #4b5560;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(230, 30, 30, 0.25);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero-panel {
  align-self: center;
  min-height: 560px;
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background: linear-gradient(145deg, #2f3338, #17191d);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.document-stack {
  position: relative;
  height: 220px;
  margin-bottom: 28px;
}

.document-stack span {
  position: absolute;
  display: block;
  width: 70%;
  height: 178px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.document-stack span::before,
.document-stack span::after {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 10px;
  border-radius: 99px;
  background: #d9e1e8;
  content: "";
}

.document-stack span::before {
  top: 36px;
}

.document-stack span::after {
  top: 62px;
  width: 56%;
}

.document-stack span:nth-child(1) {
  top: 20px;
  left: 0;
  transform: rotate(-7deg);
}

.document-stack span:nth-child(2) {
  top: 6px;
  left: 58px;
  background: var(--blue);
  transform: rotate(5deg);
}

.document-stack span:nth-child(3) {
  top: 30px;
  left: 116px;
}

.document-stack span:nth-child(3)::after {
  background: var(--brand);
}

.panel-label {
  color: #f4b4b4;
  font-weight: 900;
}

.hero-panel h2 {
  max-width: 420px;
  font-size: clamp(34px, 4vw, 54px);
}

.hero-panel ul,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li,
.check-list li {
  position: relative;
  padding-left: 30px;
}

.hero-panel li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  background: var(--brand);
  border-radius: 50%;
  content: "";
}

.hero-panel li::after,
.check-list li::after {
  position: absolute;
  left: 7px;
  top: 0.48em;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(42deg);
}

.subjects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subjects span {
  padding: 20px;
  text-align: center;
  font-weight: 900;
  background: #fff;
}

.subjects span:nth-child(2) {
  background: var(--mint);
}

.section {
  padding: clamp(62px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.two-column,
.split-band,
.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
}

.rich-text,
.article-copy {
  color: #3d4852;
  font-size: 20px;
}

.rich-text.light {
  color: #fff;
}

.split-band {
  background: var(--dark);
  color: #fff;
}

.split-band .eyebrow {
  color: #ffb3b3;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
  font-size: 19px;
}

.guide-section {
  background: var(--soft);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.order-form,
details,
.legal-box,
.order-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.info-card {
  min-height: 236px;
  padding: 24px;
}

.info-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
}

.info-card p,
details p {
  color: var(--muted);
}

.content-block {
  background: #fff;
}

.compact-content {
  padding-top: 0;
}

.article-copy {
  max-width: 980px;
}

.article-copy.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
}

.next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 42px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.next-step h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(28px, 3.4vw, 44px);
}

.next-step p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.order-hero {
  padding-bottom: 42px;
  background: linear-gradient(135deg, #fff, #fff3f3);
}

.order-hero h1 {
  max-width: 980px;
}

.order-layout {
  padding-top: 34px;
  background: var(--soft);
}

.order-form {
  max-width: 1120px;
  padding: clamp(22px, 4vw, 42px);
}

fieldset {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #34404b;
  font-weight: 800;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(230, 30, 30, 0.16);
  border-color: var(--brand);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.order-summary,
.legal-box {
  margin: 28px 0;
  padding: 26px;
}

.order-summary h2,
.legal-box h2 {
  font-size: 28px;
}

.order-summary dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.order-summary div {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.order-summary dt {
  font-weight: 900;
}

.order-summary dd {
  margin: 0;
  color: #3d4852;
}

.legal-box p {
  color: #3d4852;
}

.legal-note {
  margin: 8px 0 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #3d4852;
  background: #fff;
}

.consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 0;
  color: #3d4852;
  font-weight: 700;
}

.consent input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 4px;
}

.order-button {
  width: 100%;
  margin-top: 26px;
  font-size: 18px;
}

.legal-page {
  background: var(--soft);
}

.legal-document {
  max-width: 960px;
  background: #fff;
}

.legal-document h1 {
  max-width: 840px;
  margin-bottom: 28px;
  font-size: clamp(42px, 6vw, 76px);
}

.legal-document h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-document p {
  max-width: 820px;
  color: #3d4852;
}

.withdrawal-form-sample {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafa;
}

details {
  margin-bottom: 12px;
  padding: 22px 24px;
}

summary {
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

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

.thank-you {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #fff, #fff0f0);
}

.thanks-card {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.thanks-card img {
  margin-bottom: 42px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .two-column,
  .split-band,
  .faq,
  .next-step {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-panel {
    min-height: auto;
  }

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

  .next-step .button {
    justify-self: start;
  }

  .article-copy.columns {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 42px;
  }

  .subjects,
  .form-grid,
  .order-summary div {
    grid-template-columns: 1fr;
  }

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

  .document-stack span {
    width: 74%;
  }

  .document-stack span:nth-child(2) {
    left: 34px;
  }

  .document-stack span:nth-child(3) {
    left: 68px;
  }
}
