/* The landing site's one stylesheet: the page, the confirmation pages and
   the standing pages (privacy, terms). Dark, in the app's palette, built for
   a phone first. No fonts or assets load from another origin. */

:root {
  --bg: #131316;
  --bg-alt: #1a1a1f;
  --surface: #23232a;
  --surface-strong: #2c2c35;
  --line: #3a3a44;
  --text: #f2f2f2;
  --text-soft: #b8b8bd;
  --text-muted: #8e8e97;
  --accent: #ff7a1a;
  --accent-deep: #e05f00;
  --on-accent: #1a0d02;
  --accent-tint: #33220f;
  --accent-line: #6b4420;
  --ok: #6fcf7a;
  --radius: 16px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 8.5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap.narrow {
  max-width: 680px;
}

/* Top bar */

.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.pill {
  padding: 6px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Hero */

.hero {
  padding: 40px 0 48px;
  background: linear-gradient(180deg, #1f1710 0%, var(--bg) 70%);
}

.hero-grid {
  display: grid;
  gap: 36px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.fine {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
}

.button.ghost {
  background: transparent;
  color: var(--accent);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: var(--accent-tint);
}

.button.wide {
  width: 100%;
}

:focus-visible {
  outline: 3px solid #ffd2ad;
  outline-offset: 2px;
}

/* Screenshots */

.phone,
.shot {
  margin: 0;
}

.phone {
  width: min(78vw, 300px);
  margin-inline: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #050506;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.phone img {
  width: 100%;
  border-radius: 26px;
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.shot img {
  width: 100%;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pair .phone {
  width: 100%;
  padding: 5px;
  border-radius: 22px;
}

.pair .phone img {
  border-radius: 17px;
}

/* Sections */

.band {
  padding: 56px 0;
}

.band.alt {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}

.section-lead {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.feature {
  display: grid;
  gap: 26px;
  margin-top: 56px;
}

.feature-copy h3 {
  font-size: 1.5rem;
}

.feature-copy p {
  margin-top: 12px;
  color: var(--text-soft);
}

.cards {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.cards li,
.panel,
.note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.cards h3 {
  font-size: 1.1rem;
}

.cards p,
.panel p,
.note p {
  margin-top: 10px;
  color: var(--text-soft);
}

.split {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.panel.gift {
  border-color: var(--accent-line);
  background: var(--accent-tint);
}

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

.steps {
  margin: 12px 0 0;
  padding-left: 1.3em;
  color: var(--text-soft);
}

.steps li {
  margin-top: 8px;
  padding-left: 4px;
}

.steps li::marker {
  color: var(--accent);
  font-weight: 700;
}

.note {
  margin-top: 14px;
  background: transparent;
}

/* Forms */

.form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form .fine {
  margin-top: 0;
  text-align: center;
}

.field label,
.check {
  font-weight: 600;
}

.field label {
  display: block;
  margin-bottom: 8px;
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #565661;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
}

.hint {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check input {
  width: 24px;
  height: 24px;
  accent-color: var(--accent);
}

.promise {
  padding: 12px 14px;
  border-left: 3px solid var(--ok);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* The field people never see; a filled one marks an automated submission. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Privacy notice and standing pages */

.notice dl {
  margin: 20px 0 0;
}

.notice dt {
  margin-top: 18px;
  font-weight: 700;
}

.notice dd {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.97rem;
}

.prose {
  padding: 40px 0 56px;
}

.prose h1 {
  font-size: clamp(1.9rem, 7vw, 2.6rem);
}

.prose h2 {
  margin-top: 36px;
  font-size: 1.35rem;
}

.prose h3 {
  margin-top: 24px;
  font-size: 1.1rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 12px;
  color: var(--text-soft);
}

.prose li {
  margin-top: 6px;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface);
  font-size: 0.9em;
}

.prose table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.prose th:last-child,
.prose td:last-child {
  padding-right: 0;
}

.prose th {
  color: var(--text);
  font-weight: 700;
}

.prose td {
  color: var(--text-soft);
}

/* Confirmation and message pages */

.single {
  display: grid;
  min-height: 70vh;
  padding: 48px 0;
  place-items: center;
}

.single .panel {
  padding: 28px 24px;
}

.single h1 {
  font-size: clamp(1.7rem, 7vw, 2.3rem);
}

.single .button {
  margin-top: 24px;
}

.tick {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.7rem;
  font-weight: 800;
  place-items: center;
}

/* Footer */

.foot {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}

.foot a {
  color: var(--text-soft);
}

/* Wider screens */

@media (min-width: 560px) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .form {
    padding: 28px;
  }
}

@media (min-width: 860px) {
  .hero {
    padding: 72px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }

  .phone {
    width: 300px;
  }

  .band {
    padding: 84px 0;
  }

  .feature {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    margin-top: 84px;
  }

  .feature.flip .feature-copy {
    order: 2;
  }

  .pair {
    gap: 18px;
  }

  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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