/* PureMatch site: landing, terms, privacy, 404.
   One file, no framework. Dark, like the app, with the app's own gradient
   (Brand.orange -> Brand.pink in lib/core/theme.dart) as the only decoration. */

:root {
  --orange: #ff4b27;
  --pink: #ff4dee;
  --grad: linear-gradient(45deg, var(--orange), var(--pink));
  --bg: #170f10;
  --surface: #211617;
  --text: #f5ebe9;
  --muted: #b9a6a2;
  --line: #3a2a2c;
  --radius: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }

/* ---------------------------------------------------------------- header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; display: block; }
.top nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* ------------------------------------------------------------------ hero */
/* Words on the left, the app on the right. On a phone they stack, words first. */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 80px);
  align-items: start; padding: clamp(24px, 5vw, 56px) 0 clamp(40px, 7vw, 88px);
}
.copy { padding-top: clamp(0px, 7vw, 96px); }
.nowrap { white-space: nowrap; }
.copy .mark { width: 88px; height: 88px; border-radius: 24px; margin: 0 0 28px; display: block; box-shadow: 0 18px 50px -18px rgba(255, 75, 39, .6); }
h1 {
  margin: 0 0 20px; max-width: 15ch; text-wrap: balance;
  font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.08; letter-spacing: -.02em;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0 0 32px; max-width: 30em; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }
.soon {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 600;
}
.soon::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--grad); vertical-align: 1px; }

/* ---------------------------------------------------------------- phones */
.shots {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
/* The second column sits lower, so four rectangles read as a collage, not a table. */
.shot:nth-child(even) { margin-top: 44px; }
.shot { margin: 0; }
.shot .frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  aspect-ratio: 480 / 1019;
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .copy { padding-top: 0; }
  .copy .mark { margin-inline: auto; }
  h1 { margin-inline: auto; }
  .lead { margin-inline: auto; }
  /* A row you swipe, not a tall stack: this is a page about swiping. */
  .shots {
    display: flex; overflow-x: auto; gap: 16px; padding: 4px 20px 18px;
    margin-inline: -20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .shot, .shot:nth-child(even) { flex: 0 0 66%; max-width: 300px; margin-top: 0; scroll-snap-align: center; }
}

/* ---------------------------------------------------------------- values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: clamp(48px, 8vw, 96px) 0; }
.value { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.value h2 { margin: 0 0 10px; font-size: 1.15rem; }
.value h2::before { content: ""; display: block; width: 28px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--grad); }
.value p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

.note { max-width: 40em; margin: 0 auto; padding-bottom: 8px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- footer */
footer { margin-top: 48px; padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* ------------------------------------------------------- terms and privacy */
.doc { width: min(720px, 100% - 40px); margin: 0 auto; padding: 24px 0 24px; }
.doc h1 { max-width: none; margin-bottom: 6px; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.doc .updated { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 40px 0 10px; font-size: 1.3rem; line-height: 1.3; }
.doc p, .doc li { color: #e5d8d5; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 18px; padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--text); text-decoration-color: var(--pink); text-underline-offset: 3px; }
.doc .english { margin: 0 0 28px; padding: 12px 16px; border-left: 3px solid var(--pink); background: var(--surface); border-radius: 0 12px 12px 0; font-size: 15px; color: var(--muted); }

/* -------------------------------------------------------------------- 404 */
.lost { text-align: center; padding: 18vh 0 12vh; }
.lost h1 { margin-bottom: 12px; }
.lost p { color: var(--muted); margin: 0 0 24px; }
.lost a.btn { display: inline-block; padding: 13px 26px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; text-decoration: none; }

@media (prefers-reduced-motion: no-preference) {
  .shot .frame { transition: transform .25s ease; }
  .shot:hover .frame { transform: translateY(-4px); }
}
