:root {
  color-scheme: dark;
  --bg: #0d120f;
  --surface: #141c17;
  --surface-strong: #1a251e;
  --line: rgba(230, 238, 224, 0.12);
  --line-strong: rgba(230, 238, 224, 0.2);
  --text: #f3f0e5;
  --muted: #a8b2a8;
  --green: #76d294;
  --green-strong: #9ae6b2;
  --amber: #e7b765;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 45% -20%, rgba(65, 125, 83, 0.16), transparent 35rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.ambient {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(118, 210, 148, 0.1);
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.ambient-one {
  width: 52rem;
  height: 18rem;
  top: 5rem;
  left: -34rem;
  transform: rotate(18deg);
}

.ambient-two {
  width: 42rem;
  height: 20rem;
  top: 31rem;
  right: -29rem;
  border-color: rgba(231, 183, 101, 0.09);
  transform: rotate(-14deg);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(118, 210, 148, 0.45);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(118, 210, 148, 0.23), rgba(118, 210, 148, 0.04));
}

.brand-mark span {
  position: absolute;
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  transform: rotate(-42deg);
}

.brand-mark span:first-child {
  translate: -4px 3px;
}

.brand-mark span:last-child {
  translate: 4px -3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

nav .nav-download {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.25fr);
  align-items: center;
  gap: 72px;
  min-height: 720px;
  padding: 88px 0 98px;
}

.status-pill,
.visual-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(118, 210, 148, 0.22);
  border-radius: 999px;
  background: rgba(118, 210, 148, 0.06);
  color: #b7c6ba;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.status-pill {
  padding: 7px 11px;
  text-transform: uppercase;
}

.status-pill span,
.visual-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(118, 210, 148, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 670px;
  margin: 23px 0 24px;
  font-size: clamp(54px, 6.2vw, 86px);
  line-height: 0.98;
}

.hero-lede {
  max-width: 570px;
  margin-bottom: 30px;
  color: #b6bfb7;
  font-size: 18px;
}

.hero-actions,
.install-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--green-strong);
  color: #0e1a12;
  box-shadow: 0 12px 32px rgba(61, 133, 82, 0.16);
}

.button-primary:hover {
  background: #aff0c1;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(118, 210, 148, 0.45);
}

.compatibility {
  margin: 18px 0 0;
  color: #748078;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  padding-top: 31px;
}

.visual-label {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 34px;
  padding: 7px 12px;
  background: rgba(17, 25, 20, 0.92);
  backdrop-filter: blur(12px);
}

.screenshot-frame {
  overflow: hidden;
  border: 1px solid rgba(236, 242, 230, 0.18);
  border-radius: 22px;
  background: #141815;
  box-shadow: var(--shadow);
  transform: perspective(1300px) rotateY(-5deg) rotateX(1deg);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.signal-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 174px;
  padding: 11px 13px;
  border: 1px solid rgba(234, 241, 227, 0.18);
  border-radius: 14px;
  background: rgba(19, 28, 22, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
}

.signal-card-top {
  top: 24%;
  right: -22px;
}

.signal-card-bottom {
  bottom: 6%;
  left: -32px;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: rgba(118, 210, 148, 0.16);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 800;
}

.avatar.amber {
  background: rgba(231, 183, 101, 0.14);
  color: var(--amber);
}

.signal-card strong,
.signal-card small {
  display: block;
}

.signal-card strong {
  font-size: 12px;
}

.signal-card small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.proof-strip span {
  position: relative;
  padding: 20px 14px;
  color: #b7c1b8;
  font-size: 13px;
  text-align: center;
}

.proof-strip span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.section {
  padding: 132px 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 52px;
}

.section-heading.compact {
  margin-bottom: 38px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
}

.section-heading > p:last-child,
.native-copy > p,
.faq-grid p {
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.step-card {
  min-height: 260px;
  padding: 26px;
}

.step-number {
  display: inline-block;
  margin-bottom: 58px;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

h3 {
  margin-bottom: 9px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.native-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
  padding: 92px;
  border: 1px solid rgba(118, 210, 148, 0.15);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 5%, rgba(118, 210, 148, 0.11), transparent 20rem),
    #111914;
}

.native-copy h2 {
  font-size: clamp(38px, 4.4vw, 58px);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: #c5ccc5;
  font-size: 13px;
}

.check-list span {
  color: var(--green);
}

.board-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #0d130f;
  box-shadow: var(--shadow);
}

.mini-board {
  position: relative;
  aspect-ratio: 1;
  background-color: #d8c7a5;
  background-image:
    conic-gradient(#6d896d 25%, #d8c7a5 0 50%, #6d896d 0 75%, #d8c7a5 0);
  background-position: 0 0;
  background-size: 25% 25%;
}

.mini-board svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mini-board path {
  fill: none;
  stroke: #80d69c;
  stroke-linecap: round;
  stroke-width: 18;
  opacity: 0.86;
}

.mini-board .amber-arrow {
  stroke: #e7b765;
}

.piece {
  position: absolute;
  z-index: 2;
  color: #162019;
  font-family: Georgia, serif;
  font-size: clamp(56px, 7vw, 94px);
  line-height: 1;
  filter: drop-shadow(0 7px 4px rgba(0, 0, 0, 0.18));
}

.piece.knight {
  top: 4%;
  right: 8%;
}

.piece.rook {
  bottom: 4%;
  left: 7%;
  color: #f4ead5;
  text-shadow: 0 1px 0 #18241c;
}

.board-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}

.board-caption span {
  color: var(--green);
  font-size: 12px;
}

.board-caption strong {
  font-size: 12px;
}

.install-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding: 138px 0;
}

.install-section h2 {
  font-size: clamp(44px, 5vw, 64px);
}

.install-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.install-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.install-list span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(118, 210, 148, 0.25);
  border-radius: 50%;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.install-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.install-list strong {
  color: var(--text);
}

code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e7d9;
  font-size: 12px;
}

.install-actions {
  grid-column: 2;
  margin-top: -50px;
}

.text-link {
  color: var(--muted);
  font-size: 13px;
}

.text-link:hover {
  color: var(--text);
}

.questions {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-grid article {
  min-height: 160px;
  padding: 26px;
}

.faq-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.closing {
  margin-bottom: 116px;
  padding: 86px 32px;
  border: 1px solid rgba(231, 183, 101, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 120%, rgba(231, 183, 101, 0.12), transparent 25rem),
    #121914;
  text-align: center;
}

.closing h2 {
  max-width: 720px;
  margin-inline: auto;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: #78827b;
  font-size: 11px;
  text-align: center;
}

footer > div:last-child {
  display: flex;
  gap: 18px;
}

.privacy-page {
  width: min(760px, calc(100% - 48px));
  margin: 80px auto 120px;
}

.privacy-page .back {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.privacy-page h1 {
  font-size: clamp(48px, 8vw, 76px);
}

.privacy-page h2 {
  margin-top: 52px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.privacy-page p,
.privacy-page li {
  color: var(--muted);
}

.privacy-page li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 72px;
  }

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

  .signal-card-top {
    right: 12px;
  }

  .signal-card-bottom {
    left: 12px;
  }

  .native-section {
    grid-template-columns: 1fr;
    padding: 62px;
  }

  .board-card {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  nav > a:not(.nav-download) {
    display: none;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero {
    min-height: 0;
    padding: 64px 0 76px;
  }

  .hero-visual {
    margin-inline: -4px;
  }

  .screenshot-frame {
    transform: none;
  }

  .signal-card {
    display: none;
  }

  .visual-label {
    right: 12px;
  }

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

  .proof-strip span:nth-child(3)::before {
    display: none;
  }

  .section {
    padding: 92px 0;
  }

  .steps-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 220px;
  }

  .native-section {
    gap: 52px;
    padding: 42px 22px;
    border-radius: 22px;
  }

  .install-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 100px 0;
  }

  .install-actions {
    grid-column: auto;
    margin-top: 10px;
  }

  .board-caption {
    display: block;
  }

  .board-caption strong {
    display: block;
    margin-top: 4px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer p {
    max-width: 420px;
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
