/* linko.one: same colours and font as the app (src/theme/tokens.js). */
:root {
  --blue: #1e6bff;
  --purple: #a12bff;
  --cyan: #00c6ff;
  --navy: #0b1245;
  --muted: #6b7394;
  --surface: #f6f8fd;
  --tint: #eaf1ff;
  --border: #e6eaf3;
  --bg: #ffffff;
  --gradient: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* Blue → purple text, like the app's wordmark. */
.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header ------------------------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.top-nav a:hover { color: var(--blue); }
.top-nav .pill { background: var(--gradient); color: #fff; padding: 9px 18px; border-radius: 999px; }
.top-nav .pill:hover { color: #fff; opacity: 0.92; }

/* Buttons ------------------------------------------------------------------------------------------------------ */
.button { display: inline-block; background: var(--gradient); color: #fff; text-decoration: none; font-weight: 700; padding: 15px 32px; border-radius: 999px; }
.button:hover { opacity: 0.92; }
.button-ghost { display: inline-block; color: var(--blue); text-decoration: none; font-weight: 700; padding: 15px 24px; border-radius: 999px; background: var(--tint); }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }

/* Hero --------------------------------------------------------------------------------------------------------- */
.hero-band {
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(161, 43, 255, 0.10), transparent 70%),
    radial-gradient(600px 400px at 60% 80%, rgba(0, 198, 255, 0.10), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.display { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.lock { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; margin: 24px 0 0; }
.lock svg { color: var(--blue); }
.hero-art { width: 100%; mix-blend-mode: multiply; }

/* Sections ----------------------------------------------------------------------------------------------------- */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-title, .feature h2, .privacy-band h2, .get-band h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 16px; }
.section-title { text-align: center; margin-bottom: 36px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 26px; color: var(--muted); }
.steps strong { display: block; color: var(--navy); font-size: 19px; margin: 14px 0 6px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gradient); color: #fff; font-weight: 800; }

.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.feature img { width: 100%; border-radius: 28px; box-shadow: 0 20px 50px rgba(11, 18, 69, 0.12); }
.feature p { color: var(--muted); font-size: 17px; margin: 0; }
.feature.reverse img { order: 2; }

.privacy-band { background: var(--navy); color: #fff; padding: 80px 0; margin-top: 56px; }
.privacy-band h2 { text-align: center; margin-bottom: 36px; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.privacy-list li { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 22px 24px; color: #c9cde4; }
.privacy-list strong { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

.get-band { background: var(--gradient); color: #fff; text-align: center; padding: 72px 0; }
.get-band p { font-size: 17px; margin: 0; opacity: 0.95; }
.get-band a { color: #fff; font-weight: 700; }

/* Reading pages (Privacy, Terms, Delete account) --------------------------------------------------------------- */
.doc-head { background: linear-gradient(180deg, var(--cyan), var(--blue)); color: #fff; padding: 48px 16px 40px; }
.doc-head-inner { max-width: 728px; margin: 0 auto; }
.doc-head h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; font-weight: 800; margin: 0 0 6px; }
.doc-head p { margin: 0; opacity: 0.92; }
main.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.doc h2 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 32px 0 8px; }
.doc p, .doc li { color: #3a4166; }
.doc strong { color: var(--navy); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }

/* Short pages (scanned link without the app, 404) -------------------------------------------------------------- */
main.simple { max-width: 640px; margin: 0 auto; padding: 64px 16px 80px; text-align: center; }
main.simple h1 { font-size: clamp(26px, 6vw, 34px); line-height: 1.2; font-weight: 800; margin: 12px 0; }
main.simple .lead { margin: 0 auto 24px; }
.hero-logo { margin: 0 auto 8px; display: block; }
.badge { display: inline-block; background: var(--tint); color: var(--blue); font-weight: 700; padding: 8px 16px; border-radius: 999px; font-size: 14px; }

/* Footer ------------------------------------------------------------------------------------------------------- */
.foot { background: #070c33; color: #a9aecb; padding: 48px 0 28px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot p { margin: 8px 0 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: flex-start; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 600; }
.foot nav a:hover { text-decoration: underline; }
.brand-light { color: #fff; }
.foot .foot-copy { font-size: 13.5px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Phones ------------------------------------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .hero-grid, .feature { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 32px; padding-bottom: 32px; gap: 8px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .lock { justify-content: center; }
  .feature { gap: 20px; }
  .feature.reverse img { order: 0; }
  .steps, .privacy-list { grid-template-columns: 1fr; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .hide-sm { display: none; }
  .privacy-band { padding: 56px 0; }
}
