:root {
  --navy: #051c2c;
  --gold: #a6893a;
  --slate: #4a5568;
  --success: #2f855a;
  --light: #f7fafc;
  --white: #ffffff;
  --ink: #102334;
  --line: rgba(166, 137, 58, 0.28);
  --shadow-soft: 0 20px 70px rgba(5, 28, 44, 0.08);
  --shadow-card: 0 12px 40px rgba(5, 28, 44, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(166, 137, 58, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 52%, #f5f7fb 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  inset: 16px auto auto 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  clip: auto;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  z-index: 50;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.56));
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 14px 34px rgba(5, 28, 44, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
}

.brand-logo {
  width: clamp(176px, 13vw, 214px);
  height: auto;
  object-fit: contain;
}

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

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(16, 35, 52, 0.88);
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(166, 137, 58, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--light);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto 5px;
  background: var(--navy);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #c6a75a);
  color: var(--white);
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  box-shadow: 0 12px 28px rgba(166, 137, 58, 0.25);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(166, 137, 58, 0.3);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.74;
}

.button-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(5, 28, 44, 0.14);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(5, 28, 44, 0.04);
  box-shadow: none;
}

.button-small {
  padding: 9px 14px;
  font-size: 0.82rem;
}

.button-full {
  width: 100%;
}

.hero-section {
  position: relative;
  overflow: clip;
  padding: 104px 0 88px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  justify-items: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.hero-orb-left {
  inset: 3rem auto auto -10rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(166, 137, 58, 0.16), transparent 66%);
}

.hero-orb-right {
  inset: 1rem -8rem auto auto;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(5, 28, 44, 0.18), transparent 68%);
}

.hero-copy h1,
.section-heading h2,
.fit-panel h2,
.thank-you-panel h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.15rem, 5vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero-copy h1 span {
  display: block;
  color: var(--gold);
}

.hero-text,
.section-heading p,
.fit-panel p,
.thank-you-panel p {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(16, 35, 52, 0.78);
}

.hero-text {
  max-width: 58ch;
  font-size: 1.14rem;
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(166, 137, 58, 0.18));
}

.hero-copy {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
  align-content: center;
  max-width: 980px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  justify-content: center;
}

.section-heading h2,
.issue-card h3,
.solution-card h3,
.timeline-item h3,
.stack-card h3,
.faq-item summary,
.thank-you-card strong {
  color: var(--navy);
}

.section {
  padding: 92px 0;
}

.section-after-hero {
  padding-top: 44px;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  justify-items: center;
}

.section-heading h2,
.fit-panel h2,
.thank-you-panel h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.issue-grid,
.solution-grid,
.stack-grid,
.faq-list,
.fit-grid,
.form-grid,
.architect-grid,
.method-grid {
  display: grid;
}

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

.issue-card,
.solution-card,
.stack-card,
.fit-panel,
.form-shell,
.faq-item,
.thank-you-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(5, 28, 44, 0.08);
  box-shadow: var(--shadow-card);
}

.issue-card,
.solution-card,
.stack-card,
.fit-panel,
.thank-you-card {
  padding: 28px;
}

.issue-card h3,
.solution-card h3,
.timeline-item h3,
.stack-card h3,
.faq-item summary {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.issue-card p,
.solution-card p,
.timeline-item p,
.stack-card p,
.faq-item p,
.fit-panel p,
.fit-list,
.bullet-column,
.thank-you-card ul {
  margin: 0;
  color: rgba(16, 35, 52, 0.74);
}

.section-contrast {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 28, 44, 0.97), rgba(5, 28, 44, 0.94)),
    var(--navy);
  color: var(--white);
}

.section-contrast .section-heading h2,
.section-contrast .section-heading p,
.section-contrast .eyebrow,
.section-contrast .solution-card h3,
.section-contrast .solution-card p {
  color: inherit;
}

.section-contrast .eyebrow::before {
  background: linear-gradient(90deg, #d3b66a, rgba(211, 182, 106, 0.15));
}

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

.solution-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.solution-number {
  margin-bottom: 18px;
  color: rgba(214, 188, 109, 0.92);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.method-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.method-carousel {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(5, 28, 44, 0.08);
  box-shadow: var(--shadow-card);
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset: 24px auto 24px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(166, 137, 58, 0.15));
}

.timeline-step {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 8px 2px 18px;
}

.method-track::-webkit-scrollbar {
  display: none;
}

.method-card {
  min-height: 240px;
  scroll-snap-align: start;
}

.carousel-button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(5, 28, 44, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(5, 28, 44, 0.08);
  cursor: pointer;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--white);
}

.carousel-progress {
  width: min(520px, 100%);
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: rgba(5, 28, 44, 0.08);
  overflow: hidden;
}

.carousel-progress-bar {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #c6a75a);
  transform-origin: left center;
}

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

.fit-panel {
  display: grid;
  gap: 18px;
}

.fit-panel-products {
  align-content: start;
  gap: 10px;
}

.fit-panel-products .eyebrow {
  margin-bottom: 6px;
}

.fit-panel-products .bullet-column {
  gap: 10px;
}

.fit-panel-muted {
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.94), rgba(255, 255, 255, 0.92));
}

.fit-list,
.bullet-column,
.thank-you-card ul {
  display: grid;
  gap: 12px;
  padding-left: 18px;
}

.fit-list li::marker,
.thank-you-card li::marker {
  color: var(--gold);
}

.architect-grid {
  align-items: start;
}

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

.section-architect {
  position: relative;
}

.section-architect::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(45deg, rgba(5, 28, 44, 0.03), transparent 38%),
    linear-gradient(135deg, rgba(166, 137, 58, 0.05), transparent 42%);
  pointer-events: none;
}

.section-form {
  padding-top: 12px;
}

.section-closing-bridge {
  padding-top: 42px;
  padding-bottom: 2px;
}

.closing-bridge {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.closing-bridge-text {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.72rem, 2.9vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.closing-bridge-logo {
  width: clamp(150px, 13vw, 210px);
  height: auto;
  object-fit: contain;
}

.form-section-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.form-shell {
  padding: 30px;
}

.form-shell-wide {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.form-shell-compact {
  width: min(770px, 100%);
  padding: 22px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label,
.consent-check {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(5, 28, 44, 0.14);
  background: rgba(247, 250, 252, 0.7);
  color: var(--ink);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(166, 137, 58, 0.65);
  box-shadow: 0 0 0 4px rgba(166, 137, 58, 0.14);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 118px;
}

.consent-box {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(247, 250, 252, 0.9);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.consent-check input {
  margin-top: 2px;
}

.form-feedback {
  min-height: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-feedback.is-success {
  color: var(--success);
}

.form-feedback.is-error {
  color: #b83246;
}

.site-footer {
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(5, 28, 44, 0.98), rgba(5, 28, 44, 1));
  color: rgba(247, 250, 252, 0.86);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 250, 252, 0.12);
  color: rgba(247, 250, 252, 0.58);
  font-size: 0.92rem;
}

.footer-bottom-simple {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: var(--white);
  font-weight: 600;
}

.footer-separator {
  width: 1px;
  height: 14px;
  background: rgba(247, 250, 252, 0.2);
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(5, 28, 44, 0.08);
  box-shadow: 0 18px 50px rgba(5, 28, 44, 0.16);
  z-index: 25;
}

.cookie-banner.is-hidden {
  display: none !important;
}

.cookie-copy {
  max-width: 54ch;
}

.cookie-copy p {
  margin: 8px 0 0;
  color: rgba(16, 35, 52, 0.7);
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.thank-you-body {
  background:
    radial-gradient(circle at top left, rgba(166, 137, 58, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.thank-you-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 92px);
  padding: 48px 0 64px;
}

.thank-you-panel {
  width: min(780px, calc(100vw - 32px));
  display: grid;
  gap: 22px;
  padding: 40px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(5, 28, 44, 0.08);
  box-shadow: 0 24px 70px rgba(5, 28, 44, 0.12);
}

@media (max-width: 1080px) {
  .hero-grid,
  .method-grid,
  .form-grid,
  .fit-grid,
  .architect-grid {
    grid-template-columns: 1fr;
  }

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

  .issue-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .method-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(5, 28, 44, 0.08);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .header-inner {
    min-height: 52px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-section {
    padding-top: 72px;
    padding-bottom: 74px;
  }

  .section {
    padding: 78px 0;
  }

  .hero-copy h1,
  .section-heading h2,
  .fit-panel h2,
  .cta-panel h2,
  .thank-you-panel h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

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

  .hero-actions,
  .cookie-banner,
  .cookie-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner {
    inset: auto 12px 12px;
  }

  .method-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-button {
    display: none;
  }

  .method-track {
    grid-auto-columns: 100%;
  }

  .section-after-hero {
    padding-top: 34px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .issue-card,
  .solution-card,
  .fit-panel,
  .thank-you-card {
    padding: 22px;
  }

  .form-shell,
  .thank-you-panel {
    padding: 24px;
  }

  .section-closing-bridge {
    padding-top: 28px;
    padding-bottom: 8px;
  }

  .closing-bridge-text {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 10px;
    min-height: 56px;
  }

  .brand-logo {
    width: clamp(148px, 46vw, 184px);
  }

  .hero-copy {
    gap: 20px;
  }

  .hero-text,
  .section-heading p,
  .fit-panel p,
  .thank-you-panel p {
    font-size: 1rem;
  }

  .form-section-heading {
    margin-bottom: 18px;
  }

  .closing-bridge {
    gap: 8px;
  }

  .closing-bridge-logo {
    width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
}
