:root {
  --bg: #07090d;
  --bg-elevated: #10151c;
  --bg-panel: #161d27;
  --line: #2a3544;
  --text: #f4f7fb;
  --muted: #9aa8b8;
  --accent: #f5c518;
  --accent-ink: #1a1400;
  --teal: #37c2a6;
  --danger: #e05c5c;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(245, 197, 24, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(55, 194, 166, 0.12), transparent 50%),
    linear-gradient(180deg, #0b1017 0%, var(--bg) 40%, #05070a 100%);
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffe28a;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 13, 0.78);
  border-bottom: 1px solid rgba(42, 53, 68, 0.7);
}

.site-header__inner,
.section-inner,
.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--accent);
  border-radius: 0.45rem;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.chip input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--secondary:hover {
  border-color: var(--muted);
}

.hero {
  padding: 3.25rem 0 2.5rem;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 920px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1,
.section h2 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  max-width: 14ch;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.status-banner {
  border: 1px solid rgba(55, 194, 166, 0.35);
  background: rgba(55, 194, 166, 0.08);
  color: #d7fff4;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  max-width: 40rem;
  font-size: 0.95rem;
}

.status-banner--paused {
  border-color: rgba(224, 166, 60, 0.45);
  background: rgba(224, 166, 60, 0.1);
  color: #ffe7b8;
}

/* Hero device: size from width only so the 9:16 screenshot never stretches. */
.hero__device {
  justify-self: center;
  margin: 0 auto;
  width: min(220px, 62vw);
  padding: 0.55rem;
  border-radius: 26px;
  background: linear-gradient(160deg, #2a3340, #0d1218);
  box-shadow: var(--shadow);
  animation: float-in 700ms ease both;
}

.hero__device picture {
  display: block;
  line-height: 0;
}

.hero__screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #f7f4ec;
}

@media (min-width: 920px) {
  .hero__device {
    width: min(250px, 100%);
    justify-self: end;
    margin-right: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .hero__device {
    width: 270px;
  }
}

@media (min-width: 920px) and (max-height: 780px) {
  .hero__device {
    width: min(210px, 100%);
  }

  .hero {
    padding-block: 2.5rem;
  }
}

.walk-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: rgba(16, 21, 28, 0.55);
  border-block: 1px solid rgba(42, 53, 68, 0.55);
}

.section__intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__intro p {
  color: var(--muted);
  margin: 0;
}

.walkthrough {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .walkthrough {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .walkthrough {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.walk-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: float-in 650ms ease both;
}

.walk-card:nth-child(2) { animation-delay: 60ms; }
.walk-card:nth-child(3) { animation-delay: 120ms; }
.walk-card:nth-child(4) { animation-delay: 180ms; }
.walk-card:nth-child(5) { animation-delay: 240ms; }
.walk-card:nth-child(6) { animation-delay: 300ms; }

.walk-card__media {
  aspect-ratio: 9 / 16;
  background: #0a0e14;
  overflow: hidden;
}

.walk-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #f7f4ec;
}

.walk-card__body {
  padding: 1rem 1.1rem 1.2rem;
}

.walk-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.walk-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.walk-card--feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 14rem;
  padding-top: 1.25rem;
}

.walk-card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(55, 194, 166, 0.28);
  background: linear-gradient(160deg, rgba(55, 194, 166, 0.14), rgba(16, 21, 28, 0.4));
  color: var(--teal);
}

.benefits,
.expectations,
.faq {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .benefits,
  .expectations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.panel p,
.panel li {
  color: var(--muted);
}

.panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.55rem;
  color: var(--accent);
}

.faq p {
  margin: 0;
  color: var(--muted);
}

.apply-shell {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 920px) {
  .apply-shell {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.fieldset-legend {
  font-weight: 650;
  font-size: 0.92rem;
}

.field .hint {
  color: var(--muted);
  font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d1218;
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  display: inline-flex;
  align-items: center;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--muted);
  background: #0d1218;
  font-size: 0.9rem;
}

.chip input:checked + span {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent);
}

.checks {
  display: grid;
  gap: 0.75rem;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
}

.check input {
  margin-top: 0.2rem;
}

.form-error,
.form-success {
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 0.94rem;
}

.form-error {
  background: rgba(224, 92, 92, 0.12);
  border: 1px solid rgba(224, 92, 92, 0.4);
  color: #ffd0d0;
}

.form-success {
  background: rgba(55, 194, 166, 0.12);
  border: 1px solid rgba(55, 194, 166, 0.4);
  color: #d7fff4;
}

.cf-turnstile {
  min-height: 65px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.legal-prose {
  max-width: 48rem;
}

.legal-prose h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.legal-prose h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
}

.owner-review {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1rem;
  background: rgba(245, 197, 24, 0.08);
  color: #ffe9a8;
  border-radius: 0 12px 12px 0;
}

.thanks-card {
  max-width: 40rem;
  margin: 4rem auto;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  font-family: var(--font-display);
  margin-top: 0;
}

.ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #0d1218;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  display: inline-block;
  margin: 0.5rem 0 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
