:root {
  --bg: #07111f;
  --bg-soft: #0e1a2d;
  --panel: rgba(9, 20, 36, 0.72);
  --panel-strong: rgba(10, 23, 42, 0.9);
  --surface: #f7f8fb;
  --surface-line: rgba(255, 255, 255, 0.1);
  --text: #eff4fb;
  --text-muted: rgba(239, 244, 251, 0.72);
  --text-dark: #122133;
  --text-soft-dark: rgba(18, 33, 51, 0.72);
  --accent: #c7682c;
  --accent-soft: rgba(199, 104, 44, 0.18);
  --line: rgba(127, 173, 227, 0.3);
  --shadow: 0 32px 80px rgba(1, 7, 17, 0.25);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(57, 105, 171, 0.2), transparent 30%),
    linear-gradient(180deg, #05101c 0%, #07111f 24%, #f4f6f9 24%, #f4f6f9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 160px, 160px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 28px;
  background: rgba(7, 17, 31, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 19, 35, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(4, 10, 19, 0.14);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 28px;
  scroll-margin-top: 120px;
}

.problem.section {
  padding-top: 132px;
}

.method.section,
.final-cta.section {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background:
    radial-gradient(circle at top right, rgba(82, 132, 204, 0.16), transparent 24%),
    linear-gradient(180deg, #091525 0%, #0d1b2f 100%);
  border-radius: 0;
  color: var(--text);
  padding-left: max(28px, calc((100vw - var(--container)) / 2 + 28px));
  padding-right: max(28px, calc((100vw - var(--container)) / 2 + 28px));
}

.method.section .section h2 {
  color: var(--text);
}

.method.section .section-heading p,
.method.section .pillar p,
.method.section .method-note {
  color: rgba(239, 244, 251, 0.76);
}

.method.section h2,
.final-cta.section h2 {
  color: var(--text);
}

.method.section .pillar {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(1, 7, 17, 0.22);
}

.method.section .pillar h3 {
  color: var(--text);
}

.method.section::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.method.section .pillar-letter {
  background: rgba(199, 104, 44, 0.18);
}

.method.section .eyebrow,
.final-cta.section .eyebrow {
  color: rgba(198, 217, 242, 0.72);
}

.method.section .method-note {
  border-left-color: rgba(199, 104, 44, 0.6);
}

.application.section {
  background: transparent;
}

.hero {
  padding-top: 48px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid,
.differential-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(198, 217, 242, 0.72);
}

.section h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Georgia", serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.25;
  color: var(--text);
  max-width: 12ch;
}

.hero-support,
.section-heading p,
.info-card p,
.pillar p,
.differential-copy p,
.application-card p,
.cta-panel p {
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-support {
  max-width: 56ch;
  color: var(--text-muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #bb5f26, #d27b3c);
  box-shadow: 0 18px 36px rgba(199, 104, 44, 0.26);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual-frame {
  position: relative;
  min-height: 640px;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 24, 44, 0.82), rgba(7, 17, 31, 0.96));
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 198px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(104, 155, 231, 0.28);
  background:
    radial-gradient(circle at 72% 56%, rgba(145, 183, 237, 0.12), transparent 24%),
    rgba(5, 12, 21, 0.78);
  box-shadow: 0 18px 40px rgba(3, 8, 16, 0.34);
  backdrop-filter: blur(10px);
}

.hero-badge span {
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f3f6fb;
}

.hero-badge small {
  max-width: 10ch;
  font-size: 0.7rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(230, 237, 247, 0.78);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.62) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 21, 0.18), rgba(5, 12, 21, 0.74)),
    radial-gradient(circle at 68% 18%, rgba(119, 170, 242, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(5, 12, 21, 0.86), rgba(5, 12, 21, 0.14) 52%, rgba(5, 12, 21, 0.74));
}

.hero-curve {
  position: absolute;
  inset: auto 0 0 0;
  height: 74%;
  z-index: 2;
  opacity: 0.9;
}

.hero-curve svg {
  width: 100%;
  height: 100%;
}

.hero-curve path {
  fill: none;
  stroke: rgba(141, 184, 240, 0.9);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
}

.hero-lines {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 12px;
  width: min(42%, 220px);
}

.hero-lines span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hero-lines span:nth-child(2) {
  width: 86%;
}

.hero-lines span:nth-child(3) {
  width: 66%;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--text-dark);
}

.section-heading p,
.info-card p,
.pillar p,
.differential-copy p,
.application-card p,
.method-note,
.cta-panel p {
  color: var(--text-soft-dark);
}

.problem-grid,
.method-grid,
.application-grid {
  display: grid;
  gap: 22px;
}

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

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

.info-card,
.pillar,
.application-card,
.quote-panel,
.cta-panel {
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(18, 33, 51, 0.08);
  box-shadow: 0 22px 54px rgba(10, 23, 42, 0.08);
}

.info-card,
.pillar,
.application-card {
  padding: 28px;
}

.info-card h3,
.pillar h3,
.application-card h3 {
  margin: 0 0 14px;
  color: var(--text-dark);
  font-size: 1.3rem;
}

.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid rgba(199, 104, 44, 0.24);
  background:
    radial-gradient(circle at 50% 50%, rgba(199, 104, 44, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
}

.icon span {
  display: block;
  width: 22px;
  height: 22px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.icon-stack span {
  width: 24px;
  height: 16px;
  border: 0;
  box-shadow:
    0 -8px 0 0 rgba(199, 104, 44, 0.35),
    0 0 0 0 rgba(199, 104, 44, 0.7),
    0 8px 0 0 rgba(199, 104, 44, 0.18);
}

.icon-wave span {
  width: 22px;
  height: 10px;
  border: 0;
  border-top: 2px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 8px 0 0 rgba(199, 104, 44, 0.45);
  transform: none;
}

.method {
  position: relative;
}

.method::before {
  content: "";
  position: absolute;
  inset: 140px 28px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 33, 51, 0.14), transparent);
}

.pillar {
  min-height: 260px;
}

.pillar-letter {
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: 1.6rem;
}

.method-note {
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 2px solid rgba(199, 104, 44, 0.5);
  max-width: 54ch;
  font-size: 1.06rem;
}

.differential-grid {
  gap: 26px;
}

.differential-copy {
  padding-right: 14px;
}

.quote-panel {
  min-height: 360px;
  padding: 34px;
  background:
    linear-gradient(160deg, rgba(7, 17, 31, 0.98), rgba(15, 29, 49, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  overflow: hidden;
}

.quote-panel::before,
.quote-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.quote-panel::before {
  width: 220px;
  height: 220px;
  top: -64px;
  right: -40px;
  border: 1px solid rgba(145, 183, 237, 0.16);
}

.quote-panel::after {
  inset: auto -80px -40px auto;
  width: 360px;
  height: 180px;
  border: 1px solid rgba(145, 183, 237, 0.12);
  transform: rotate(-10deg);
}

.seal-logo,
.seal-fallback {
  width: 72px;
  height: 72px;
  margin-bottom: 38px;
  border-radius: 50%;
}

.seal-logo {
  object-fit: contain;
}

.seal-fallback {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-panel blockquote {
  margin: 0;
  color: var(--text);
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 11ch;
}

.application-card {
  min-height: 220px;
  padding-top: 22px;
}

.application-image {
  display: block;
  width: min(100%, 190px);
  height: 120px;
  margin: 0 0 20px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(18, 33, 51, 0.06);
  box-shadow: 0 12px 28px rgba(10, 23, 42, 0.08);
}

.application-image-contain {
  object-fit: contain;
  background: linear-gradient(180deg, rgba(14, 27, 44, 0.96), rgba(22, 38, 58, 0.92));
}

.final-cta {
  padding-bottom: 120px;
}

.cta-panel {
  padding: 54px;
  background:
    linear-gradient(135deg, rgba(8, 19, 35, 0.96), rgba(14, 27, 44, 0.96)),
    linear-gradient(180deg, rgba(145, 183, 237, 0.12), transparent);
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 22%, rgba(199, 104, 44, 0.16), transparent 24%),
    linear-gradient(90deg, transparent 0%, rgba(145, 183, 237, 0.08) 48%, transparent 100%);
  pointer-events: none;
}

.cta-panel-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.cta-copy,
.cta-brand {
  position: relative;
  z-index: 1;
}

.cta-brand {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 6px;
}

.cta-logo {
  width: min(100%, 190px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(1, 7, 17, 0.24));
  opacity: 0.96;
}

.cta-panel h2,
.cta-panel p {
  position: relative;
  color: var(--text);
  max-width: 24ch;
}

.cta-panel p {
  color: rgba(239, 244, 251, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .differential-grid,
  .problem-grid,
  .application-grid,
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .differential-grid {
    align-items: start;
  }

  .site-header {
    padding-inline: 24px;
  }

  html {
    scroll-padding-top: 138px;
  }

  .section {
    scroll-margin-top: 138px;
  }

  .problem.section {
    padding-top: 164px;
  }
}

@media (max-width: 820px) {
  body {
    background:
      radial-gradient(circle at top, rgba(57, 105, 171, 0.2), transparent 34%),
      linear-gradient(180deg, #05101c 0%, #07111f 19%, #f4f6f9 19%, #f4f6f9 100%);
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-radius: 28px;
  }

  html {
    scroll-padding-top: 32px;
  }

  .section {
    scroll-margin-top: 32px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-grid,
  .differential-grid,
  .problem-grid,
  .application-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-visual-frame {
    min-height: 540px;
  }

  .section,
  .final-cta {
    padding: 72px 22px;
  }

  .problem.section {
    padding-top: 104px;
  }

  .method.section,
  .final-cta.section {
    left: auto;
    width: auto;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 22px;
    padding-right: 22px;
  }

  .cta-panel,
  .quote-panel {
    padding: 30px;
  }

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

  .cta-brand {
    justify-content: flex-start;
    padding-top: 0;
  }

  .cta-logo {
    width: min(100%, 190px);
  }

  .cta-panel h2,
  .cta-panel p,
  .quote-panel blockquote {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-lead {
    font-size: 1.2rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-visual-frame {
    min-height: 460px;
  }

  .hero-badge {
    top: 22px;
    left: 22px;
    width: 172px;
    padding: 16px 16px 14px;
  }

  .hero-badge span {
    font-size: 1.28rem;
  }

  .hero-badge small {
    font-size: 0.66rem;
  }

  .pillar,
  .info-card,
  .application-card {
    padding: 24px;
  }

  .cta-panel {
    padding: 28px 22px;
  }
}
