:root {
  --navy: #0a2242;
  --navy-2: #13325c;
  --ink: #0b1526;
  --ink-2: #3a4456;
  --muted: #6b7486;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --line: #e7e9ee;
  --line-2: #d9dde5;
  --accent: #3b63f3;
  --accent-soft: #eef2ff;
  --green: #127a4a;
  --green-soft: #e8f6ee;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(11, 21, 38, 0.04), 0 8px 24px -12px rgba(11, 21, 38, 0.12);
  --shadow-lg: 0 2px 4px rgba(11, 21, 38, 0.04), 0 24px 60px -24px rgba(10, 34, 66, 0.28);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0 0 0.5em; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: 500 0.95rem/1 var(--sans);
  text-decoration: none;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--navy-2); box-shadow: 0 8px 20px -8px rgba(10, 34, 66, 0.5); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #eef2ff; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: auto; display: block; }
.brand-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { text-decoration: none; font-size: 0.92rem; color: var(--ink-2); transition: color 0.15s; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { max-width: 13ch; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 34em; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero visual */
.hero-visual { position: relative; padding: 8px 0 150px 32px; }
.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.panel-kicker { font-size: 0.82rem; color: var(--muted); margin: 0 0 2px; }
.panel-title { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.time { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.event { display: flex; flex-direction: column; padding-left: 12px; border-left: 3px solid var(--navy); line-height: 1.35; }
.event b { font-weight: 500; font-size: 0.95rem; }
.event small { font-size: 0.8rem; color: var(--muted); }
.event-focus { border-left-color: var(--accent); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
}
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-blue { background: var(--accent-soft); color: var(--accent); }
.tag-grey { background: var(--soft); color: var(--ink-2); }

.panel-inbox {
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 260px;
  padding: 18px 20px;
  background: #fff;
}
.inbox-num { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 6px 0 12px; }
.inbox-num span { font-size: 0.9rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); }
.bar { height: 6px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.bar span { display: block; height: 100%; min-width: 12px; border-radius: 999px; background: var(--accent); }
.inbox-note { font-size: 0.8rem; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }

/* Audience */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.audience p { margin: 0; padding: 26px 0; font-size: 1rem; color: var(--ink-2); }

/* Sections */
.section { padding: 120px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.section-head a { color: var(--accent); text-decoration: none; font-weight: 500; }
.section-head a:hover { text-decoration: underline; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 220px; column-gap: 32px; align-content: start; }
.tile-wide .icon, .tile-wide h3, .tile-wide p { grid-column: 1; }
.tile-dark { background: var(--navy); border-color: var(--navy); grid-column: 1 / -1; }
.tile-dark h3 { color: #fff; }
.tile-dark p { color: #c3cde0; max-width: 46ch; }
.tile-dark .icon { background: rgba(255, 255, 255, 0.1); color: #fff; }
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 22px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.mini-cal {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  position: relative;
  border-radius: var(--r);
  background:
    repeating-linear-gradient(to bottom, transparent 0 27px, var(--line) 27px 28px),
    var(--soft);
  min-height: 170px;
}
.mini-cal .b { position: absolute; left: 14px; right: 14px; border-radius: 8px; background: var(--navy); }
.mini-cal .b1 { top: 10px; height: 34px; }
.mini-cal .b2 { top: 52px; height: 62px; background: var(--accent); opacity: 0.85; }
.mini-cal .b3 { top: 122px; height: 22px; right: 60px; }
.mini-cal .b4 { top: 122px; height: 22px; left: auto; width: 38px; background: #c9d4f9; }
.mini-cal .b5 { top: 152px; height: 18px; background: #c9d4f9; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.8rem;
  margin-bottom: 40px;
}
.steps p { color: var(--ink-2); font-size: 0.93rem; margin: 0; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
}
.plan h3 { font-size: 1.3rem; margin: 0; }
.plan-sub { color: var(--muted); font-size: 0.92rem; margin: 6px 0 24px; }
.plan ul { list-style: none; padding: 24px 0 0; margin: 0 0 32px; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 0.95rem; color: var(--ink-2); }
.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%233b63f3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.plan-featured { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.plan-featured h3 { color: #fff; }
.plan-featured .plan-sub { color: #9fb0cc; }
.plan-featured ul { border-top-color: rgba(255, 255, 255, 0.14); }
.plan-featured li { color: #dbe3f1; }
.plan-featured li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-7' fill='none' stroke='%237cf0b0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.about-portrait {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  background: var(--navy);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-copy p { color: var(--ink-2); font-size: 1.08rem; }
.values { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.values li {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 0.9rem;
  font-weight: 500;
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%230b1526' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq summary:hover::after { background-color: var(--line); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 48px; margin: -6px 0 24px; }

/* Contact */
.section-contact { padding-top: 40px; padding-bottom: 40px; }
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(59, 99, 243, 0.38), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(59, 99, 243, 0.18), transparent 60%),
    var(--navy);
  overflow: hidden;
}
.contact-copy h2 { color: #fff; }
.contact-copy p { color: #c3cde0; font-size: 1.08rem; max-width: 30em; }
.contact-direct {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.contact-direct:hover { background: rgba(255, 255, 255, 0.14); }
.contact-direct svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236b7486' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat;
  padding-right: 40px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field.invalid input, .field.invalid textarea { border-color: #d14343; box-shadow: 0 0 0 4px #fdecec; }
.contact-form .btn { margin-top: 6px; }
.form-note { margin: 12px 0 0; font-size: 0.88rem; color: var(--ink-2); min-height: 1.4em; }

/* Footer */
.site-footer { padding: 24px 0 48px; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.footer-tag { display: block; font-size: 0.8rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.footer-nav a { text-decoration: none; font-size: 0.9rem; color: var(--ink-2); }
.footer-nav a:hover { color: var(--ink); }
.footer-copy { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile { transition: none; }
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid, .faq-grid { gap: 56px; }
  .contact-panel { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
}

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-template-columns: 1fr; }
  .mini-cal { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .about-portrait { max-width: 380px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .btn { margin-top: 16px; height: 46px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-visual { padding: 0 0 150px; }
  .panel-inbox { left: 12px; bottom: 0; width: min(260px, 78%); }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .bento, .steps { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .step-num { margin-bottom: 24px; }
  .contact-panel { padding: 32px 20px; border-radius: var(--r-lg); }
  .contact-form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 360px) {
  .agenda li { grid-template-columns: 44px 1fr; }
  .agenda .tag { grid-column: 2; justify-self: start; margin-left: 15px; }
}
