@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-v.woff2") format("woff2");
}

:root {
  --accent: #31864c;
  --accent-dim: rgba(67, 185, 105, 0.1);
  --accent-display: #3ba25c;
  --accent-hover: #2c7a45;
  --accent-text: #2c7a45;
  --bad: #cc4339;
  --bg: #f6f7f8;
  --body-soft: #3e454e;
  --card-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 32px 64px -28px rgba(18, 24, 31, 0.25);
  --chip-bg: rgba(255, 255, 255, 0.9);
  --chip-shadow: 0 16px 40px -12px rgba(18, 24, 31, 0.16);
  --glow: rgba(67, 185, 105, 0.07);
  --line: rgba(15, 20, 26, 0.1);
  --line-soft: rgba(15, 20, 26, 0.06);
  --muted: #5b626c;
  --nav-bg: rgba(246, 247, 248, 0.8);
  --on-accent: #fff;
  --panel: #fff;
  --panel-2: #fdfdfd;
  --text: #14171c;
  --tint: rgba(15, 20, 26, 0.02);
  color-scheme: light;
  font-family: InterVariable, Inter, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #43b969;
    --accent-dim: rgba(67, 185, 105, 0.12);
    --accent-display: #43b969;
    --accent-hover: #5ccb7f;
    --accent-text: #43b969;
    --bad: #f0857d;
    --bg: #0a0b0d;
    --body-soft: #c6cad1;
    --card-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 80px -24px rgba(0, 0, 0, 0.7);
    --chip-bg: rgba(16, 18, 22, 0.85);
    --chip-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
    --glow: rgba(67, 185, 105, 0.09);
    --line: rgba(255, 255, 255, 0.08);
    --line-soft: rgba(255, 255, 255, 0.05);
    --muted: #8e939d;
    --nav-bg: rgba(10, 11, 13, 0.72);
    --on-accent: #06130c;
    --panel: #101216;
    --panel-2: #14171c;
    --text: #eceef1;
    --tint: rgba(255, 255, 255, 0.015);
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image: radial-gradient(
    color-mix(in srgb, var(--text) 5%, transparent) 1px,
    transparent 1.4px
  );
  background-size: 26px 26px;
  background-attachment: fixed;
  color: var(--text);
  font-feature-settings: "cv05", "cv11", "ss01";
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  position: fixed;
  z-index: 50;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

.wrap {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 32px;
}

/* ---------- nav ---------- */

nav {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line-soft);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 40;
}

.nav-inner {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto 1fr;
  height: 64px;
}

.nav-inner > .mark {
  justify-self: start;
}

.nav-inner > .btn {
  justify-self: end;
}

.mark {
  align-items: center;
  display: flex;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.mark svg {
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 560;
  gap: 8px;
  letter-spacing: -0.01em;
  padding: 9px 18px;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  border-color: color-mix(in srgb, var(--text) 20%, transparent);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-lg {
  border-radius: 12px;
  font-size: 15px;
  padding: 13px 26px;
}

/* ---------- hero ---------- */

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(78vh, 680px);
  overflow: hidden;
  padding: 116px 0 48px;
  position: relative;
}

.glow {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--glow), transparent 70%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.grid-lines {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  inset: 0;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
  position: absolute;
}

.hero {
  position: relative;
  text-align: center;
}

.eyebrow {
  animation: rise 0.7s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  background: var(--accent-dim);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 100px;
  color: var(--accent-text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 540;
  gap: 8px;
  letter-spacing: 0.01em;
  padding: 6px 14px;
}

.eyebrow .dot {
  animation: pulse 2.4s infinite;
  background: var(--accent);
  border-radius: 50%;
  height: 6px;
  margin-top: 8px;
  width: 6px;
}

h1 {
  animation: rise 0.7s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 640;
  letter-spacing: -0.042em;
  line-height: 1.05;
  margin: 28px auto 0;
  max-width: 21ch;
}

h1 em {
  color: var(--accent-display);
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

h1 em svg {
  bottom: -0.12em;
  left: 0;
  position: absolute;
  width: 100%;
}

h1 em path {
  animation: draw 0.9s 0.9s ease both;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.sub {
  animation: rise 0.7s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: -0.012em;
  line-height: 1.65;
  margin: 42px auto 0;
  max-width: 56ch;
}

.sub strong {
  color: var(--text);
  font-weight: 540;
}

.hero-q {
  animation: rise 0.7s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  color: var(--body-soft);
  font-size: 17px;
  font-weight: 540;
  letter-spacing: -0.012em;
  margin-top: 44px;
}

.hero-cta {
  animation: rise 0.7s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 18px;
}

.hero-note {
  animation: rise 0.7s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 20px;
}

/* ---------- stats ---------- */

.stats {
  border-bottom: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
  padding: 26px 0 30px;
}

.stats-head {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  text-align: center;
  text-transform: uppercase;
}

.stats-head span {
  color: var(--accent-text);
}

.stats-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat .num {
  font-size: 40px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.stat .num span {
  color: var(--accent-display);
}

.stat .lbl {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
}

/* ---------- sections ---------- */

section {
  padding: 76px 0;
}

.kicker {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 620;
  letter-spacing: -0.034em;
  line-height: 1.12;
  margin-top: 14px;
  max-width: 22ch;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 18px;
  max-width: 58ch;
}

/* ---------- story (timeline) ---------- */

.story-grid {
  display: grid;
  gap: 24px 88px;
  grid-template-columns: 5fr 6fr;
}

.story-head {
  align-self: start;
  position: sticky;
  top: 104px;
}

.beat {
  border-left: 2px solid var(--line);
  padding: 0 0 40px 30px;
  position: relative;
}

.beat:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.beat::before {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--accent-dim);
  content: "";
  height: 10px;
  left: -4px;
  position: absolute;
  top: 4px;
  width: 10px;
}

.beat:last-child::before {
  animation: pulse 2.4s infinite;
}

.beat-label {
  color: var(--accent-text);
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.beat p {
  color: var(--body-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 10px;
  max-width: 52ch;
}

.beat p strong {
  color: var(--text);
  font-weight: 560;
}

.beat .btn {
  margin-top: 40px;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 48px;
}

.foot {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13.5px;
  gap: 32px;
  justify-content: space-between;
}

.foot-row {
  align-items: center;
  display: flex;
}

.foot-row .mark {
  color: var(--text);
}

.foot-base {
  text-align: right;
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* ---------- keyframes ---------- */

.story-link {
  border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 50%, transparent);
  color: var(--accent-text);
  font-weight: 560;
  transition: border-color 0.15s ease;
}
.story-link:hover {
  border-bottom-color: var(--accent);
}
.foot-mail {
  color: var(--text);
  transition: color 0.15s ease;
}
.foot-mail:hover {
  color: var(--accent-text);
}

/* ---------- modal ---------- */

.modal-overlay {
  align-items: flex-start;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.55);
  display: none;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  padding: 6vh 20px 40px;
  position: fixed;
  z-index: 100;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  animation: rise 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  max-width: 680px;
  overflow: hidden;
  width: 100%;
}
.modal-head {
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  padding: 14px 16px;
}
.modal-tabs {
  display: flex;
  gap: 8px;
}
.modal-tab {
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 560;
  padding: 8px 16px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.modal-tab.active {
  background: var(--accent-dim);
  color: var(--accent-text);
}
.modal-close {
  align-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  margin-left: auto;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
  width: 34px;
}
.modal-close:hover {
  border-color: color-mix(in srgb, var(--text) 25%, transparent);
  color: var(--text);
}
.modal-panel {
  display: none;
}
.modal-panel.active {
  display: block;
}
#panel-call .calendly-inline-widget {
  height: 600px;
  min-width: 300px;
}
.calendly-fallback {
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
  text-align: center;
}
.calendly-fallback a {
  color: var(--accent-text);
  font-weight: 560;
  text-decoration: underline;
}
#panel-note {
  padding: 26px;
}
.note-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.note-intro a {
  color: var(--accent-text);
  font-weight: 560;
}
.note-intro a:hover {
  text-decoration: underline;
}
.note-form {
  display: grid;
  gap: 14px;
}
.note-form label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 6px;
}
.note-form input,
.note-form textarea {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  padding: 11px 13px;
  transition: border-color 0.15s ease;
  width: 100%;
}
.note-form input:focus,
.note-form textarea:focus {
  border-color: var(--accent-display);
}
.note-form textarea {
  min-height: 96px;
  resize: vertical;
}
.note-form .btn {
  justify-content: center;
  width: 100%;
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.form-error {
  color: var(--bad);
  display: none;
  font-size: 13px;
  text-align: center;
}
.form-error a {
  font-weight: 600;
  text-decoration: underline;
}
.btn:disabled {
  cursor: default;
  opacity: 0.6;
  pointer-events: none;
}
.success {
  background: var(--accent-dim);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 14px;
  display: none;
  font-size: 15px;
  line-height: 1.6;
  padding: 22px;
}
.success strong {
  color: var(--text);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent);
  }
  60% {
    box-shadow: 0 0 0 7px transparent;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (min-width: 1440px) {
  .wrap {
    max-width: 1320px;
  }

  body {
    font-size: 17px;
  }

  h1 {
    font-size: 88px;
  }

  .sub {
    font-size: 20px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .hero-q {
    font-size: 19px;
  }

  .hero-note {
    font-size: 14px;
  }

  .btn-lg {
    font-size: 16.5px;
    padding: 15px 30px;
  }

  .stats {
    padding: 28px 0 32px;
  }

  .stats-head {
    font-size: 15px;
    margin-bottom: 26px;
  }

  .stat .num {
    font-size: 56px;
  }

  .stat .lbl {
    font-size: 16px;
  }

  h2 {
    font-size: 60px;
  }

  .section-sub {
    font-size: 22px;
    max-width: 62ch;
  }

  .kicker {
    font-size: 15px;
  }

  .beat p {
    font-size: 18.5px;
  }

  .beat-label {
    font-size: 14px;
  }
}

@media (min-width: 1800px) {
  .wrap {
    max-width: 1480px;
  }

  h1 {
    font-size: 100px;
  }

  .sub {
    font-size: 22px;
  }

  .hero-q {
    font-size: 21px;
  }

  .stats-head {
    font-size: 16px;
  }

  .stat .num {
    font-size: 64px;
  }

  .stat .lbl {
    font-size: 17px;
  }

  h2 {
    font-size: 70px;
  }

  .section-sub {
    font-size: 24px;
  }

}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    gap: 20px;
    grid-template-columns: 1fr 1fr;
  }

  .nav-inner > .btn {
    grid-column: 2;
  }

  .stats-grid {
    gap: 36px 24px;
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .story-head {
    position: static;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  header {
    padding-top: 136px;
  }

  section {
    padding: 80px 0;
  }

  .hero-cta {
    align-items: center;
    flex-direction: column;
  }

  .foot {
    flex-direction: column;
    gap: 28px;
  }

  .foot-row {
    justify-content: center;
    width: 100%;
  }

  .foot-base {
    text-align: center;
  }

  .stat .num {
    font-size: 32px;
  }

  .stats-grid {
    gap: 28px;
    grid-template-columns: 1fr;
  }
}
