:root {
  --ink: #1C2024;
  --ink-2: #0E1012;
  --em: #12B76A;
  --em-soft: #3DDC97;
  --mute: #6A7278;
  --line: rgba(255, 255, 255, 0.1);
  --paper: #F5F7F6;
  --white: #FFFFFF;
  --maxw: 1120px;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, .lead, .page-head p, .band p, .cta-card p { text-wrap: balance; }
img, svg { display: block; }

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

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 56px;
  background: rgba(14, 16, 18, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav.light { background: rgba(255, 255, 255, 0.78); border-bottom-color: rgba(0, 0, 0, 0.06); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav.light .brand { color: var(--ink); }
.brand-word { font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 30px; font-size: 14px; }
.nav-links a { color: rgba(255, 255, 255, 0.72); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav.light .nav-links a { color: rgba(28, 32, 36, 0.64); }
.nav.light .nav-links a:hover, .nav.light .nav-links a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  background: var(--ink-2); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; width: 900px; height: 900px; left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(18, 183, 106, 0.22), rgba(18, 183, 106, 0.06) 55%, transparent 72%);
  filter: blur(10px);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe { 0%,100% { opacity: .75; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }
.hero-inner { position: relative; max-width: 900px; }
.hero-mark { margin: 0 auto 36px; width: 96px; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: var(--em-soft); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.045em;
  font-weight: 600; margin: 0;
}
.grad {
  background: linear-gradient(100deg, #fff 10%, #B9F5D8 45%, var(--em-soft) 70%, #fff 95%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
@keyframes sheen { to { background-position: -200% center; } }
.hero p.lead {
  font-size: clamp(18px, 2.2vw, 24px); line-height: 1.45; color: rgba(255,255,255,.68);
  max-width: 640px; margin: 26px auto 0; font-weight: 400;
}
.ctas { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn-primary { background: var(--em); color: #fff; box-shadow: 0 8px 30px rgba(18,183,106,.35); }
.btn-primary:hover { transform: translateY(-1px); background: #0FA65F; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 7px; margin-left: -2px;
  border-radius: 2px; background: var(--em-soft); animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Logo mark animation */
.mk-ring, .mk-stem { stroke-dasharray: 100; stroke-dashoffset: 100; }
.mk-dot { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.play .mk-ring { animation: draw .9s cubic-bezier(.65,0,.35,1) forwards; }
.play .mk-stem { animation: draw .42s cubic-bezier(.22,1,.36,1) .65s forwards; }
.play .mk-dot { animation: pop .9s ease-out 1.05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop {
  0% { opacity: 0; transform: translateY(26px) scale(.35); }
  12% { opacity: 1; transform: translateY(26px) scale(.5); }
  45% { transform: translateY(-7px) scale(.82, 1.28); }
  62% { transform: translateY(1.5px) scale(1.22, .8); }
  78% { transform: translateY(-2px) scale(.95, 1.06); }
  100% { opacity: 1; transform: none; }
}

/* Sections */
section { position: relative; }
.statement { padding: 160px 0 140px; text-align: center; }
.statement h2 {
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 600;
  max-width: 980px; margin: 0 auto;
}
.statement h2 .dim { color: #B7BDC2; }
.kicker { font-size: 15px; font-weight: 600; color: var(--em); letter-spacing: .01em; margin-bottom: 18px; }

.tiles { padding: 0 0 140px; }
.tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  background: var(--paper); border-radius: 28px; padding: 40px 34px 44px; min-height: 400px;
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.tile:hover { transform: translateY(-4px); }
.tile.dark { background: var(--ink); color: #fff; }
.tile h3 { font-size: 28px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 14px; }
.tile p { font-size: 17px; line-height: 1.5; color: var(--mute); margin: 0; }
.tile.dark p { color: rgba(255,255,255,.62); }
.tile-art { margin-top: auto; padding-top: 36px; height: 150px; display: flex; align-items: flex-end; }

.band {
  background: var(--ink-2); color: #fff; overflow: hidden;
  padding: 150px 0; text-align: center;
}
.band h2 { font-size: clamp(36px, 6vw, 76px); letter-spacing: -0.045em; line-height: 1.04; font-weight: 600; margin: 0; }
.band p { font-size: 21px; line-height: 1.5; color: rgba(255,255,255,.62); max-width: 620px; margin: 22px auto 0; }
.orbit { position: relative; width: 320px; height: 320px; margin: 70px auto 0; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.orbit .ring.r2 { inset: 50px; }
.orbit .ring.r3 { inset: 100px; border-color: rgba(18,183,106,.35); }
.orbit .core { position: absolute; inset: 130px; border-radius: 50%; background: var(--em); box-shadow: 0 0 60px rgba(18,183,106,.6); animation: pulse 3.2s ease-in-out infinite; }
.orbit .sat { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.orbit .sat.s2 { inset: 50px; animation-duration: 9s; animation-direction: reverse; }
.orbit .sat i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px rgba(255,255,255,.8); }
.orbit .sat.s2 i { background: var(--em-soft); box-shadow: 0 0 16px rgba(61,220,151,.9); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.12); box-shadow: 0 0 90px rgba(18,183,106,.8); } }

.products { padding: 150px 0 40px; }
.sub { font-size: 20px; line-height: 1.5; color: var(--mute); max-width: 600px; margin: 20px auto 0; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.prod {
  background: var(--paper); border-radius: 28px; padding: 34px 32px 36px;
  display: flex; flex-direction: column; min-height: 330px;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s;
}
.prod:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(28,32,36,.08); }
.prod img, .prod-mono, .prod-plus { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 6px 18px rgba(28,32,36,.12); }
.prod-mono { background: linear-gradient(135deg, #0EA5E9, #12B76A); color: #fff; font-size: 34px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.prod .tag { font-size: 13px; font-weight: 600; color: var(--em); margin-top: 26px; }
.prod h3 { font-size: 30px; letter-spacing: -0.035em; font-weight: 600; margin: 6px 0 12px; }
.prod p { font-size: 17px; line-height: 1.5; color: var(--mute); margin: 0; }
.prod .go { margin-top: auto; padding-top: 24px; font-size: 15px; font-weight: 500; color: var(--ink); }
.prod-next { background: var(--ink); color: #fff; }
.prod-next p { color: rgba(255,255,255,.62); }
.prod-next .go { color: var(--em-soft); }
.prod-next h3 { margin-top: 26px; }
.prod-plus { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: var(--em-soft); font-size: 38px; font-weight: 400; display: flex; align-items: center; justify-content: center; }

.principles { padding: 150px 0; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 70px; }
.principle .num { font-size: 15px; font-weight: 600; color: var(--em); }
.principle h3 { font-size: 26px; letter-spacing: -0.03em; font-weight: 600; margin: 12px 0 12px; }
.principle p { font-size: 17px; line-height: 1.55; color: var(--mute); margin: 0; }
.center { text-align: center; }
.h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 600; margin: 0; }

.cta-final { padding: 0 0 150px; }
.cta-card {
  background: var(--paper); border-radius: 36px; padding: 96px 32px; text-align: center;
}
.cta-card p { font-size: 20px; color: var(--mute); margin: 18px auto 34px; max-width: 520px; line-height: 1.5; }

/* Page header (about / contact) */
.page-head { padding: 170px 0 90px; text-align: center; }
.page-head h1 { font-size: clamp(46px, 7.5vw, 88px); letter-spacing: -0.045em; line-height: 1.02; font-weight: 600; margin: 0; }
.page-head p { font-size: clamp(19px, 2.2vw, 23px); color: var(--mute); max-width: 680px; margin: 24px auto 0; line-height: 1.5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 60px 0 130px; }
.split h2 { font-size: 40px; letter-spacing: -0.035em; line-height: 1.1; font-weight: 600; margin: 0; }
.split p { font-size: 19px; line-height: 1.65; color: #3E454B; margin: 0 0 20px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 130px; }
.fact { background: var(--paper); border-radius: 24px; padding: 30px 26px; }
.fact .k { font-size: 14px; color: var(--mute); }
.fact .v { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; }

.team { padding-bottom: 140px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.person { background: var(--ink); color: #fff; border-radius: 28px; padding: 40px 36px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #2A3036, #12B76A); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 24px; margin-bottom: 26px; }
.person h3 { font-size: 26px; letter-spacing: -0.03em; font-weight: 600; margin: 0; }
.person .role { color: var(--em-soft); font-size: 15px; margin-top: 6px; }
.person p { color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.55; margin: 18px 0 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding-bottom: 140px; }
.form { background: var(--paper); border-radius: 28px; padding: 40px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 14px; color: var(--mute); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 1px solid #DDE2E0; border-radius: 14px; padding: 14px 16px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--em); box-shadow: 0 0 0 4px rgba(18,183,106,.14); }
.form .btn { border: 0; cursor: pointer; font-family: inherit; }
.form-note { font-size: 14px; color: var(--mute); margin-top: 14px; }
.form-err { font-size: 14px; color: #C2410C; margin-top: 10px; min-height: 1em; }
.side { display: flex; flex-direction: column; gap: 24px; }
.side .card { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; }
.side .card.light { background: var(--paper); color: var(--ink); }
.side .k { font-size: 14px; color: var(--em-soft); }
.side .card.light .k { color: var(--em); }
.side .v { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; line-height: 1.3; }
.side .s { font-size: 16px; color: rgba(255,255,255,.6); margin-top: 8px; line-height: 1.5; }
.side .card.light .s { color: var(--mute); }

/* Footer */
.foot { border-top: 1px solid #E8ECEA; padding: 40px 0 50px; font-size: 13px; color: var(--mute); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .brand { color: var(--ink); }
.foot .brand-word { font-size: 18px; }
.foot nav { display: flex; gap: 24px; }
.foot a:hover { color: var(--ink); }

/* Reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

@media (max-width: 860px) {
  .prod-grid { grid-template-columns: 1fr; }
  .tiles-grid, .principles-grid, .team-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 28px; }
  .tile { min-height: 0; }
  .nav-links { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .mk-ring, .mk-stem { stroke-dashoffset: 0; } .mk-dot { opacity: 1; }
}
