:root {
  --paper: #f5f7ff;
  --ink: #101412;
  --soft: #6a736c;
  --accent: #26d821;
  --accent-deep: #2ad428;
  --accent-soft: #e9fff0;
  --accent-mint: #d3ecdb;
  --accent-wash: rgba(38, 216, 33, 0.16);
  --line: rgba(16, 20, 18, 0.12);
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 30px;
  background:
    radial-gradient(circle at 80% 79%, var(--accent-wash), transparent 27%),
    linear-gradient(135deg, rgba(233, 255, 240, 0.34), transparent 46%),
    var(--paper);
}

.nav-wrap {
  display: flex;
  width: min(1320px, 100%);
  height: 85px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.05em;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 6px 15px rgba(16, 17, 18, 0.13);
}

.brand-mark img { display: block; width: 100%; height: 100%; }

.nav-note {
  margin-left: auto;
  margin-right: 24px;
  color: #7a857c;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.nav-link {
  display: inline-flex;
  height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(16, 17, 18, 0.04);
}

.nav-link:hover { background: white; }

.hero {
  display: grid;
  width: min(1320px, 100%);
  min-height: calc(100svh - 130px);
  margin: auto;
  grid-template-columns: minmax(325px, 0.72fr) minmax(570px, 1.28fr);
  align-items: center;
  gap: clamp(35px, 5vw, 100px);
  padding: 31px 0 72px;
}

.hero-copy { position: relative; z-index: 1; padding-bottom: 10px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #5f6b62;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.eyebrow svg { width: 13px; color: var(--accent-deep); }

h1 {
  max-width: 510px;
  margin: 0;
  font-size: clamp(53px, 5.35vw, 84px);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: -0.082em;
}

h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--ink);
  font-style: normal;
  text-decoration: none;
  isolation: isolate;
}

h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.02em;
  left: -0.04em;
  height: 0.62em;
  background: linear-gradient(180deg, rgba(38, 216, 33, 0.56), rgba(38, 216, 33, 0.82));
  clip-path: polygon(3% 6%, 100% 0, 97% 94%, 0 100%);
  content: "";
  transform: rotate(-1.5deg);
  transform-origin: center;
}

.hero-description {
  max-width: 360px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.download-link {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 19px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 720;
  box-shadow: 0 10px 22px rgba(38, 216, 33, 0.32);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.download-link:hover {
  background: #1fc41b;
  box-shadow: 0 13px 26px rgba(38, 216, 33, 0.4);
  transform: translateY(-2px);
}

.download-link:focus-visible {
  outline: 3px solid rgba(38, 216, 33, 0.42);
  outline-offset: 3px;
}

.download-link svg { width: 16px; }

.system-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7a857c;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
}

.system-note svg { width: 13px; }

.runtime-shot {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 12px;
  transform: translateY(5px);
}

.shot-glow {
  position: absolute;
  inset: 17% 8% 5%;
  z-index: 0;
  border-radius: 45%;
  background: rgba(38, 216, 33, 0.28);
  filter: blur(46px);
}

.runtime-shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(16, 17, 18, 0.13);
  border-radius: 17px;
  background: #1a1717;
  box-shadow: 0 34px 55px rgba(38, 33, 29, 0.22), 0 10px 18px rgba(38, 33, 29, 0.1);
}

.runtime-shot figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: -6px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 17, 18, 0.1);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 16px rgba(16, 17, 18, 0.1);
  color: #3d463f;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.runtime-shot figcaption span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(38, 216, 33, 0.16);
}

.bottom-line {
  position: absolute;
  bottom: 24px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: #849089;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 30px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-description { margin-inline: auto; }
  .runtime-shot { width: min(760px, 100%); margin: -4px auto 0; }
  .bottom-line { position: static; padding: 0 0 23px; transform: none; text-align: center; }
  .page-shell { min-height: auto; }
}

@media (max-width: 560px) {
  .page-shell { padding: 0 16px; }
  .nav-wrap { height: 70px; }
  .nav-note { display: none; }
  .nav-link { height: 36px; padding: 0 13px; font-size: 12px; }
  .hero { min-height: auto; padding: 40px 0 28px; }
  .eyebrow { margin-bottom: 16px; font-size: 10px; }
  h1 { font-size: clamp(47px, 14vw, 66px); }
  .hero-description { max-width: 330px; margin-top: 20px; font-size: 14px; }
  .hero-actions { margin-top: 24px; }
  .download-link { height: 46px; font-size: 13px; }
  .system-note { display: none; }
  .runtime-shot { width: 128%; margin-left: -14%; padding: 5px; }
  .runtime-shot img { border-radius: 11px; }
  .runtime-shot figcaption { right: 12%; bottom: -10px; transform: scale(0.86); transform-origin: right center; }
  .bottom-line { padding-bottom: 16px; font-size: 9px; }
}

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