:root {
  color-scheme: light;
  --ink: #071b20;
  --ink-soft: #153137;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --cloud: #e7f5fb;
  --line: rgba(7, 27, 32, 0.12);
  --line-strong: rgba(7, 27, 32, 0.2);
  --yellow: #f4c735;
  --teal: #31c7b7;
  --coral: #ff6558;
  --muted: #5c6a6f;
  --shadow: 0 24px 60px rgba(7, 27, 32, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 44px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.subpage {
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(7, 27, 32, 0.08);
  backdrop-filter: blur(16px);
}

.site-header:not(.is-scrolled):not(.subpage) .brand,
.site-header:not(.is-scrolled):not(.subpage) .primary-nav a:not(.lang-link) {
  color: rgba(255, 255, 255, 0.84);
}

.site-header:not(.is-scrolled):not(.subpage) .primary-nav a:hover,
.site-header:not(.is-scrolled):not(.subpage) .primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface);
}

.site-header:not(.is-scrolled):not(.subpage) .lang-link {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
  height: 38px;
  width: 38px;
}

.nav-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
  z-index: 25;
}

.site-header:not(.is-scrolled):not(.subpage) .nav-toggle {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  position: relative;
  width: 18px;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.primary-nav a {
  border-radius: 8px;
  color: rgba(7, 27, 32, 0.78);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 10px 12px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(49, 199, 183, 0.12);
  color: var(--ink);
}

.lang-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  background: var(--ink);
  color: var(--surface);
  display: grid;
  min-height: min(86vh, 880px);
  overflow: hidden;
  place-items: center;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(7, 27, 32, 0.96) 0%, rgba(7, 27, 32, 0.78) 48%, rgba(7, 27, 32, 0.9) 100%),
    radial-gradient(circle at 78% 48%, rgba(244, 199, 53, 0.16), transparent 34%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-video {
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: 74% bottom;
  opacity: 0.58;
  position: absolute;
  width: 100%;
}

.hero-figure {
  bottom: -8%;
  display: none;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.36));
  max-height: 92%;
  opacity: 0.24;
  position: absolute;
  right: clamp(-240px, -10vw, -120px);
  width: min(34vw, 420px);
  z-index: 1;
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  margin: 0 auto;
  max-width: var(--max);
  padding: 118px clamp(18px, 4vw, 44px) 70px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--yellow);
  border-radius: 8px;
  content: "";
  height: 10px;
  width: 34px;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1;
  margin: 0;
}

.hero h1 {
  font-size: clamp(4rem, 9.4vw, 8.6rem);
  font-weight: 900;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  max-width: 650px;
  margin-top: 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--yellow);
  box-shadow: 0 16px 34px rgba(244, 199, 53, 0.22);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--surface);
}

.button.dark {
  background: var(--ink);
  color: var(--surface);
}

.button.light {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.hero-panel {
  align-self: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: 18px;
  padding-left: clamp(20px, 4vw, 42px);
}

.metric {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 18px;
}

.metric:first-child {
  border-top: 0;
  padding-top: 0;
}

.metric strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1;
}

.metric span {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-weight: 700;
  margin-top: 8px;
}

.section {
  padding: clamp(66px, 10vw, 126px) clamp(18px, 4vw, 44px);
}

.section.tight {
  padding-top: clamp(44px, 7vw, 82px);
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.section-kicker {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  margin-top: 12px;
  max-width: 860px;
}

.section-lede {
  font-size: 1.06rem;
  margin-top: 18px;
  max-width: 700px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(7, 27, 32, 0.06);
  padding: clamp(20px, 3vw, 28px);
}

.card.accent-yellow {
  border-top: 4px solid var(--yellow);
}

.card.accent-teal {
  border-top: 4px solid var(--teal);
}

.card.accent-coral {
  border-top: 4px solid var(--coral);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.showcase {
  background: var(--cloud);
}

.showcase-grid {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.motion-stage {
  background: var(--ink);
  border: 1px solid rgba(7, 27, 32, 0.15);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  min-height: 560px;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.motion-stage video {
  height: min(76vh, 620px);
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.motion-stage::before {
  background: rgba(49, 199, 183, 0.18);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 42%;
}

.buddy-stack {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.buddy-card {
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 230px;
  overflow: hidden;
  position: relative;
}

.buddy-card img {
  filter: drop-shadow(0 22px 22px rgba(7, 27, 32, 0.2));
  justify-self: center;
  max-height: 220px;
  object-fit: contain;
}

.buddy-card span {
  background: rgba(251, 250, 247, 0.9);
  border-top: 1px solid var(--line);
  bottom: 0;
  display: block;
  font-weight: 800;
  left: 0;
  padding: 10px 12px;
  position: absolute;
  right: 0;
}

.band {
  background: var(--ink);
  color: var(--surface);
}

.band p {
  color: rgba(255, 255, 255, 0.76);
}

.proof-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.proof {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
}

.proof strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.link-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 24px;
}

.link-card strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.link-card span {
  color: var(--muted);
  line-height: 1.55;
}

.link-card b {
  color: var(--coral);
  font-size: 0.86rem;
}

.subpage-hero {
  background: var(--cloud);
  padding: 128px clamp(18px, 4vw, 44px) 70px;
}

.subpage-hero .section-inner {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
}

.subpage-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 7rem);
}

.subpage-hero p {
  font-size: 1.12rem;
  max-width: 720px;
}

.subpage-character {
  align-self: end;
  justify-self: end;
  max-height: 360px;
  object-fit: contain;
}

.content-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.3fr);
  margin-top: 34px;
}

.content-stack {
  display: grid;
  gap: 16px;
}

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}

.article h2 {
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.article h3 {
  color: var(--ink);
  font-size: 1.08rem;
  margin: 22px 0 8px;
}

.article p + p,
.article ul + p,
.article p + ul {
  margin-top: 14px;
}

.article ul {
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.side-note {
  background: var(--ink);
  border-radius: 8px;
  color: var(--surface);
  padding: 24px;
}

.side-note p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 10px;
}

.email-box {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 14px;
}

.email-box code {
  color: var(--ink);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px clamp(18px, 4vw, 44px);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    align-content: start;
    background: rgba(251, 250, 247, 0.98);
    border-left: 1px solid var(--line);
    bottom: 0;
    display: grid;
    gap: 4px;
    justify-items: stretch;
    padding: 86px 20px 20px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 180ms ease;
    width: min(86vw, 360px);
  }

  body.menu-open .primary-nav {
    transform: translateX(0);
  }

  body.menu-open .site-header:not(.is-scrolled):not(.subpage) .primary-nav a:not(.lang-link) {
    color: var(--ink);
  }

  body.menu-open .site-header:not(.is-scrolled):not(.subpage) .primary-nav a:hover,
  body.menu-open .site-header:not(.is-scrolled):not(.subpage) .primary-nav a[aria-current="page"] {
    background: rgba(49, 199, 183, 0.12);
    color: var(--ink);
  }

  .primary-nav a {
    font-size: 1.05rem;
    padding: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: rgba(7, 27, 32, 0.58);
  }

  .hero-video {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center center;
    right: auto;
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 46px;
    padding-top: 110px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 20vw, 6rem);
  }

  .hero-panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 0;
    padding-top: 22px;
  }

  .metric {
    border-top: 0;
    padding-top: 0;
  }

  .hero-figure {
    display: none;
  }

  .feature-grid,
  .proof-grid,
  .link-grid,
  .showcase-grid,
  .content-grid,
  .subpage-hero .section-inner {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .motion-stage {
    min-height: 420px;
  }

  .motion-stage video {
    height: 430px;
  }

  .subpage-character {
    justify-self: start;
    max-height: 260px;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-panel,
  .proof-grid,
  .buddy-stack {
    grid-template-columns: 1fr;
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
  }

  .section {
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .motion-stage {
    min-height: 360px;
  }

  .motion-stage video {
    height: 360px;
  }

  .subpage-hero {
    padding-top: 112px;
  }

  .email-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
