/* Make the Move — website. Colours and fonts follow the app's design system. */
:root {
  --lime: #dbff80;
  --lime-deep: #b9e44b;
  --lime-ink: #3e4a00;
  --lavender: #c9c2fa;
  --lavender-soft: #edeaff;
  --lavender-ink: #2e2580;
  --pink: #fbc8e0;
  --peach: #ffd8b0;
  --ink: #141414;
  --ink-2: #2b2a24;
  --ink-3: #46453e;
  --muted: #6e6d65;
  --canvas: #faf9f6;
  --sand: #f3f1ea;
  --line: #e2e0d9;
  --night: #0e0e0c;
  --white: #ffffff;
  --radius: 22px;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--lavender-ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--lavender-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* ── Header / footer ─────────────────────────────────────────────── */

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  color: var(--ink);
}

.brand img,
.brand svg {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  color: var(--ink-3);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer {
  margin-top: 96px;
  background: var(--night);
  color: #c6c5bc;
  padding: 48px 0 40px;
  font-size: 15px;
}

.site-footer .wrap {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.site-footer a {
  color: #e9f9b8;
}

.site-footer .legal-line {
  grid-column: 1 / -1;
  border-top: 1px solid #2b2a24;
  padding-top: 20px;
  color: #8b8a82;
  font-size: 13px;
}

.footer-brand {
  filter: invert(1);
}

/* ── Landing ─────────────────────────────────────────────────────── */

.hero {
  padding: 40px 0 72px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lavender-soft);
  color: var(--lavender-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
}

.hero h1 mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 8px;
  border-radius: 12px;
}

.lead {
  max-width: 34em;
  font-size: 20px;
  color: var(--ink-3);
  margin: 0 0 28px;
}

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

.store-badge {
  display: inline-flex;
  flex-direction: column;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.store-badge small {
  font-weight: 500;
  color: #c6c5bc;
  font-size: 12px;
}

.soon {
  font-size: 14px;
  color: var(--muted);
}

.plan-stack {
  display: grid;
  gap: 14px;
}

.plan-card {
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.07);
}

.plan-card:nth-child(1) {
  background: var(--lime);
  transform: rotate(-2deg);
}

.plan-card:nth-child(2) {
  background: var(--lavender);
  transform: translateX(18px) rotate(1.5deg);
}

.plan-card:nth-child(3) {
  background: var(--pink);
  transform: rotate(-1deg);
}

.plan-card strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
}

.plan-card span {
  font-size: 15px;
  color: var(--ink-2);
}

.section {
  padding: 56px 0;
}

.section h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 28px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
}

.steps li:last-child {
  background: var(--lime);
  border-color: var(--lime-deep);
}

.steps strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
}

.steps span {
  color: var(--ink-3);
  font-size: 15px;
}

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

.trust div {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 24px;
}

.trust h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.trust p {
  margin: 0;
  color: var(--ink-3);
  font-size: 16px;
}

/* ── Legal pages ─────────────────────────────────────────────────── */

.legal {
  max-width: 760px;
  padding-top: 24px;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin: 12px 0 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px;
}

.legal h2 {
  font-size: 26px;
  margin: 44px 0 12px;
}

.legal h3 {
  font-size: 20px;
  margin: 28px 0 8px;
}

.legal p,
.legal li {
  color: var(--ink-2);
}

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

.legal li + li {
  margin-top: 6px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0 20px;
  display: block;
  overflow-x: auto;
}

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

.legal th {
  background: var(--sand);
  font-weight: 700;
}

.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 15px;
}

.toc ol {
  margin: 8px 0 0;
}

.draft-banner {
  border: 2px dashed #b9e44b;
  background: #edf7d4;
  color: var(--lime-ink);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 15px;
  margin: 0 0 24px;
}

.callout {
  background: var(--lavender-soft);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.placeholder {
  background: var(--peach);
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 600;
}

/* ── 404 ──────────────────────────────────────────────────────────── */

.not-found {
  text-align: center;
  padding: 80px 0 40px;
}

.not-found img {
  width: 90px;
}

/* ── Small screens ───────────────────────────────────────────────── */

@media (max-width: 860px) {
  .hero .wrap,
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .plan-card:nth-child(2) {
    transform: rotate(1.5deg);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

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

  .lead {
    font-size: 18px;
  }
}

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