:root {
  --bg: #f5f1e8;
  --panel: #fffaf0;
  --ink: #111111;
  --muted: #5f615f;
  --line: #d8d0bf;
  --red: #d72626;
  --red-dark: #aa1717;
  --blue: #17324d;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--red);
  color: var(--white);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  min-width: 36px;
  min-height: 30px;
  padding: 5px 8px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.language-switch button.active {
  background: var(--red);
  color: var(--white);
}

.language-switch button:focus-visible {
  outline: 3px solid rgba(215, 38, 38, 0.28);
  outline-offset: 2px;
}

main {
  overflow: hidden;
}

section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 54px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 67px);
  padding-top: clamp(34px, 5vw, 64px);
}

.hero-copy {
  max-width: 740px;
}

.kicker,
.section-label,
.tag {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 0.98;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 800;
  line-height: 1.08;
}

.intro,
.contact p,
.boundary p,
.example-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.trust-strip span {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 420px;
}

.hero-media img,
.split-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 4 / 3;
}

.price-badge {
  position: absolute;
  right: -14px;
  bottom: 22px;
  display: grid;
  width: 152px;
  height: 152px;
  place-content: center;
  background: var(--red);
  color: var(--white);
  border: 7px solid var(--bg);
  border-radius: 50%;
  text-align: center;
  transform: rotate(7deg);
}

.price-badge span {
  font-size: 14px;
  font-weight: 700;
}

.price-badge strong {
  font-size: 24px;
  line-height: 1.05;
}

.pain-section,
.how,
.packages,
.effort-section,
.price-rules,
.lead-magnet,
.boundary,
.contact {
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.pain-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
}

.pain-grid,
.steps,
.package-grid {
  display: grid;
  gap: 16px;
}

.lead-magnet {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 36px;
}

.lead-magnet p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.lead-box {
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 0 0 5px rgba(215, 38, 38, 0.08);
}

.lead-box ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 0 0 20px;
}

.lead-box li {
  color: var(--muted);
  font-size: 18px;
}

.lead-box .button {
  width: 100%;
}

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

.pain-grid article,
.steps article,
.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.package-card {
  display: flex;
  flex-direction: column;
}

.package-card .tag {
  min-height: 16px;
}

.package-badge {
  align-self: flex-start;
  min-height: 24px;
  margin: -5px 0 12px;
  padding: 4px 9px;
  background: rgba(215, 38, 38, 0.1);
  border: 1px solid rgba(215, 38, 38, 0.22);
  border-radius: 999px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.package-card:not(.highlight) .package-badge {
  visibility: hidden;
}

.package-card h3 {
  min-height: 56px;
}

.pain-grid p,
.steps p,
.package-card p {
  color: var(--muted);
}

.package-card .package-benefit {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.steps,
.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

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

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}

.split-section,
.example-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

.split-copy {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 19px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  content: "✓";
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.package-card.highlight {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 38, 38, 0.12);
}

.package-card strong {
  display: block;
  min-height: 64px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 22px;
}

.package-detail-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 11px 14px;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.package-detail-button:hover {
  background: var(--red);
}

.package-options {
  margin-top: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.package-options h3 {
  max-width: 900px;
  margin-bottom: 8px;
}

.package-options p:last-child {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.effort-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
}

.effort-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

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

.effort-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status.good {
  background: #e3f3e5;
  color: #25642c;
}

.status.okay {
  background: #fff0c9;
  color: #765100;
}

.status.stop {
  background: #ffe1df;
  color: #8d1717;
}

.price-rules {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
}

.price-rules p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

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

.price-rule-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.price-rule-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 27px;
  line-height: 1;
}

.example-section {
  background: var(--blue);
  color: var(--white);
}

.example-section .section-label {
  color: var(--white);
}

.example-section > div:first-child p:not(.section-label) {
  color: rgba(255, 255, 255, 0.9);
}

.offer-preview {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.sample-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sample-pdf-button {
  flex-direction: column;
  gap: 3px;
  min-width: 132px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.88);
  line-height: 1.1;
}

.sample-pdf-button strong {
  font-size: 1.35rem;
  letter-spacing: 0;
}

.sample-pdf-button span {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}

.offer-paper {
  width: min(100%, 430px);
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.offer-paper h3 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.08;
}

.offer-paper p:not(.tag) {
  margin-bottom: 0;
  color: #3e4142;
  font-size: 18px;
}

.offer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red);
}

.offer-head span {
  color: #4f5356;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-head strong {
  max-width: 190px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.05;
  text-align: right;
}

.offer-meta {
  margin: 18px 0;
  color: var(--red-dark);
  font-weight: 700;
}

.offer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.offer-row span {
  color: #3e4142;
}

.offer-row.total {
  border-top: 2px solid var(--ink);
  font-weight: 800;
}

.offer-note {
  margin-top: 18px;
  padding: 14px;
  background: var(--panel);
  border-radius: 8px;
  color: #3e4142;
  font-size: 14px;
}

.example-section img {
  justify-self: center;
  max-width: 320px;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.boundary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.boundary h2 {
  max-width: 360px;
  margin-bottom: 0;
}

.contact {
  text-align: center;
}

.contact h2,
.contact p {
  margin-left: auto;
  margin-right: auto;
}

footer {
  padding: 24px clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

footer p {
  margin: 0;
}

footer p + p {
  margin-top: 6px;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-hero {
  padding-bottom: 28px;
}

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

.legal-content h2 {
  max-width: none;
  margin: 30px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 18px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-note {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.52);
}

.modal-backdrop[hidden] {
  display: none;
}

.package-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  background: var(--panel);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.package-modal::backdrop {
  background: transparent;
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -14px -14px 12px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.modal-price {
  color: var(--blue);
  font-size: 26px;
  font-weight: 800;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.modal-grid section {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.modal-actions .button {
  min-width: min(100%, 260px);
}

.modal-grid h3 {
  font-size: 18px;
}

.modal-grid ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.modal-grid p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .pain-section,
  .split-section,
  .example-section,
  .effort-section,
  .price-rules,
  .lead-magnet,
  .boundary {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 0;
  }

  .boundary {
    display: block;
  }

  .boundary h2 {
    margin-bottom: 16px;
  }
}

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

  .header-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  nav {
    min-width: min(100%, 210px);
    justify-content: space-between;
  }

  .language-switch {
    margin-top: -5px;
  }

  section {
    padding: 48px 18px;
  }

  h1 {
    font-size: 43px;
  }

  .pain-grid,
  .steps,
  .package-grid,
  .price-rule-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 0;
  }

  .price-badge {
    right: 6px;
    bottom: -20px;
    width: 128px;
    height: 128px;
  }

  .price-badge strong {
    font-size: 20px;
  }

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

  .offer-head {
    display: block;
  }

  .offer-head strong {
    display: block;
    max-width: none;
    margin-top: 10px;
    text-align: left;
  }
}
