:root {
  --brand: #c83a35;
  --brand-dark: #9f2926;
  --ink: #182033;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f7f8fb;
  --success: #16803a;
  --white: #fff;
  --shadow: 0 18px 50px rgba(24, 32, 51, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; }
.brand img { width: 118px; height: 56px; object-fit: contain; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.nav-links a { color: #344054; font-weight: 700; font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font-weight: 800; transition: .2s ease; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.button.secondary { color: var(--brand); background: #fff; }
.button.secondary:hover { color: #fff; background: var(--brand); }
.button.small { min-height: 40px; padding: 0 16px; }

.hero { overflow: hidden; background: linear-gradient(135deg, #20283f 0%, #74313a 55%, #c83a35 100%); color: #fff; padding: 88px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: #ffd9d6; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { margin: 0 0 20px; font-size: clamp(40px, 6vw, 68px); line-height: 1.06; letter-spacing: -.035em; }
.hero .lead { max-width: 650px; color: #f7e9e8; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .button.secondary { border-color: rgba(255,255,255,.7); background: transparent; color: #fff; }
.hero-shot { padding: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 24px; box-shadow: 0 32px 80px rgba(0,0,0,.25); }
.hero-shot img { display: block; border-radius: 15px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 25px 0 0; padding: 0; list-style: none; color: #fff; font-weight: 700; font-size: 14px; }
.trust li::before { content: "✓"; margin-right: 7px; color: #a7f3c2; }

.section { padding: 82px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-head h2, .content-page h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -.025em; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 26px rgba(24,32,51,.05); }
.feature-card h3 { margin: 10px 0 8px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fce8e7; color: var(--brand); font-weight: 900; }

.billing-toggle { display: flex; justify-content: center; gap: 8px; margin: 0 auto 28px; }
.billing-toggle button { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 11px 18px; color: var(--muted); font-weight: 800; cursor: pointer; }
.billing-toggle button.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.discount { margin-left: 5px; color: var(--success); font-size: 12px; }
.billing-toggle button.active .discount { color: #d7ffe1; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(24,32,51,.06); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; border-radius: 999px; background: var(--brand); color: #fff; padding: 5px 14px; font-size: 12px; font-weight: 900; }
.price-card h3 { margin: 0; font-size: 23px; }
.audience { margin: 2px 0 16px; color: var(--muted); }
.price { margin: 0; font-size: 38px; font-weight: 900; letter-spacing: -.04em; }
.price small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.price-note { min-height: 52px; margin: 2px 0 10px; color: var(--muted); font-size: 13px; }
.saving { display: none; width: fit-content; margin: 0 0 12px; padding: 4px 9px; border-radius: 8px; background: #eaf9ef; color: var(--success); font-size: 12px; font-weight: 800; }
.annual .saving { display: inline-block; }
.price-card ul { flex: 1; margin: 14px 0 24px; padding: 0; list-style: none; }
.price-card li { margin: 9px 0; color: #475467; }
.price-card li::before { content: "✓"; margin-right: 8px; color: #17a34a; font-weight: 900; }
.included { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: #8290a6; }
.buy-link { display: block; margin-top: 12px; text-align: center; font-weight: 800; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 28px; align-items: start; }
.checkout-card { max-width: none; margin: 0; }
.checkout-card fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.checkout-card legend { margin-bottom: 14px; font-size: 20px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid label { color: #344054; font-size: 14px; font-weight: 700; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: 3px solid rgba(200,58,53,.14); border-color: var(--brand); }
.consents { display: grid; gap: 12px; margin: 24px 0; }
.consents label { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: 14px; }
.consents input { margin-top: 5px; }
.checkout-submit { width: 100%; border: 0; cursor: pointer; }
.checkout-submit:disabled { opacity: .65; cursor: wait; }
.form-message { min-height: 26px; color: #a1221e; font-weight: 700; }
.order-summary { position: sticky; top: 100px; }
.result-card { max-width: 720px; text-align: center; }
.result-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #eef1f5; font-size: 36px; font-weight: 900; }
.result-icon.success { background: #e6f7eb; color: var(--success); }
.result-icon.failed { background: #feeceb; color: var(--brand); }
.result-icon.review { background: #fff4d8; color: #946200; }
.result-card .hero-actions { justify-content: center; }
.reference { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }

.company-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.info-card h2, .info-card h3 { margin-top: 0; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.notice { padding: 16px 18px; border-left: 4px solid var(--brand); background: #fff5f4; color: #59302e; border-radius: 8px; }

.content-page { min-height: 70vh; padding: 65px 0 90px; background: var(--soft); }
.document { max-width: 900px; margin: 0 auto; padding: 44px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 34px rgba(24,32,51,.06); }
.document .updated { color: var(--muted); font-size: 14px; }
.document h2 { margin-top: 34px; font-size: 23px; }
.document h3 { margin-top: 24px; font-size: 18px; }
.document ul, .document ol { padding-left: 22px; }
.document table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.document th, .document td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.document th { background: var(--soft); }

.site-footer { background: #161c2c; color: #d6d9e2; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.site-footer h2, .site-footer h3 { color: #fff; margin-top: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: #eef0f5; }
.site-footer a:hover { color: #ffb7b3; }
.copyright { margin-top: 32px; padding-top: 22px; border-top: 1px solid #30384d; color: #aeb5c5; font-size: 13px; }

@media (max-width: 940px) {
  .hero-grid, .company-grid, .contact-grid, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding: 62px 0 50px; }
  .section { padding: 62px 0; }
  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .document { padding: 26px 20px; border-radius: 14px; }
  .document table { display: block; overflow-x: auto; }
  .hero-actions .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
}
