:root {
  --bg: #f6f3ee;
  --bg-soft: #fdfcf9;
  --ink: #15233f;
  --muted: #5d6477;
  --line: #ddd6ca;
  --accent: #be9956;
  --accent-deep: #9d7740;
  --accent-pale: #f1e6cf;
  --night: #0f2245;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 20px 56px rgba(15, 34, 69, 0.1);
  --logo-pattern: #15233f;
  --logo-shift: #be9956;
  --gold: #be9956;
  --gold-soft: #ead8b0;
  --navy-soft: #1d386c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(234, 216, 176, 0.16), transparent 20%),
    radial-gradient(circle at top left, rgba(21, 35, 63, 0.04), transparent 18%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

body.modal-open {
  overflow: hidden;
}

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 252, 249, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 59, 107, 0.08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.hero h1,
.section h2 {
  font-family: "Fraunces", serif;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
}

.brand-footer {
  line-height: 0;
}

.brand-page {
  margin: 0 0 1rem;
}

.brand-logo-footer {
  height: 30px;
}

.brand-logo-page {
  height: clamp(54px, 10vw, 82px);
}

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

.brand-kit-card {
  padding: 1.5rem;
}

.brand-kit-card-dark {
  background:
    radial-gradient(circle at top left, rgba(190, 153, 86, 0.16), transparent 28%),
    linear-gradient(180deg, #15233f 0%, #101a2f 100%);
  color: white;
}

.brand-kit-preview {
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: 18px;
  border: 1px solid rgba(36, 59, 107, 0.08);
  background: rgba(253, 252, 249, 0.92);
  padding: 1.5rem;
}

.brand-kit-preview-dark {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.brand-kit-logo {
  width: min(100%, 430px);
  height: auto;
}

.panel-label-light,
.cta-note-light {
  color: rgba(247, 244, 238, 0.9);
}

.brand-kit-inner {
  gap: 2rem;
}

.brand-swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.swatch {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(36, 59, 107, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.swatch strong {
  font-size: 1rem;
}

.swatch span:last-child {
  color: var(--muted);
}

.swatch-chip {
  display: block;
  width: 100%;
  height: 72px;
  border-radius: 14px;
}

.swatch-navy {
  background: #15233f;
}

.swatch-gold {
  background: #be9956;
}

.swatch-ivory {
  background: #fdfcf9;
  border: 1px solid rgba(36, 59, 107, 0.08);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--navy-soft) 0%, var(--night) 100%);
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #294a89 0%, #152849 100%);
}

.button-small {
  min-height: 42px;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--night);
  box-shadow: none;
  border: 1px solid rgba(190, 153, 86, 0.48);
}

.hero {
  padding: 5.5rem 0 4.2rem;
}

.hero-grid,
.two-column,
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent-deep);
  font-weight: 800;
}

.eyebrow-light {
  color: #e4c88d;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  max-width: 11ch;
}

.lead,
.copy-light,
.card p,
.step p,
.faq-list p,
.cta-panel p,
.bullet-block li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.lead {
  margin: 1.15rem 0 0;
  max-width: 620px;
}

.privacy-back {
  margin-top: 1.6rem;
}

.privacy-back a {
  color: var(--night);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.2rem;
}

.cred-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: var(--night);
  font-weight: 600;
}

.hero-panel,
.hero-video-card,
.card,
.step,
.faq-list details,
.cta-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(36, 59, 107, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.5rem;
}

.hero-video-card {
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 240, 233, 0.95)),
    rgba(255, 255, 255, 0.9);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  background:
    radial-gradient(circle at top left, rgba(234, 216, 176, 0.36), transparent 34%),
    linear-gradient(180deg, #f3efe8 0%, #e8e1d6 100%);
  aspect-ratio: 16 / 9;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #10192d;
}

.video-meta {
  padding: 1rem 0.35rem 0.35rem;
}

.panel-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--night);
  font-weight: 800;
}

.video-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.fit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0.35rem 0.35rem 0.15rem;
  list-style: none;
}

.fit-strip li {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(234, 216, 176, 0.52);
  color: var(--night);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-panel ul,
.bullet-block ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.hero-panel li,
.bullet-block li {
  margin-bottom: 0.85rem;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background:
    radial-gradient(circle at top right, rgba(234, 216, 176, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(253, 252, 249, 0.98), rgba(245, 241, 235, 0.92));
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(188, 154, 95, 0.16), transparent 24%),
    linear-gradient(180deg, var(--night) 0%, #111a2d 100%);
  color: white;
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section h2 {
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  max-width: 15ch;
}

.card-grid,
.steps {
  display: grid;
  gap: 1.2rem;
}

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

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

.card,
.step {
  padding: 1.45rem;
}

.card h3,
.step h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: var(--gold-soft);
  color: var(--night);
  font-weight: 800;
}

.copy-light {
  color: rgba(244, 240, 235, 0.86);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.15rem 1.25rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-list p {
  margin: 0.8rem 0 0;
}

.cta-panel {
  align-items: center;
  padding: 2.35rem;
}

.cta-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}

.cta-launch,
.cta-launch-secondary {
  min-width: 280px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 33, 64, 0.54);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(200, 160, 90, 0.26);
  background:
    radial-gradient(circle at top right, rgba(234, 216, 176, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 241, 235, 0.97));
  box-shadow: 0 28px 80px rgba(16, 33, 64, 0.22);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 33, 64, 0.08);
  color: var(--night);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-copy {
  margin: 0.95rem 0 1.35rem;
  max-width: 54ch;
}

.apply-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
}

.apply-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--night);
  font-size: 0.94rem;
  font-weight: 600;
}

.apply-form label:nth-of-type(n + 5),
.apply-form .button {
  grid-column: 1 / -1;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(36, 59, 107, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: rgba(166, 127, 61, 0.9);
  box-shadow: 0 0 0 4px rgba(196, 160, 91, 0.12);
}

.apply-form .button {
  width: 100%;
}

.website-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(36, 59, 107, 0.12);
}

.cta-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .card-grid,
  .steps,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-column {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 0.9rem 0;
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 0.88rem;
  }

  .button-small {
    display: none;
  }

  .brand {
    max-width: 60vw;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-logo-page {
    height: clamp(48px, 12vw, 72px);
  }

  .brand-kit-grid,
  .brand-swatches {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  .apply-form {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .cta-launch,
  .cta-launch-secondary {
    width: 100%;
    min-width: 0;
  }
}
