:root {
  --page:        #ffffff;
  --surface:     #f6f8fb;
  --surface-2:   #eef1f7;
  --ink:         #0f172a;
  --ink-2:       #475569;
  --muted:       #94a3b8;
  --accent:      #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light:#eaf1ff;
  --border:      rgba(15,23,42,0.09);
  --head:        "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:        "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wordmark:    "Liberation Sans Narrow", "Arial Narrow", sans-serif;
  --maxw:        1140px;
  --shadow-sm:   0 1px 2px rgba(15,23,42,0.05), 0 1px 1px rgba(15,23,42,0.03);
  --shadow-md:   0 16px 36px -16px rgba(15,23,42,0.18), 0 2px 8px rgba(15,23,42,0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wordmark);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .accent { color: var(--accent); }
.brand-tagline {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 480px) {
  .brand-tagline { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
}
.nav-links a { color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-links a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: none;
  box-shadow: 0 6px 16px -6px rgba(37,99,235,0.55);
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.active { background: var(--accent-dark); color: #fff; border-bottom: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--page);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 32px 28px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { align-self: flex-start; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.btn-solid { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(37,99,235,0.55); }
.btn-solid:hover { background: var(--accent-dark); }
.btn-outline { color: var(--ink); border-color: var(--border); background: var(--page); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Eyebrow / Headline system ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0;
}
h1 { font-size: 52px; letter-spacing: -0.03em; }
h2 { font-size: 36px; }
h3 { font-size: 23px; font-weight: 700; }
.rule {
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin: 26px 0 0;
  border-radius: 2px;
}
.lede {
  font-size: 20px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 640px;
  margin-top: 22px;
}
@media (max-width: 480px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .lede { font-size: 17px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-border-top { border-top: 1px solid var(--border); }
.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .eyebrow { color: #7fa8ff; }
.bg-ink .lede { color: #cbd5e1; }
.bg-ink .rule { background: #7fa8ff; }
@media (max-width: 700px) {
  section { padding: 60px 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 76px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% -10%, rgba(37,99,235,0.10), transparent 55%),
    repeating-linear-gradient(0deg, rgba(15,23,42,0.035) 0px, rgba(15,23,42,0.035) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(15,23,42,0.035) 0px, rgba(15,23,42,0.035) 1px, transparent 1px, transparent 64px);
}
.hero-watermark {
  position: absolute;
  right: -120px;
  top: -60px;
  height: 560px;
  opacity: 0.05;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.hero-badge {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: border-color 0.15s ease;
}
.hero-badge:hover { border-left-color: var(--accent); }
.hero-badge:last-child { border-bottom: none; }
.hero-badge .k { font-family: var(--head); font-weight: 800; font-size: 25px; }
.hero-badge .v { font-size: 14px; color: var(--ink-2); text-align: right; max-width: 220px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-badge { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-badge .v { text-align: left; max-width: 100%; }
}

/* ---------- Stat row ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.stat-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.stat-tile .num {
  font-family: var(--head);
  font-weight: 800;
  font-size: 40px;
  color: var(--accent);
}
.stat-tile .label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.4;
}
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
}
.stat-tile .num.sm { font-size: 28px; }
.stat-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 860px) {
  .stat-grid.cols-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stat-grid.cols-5 { grid-template-columns: 1fr; }
}

/* ---------- Rows / lists ---------- */
.row-list { margin-top: 48px; }
.row-item {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.row-item:first-child { border-top: 1px solid var(--border); }
.row-item .idx { font-family: var(--head); color: var(--accent); font-size: 18px; min-width: 36px; font-weight: 700; }
.row-item .t { font-weight: 600; font-size: 19px; min-width: 260px; }
.row-item .d { color: var(--ink-2); font-size: 16px; }
@media (max-width: 700px) {
  .row-item { flex-direction: column; gap: 6px; }
  .row-item .t { min-width: 0; }
}

/* ---------- Two column grid ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  font-size: 17px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.check-list li:first-child { border-top: 1px solid var(--border); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  background: var(--surface-2);
  border: 1px solid transparent;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.tier-card {
  border: 1px solid var(--border);
  background: #fff;
  padding: 30px 26px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.tier-card .name { font-family: var(--head); font-size: 23px; font-weight: 700; }
.tier-card .price { margin-top: 6px; font-size: 15px; color: var(--accent); font-weight: 600; }
.tier-card p { font-size: 15px; color: var(--ink-2); margin-top: 16px; }
@media (max-width: 860px) { .tier-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .cta-banner .btn, .cta-banner > div[style*="display:flex"] a.btn { width: 100%; text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 40px;
  background: var(--ink);
  color: #cbd5e1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.9fr 0.9fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--wordmark); font-weight: 700; font-size: 22px; text-transform: uppercase; color: #fff; }
.footer-brand img { height: 28px; }
.footer-brand .accent { color: #7fa8ff; }
.footer-tagline { margin-top: 16px; font-size: 15px; color: #94a3b8; max-width: 320px; font-style: italic; font-family: var(--sans); }
.footer-col .h { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7fa8ff; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 15px; color: #94a3b8; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (non-home pages) ---------- */
.page-hero { padding: 60px 0 52px; border-bottom: 1px solid var(--border); background: var(--surface); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Photo feature (image with in-image caption) ---------- */
.photo-feature { position: relative; border-radius: 14px; overflow: hidden; height: 360px; margin-top: 44px; box-shadow: var(--shadow-md); }
.photo-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-feature .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 30px;
  background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.78) 88%);
  color: #fff;
}
.photo-feature .cap .eyebrow { color: #9dc0ff; margin-bottom: 6px; }
.photo-feature .cap .t { font-family: var(--head); font-size: 21px; font-weight: 700; }
.photo-card { border-radius: 12px; overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .photo-feature { height: 260px; margin-top: 32px; }
  .photo-feature .cap { padding: 20px 20px; }
  .photo-feature .cap .t { font-size: 18px; }
}

/* ---------- Founder card ---------- */
.founder-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 34px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}
.founder-card img { width: 170px; height: 200px; border-radius: 10px; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.founder-card .name { font-weight: 700; font-size: 19px; font-family: var(--head); }
.founder-card .role { font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; font-weight: 600; }
.founder-card .q { font-family: var(--sans); font-style: italic; font-size: 17px; color: var(--ink-2); margin-top: 14px; line-height: 1.6; }
@media (max-width: 700px) {
  .founder-card { flex-direction: column; text-align: center; padding: 28px 24px; }
  .founder-card img { width: 160px; height: 190px; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.contact-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}
.contact-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-item .k { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); min-width: 110px; flex-shrink: 0; }
.contact-item .v { font-size: 17px; color: var(--ink); }
.contact-item .v a:hover { color: var(--accent); }
.map-embed {
  margin-top: 40px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .contact-item { flex-direction: column; gap: 4px; }
  .contact-item .k { min-width: 0; }
  .contact-card { padding: 28px 22px; }
}

/* ---------- Scroll-reveal + hover motion ---------- */
.reveal { opacity: 1; transform: none; }
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2,0.65,0.3,1), transform 0.7s cubic-bezier(0.2,0.65,0.3,1);
}
body.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

.stat-tile, .contact-card, .testimonial-card, .quote-feature, .founder-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-tile:hover, .contact-card:hover, .testimonial-card:hover, .quote-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -18px rgba(15,23,42,0.22);
}
.tag { transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.tag:hover { transform: translateY(-2px); }

/* ---------- Video grid ---------- */
.video-grid {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.video-card {
  width: 280px;
  max-width: 100%;
  transition: transform 0.25s ease;
}
.video-card:hover { transform: translateY(-6px); }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) {
  .video-card { width: 220px; }
}

/* ---------- Testimonials ---------- */
.stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.quote-feature {
  margin-top: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
}
.quote-feature .q {
  font-family: var(--sans);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.55;
  max-width: 760px;
}
.quote-feature .who {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .q { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.testimonial-card .who { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--ink); }
.testimonial-card .who .role { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .quote-feature { padding: 28px 24px; }
  .quote-feature .q { font-size: 18px; }
}
