:root {
  --sage: #a9b295;
  --sage-deep: #8a9674;
  --ink: #1c1f1a;
  --muted: #4a5244;
  --surface: #f4f6f0;
  --surface-2: #e8ece2;
  --line: #c9d0bf;
  --error: #8b2e2e;
  --ok: #2f5d3a;
  --radius: 14px;
  --max: 920px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d5dbc8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #c5cdb6 0%, transparent 50%),
    linear-gradient(180deg, var(--sage) 0%, var(--surface) 42%, var(--surface) 100%);
  line-height: 1.45;
}

.page {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
}

.hero {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.brand {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.descriptor {
  margin: 0.45rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.eyebrow {
  margin: 0.55rem 0 0;
  color: var(--sage-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.tagline {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
}

.lede {
  margin: 0.9rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.android-note {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.android-note a {
  color: var(--ink);
  text-underline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #2a3127;
}

.btn-tonal {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(28, 31, 26, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 31, 26, 0.28);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.showcase {
  --phone-w: min(78vw, 280px);
  --phone-gap: 0.85rem;
  margin: 0.5rem 0 2.25rem;
}

.showcase-caption {
  margin: 0 0 0.85rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  min-height: 3.1rem;
}

.showcase-caption strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.showcase-track {
  display: flex;
  align-items: stretch;
  gap: var(--phone-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc((100% - var(--phone-w)) / 2);
  padding: 0.5rem calc((100% - var(--phone-w)) / 2) 1rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  /* pan-y so vertical page scroll wins by default; JS axis-lock takes
     over only after a clearly horizontal swipe (see landing.js). */
  touch-action: pan-y;
  scrollbar-width: none;
  outline: none;
  cursor: grab;
}

.showcase-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.phone {
  margin: 0;
  flex: 0 0 var(--phone-w);
  width: var(--phone-w);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  text-align: center;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 2px solid var(--line);
  box-shadow: 0 18px 40px rgba(28, 31, 26, 0.18);
  background: var(--surface-2);
  opacity: 0.72;
  transform: scale(0.94);
  transform-origin: center center;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.phone.is-active img {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 22px 48px rgba(28, 31, 26, 0.22);
}

.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.showcase-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 160ms ease, background-color 160ms ease;
}

.showcase-dots button.is-active {
  width: 1.25rem;
  background: var(--sage-deep);
}

.showcase-hint {
  margin: 0.55rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.benefits {
  margin: 0 0 2.5rem;
}

.benefits h2,
.request h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.benefits li {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(28, 31, 26, 0.08);
  border-radius: var(--radius);
  color: var(--muted);
}

.benefits li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.request {
  padding: 1.4rem 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(28, 31, 26, 0.08);
  border-radius: calc(var(--radius) + 4px);
}

.request-lead {
  margin: -0.35rem 0 1.1rem;
  color: var(--muted);
}

#access-form fieldset.platforms {
  margin: 0.15rem 0 0;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid rgba(28, 31, 26, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  display: grid;
  gap: 0.45rem;
}

#access-form fieldset.platforms legend {
  padding: 0 0.35rem;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--ink);
}

#access-form label.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--muted);
}

#access-form label.check input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--sage-deep);
}

#access-form {
  display: grid;
  gap: 0.85rem;
}

#access-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

#access-form input,
#access-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

#access-form input:focus,
#access-form textarea:focus {
  outline: 2px solid var(--sage-deep);
  outline-offset: 1px;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.status {
  margin: 0.25rem 0 0;
  font-weight: 600;
}

.status.ok {
  color: var(--ok);
}

.status.err {
  color: var(--error);
}

.footer {
  margin-top: 2.5rem;
  text-align: center;
}

.aside {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}

.legal {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal a {
  color: var(--ink);
}

@media (min-width: 821px) {
  .showcase {
    --phone-w: 240px;
  }
}

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

  .btn,
  .phone img {
    transition: none;
  }
}
