/* =========================================================
   Variable Sync — stylesheet
   Edit the variables below to restyle the entire site.
   ========================================================= */

:root {
  /* Brand colors */
  --navy-900: #060F1F;
  --navy-800: #0B1B33;
  --navy-700: #12294A;
  --navy-600: #1C3A63;
  --accent:   #3DDC97;   /* primary accent — buttons, highlights */
  --accent-2: #6BA8FF;   /* secondary accent — numbers, rules */

  /* Neutrals */
  --ink:      #0E1726;
  --body:     #46586F;
  --muted:    #7A8AA0;
  --line:     #E3E9F0;
  --surface:  #FFFFFF;
  --surface-2:#F5F8FC;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Layout */
  --wrap: 1140px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 4px 12px rgba(11, 27, 51, .05);
  --shadow-md: 0 8px 30px rgba(11, 27, 51, .10);
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-family: var(--font-display); font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 600; }
h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 650; letter-spacing: -0.01em; }
p  { margin: 0 0 1.05em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(11,27,51,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); }
.brand-mark { width: 26px; height: 26px; color: var(--accent); flex: none; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.02em; color: var(--navy-800); }
.brand-accent { color: var(--accent-2); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--body); transition: color .18s ease; }
.nav a:hover { color: var(--navy-800); }
.nav .nav-cta {
  background: var(--navy-800); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 550;
  transition: background .18s ease, transform .18s ease;
}
.nav .nav-cta:hover { background: var(--navy-600); color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-800); border-radius: 2px; margin: 3px auto; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .97rem; letter-spacing: .005em;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--navy-900); box-shadow: 0 6px 20px rgba(61, 220, 151, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(61, 220, 151, .36); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.10); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: #C9D6E6;
  padding: clamp(74px, 11vw, 130px) 0 clamp(64px, 8vw, 104px);
}
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(560px 300px at 22% 30%, rgba(61,220,151,.20), transparent 65%),
    radial-gradient(620px 340px at 82% 12%, rgba(107,168,255,.20), transparent 65%);
}
.hero-inner { position: relative; }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: .35em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .765rem; font-weight: 650;
  color: var(--accent); margin-bottom: 1.1em;
}
.hero .lede { max-width: 62ch; font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: #B7C7DA; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: clamp(48px, 7vw, 76px); padding-top: 34px; border-top: 1px solid rgba(255,255,255,.13);
}
.stat { min-width: 0; }
.stat-value { display: block; color: #fff; font-weight: 650; font-size: 1.05rem; margin-bottom: 3px; }
.stat-label { display: block; font-size: .9rem; color: #93A6BE; line-height: 1.5; }

/* ---------- Availability notice ---------- */
.notice { background: #FFF8E8; border-bottom: 1px solid #F2E4C0; }
.notice-inner { display: flex; gap: 13px; align-items: flex-start; padding: 18px 0; }
.notice-icon { width: 21px; height: 21px; flex: none; color: #A9791C; margin-top: 3px; }
.notice p { margin: 0; font-size: .95rem; color: #6E5417; }
.notice strong { color: #4A3809; }
.notice a { color: #6E5417; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding: clamp(66px, 9vw, 108px) 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head h2 { max-width: 22ch; }
.section-lede { font-size: 1.06rem; color: var(--body); max-width: 68ch; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFDCEA; }
.card-num {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
  color: var(--accent-2); margin-bottom: 10px; line-height: 1;
}
.card p { margin: 0; font-size: .96rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service h3 { font-size: 1.24rem; margin-bottom: .55em; }
.service > p { font-size: .96rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tags li {
  font-size: .795rem; font-weight: 550; color: var(--navy-600);
  background: #EDF3FA; border: 1px solid #DCE7F4; border-radius: 999px; padding: 5px 12px;
}

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: none; max-width: 860px; }
.step { display: flex; gap: 24px; padding-bottom: 34px; position: relative; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px;
  background: linear-gradient(var(--line), transparent);
}
.step-marker {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: #fff; display: grid; place-items: center;
  font-weight: 650; font-size: .98rem; position: relative; z-index: 1;
}
.step-body h3 { margin-bottom: .35em; }
.step-body p { margin: 0; font-size: .97rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: clamp(32px, 5vw, 62px); align-items: start; }
.about-panel {
  background: var(--navy-800); color: #B7C7DA; border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow-md);
}
.about-panel h3 { color: #fff; margin-bottom: 1em; }
.beliefs { list-style: none; display: grid; gap: 18px; }
.beliefs li { font-size: .94rem; line-height: 1.6; padding-left: 18px; position: relative; }
.beliefs li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.beliefs strong { color: #fff; font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(165deg, var(--navy-900), var(--navy-700)); color: #B7C7DA; }
.contact h2 { color: #fff; }
.contact .section-lede { color: #B7C7DA; margin-inline: auto; }
.contact-inner { text-align: center; max-width: 720px; margin-inline: auto; }
.contact-inner .btn { margin-top: 12px; }
.contact-note { margin-top: 20px; font-size: .9rem; color: #8DA0B8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #7F92AB; padding: 52px 0 40px; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.site-footer .brand-text { color: #fff; display: inline-block; margin-bottom: 8px; }
.footer-brand p { margin: 0; }
.footer-nav { display: grid; gap: 9px; }
.footer-nav a, .footer-meta a { color: #A9BACF; text-decoration: none; }
.footer-nav a:hover, .footer-meta a:hover { color: #fff; text-decoration: underline; }
.footer-meta p { margin: 10px 0 0; font-size: .85rem; color: #64778F; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .services { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 22px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav .nav-cta { border-bottom: none; margin-top: 14px; text-align: center; border-radius: 999px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
