:root {
  --bg: #f3f6f5;
  --raised: #ffffff;
  --text: #121816;
  --muted: #5c6b66;
  --accent: #1a7f6e;
  --accent-soft: rgba(26, 127, 110, 0.12);
  --line: rgba(18, 24, 22, 0.1);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Sora", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
}

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

.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(26, 127, 110, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(90, 140, 160, 0.1), transparent 50%),
    linear-gradient(180deg, #eef3f1 0%, var(--bg) 42%, #e8efec 100%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.nav,
main,
.foot {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
  background: rgba(243, 246, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font: 500 12px/1 var(--sans);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #121816;
  color: #fff;
  border: 1px solid #121816;
  border-radius: 10px;
  padding: 7px 12px 7px 10px;
  min-width: 148px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.store:hover {
  transform: translateY(-2px);
  background: #1a7f6e;
  border-color: #1a7f6e;
}

.store--lg {
  padding: 11px 18px 11px 14px;
  min-width: 188px;
  border-radius: 12px;
}

.store-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store-copy small {
  font-size: 9px;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.store-copy strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.store--lg .store-copy strong {
  font-size: 19px;
}

.store--lg .store-copy small {
  font-size: 10px;
}

.hero,
.modes,
.how,
.cta-band,
.foot {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: min(88vh, 760px);
}

.brand-mark {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 56px);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  color: var(--text);
  animation: rise 0.7s ease both;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  animation: rise 0.8s 0.08s ease both;
}

.lede {
  max-width: 440px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  animation: rise 0.8s 0.16s ease both;
}

.fine {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  animation: rise 0.8s 0.24s ease both;
}

.store-row--hero {
  margin-top: 28px;
  animation: rise 0.8s 0.2s ease both;
}

.stage {
  display: grid;
  gap: 28px;
  justify-items: center;
  animation: float-in 1s 0.2s ease both;
}

.live-mark {
  display: grid;
  place-items: center;
  gap: 16px;
}

/* Match apps/mobile LiveFace (Joybot plate): #0B0E14 + #00C8E8 ovals, 256×156, r≈20%. */
.live-face {
  --face-w: min(72vw, 280px);
  width: var(--face-w);
  height: calc(var(--face-w) * 156 / 256);
  border-radius: calc(var(--face-w) * 0.2);
  background: #0b0e14;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--face-w) * 48 / 256);
  box-shadow:
    0 28px 64px rgba(11, 14, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: breathe 3.2s ease-in-out infinite;
}

.eye {
  width: calc(var(--face-w) * 48 / 256);
  height: calc(var(--face-w) * 64 / 256);
  border-radius: 999px;
  background: #00c8e8;
  box-shadow: 0 0 20px rgba(0, 200, 232, 0.45);
  animation: eye-pulse 1.6s ease-in-out infinite;
}

.eye:nth-child(2) {
  animation-delay: 0.08s;
}

.live-pulse {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.whisper {
  width: min(100%, 320px);
  padding: 4px 0 0;
  text-align: center;
}

.whisper-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.whisper-line {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  font-style: italic;
  color: var(--text);
}

.modes,
.how {
  padding: 56px 0 28px;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-lede {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 480px;
  line-height: 1.5;
}

.mode-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.mode h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mode p,
.how span {
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  font-size: 15px;
}

.how ol {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.how li {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.how strong {
  font-size: 16px;
  font-weight: 600;
}

.cta-band {
  margin: 48px auto 24px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.foot a {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
}

.foot-link {
  font-family: var(--sans) !important;
  font-size: 13px !important;
  color: var(--accent) !important;
}

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes eye-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

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

  .store-row--nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

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

@media (max-width: 520px) {
  .store-row--hero .store {
    flex: 1;
  }

  .live-face {
    --face-w: min(78vw, 240px);
  }
}
