:root {
  --ink: #0b1c2c;
  --ink-soft: #152a3d;
  --slate: #3d5568;
  --paper: #f3efe6;
  --paper-warm: #ebe4d6;
  --amber: #e8a317;
  --amber-deep: #c4840f;
  --mist: #8aa0b2;
  --white: #ffffff;
  --line: rgba(11, 28, 44, 0.12);
  --shadow: 0 24px 60px rgba(11, 28, 44, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--amber);
  position: relative;
  flex-shrink: 0;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0.35rem 0.3rem 0.35rem 0.55rem;
  background:
    linear-gradient(var(--ink) 0 0) 0 0 / 100% 18% no-repeat,
    linear-gradient(var(--ink) 0 0) 0 41% / 85% 18% no-repeat,
    linear-gradient(var(--ink) 0 0) 0 82% / 65% 18% no-repeat;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: var(--amber);
  color: var(--ink) !important;
  font-weight: 700;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: #f0b43a;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(11, 28, 44, 0.92) 0%, rgba(11, 28, 44, 0.72) 48%, rgba(11, 28, 44, 0.45) 100%),
    url("hero.jpg") center / cover no-repeat,
    linear-gradient(160deg, #0b1c2c, #1a3a52);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232, 163, 23, 0.18), transparent 60%),
    linear-gradient(to top, rgba(11, 28, 44, 0.55), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 8rem 0 4.5rem;
  max-width: 38rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.15s;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.35s;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(243, 239, 230, 0.88);
  max-width: 34ch;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.5s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.65s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: #f0b43a;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #16324a;
}

.trust-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-size: 0.88rem;
}

.trust-label {
  color: var(--amber);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.trust-list li {
  position: relative;
  padding-left: 1rem;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--amber);
}

section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: inline-block;
  color: var(--amber-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

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

.value {
  background: var(--paper-warm);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.value-item {
  padding-top: 1.25rem;
  border-top: 3px solid var(--ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber-deep);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.value-item p {
  color: var(--slate);
  font-size: 0.98rem;
}

.how {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: none;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--slate);
  font-size: 0.95rem;
}

.topics {
  background: var(--ink);
  color: var(--white);
}

.topics .eyebrow {
  color: var(--amber);
}

.topics .section-head p {
  color: var(--mist);
}

.topic-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.topic {
  background: var(--ink-soft);
  padding: 1.75rem 1.35rem;
  min-height: 9.5rem;
  transition: background 0.25s ease;
}

.topic:hover {
  background: #1c364c;
}

.topic h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.topic p {
  color: var(--mist);
  font-size: 0.9rem;
}

.social-proof {
  background: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.quote-main,
.stat-stack {
  background: var(--white);
  border: 1px solid var(--line);
}

.quote-main {
  padding: 2.5rem;
}

.quote-main blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.quote-meta {
  color: var(--slate);
  font-size: 0.92rem;
}

.quote-meta strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.stat-stack {
  display: grid;
}

.stat {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: none;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--slate);
  font-size: 0.92rem;
}

.cta {
  background:
    linear-gradient(135deg, rgba(11, 28, 44, 0.94), rgba(21, 42, 61, 0.9)),
    url("cta.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 5.5rem 0;
}

.cta-box {
  max-width: 36rem;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.cta p {
  color: rgba(243, 239, 230, 0.85);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.cta-form input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: var(--radius);
  font: inherit;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.cta-form input:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.form-message {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--amber);
  min-height: 1.25rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: var(--white);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .value-grid,
  .steps,
  .topic-row {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0;
  }

  .step:last-child {
    border-bottom: none;
  }

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

  .topic-row {
    gap: 0;
    border: none;
    background: transparent;
  }

  .topic {
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: -1px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem;
    display: none;
  }

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

  .nav a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    justify-content: center;
    margin: 0.35rem;
  }

  .hero-inner {
    padding: 7rem 0 3.5rem;
  }

  .trust-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
