:root {
  --feature-max: 1180px;
  --feature-panel: rgba(27, 22, 16, 0.82);
  --feature-panel-strong: rgba(43, 31, 20, 0.94);
  --feature-glow: rgba(214, 164, 80, 0.16);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  background:
    radial-gradient(circle at 82% 4%, rgba(58, 111, 71, 0.2), transparent 34rem),
    radial-gradient(circle at 8% 8%, rgba(214, 164, 80, 0.2), transparent 34rem),
    linear-gradient(180deg, #17100b 0%, #090806 38%, #050504 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner,
.feature-page,
.site-footer__inner {
  width: min(100% - 2rem, var(--feature-max));
}

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

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav {
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  line-height: 1;
}

.nav-primary {
  border: 1px solid rgba(247, 227, 163, 0.35);
  border-radius: 999px;
  background: rgba(214, 164, 80, 0.12);
}

.feature-page {
  margin-inline: auto;
  padding-block: clamp(2.75rem, 7vw, 6rem);
}

.hero {
  position: relative;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -2rem;
  right: -4rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(52, 107, 72, 0.12);
  content: "";
  filter: blur(70px);
}

.hero__copy {
  max-width: 900px;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  letter-spacing: -0.055em;
}

.hero .lede {
  max-width: 800px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button--primary {
  border-color: #efc466;
  color: #20150c;
  background: linear-gradient(180deg, #f5d47c, #d59d3c);
  box-shadow: 0 12px 34px rgba(207, 145, 47, 0.16);
}

.button--primary:hover {
  color: #100b07;
  background: linear-gradient(180deg, #ffe49b, #e4ae4a);
}

.button--quiet {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.035);
}

.button--quiet:hover {
  border-color: rgba(247, 227, 163, 0.62);
  color: #fff3c4;
  background: rgba(255, 255, 255, 0.07);
}

.demo {
  margin: clamp(2.4rem, 6vw, 4.4rem) 0 0;
}

.demo__frame {
  overflow: hidden;
  border: 1px solid rgba(225, 177, 92, 0.45);
  border-radius: clamp(16px, 3vw, 28px);
  background: #000;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  background: #000;
}

.demo figcaption,
.phone-shot figcaption {
  color: rgba(247, 235, 201, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.demo figcaption {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.8rem;
}

.demo figcaption span {
  color: var(--gold);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2.4rem, 5vw, 4rem) 0 0;
  border-block: 1px solid var(--line);
}

.quick-facts div {
  padding: 1.35rem clamp(1rem, 3vw, 1.65rem);
}

.quick-facts div + div {
  border-left: 1px solid var(--line);
}

.quick-facts dt {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.quick-facts dd {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-intro,
.hardware,
.download {
  margin-top: clamp(5rem, 11vw, 9rem);
}

.feature-intro > h2,
.hardware__heading > h2,
.download h2 {
  max-width: 900px;
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  line-height: 1.08;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.capability-grid article {
  min-height: 230px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background:
    radial-gradient(circle at 90% 0%, var(--feature-glow), transparent 12rem),
    linear-gradient(145deg, rgba(35, 27, 19, 0.98), rgba(15, 12, 9, 0.98));
}

.capability-grid__number {
  color: rgba(247, 227, 163, 0.46);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.capability-grid h3 {
  margin-top: 2.6rem;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 500;
}

.capability-grid p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.feature-stories {
  display: grid;
  gap: clamp(5rem, 12vw, 9rem);
  margin-top: clamp(6rem, 13vw, 10rem);
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(2.4rem, 8vw, 7rem);
  align-items: center;
}

.feature-story--reverse .feature-story__copy {
  order: 2;
}

.feature-story--reverse .phone-shot {
  order: 1;
}

.feature-story__copy h2 {
  max-width: 680px;
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.08;
}

.feature-story__copy > p:not(.eyebrow):not(.fine-print) {
  max-width: 690px;
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.58rem;
  height: 0.34rem;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  content: "";
  transform: rotate(-45deg);
}

.fine-print {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(214, 164, 80, 0.58);
  color: rgba(247, 235, 201, 0.6);
  background: rgba(61, 39, 24, 0.26);
  font-size: 0.84rem;
}

.phone-shot {
  width: min(100%, 370px);
  margin: 0 auto;
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15.4% / 7.1%;
  background: #0b0b08;
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(247, 227, 163, 0.18);
}

.phone-shot figcaption {
  margin-top: 0.9rem;
  text-align: center;
}

.hardware {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 10%, rgba(58, 111, 71, 0.24), transparent 24rem),
    linear-gradient(145deg, rgba(44, 31, 20, 0.94), rgba(14, 12, 9, 0.97));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.hardware__heading {
  max-width: 900px;
}

.hardware__heading > p:last-child,
.download > div > p:not(.eyebrow) {
  max-width: 760px;
}

.hardware-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.6fr);
  gap: 2rem;
  align-items: center;
  margin-top: 2.4rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(247, 227, 163, 0.22);
  border-radius: 18px;
  background: rgba(4, 5, 4, 0.5);
}

.hardware-card__label {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hardware-card h3 {
  margin: 0.45rem 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
}

.hardware-card__actions {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.text-link {
  font-size: 0.86rem;
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.setup-steps li {
  padding: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.setup-steps span {
  display: inline-flex;
  width: 1.8rem;
  height: 1.8rem;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  border: 1px solid rgba(214, 164, 80, 0.55);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
}

.setup-steps strong {
  color: var(--ink);
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  border-block: 1px solid var(--line);
}

.download .button {
  margin-top: 1rem;
}

.store-panel {
  padding: clamp(1.3rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--feature-panel);
}

.store-badges {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.store-badge {
  display: inline-flex;
  width: 220px;
  min-height: 76px;
  align-items: center;
  justify-content: center;
}

.store-badge img {
  display: block;
  width: auto;
}

.store-badge--apple img {
  height: 54px;
}

.store-badge--google img {
  height: 76px;
}

.store-panel__note {
  margin: 0.8rem 0 0;
  color: rgba(247, 235, 201, 0.52);
  font-size: 0.78rem;
  line-height: 1.55;
}

.feature-footer {
  align-items: flex-start;
  padding-block: 2rem 3rem;
}

.feature-footer > div {
  max-width: 820px;
}

.feature-footer p {
  margin: 0.7rem 0 0;
  color: rgba(247, 235, 201, 0.42);
  font-size: 0.72rem;
  line-height: 1.55;
}

.feature-footer nav {
  display: grid;
  gap: 0.65rem;
}

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

  .button {
    transition: none;
  }
}

@media (max-width: 900px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-story {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
    gap: 2.5rem;
  }

  .hardware-card,
  .download {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: relative;
  }

  .hero::before {
    right: 0;
    width: 16rem;
    height: 16rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14.5vw, 4.4rem);
  }

  .quick-facts,
  .capability-grid,
  .setup-steps {
    grid-template-columns: 1fr;
  }

  .quick-facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .capability-grid article {
    min-height: 0;
  }

  .capability-grid h3 {
    margin-top: 1.4rem;
  }

  .feature-story {
    grid-template-columns: 1fr;
  }

  .feature-story--reverse .feature-story__copy,
  .feature-story--reverse .phone-shot {
    order: initial;
  }

  .phone-shot {
    width: min(82vw, 360px);
  }

  .hardware {
    border-radius: 18px;
  }

  .store-panel {
    padding: 1rem;
  }

}

@media (max-width: 420px) {
  .hero__actions .button,
  .hardware-card__actions .button {
    width: 100%;
  }

}
