:root {
  --paper: #ecf7f7;
  --paper-warm: #ecebe1;
  --ink: #1f2d3a;
  --ink-soft: rgba(31,45,58,0.72);
  --ink-faint: rgba(31,45,58,0.4);
  --ink-mute: rgba(31,45,58,0.18);
  --line: rgba(31,45,58,0.1);
  --line-strong: rgba(31,45,58,0.18);
  --teal: #2ab6b6;
  --teal-soft: rgba(42,182,182,0.12);
  --coral: #ee5b68;
  --green: #3ba976;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-feature-settings: "tnum", "ss01", "cv11";
}

::selection { background: var(--ink); color: var(--paper); }

.container { max-width: 1380px; margin: 0 auto; padding: 0 56px; }
.tabular { font-variant-numeric: tabular-nums; }

/* HEADER */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(236,247,247,0.85);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  z-index: 50; margin: 0 -56px; padding-left: 56px; padding-right: 56px;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.site-header.hdr-hidden { transform: translateY(-110%); }
.wordmark { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.wordmark .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--teal); }
.site-header nav ul { display: flex; gap: 32px; list-style: none; font-size: 14px; font-weight: 500; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; transition: color 0.2s; }
.site-header nav a:hover { color: var(--ink); }
.site-header nav a.current { color: var(--teal); }

/* BUTTONS */
.btn {
  font-size: 14px; font-weight: 500; padding: 13px 20px; border-radius: 8px;
  text-decoration: none; display: inline-flex; gap: 8px; align-items: center; transition: all 0.2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--teal); color: var(--ink); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* FOCUS */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* HERO COMMON */
.hero { padding: 120px 0 80px; }
.hero .meta-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 48px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}
.hero .meta-row .pill {
  padding: 5px 12px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); font-weight: 600;
}
.hero .meta-row .meta { color: var(--ink-faint); }
.hero h1 {
  font-weight: 500; font-size: clamp(48px, 7.5vw, 116px);
  line-height: 1.05; letter-spacing: -0.04em; max-width: 1180px;
}
.hero h1 .light { font-weight: 200; color: var(--ink-faint); }
.hero h1 .hi { color: var(--teal); }
.hi { color: var(--teal); }

/* SECTIONS */
.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: auto 1fr; gap: 48px;
  align-items: end; margin-bottom: 64px;
}
.sn {
  font-size: 33px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); padding-bottom: 4px;
}
.section-head h2 {
  font-weight: 500; font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.03em;
}
.section-head h2 .light { font-weight: 200; color: var(--ink-faint); }
.section-head h2 .hi { color: var(--teal); }
.section-head .desc { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 440px; padding-bottom: 4px; }

/* CTA COMMON */
.cta {
  padding: 130px 0 150px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 48px;
  text-align: center;
}
.cta h3 {
  font-weight: 500; font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1.0; letter-spacing: -0.035em; max-width: 800px;
}
.cta h3 .light { font-weight: 200; color: var(--ink-faint); }
.cta h3 .hi { color: var(--teal); }
.cta .actions { display: flex; flex-direction: row; gap: 10px; justify-content: center; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 80px 0 36px; background: #b6eaeb; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.foot-grid h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 6px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.foot-grid p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); max-width: 380px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--teal); }
.foot-grid a.current { color: var(--teal); font-weight: 600; }
.foot-mark { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; color: #fff; }
.foot-mark .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--teal); }
.foot-bot { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }

/* SCROLL REVEAL */
.reveal > * { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(.25,.46,.45,.94), transform 0.8s cubic-bezier(.25,.46,.45,.94); }
.reveal.in-view > * { opacity: 1; transform: none; }
.reveal.in-view > *:nth-child(2) { transition-delay: .1s; }
.reveal.in-view > *:nth-child(3) { transition-delay: .2s; }
.reveal.in-view > *:nth-child(4) { transition-delay: .3s; }
.reveal.in-view > *:nth-child(5) { transition-delay: .4s; }
.sr { opacity: 0; transform: translateY(22px); transition: opacity 0.75s cubic-bezier(.25,.46,.45,.94), transform 0.75s cubic-bezier(.25,.46,.45,.94); }
.sr.in-view { opacity: 1; transform: none; }

/* HAMBURGER */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* RESPONSIVE COMMON */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .site-header {
    margin: 0 -24px; padding-left: 24px; padding-right: 24px;
    flex-wrap: wrap; align-items: center;
  }
  .nav-toggle { display: flex; }
  .site-header nav {
    display: none; width: 100%;
    padding: 12px 0 20px; border-top: 1px solid var(--line);
  }
  .site-header.nav-open nav { display: block; }
  .site-header nav ul { flex-direction: column; gap: 0; }
  .site-header nav li { border-bottom: 1px solid var(--line); }
  .site-header nav a { display: block; padding: 13px 0; font-size: 17px; }
  .hero { padding: 80px 0 60px; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .cta { padding: 80px 0 100px; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal > *, .sr { opacity: 1; transform: none; }
}
