:root {
  --orange: #f4ae19;
  --orange-soft: #fff1cc;
  --gold: #ffb200;
  --red: #f02711;
  --red-dark: #c91f0d;
  --navy: #000820;
  --ink: #1f2433;
  --muted: #5f6575;
  --line: #ebe7df;
  --paper: #f7f4ee;
  --peach: #fff6eb;
  --soft: #fffaf3;
  --white: #ffffff;
  --green: #00ad25;
  --midnight: #232e51;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 8, 32, 0.05);
  --max: 1080px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
  font-size: 17px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.5rem);
}

.hero h1 {
  animation: rise 0.7s ease both;
}

.hero .lead,
.hero-actions,
.trust {
  animation: rise 0.75s ease 0.08s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.logo-full {
  height: 40px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
}

.nav a:hover,
.nav a.is-active {
  background: var(--paper);
}

.nav-drop {
  position: relative;
}

.nav-panel {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 8, 32, 0.08);
}

.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel {
  display: grid;
}

.nav-panel a {
  border-radius: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--navy);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 22px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-orange {
  background: var(--orange);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #ffe8b8 0%, transparent 55%),
    linear-gradient(180deg, #fff8ec 0%, var(--soft) 100%);
}

.hero-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.hero-center .kicker,
.section-head.center .kicker,
.center .kicker {
  justify-content: center;
}

.kicker::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}

.hero p.lead {
  font-size: 1.2rem;
  max-width: 36rem;
  margin-inline: auto;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 20px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

.trust strong {
  color: var(--navy);
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

.hero-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 32px;
  min-height: 280px;
}

.hero-card h2,
.hero-card p {
  color: var(--white);
}

.hero-card p {
  opacity: 0.82;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  max-width: 420px;
  margin-inline: auto;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--red);
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--paper);
}

.section.peach {
  background:
    linear-gradient(180deg, var(--peach) 0%, #fff 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center p {
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  margin-inline: auto;
}

.center {
  text-align: center;
}

.center-stack {
  flex-direction: column;
  text-align: center;
  justify-content: center;
}

.center-stack > div {
  max-width: 640px;
}

.cards-4,
.cards-3,
.cards-2 {
  display: grid;
  gap: 18px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  display: block;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-lift:hover,
a.card:hover {
  border-color: #f5cf78;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card h3 {
  margin-bottom: 8px;
}

.card .more {
  margin-top: 14px;
  font-weight: 700;
  color: var(--red);
  font-size: 0.92rem;
}

.accent {
  background: var(--paper);
}

.band {
  background:
    linear-gradient(135deg, #001038 0%, #1a2348 55%, #2a1f10 100%);
  color: var(--white);
  border-radius: 0;
}

.band h2,
.band p,
.band h3 {
  color: var(--white);
}

.band p {
  opacity: 0.85;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  display: grid;
  gap: 10px;
}

.list-plain li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.list-plain li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.55em;
}

.list-center {
  max-width: 28rem;
  margin-inline: auto;
  text-align: left;
}

.page-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, #ffe8b8 0%, transparent 60%),
    var(--soft);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap > * {
  margin-inline: auto;
}

.page-hero p {
  max-width: 40rem;
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 14px;
}

.form .btn {
  justify-self: start;
}

.form-shell .form .btn {
  justify-self: center;
  min-width: 180px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--navy);
}

input,
select,
textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  background: #e8f8ee;
  color: #0b5c22;
  font-weight: 600;
}

.alert.error {
  background: #fdecea;
  color: #8a160c;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 8, 32, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.team-card-hit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.team-card-photo {
  aspect-ratio: 4 / 5;
  background: #ececef;
  overflow: hidden;
}

.team-card-photo img,
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f4ae19, #f02711);
  color: var(--white);
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
}

.team-card-fallback.large {
  min-height: 280px;
  font-size: 4rem;
}

.team-card-body {
  padding: 18px 18px 20px;
}

.team-card-body h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.team-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.team-card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

body.profile-open {
  overflow: hidden;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile-modal[hidden] {
  display: none !important;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 32, 0.55);
}

.profile-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 820px);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.profile-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  min-height: 0;
  max-height: min(90vh, 820px);
}

.profile-side {
  background: var(--paper);
  border-right: 1px solid var(--line);
  overflow: auto;
}

.profile-photo {
  aspect-ratio: 1;
  background: #ddd;
}

.profile-identity {
  padding: 20px;
}

.profile-identity h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.profile-role,
.profile-creds {
  margin: 0 0 4px;
  color: var(--muted);
}

.profile-linkedin {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.profile-content {
  padding: 28px 28px 36px;
  overflow: auto;
}

.profile-content h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.profile-content p,
.profile-list {
  margin: 0 0 22px;
  color: var(--muted);
}

.profile-list {
  padding-left: 1.1rem;
}

.profile-list li {
  margin-bottom: 8px;
}

.profile-list strong {
  color: var(--navy);
}

@media (max-width: 900px) {
  .team-cards,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-dialog {
    max-height: 92vh;
  }

  .profile-grid {
    max-height: 92vh;
    overflow: auto;
  }

  .profile-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.cta-bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.articles-row .kicker {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.site-footer {
  background: linear-gradient(180deg, #000820 0%, #0a1230 100%);
  color: #c9cdd8;
  padding: 64px 0 28px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.site-footer a {
  color: #e8eaf0;
  text-decoration: none;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.8rem;
  color: #9aa1b3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.legal-copy {
  flex: 1;
  min-width: 0;
}

.legal-copy p {
  margin: 0 0 0.6em;
  color: inherit;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.made-by {
  margin: 0;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  color: #c9cdd8;
}

.mobile-cta {
  display: none;
}

.logo.light {
  color: var(--white);
}

.logo.light .logo-mark {
  background: var(--white);
}

@media (max-width: 1120px) {
  .header-actions .phone {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards-4,
  .cards-3,
  .cards-2,
  .steps-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .made-by {
    text-align: left;
    white-space: normal;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 72px 16px auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-panel {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 8px;
  }

  .header-actions .phone {
    display: none;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
  }

  .mobile-cta .btn {
    width: 100%;
  }

  body {
    padding-bottom: 76px;
  }
}
