:root {
  color-scheme: light;
  --bg: #ece4d8;
  --bg-elevated: #f3ecdf;
  --surface: #e2d8ca;
  --surface-2: #d8ccb9;
  --surface-3: #cdbda8;
  --text: #2a241e;
  --muted: #64594c;
  --subtle: #8c7e6c;
  --border: rgba(42, 36, 30, 0.14);
  --border-strong: #b9a993;
  --accent: #9358e8;
  --accent-strong: #562a93;
  --accent-muted: rgba(147, 88, 232, 0.14);
  --warning: #c88a3d;
  --danger: #9f4e3d;
  --success: #6f9a45;
  --ink: #0d0d0b;
  --dark-surface: #171714;
  --dark-surface-2: #1f1e1a;
  --dark-border: rgba(231, 223, 209, 0.1);
  --shadow: 0 28px 90px rgba(42, 36, 30, 0.18);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    ui-sans-serif,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(42, 36, 30, 0.18);
}

.wordmark,
.mini-wordmark,
.hero-copy h1 {
  font-weight: 700;
  letter-spacing: 0;
}

.wordmark span:last-child,
.mini-wordmark span:last-child,
.hero-copy h1 span:last-child {
  color: var(--accent-strong);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 52px;
  padding: 34px 0 62px;
}

.hero-copy h1,
.policy-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(54px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p,
.policy-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong) !important;
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(86, 42, 147, 0.22);
}

.button:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--inset);
}

.button-secondary:hover {
  background: var(--surface-2);
}

.support-note {
  margin-top: 14px;
  font-size: 14px !important;
}

.phone-frame,
.notice,
.soft-panel,
.steps article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow), var(--inset);
}

.phone-frame {
  justify-self: end;
  width: min(100%, 390px);
  aspect-ratio: 1206 / 2622;
  padding: 0;
  border: 1px solid rgba(42, 36, 30, 0.18);
  border-radius: 34px;
  background: var(--bg);
  box-shadow: 0 28px 90px rgba(42, 36, 30, 0.28);
  overflow: hidden;
}

.app-preview-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.notice {
  padding: 26px 28px;
  margin-bottom: 76px;
  background: var(--bg-elevated);
}

.notice h2,
.section h2,
.policy-section h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.notice p,
.section p,
.policy-section p,
.soft-panel li {
  color: var(--muted);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 620px;
  margin-bottom: 28px;
}

.section-heading p {
  margin-top: 0;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(243, 236, 223, 0.55);
  box-shadow: var(--inset);
}

.faq-item h3,
.soft-panel h3,
.steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.faq-item p,
.steps p,
.soft-panel ul {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 46px;
  align-items: start;
}

.soft-panel {
  padding: 24px;
  box-shadow: none;
  background: var(--surface);
}

.soft-panel ul {
  padding-left: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  padding: 20px;
  box-shadow: none;
  background: var(--surface);
}

.step-number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--warning);
  color: #fff;
  font-weight: 760;
  font-size: 14px;
}

.policy {
  max-width: 820px;
}

.policy-hero {
  padding: 72px 0 42px;
}

.updated {
  font-size: 15px !important;
}

.policy-section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 0 46px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    padding: 18px 0;
  }

  .site-nav {
    flex-wrap: wrap;
  }

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

  .hero {
    min-height: 0;
    padding-top: 42px;
    gap: 34px;
  }

  .hero-copy h1,
  .policy-hero h1 {
    font-size: 52px;
  }

  .faq-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    justify-self: stretch;
  }

  .notice {
    margin-bottom: 36px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0d0d0b;
    --bg-elevated: #12120f;
    --surface: #171714;
    --surface-2: #1f1e1a;
    --surface-3: #282620;
    --text: #e7dfd1;
    --muted: #a59b8b;
    --subtle: #6e685e;
    --border: rgba(231, 223, 209, 0.1);
    --border-strong: #34312b;
    --accent-strong: #b88cff;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
    --inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .brand-mark {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  }

  .phone-frame {
    border-color: var(--border-strong);
  }

  .button-secondary {
    color: var(--text);
  }

  .faq-item {
    background: rgba(31, 30, 26, 0.62);
  }
}
