:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #3a3a3a;
  --ink-3: #6b6b6b;
  --line: #e6e6e6;
  --line-2: #d0d0d0;
  --panel: #f4f4f4;
  --panel-2: #ececec;
  --black: #0a0a0a;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: none;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__icon { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); }
.nav__name { font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 5px 11px; cursor: pointer; font-family: inherit;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-3);
}
.lang__opt { transition: color .15s; }
.lang__opt.is-active { color: var(--ink); }
.lang__sep { color: var(--line-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white);
  border-radius: 999px; padding: 10px 20px;
  font-weight: 600; font-size: 14px; transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: .9; }
.btn--sm { padding: 8px 16px; font-size: 13.5px; }

/* ---------- HERO ---------- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.badge {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 30px;
}
.hero__title {
  font-size: clamp(40px, 6.4vw, 68px);
  font-weight: 900;
  letter-spacing: -0.038em;
  line-height: 1.03;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--ink-3); }
.hero__sub {
  margin: 22px auto 34px;
  font-size: 18px; color: var(--ink-2); max-width: 520px;
}
.hero__cta { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.hero__meta { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
.hero__meta .dot { color: var(--line-2); }

.store-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: var(--black); color: var(--white);
  border-radius: 14px; padding: 10px 22px 11px; line-height: 1.15;
  position: relative;
}
.store-btn.is-soon { opacity: .95; }
.store-btn__eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: .7; }
.store-btn__main { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.ms { opacity: .5; }

/* ---------- LIVE READOUT ---------- */
.readout {
  margin-top: 60px;
  width: 100%; max-width: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px 24px;
  background: var(--bg);
  box-shadow: 0 24px 60px -34px rgba(0,0,0,.28);
}
.readout__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.readout__host { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.readout__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.readout__live {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; color: #fff;
  background: var(--ink); border-radius: 5px; padding: 3px 7px;
}
.readout__time { font-family: var(--mono); font-size: clamp(36px, 9vw, 46px); font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 2px; }
.readout__label { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- STRIP ---------- */
.strip {
  max-width: var(--max); margin: 20px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.strip__item {
  background: var(--bg); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center;
}
.strip__item b { font-size: 26px; font-weight: 800; font-family: var(--mono); letter-spacing: -0.02em; }
.strip__item span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- SECTIONS ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 96px 24px; }
.section__head { max-width: 640px; margin-bottom: 48px; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.section__head h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.03em;
  margin: 14px 0 12px; line-height: 1.08;
}
.section__head p { font-size: 17px; color: var(--ink-2); }

/* ---------- INTRO SHOWCASE ---------- */
.showcase { display: flex; flex-direction: column; gap: 32px; margin-top: 8px; }
.show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 20px 0;
}
.show:nth-child(odd) .show__media { order: 2; }
.show:nth-child(odd) .show__text { order: 1; }

.show__media { display: flex; justify-content: center; }
.show__media img {
  width: 100%; max-width: 288px; height: auto;
  filter: drop-shadow(0 0px 54px rgba(0,0,0,.20));
}
.show__media--watch img { max-width: 232px; }
.show__media--pair { gap: 18px; align-items: flex-start; }
.show__media--pair img { max-width: 172px; }

.show__n {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--line-2);
}
.show__text h3 {
  font-size: clamp(23px, 3.1vw, 31px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.15; margin: 10px 0 14px;
}
.show__text p { font-size: 16.5px; color: var(--ink-2); max-width: 480px; }
.show__text .page__note {
  margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3);
  max-width: 480px;
}

/* centered section heads (intro · use cases · pricing) */
#features .section__head,
#usecases .section__head,
.pricing .section__head {
  margin-left: auto; margin-right: auto; text-align: center;
}

/* ---------- HOW ---------- */
.how {
  background: var(--black); color: var(--white);
}
.how {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 72px 56px; border-radius: 28px;
}
.how { margin: 40px auto; width: calc(100% - 48px); }
.how .kicker { color: #9a9a9a; }
.how h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.03em; margin: 14px 0 16px; line-height: 1.1; }
.how__sub, .how p { color: #c4c4c4; font-size: 16px; }
.how__steps { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.how__steps li { display: flex; gap: 14px; align-items: center; }
.how__steps b {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #3a3a3a; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; color: #fff;
}
.how__steps span { font-size: 15px; color: #dcdcdc; }
.how__vis {
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  border: 1px solid #262626; border-radius: 20px; padding: 40px 28px; background: #141414;
}
.wave { display: flex; align-items: center; gap: 12px; width: 100%; font-family: var(--mono); font-size: 12px; color: #8a8a8a; }
.wave__line { flex: 1; height: 2px; background: #333; position: relative; overflow: hidden; border-radius: 2px; }
.wave__line i {
  position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: #fff;
  animation: slide 1.6s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes slide { to { left: 100%; } }
.how__num { text-align: center; }
.how__num span { font-family: var(--mono); font-size: 40px; font-weight: 700; color: #fff; }
.how__num small { display: block; font-size: 12px; color: #8a8a8a; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }

/* ---------- USE CASES ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: background .2s, color .2s;
}
.case:hover { background: var(--black); color: var(--white); }
.case:hover p { color: #c4c4c4; }
.case:hover .case__n { color: #444; }
.case__n { font-family: var(--mono); font-size: 34px; font-weight: 700; color: var(--line-2); }
.case h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 8px; }
.case p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- PRICING ---------- */
.pricing .section__head { margin-left: auto; margin-right: auto; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; position: relative;
}
.plan--pro { background: var(--black); color: var(--white); border-color: var(--black); }
.plan__tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: #fff; color: #0a0a0a; border-radius: 999px; padding: 4px 12px;
}
.plan__name { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.plan--pro .plan__name { color: #9a9a9a; }
.plan__price { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; margin: 10px 0 22px; }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.plan--pro .plan__price small { color: #9a9a9a; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan li { font-size: 15px; padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.plan li.muted { color: var(--ink-3); }
.plan li.muted::before { content: "·"; }

/* ---------- CTA ---------- */
.cta {
  max-width: var(--max); margin: 40px auto; width: calc(100% - 48px);
  background: var(--panel); border-radius: 28px;
  padding: 80px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cta__icon { width: 76px; height: 76px; border-radius: 20px; border: 1px solid var(--line); margin-bottom: 6px; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.03em; }
.cta p { color: var(--ink-2); font-size: 17px; margin-bottom: 12px; }

/* ---------- FOOTER ---------- */
.footer {
  max-width: var(--max); margin: 0 auto; padding: 44px 24px 60px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  border-top: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.footer__brand img { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line); }
.footer__links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
.footer__dev {
  width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-3);
}
.footer__by b { color: var(--ink-2); font-weight: 700; }
.footer__social {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; color: var(--ink-2);
}
.footer__social:hover { color: var(--ink); text-decoration: underline; }
.footer__copy { width: 100%; font-size: 13px; color: var(--ink-3); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 64px; }
  .show { grid-template-columns: 1fr; gap: 20px; text-align: center; justify-items: center; }
  .show:nth-child(odd) .show__media,
  .show:nth-child(odd) .show__text { order: 0; }
  .show__text p, .page__note { margin-left: auto; margin-right: auto; }
  .show__media img { max-width: 250px; }
  .show__media--watch img { max-width: 210px; }
  .show__media--pair img { max-width: 150px; }
  .how { grid-template-columns: 1fr; padding: 48px 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav__links { display: none; }
  .cases, .plans { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .hero__title { font-size: 42px; }
  .show__media img { max-width: 220px; }
}
