:root {
  --bg: #070b12;
  --surface: #101722;
  --surface-2: #151f2d;
  --ink: #f7f9fc;
  --muted: #b5bfcc;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff7a2f;
  --orange-dark: #e35d18;
  --sky: #23a8f2;
  --gold: #ffd166;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #10141d 0, #070b12 640px),
    var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  border-radius: 6px;
  background: var(--orange);
  color: #140702;
  font-weight: 800;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 18, 28, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell,
.hero-inner,
.stats-strip,
.section,
.download-band,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 122, 47, 0.5);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #d9e1ec;
  font-weight: 750;
}

.nav-links a {
  padding: 0.55rem 0;
}

.nav-links a:hover {
  color: #fff;
}

.nav-download,
.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
}

.nav-download,
.primary-button {
  border: 1px solid rgba(255, 171, 91, 0.42);
  background: linear-gradient(180deg, #ffa33f, var(--orange));
  color: #170702;
  box-shadow: 0 16px 32px rgba(255, 122, 47, 0.18);
}

.nav-download {
  padding: 0.78rem 1rem;
}

.primary-button {
  padding: 0.95rem 1.25rem;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #f5f7fb;
  padding: 0.95rem 1.15rem;
}

.hero {
  position: relative;
  padding: 3.6rem 0 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 122, 47, 0.12), transparent 48%),
    radial-gradient(circle at 80% 22%, rgba(35, 168, 242, 0.16), transparent 36rem);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.4rem;
}

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

/* Phone mockup */
.phone {
  position: relative;
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
  padding: 11px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2a3445, #11161f);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.04);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 92px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #05080d;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.phone-hero {
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
}

.phone-back {
  position: absolute;
  z-index: 1;
  right: 4%;
  top: 8%;
  max-width: 220px;
  opacity: 0.92;
  transform: rotate(7deg);
  filter: saturate(0.95);
}

.hero-glow {
  position: absolute;
  inset: 12% 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 47, 0.28), transparent 65%);
  filter: blur(36px);
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-lede {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.hero-copy .hero-actions,
.hero-copy .hero-notes {
  justify-content: flex-start;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.1rem;
  font-size: 3.75rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0.85rem;
  font-size: 2.65rem;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.15rem 0 0.8rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.2rem 0 0;
  padding: 0;
  color: #d6deeb;
  list-style: none;
}

.hero-notes li {
  position: relative;
  padding-left: 1.1rem;
}

.hero-notes li::before {
  position: absolute;
  left: 0;
  top: 0.67rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -1px;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background: var(--line);
}

.stats-strip div {
  background: rgba(16, 23, 34, 0.96);
  padding: 1.1rem;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 5.4rem 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p,
.download-band p,
.feature-card p,
.steps span,
.faq-list p {
  color: var(--muted);
}

.feature-grid,
.steps {
  display: grid;
  gap: 1rem;
}

.feature-card,
.steps li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 23, 34, 0.94);
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 1.4rem 1.2rem;
  min-height: 180px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 122, 47, 0.5);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 122, 47, 0.45);
  background: rgba(255, 122, 47, 0.12);
  color: var(--orange);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Screenshots gallery */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.screen-card {
  margin: 0;
  text-align: center;
}

.screen-card .phone {
  transition: transform 0.25s ease;
}

.screen-card:hover .phone {
  transform: translateY(-6px);
}

.screen-card figcaption {
  margin-top: 1.1rem;
}

.screen-card figcaption strong {
  display: block;
  font-size: 1.05rem;
}

.screen-card figcaption span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-band {
  margin-top: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  border: 1px solid rgba(255, 122, 47, 0.42);
  border-radius: 8px;
  background: linear-gradient(110deg, rgba(255, 122, 47, 0.16), rgba(16, 23, 34, 0.96));
  padding: 1.5rem;
}

.download-band div {
  max-width: 720px;
}

.download-band h2,
.download-band p {
  margin-bottom: 0;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 150px;
  padding: 1.2rem 1rem 1rem 4rem;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 122, 47, 0.55);
  border-radius: 50%;
  background: #26151a;
  color: var(--gold);
  content: counter(step);
  font-weight: 950;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 0.32rem;
}

.faq-section {
  padding-bottom: 5rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 0.95rem 1rem;
}

summary {
  cursor: pointer;
  color: #fff;
  font-weight: 850;
}

.faq-list p {
  margin: 0.75rem 0 0;
}

.faq-list a {
  color: var(--gold);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2rem;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong,
.site-footer a {
  color: #fff;
}

.site-footer a {
  color: var(--gold);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy .hero-actions,
  .hero-copy .hero-notes {
    justify-content: center;
  }

  .hero-visual {
    min-height: 0;
    order: 2;
  }

  h1,
  .hero-lede,
  .section-heading {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-notes {
    gap: 0.7rem 1.2rem;
  }

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

  .screens-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
    min-height: 72px;
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .nav-download {
    padding: 0.72rem 0.85rem;
  }

  .hero {
    padding: 3rem 0 3rem;
  }

  .hero-inner,
  .stats-strip,
  .section,
  .download-band,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    max-width: 9ch;
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .stats-strip,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .screens-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .phone-back {
    display: none;
  }

  .phone-hero {
    transform: none;
  }

  .download-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

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