:root {
  /* brand/README.md */
  --primary: #ff681b;
  --primary-deep: #e05c18;
  --primary-soft: #fff0e8;
  --secondary: #095299;
  --secondary-deep: #073f78;
  --secondary-soft: #e6f0f8;

  --ink: #202431;
  --ink-soft: #5a6170;
  --sand: #fff8f3;
  --sand-deep: #f3ebe4;
  --cream: #fffaf6;
  --white: #ffffff;
  --line: rgba(32, 36, 49, 0.12);
  --shadow: 0 18px 40px rgba(9, 82, 153, 0.12);
  --radius: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 1.25rem auto 0;
  color: var(--white);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-nav__logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-nav__links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease);
}

.site-nav__links a:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .site-nav__links {
    display: none;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

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

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

.btn--primary:hover {
  background: var(--primary-deep);
}

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

.btn--light:hover {
  background: var(--sand);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(9, 82, 153, 0.28) 0%,
      rgba(32, 36, 49, 0.62) 48%,
      rgba(32, 36, 49, 0.88) 100%
    ),
    linear-gradient(120deg, rgba(255, 104, 27, 0.35), transparent 55%),
    url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 12s var(--ease) forwards;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 0 4.5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  animation: fade-up 0.9s var(--ease) both;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero__logo {
  width: clamp(4.5rem, 12vw, 6.5rem);
  height: clamp(4.5rem, 12vw, 6.5rem);
  border-radius: 1.15rem;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hero__wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.hero__headline {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.hero__lead {
  max-width: 36ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
}

.section--sand {
  background: var(--sand);
}

.section--navy {
  background: var(--secondary);
  color: var(--white);
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section--navy .section__eyebrow {
  color: #ffb48a;
}

.section__title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.section__lead {
  max-width: 42ch;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.82);
}

/* ——— How it works ——— */
.steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  counter-increment: step;
  animation: fade-up 0.7s var(--ease) both;
  animation-delay: calc(var(--stagger, 0) * 0.12s);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

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

.step p {
  color: var(--ink-soft);
}

/* ——— Split pitches ——— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .split--reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .split--reverse .split__copy {
    order: 2;
  }
}

.split__list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.split__list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--ink-soft);
}

.split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--primary);
  border-radius: 2px;
}

.section--navy .split__list li {
  color: rgba(255, 255, 255, 0.85);
}

.section--navy .split__list li::before {
  background: #ffb48a;
}

.split__visual {
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(255, 104, 27, 0.4), rgba(9, 82, 153, 0.45)),
    url("https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=1200&q=80")
      center / cover no-repeat;
  border-radius: var(--radius);
}

.split__visual--consumer {
  background:
    linear-gradient(145deg, rgba(9, 82, 153, 0.45), rgba(255, 104, 27, 0.35)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1200&q=80")
      center / cover no-repeat;
}

/* ——— Plans ——— */
.plans-status {
  margin: -1rem 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.plans-status.is-error {
  color: #8a3b2b;
}

.plans-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fade-up 0.65s var(--ease) both;
  animation-delay: calc(var(--stagger, 0) * 0.1s);
}

.plan-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.plan-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.plan-card__name {
  font-size: 1.45rem;
}

.plan-card__badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-soft);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin: 0;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.plan-card__amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: -0.03em;
}

.plan-card__period {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.plan-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
  flex: 1;
}

.plan-card__features strong {
  color: var(--ink);
  font-weight: 650;
}

.plan-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.plan-card--skeleton .skel {
  background: linear-gradient(90deg, var(--sand-deep), var(--sand), var(--sand-deep));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  border-radius: 6px;
}

.skel-title {
  height: 1.4rem;
  width: 45%;
}

.skel-price {
  height: 2.4rem;
  width: 55%;
}

.skel-line {
  height: 4.5rem;
  width: 100%;
}

.skel-btn {
  height: 2.75rem;
  width: 100%;
  margin-top: auto;
}

/* ——— Contact / footer ——— */
.contact {
  padding: 4.5rem 0;
  text-align: center;
}

.contact .section__title {
  max-width: none;
  margin-inline: auto;
}

.contact .section__lead {
  margin-inline: auto;
}

.contact .cta-row {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  text-decoration: none;
  color: var(--secondary);
}

.site-footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__logo {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
  object-fit: cover;
}

/* ——— Motion ——— */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

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

  .hero__media,
  .hero__content,
  .step,
  .plan-card,
  .plan-card--skeleton .skel {
    animation: none !important;
  }

  .btn:hover {
    transform: none;
  }
}
