:root {
  --primary: #05142b;
  --secondary-1: #1e5faf;
  --secondary-2: #c2d2ec;
  --accent-1: #f2c230;
  --accent-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --border: rgba(5, 20, 43, 0.1);
  --shadow: 0 24px 80px rgba(5, 20, 43, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--primary);
  background:
    radial-gradient(circle at top left, rgba(194, 210, 236, 0.95), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(30, 95, 175, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 50%, #edf4ff 100%);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 20;
  padding: 12px 16px;
  color: var(--accent-2);
  background: var(--primary);
  border-radius: 14px;
}

.skip-link:focus {
  top: 14px;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-1);
  outline-offset: 4px;
}

button,
summary {
  font: inherit;
}

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.proof-strip,
.service-grid,
.process-grid,
.story-band,
.cta-panel {
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 12px 42px rgba(5, 20, 43, 0.08);
}

.brand {
  width: 118px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button-solid {
  color: var(--primary);
  background: var(--accent-1);
  box-shadow: 0 16px 32px rgba(242, 194, 48, 0.28);
}

.button-ghost {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(5, 20, 43, 0.12);
}

.button-ghost.light {
  color: var(--accent-2);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 44px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary-1);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7vw, 6.6rem);
}

.hero-text,
.section-intro p,
.service-card p,
.process-card p,
.story-band p,
.faq-list p,
.cta-panel p,
.site-footer span {
  line-height: 1.65;
  color: rgba(5, 20, 43, 0.88);
}

.hero-text {
  max-width: 33rem;
  margin: 24px 0 0;
  font-size: 1.12rem;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(5, 20, 43, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 200px;
  background: radial-gradient(circle, rgba(242, 194, 48, 0.42), transparent 62%);
  filter: blur(12px);
}

.visual-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 28px;
  min-height: 100%;
  background:
    linear-gradient(150deg, rgba(5, 20, 43, 0.98) 0%, rgba(11, 38, 82, 0.94) 58%, rgba(30, 95, 175, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  box-shadow: 0 36px 90px rgba(5, 20, 43, 0.22);
}

.visual-panel::before,
.visual-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.visual-panel::before {
  inset: 20px 24px auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(194, 210, 236, 0.34), transparent 68%);
}

.visual-panel::after {
  inset: auto -30px 40px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.flow-card,
.proof-strip,
.service-card,
.process-card,
.story-quote,
.story-highlight,
.faq-list details {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.flow-card {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.flow-card.active {
  background: linear-gradient(135deg, rgba(30, 95, 175, 0.66), rgba(242, 194, 48, 0.22));
  border-color: rgba(255, 255, 255, 0.18);
}

.flow-card strong,
.proof-strip strong,
.service-card h3,
.process-card h3,
.story-highlight strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.flow-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.flow-line {
  width: 2px;
  height: 36px;
  margin-left: 24px;
  background: linear-gradient(180deg, rgba(194, 210, 236, 0.1), rgba(242, 194, 48, 0.9), rgba(194, 210, 236, 0.1));
}

.proof-strip,
.service-card,
.process-card,
.story-quote,
.story-highlight,
.faq-list details,
.cta-panel {
  background: var(--surface);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
}

.proof-strip span {
  display: block;
  margin-top: 7px;
  color: rgba(5, 20, 43, 0.8);
}

.section-block {
  padding: 96px 0 0;
}

.section-intro {
  max-width: 650px;
}

.section-intro h2 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

.section-intro p {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.service-card,
.process-card,
.story-quote,
.story-highlight,
.faq-list details {
  border-radius: var(--radius-md);
}

.service-card,
.process-card {
  padding: 28px;
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--accent-2);
  background: linear-gradient(135deg, var(--primary), var(--secondary-1));
  border-radius: 16px;
  font-weight: 800;
}

.story-band {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 22px;
  padding-top: 96px;
}

.story-quote,
.story-highlight {
  padding: 30px;
}

.story-quote p {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
  color: var(--primary);
}

.story-quote span {
  display: block;
  margin-top: 18px;
  font-weight: 700;
  color: rgba(5, 20, 43, 0.82);
}

.story-highlight p,
.faq-list p {
  margin: 10px 0 0;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.faq-list details {
  padding: 0 24px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  font-weight: 700;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--secondary-1);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  padding: 0 0 22px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 38px;
  margin-top: 34px;
  color: var(--accent-2);
  background:
    linear-gradient(135deg, rgba(5, 20, 43, 0.98), rgba(30, 95, 175, 0.92)),
    var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel p {
  color: var(--accent-2);
}

.contact-email a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 12px;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .proof-strip,
  .service-grid,
  .process-grid,
  .story-band,
  .cta-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    justify-items: center;
    border-radius: 28px;
  }

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

  .hero {
    gap: 30px;
    padding-top: 24px;
  }

  .hero-visual {
    min-height: auto;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .site-footer {
    padding-top: 34px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 24px, 1120px);
    padding-top: 12px;
  }

  .site-header,
  .proof-strip,
  .service-card,
  .process-card,
  .story-quote,
  .story-highlight,
  .faq-list details,
  .cta-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    width: 104px;
  }

  .site-nav {
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.2rem);
  }

  .hero-text,
  .section-intro p {
    font-size: 1rem;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof span {
    width: 100%;
  }

  .visual-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .section-block,
  .story-band {
    padding-top: 72px;
  }

  .section-intro h2,
  .cta-panel h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .proof-strip,
  .service-card,
  .process-card,
  .story-band,
  .faq-list details,
  .cta-panel {
    animation: rise-in 700ms ease both;
  }

  .service-card:nth-child(2),
  .process-card:nth-child(2) {
    animation-delay: 90ms;
  }

  .service-card:nth-child(3),
  .process-card:nth-child(3) {
    animation-delay: 180ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
