:root {
  --ink: #0d223b;
  --ink-2: #163452;
  --muted: #5f6b7a;
  --line: #d8dee7;
  --soft: #f3f6f9;
  --paper: #ffffff;
  --blue: #2d78bd;
  --blue-dark: #1e5d96;
  --signal: #d8222a;
  --signal-dark: #9f151b;
  --signal-soft: #ffe9ea;
  --gold: #d6a83f;
  --gold-dark: #8e6515;
  --gold-soft: #fff7df;
  --shadow: 0 20px 50px rgba(13, 34, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

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

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

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 34, 59, 0.18);
}

.brand-mark svg {
  width: 44px;
  height: 44px;
}

.mark-r {
  fill: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 54px;
  font-weight: 950;
  letter-spacing: 0;
}

.mark-flag-pole {
  fill: none;
  stroke: var(--signal);
  stroke-linecap: round;
  stroke-width: 5;
}

.mark-flag {
  fill: var(--signal);
}

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

.brand strong {
  font-size: 1rem;
}

.brand em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.56fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100svh - 86px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 77% 19%, rgba(216, 34, 42, 0.35), transparent 32%),
    linear-gradient(115deg, rgba(13, 34, 59, 0.97), rgba(13, 34, 59, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 16px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--signal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.intake-section .eyebrow {
  color: #fff;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  line-height: 1.1;
}

h4 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.lede {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 18px;
}

.button,
.intake-form button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.intake-form button {
  color: #fff;
  background: var(--signal);
  border-color: var(--signal);
}

.button.primary:hover,
.intake-form button:hover {
  background: var(--signal-dark);
  border-color: var(--signal-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.launch-note {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
}

.review-card {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.review-card .card-label {
  display: block;
  margin-bottom: 6px;
  color: var(--signal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 1.6rem;
  line-height: 1.15;
}

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

.review-card li,
.check-list li {
  position: relative;
  padding-left: 28px;
}

.review-card li::before,
.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--signal);
  border-radius: 999px;
  content: "";
}

.section,
.split-section,
.intake-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.service-section {
  background: #fff;
}

.tabs {
  display: grid;
  gap: 22px;
}

.tab-list {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(620px, 100%);
  padding: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab-button {
  min-height: 54px;
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.tab-button.is-active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(13, 34, 59, 0.16);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: stretch;
}

.tab-panel[hidden] {
  display: none;
}

.tab-visual {
  min-height: 560px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-copy {
  align-self: center;
}

.tab-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.product-card {
  min-height: 210px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--signal-dark);
  background: var(--signal-soft);
  border: 1px solid rgba(216, 34, 42, 0.22);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-card strong {
  display: block;
  margin-top: 14px;
}

.primary-product {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.primary-product p,
.primary-product span {
  color: rgba(255, 255, 255, 0.82);
}

.primary-product span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-list-panel {
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list-label {
  display: block;
  margin-bottom: 12px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.pricing-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: 34px;
}

.pricing-heading .section-heading {
  margin-bottom: 0;
}

.discount-panel {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(214, 168, 63, 0.48);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(142, 101, 21, 0.14);
}

.discount-seal {
  position: relative;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  color: #3b2908;
  background:
    radial-gradient(circle at 32% 24%, #fff4b8, transparent 28%),
    linear-gradient(145deg, #f1cf72, var(--gold));
  border: 3px solid #f8e4a4;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px rgba(142, 101, 21, 0.18),
    0 12px 24px rgba(142, 101, 21, 0.24);
  text-align: center;
}

.discount-seal::before {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(59, 41, 8, 0.42);
  border-radius: inherit;
  content: "";
}

.discount-seal strong,
.discount-seal span {
  position: relative;
  display: block;
  line-height: 1;
}

.discount-seal strong {
  align-self: end;
  font-size: 1.85rem;
  font-weight: 950;
}

.discount-seal span {
  align-self: start;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.discount-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discount-panel p {
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-tables {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.price-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 34, 59, 0.08);
}

.price-card-heading {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.price-card-heading span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: var(--signal-dark);
  background: var(--signal-soft);
  border: 1px solid rgba(216, 34, 42, 0.22);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.price-table {
  display: grid;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.32fr) minmax(96px, 0.32fr);
  gap: 14px;
  align-items: center;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span:first-child {
  font-weight: 800;
}

.price-row span:not(:first-child),
.price-row strong {
  text-align: right;
}

.price-row strong {
  color: var(--signal-dark);
}

.price-row [data-label]::before {
  content: "";
}

.price-row-head {
  color: var(--muted);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-row-head span:first-child {
  font-weight: 950;
}

.featured-price {
  background: #fff;
  box-shadow: inset 5px 0 0 var(--signal);
}

.dark-price-card {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.dark-price-card .price-card-heading,
.dark-price-card .price-row {
  border-color: rgba(255, 255, 255, 0.18);
}

.dark-price-card .price-card-heading span {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-price-card .price-row-head {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.dark-price-card .price-row strong {
  color: #fff;
}

.dark-price-card .featured-price {
  background: rgba(255, 255, 255, 0.06);
}

.price-note {
  margin: 0;
  padding: 18px 24px 22px;
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}

.process-section {
  padding-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.feature {
  min-height: 230px;
  padding: 26px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.feature:nth-child(even) {
  background: var(--soft);
}

.feature:last-child {
  border-right: 0;
}

.feature h3 {
  font-size: 1.2rem;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--soft);
}

.boundary-panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 8px solid var(--signal);
  border-radius: 8px;
}

.boundary-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.sample-section {
  background: #fff;
}

.report-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.report-preview div {
  min-height: 210px;
  padding: 26px;
  background: #fff;
}

.report-preview span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--signal-dark);
  background: var(--signal-soft);
  border: 1px solid rgba(216, 34, 42, 0.26);
  border-radius: 8px;
  font-weight: 900;
}

.report-preview strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.report-preview p {
  color: var(--muted);
}

.intake-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  color: #fff;
  background: var(--ink);
}

.intake-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.contact-block {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-block strong {
  color: #fff;
}

.intake-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intake-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bac5d2;
  border-radius: 8px;
  font: inherit;
}

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

.intake-form button {
  width: 100%;
  margin-top: 4px;
  font-size: 1rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .tab-visual {
    min-height: 420px;
  }

  .feature-grid,
  .report-preview,
  .pricing-heading,
  .pricing-tables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  .hero,
  .split-section,
  .intake-section,
  .pricing-heading,
  .pricing-tables {
    grid-template-columns: 1fr;
  }
}

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 3rem;
  }

  .hero {
    min-height: auto;
  }

  .tab-list,
  .product-grid,
  .feature-grid,
  .report-preview {
    grid-template-columns: 1fr;
  }

  .discount-panel {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-row span:not(:first-child),
  .price-row strong {
    text-align: left;
  }

  .price-row [data-label]::before {
    content: attr(data-label) ": ";
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .dark-price-card .price-row [data-label]::before {
    color: rgba(255, 255, 255, 0.68);
  }

  .tab-visual {
    min-height: 300px;
  }

  .feature,
  .report-preview div,
  .product-card {
    min-height: auto;
  }
}
