:root {
  --graphite: #14212c;
  --graphite-2: #1f3443;
  --ink: #0c141b;
  --muted: #60707b;
  --orange: #fc6d14;
  --orange-2: #ff9a3d;
  --paper: #f4efe7;
  --paper-2: #fffaf1;
  --line: rgba(20, 33, 44, 0.16);
  --shadow: 0 28px 90px rgba(20, 33, 44, 0.18);
  --radius-xl: 34px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 8%, rgba(252, 109, 20, 0.2), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(20, 33, 44, 0.18), transparent 26rem),
    linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 48%, #e7ded1 100%);
  font-family: "Aptos", "Trebuchet MS", sans-serif;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(20, 33, 44, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 33, 44, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--max) + 48px);
  margin: 18px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 18px 52px rgba(20, 33, 44, 0.08);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(20, 33, 44, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--orange);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.header-cta {
  color: #fff;
  background: var(--graphite);
}

.section-shell {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 108px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding-top: 82px;
}

.hero-copy,
.app-screens-showcase {
  min-width: 0;
  max-width: 100%;
}

.section-label {
  margin: 0 0 20px;
  color: var(--orange);
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  color: var(--graphite);
  letter-spacing: -0.065em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.88;
  overflow-wrap: break-word;
}

.title-mobile {
  display: none;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.94;
}

h3 {
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-text,
.section-intro p,
.release-copy p,
.roadmap-card p,
.demo-flow p,
.download-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 18px;
}

.hero-note {
  display: inline-flex;
  max-width: 650px;
  margin-bottom: 34px;
  padding: 13px 16px;
  border: 1px solid rgba(252, 109, 20, 0.22);
  border-radius: 18px;
  background: rgba(252, 109, 20, 0.08);
  color: var(--graphite-2);
  font-weight: 850;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 18px 40px rgba(252, 109, 20, 0.26);
}

.button-secondary {
  color: var(--graphite);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.app-screens-showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 700px;
  padding: 0;
}

.app-screen-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border: 0;
  background: transparent;
}

.app-screen-card img {
  width: 100%;
  height: auto;
}

.app-screen-main {
  width: min(100%, 392px);
  margin: 0 auto;
}

.app-screen-phone {
  overflow: visible;
}

.app-screen-phone img {
  border-radius: 44px;
  filter: drop-shadow(0 34px 70px rgba(20, 33, 44, 0.28));
}

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 22px 70px rgba(20, 33, 44, 0.08);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 56px;
  color: var(--orange);
  font-family: "Bahnschrift", sans-serif;
  font-size: 40px;
  font-weight: 800;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

.release-board {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 36px;
  align-items: stretch;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.release-board h2 {
  color: white;
}

.release-board .section-label,
.release-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.scope-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 18px 20px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.scope-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(252, 109, 20, 0.12);
}

.roadmap-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.roadmap-card {
  min-height: 390px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 241, 0.76);
  border: 1px solid var(--line);
}

.roadmap-card-dark {
  color: white;
  background:
    radial-gradient(circle at 80% 10%, rgba(252, 109, 20, 0.3), transparent 16rem),
    var(--graphite);
}

.roadmap-card-dark h2,
.roadmap-card-dark p {
  color: white;
}

.roadmap-card-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.roadmap-state {
  display: inline-flex;
  margin-bottom: 84px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(252, 109, 20, 0.12);
  font-weight: 900;
}

.demo-flow {
  padding: 38px;
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 241, 0.76);
  border: 1px solid var(--line);
}

.scenario-screen {
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  background: var(--graphite);
  box-shadow: 0 22px 70px rgba(20, 33, 44, 0.1);
}

.scenario-screen img {
  width: 100%;
  height: auto;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.flow-steps div {
  padding: 20px;
  min-height: 170px;
  border-radius: 24px;
  background: rgba(20, 33, 44, 0.07);
}

.flow-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: white;
  border-radius: 50%;
  background: var(--graphite);
  font-weight: 900;
}

.download-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 38px;
  align-items: start;
}

.download-panel {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 12%, rgba(252, 109, 20, 0.16), transparent 14rem),
    white;
  box-shadow: var(--shadow);
}

.download-panel h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.download-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.download-panel strong {
  color: var(--graphite);
}

.download-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, var(--graphite), var(--graphite-2));
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 44px rgba(20, 33, 44, 0.18);
}

.install-steps {
  display: grid;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--graphite-2);
  font-weight: 800;
  line-height: 1.45;
  counter-increment: install-step;
}

.install-steps li::before {
  content: counter(install-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--orange);
  font-family: "Bahnschrift", sans-serif;
  font-weight: 900;
}

.download-note {
  padding: 14px 16px;
  border: 1px solid rgba(252, 109, 20, 0.2);
  border-radius: 16px;
  background: rgba(252, 109, 20, 0.08);
}

.download-code {
  padding: 16px 18px;
  border: 1px solid rgba(20, 33, 44, 0.12);
  border-radius: 18px;
  background: var(--cream);
}

.download-code strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  margin-left: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--graphite);
  color: white;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  letter-spacing: 0.08em;
}

.legal-doc a {
  color: var(--orange);
  font-weight: 900;
}

.wide {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 24px 58px;
  color: var(--graphite);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: rgba(20, 33, 44, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 15px;
}

.legal-header {
  margin-bottom: 18px;
}

.legal-page {
  padding-top: 64px;
}

.legal-doc {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 241, 0.88);
  box-shadow: var(--shadow);
}

.legal-doc h1 {
  max-width: none;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.legal-doc h2 {
  margin-top: 42px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
}

.legal-doc h3 {
  margin-top: 30px;
}

.legal-doc p,
.legal-doc li {
  color: var(--graphite-2);
  font-size: 17px;
  line-height: 1.72;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 24px;
}

.legal-doc code {
  padding: 2px 6px;
  border-radius: 8px;
  color: var(--graphite);
  background: rgba(252, 109, 20, 0.12);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.92em;
}

.legal-warning {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid rgba(252, 109, 20, 0.24);
  border-radius: 18px;
  color: #7a3f16;
  background: rgba(252, 109, 20, 0.1);
  font-weight: 800;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.legal-card {
  display: grid;
  gap: 10px;
  min-height: 124px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.legal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(252, 109, 20, 0.45);
}

.legal-card strong {
  color: var(--graphite);
  font-size: 19px;
}

.legal-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

.legal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: white;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(20, 33, 44, 0.1);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: white;
  background: var(--graphite);
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal,
  .button {
    transition: none;
  }
}

@media (max-width: 940px) {
  .site-header {
    margin-inline: 12px;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .release-board,
  .roadmap-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .site-header {
    border-radius: 24px;
  }

  .header-cta {
    display: none;
  }

  .section-shell {
    padding: 74px 18px;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 50px);
    letter-spacing: -0.055em;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: inline;
  }

  .hero-copy,
  .app-screens-showcase,
  .hero-text {
    max-width: min(100%, 354px);
  }

  .app-screens-showcase,
  .release-board,
  .demo-flow,
  .download-panel {
    padding: 22px;
    border-radius: 26px;
  }

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

  .roadmap-card,
  .feature-card {
    min-height: auto;
  }

  .app-screens-showcase {
    min-height: auto;
    margin-inline: auto;
    padding: 0;
  }

  .app-screen-main {
    width: min(100%, 320px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links,
  .legal-grid {
    justify-content: flex-start;
    grid-template-columns: 1fr;
  }
}
