/* 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 --------------------------------------------------------------------------------------------------------- */
/* Plain white, so the phones picture (white background) blends in with no box around it (owner, 2026-10-15). */
.hero-band { background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
/* The tagline above the headline: bigger, in the gradient (owner, 2026-10-15). */
.tagline { font-size: clamp(16px, 2vw, 20px); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }
.display { font-size: clamp(34px, 5vw, 60px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
/* Each sentence on its own line, never broken ("One connection." stays together). */
.display .line { display: block; white-space: nowrap; }
.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%; }

/* Sections ----------------------------------------------------------------------------------------------------- */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-title, .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; }

/* Events and Local businesses: built like the top section, each followed by its How it works (owner, 2026-10-15). */
.topic { padding-top: 40px; }
.topic .display { font-size: clamp(32px, 4.6vw, 54px); }
.hero-grid.reverse .photo { order: -1; }
.photo { display: block; width: 100%; border-radius: 28px; box-shadow: 0 20px 50px rgba(11, 18, 69, 0.12); }
.how { padding-top: 8px; padding-bottom: 64px; }
.how-title { text-align: center; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; margin: 0 0 8px; }
/* "Organizing something?" / "Run a business?" under the Events and businesses steps (owner, 2026-10-15). */
.creator { display: flex; align-items: center; gap: 16px; margin-top: 20px; background: var(--tint); border: 1px solid #d6e3ff; border-radius: 20px; padding: 18px 22px; }
.creator p { margin: 0; flex: 1; color: var(--muted); }
.creator strong { color: var(--navy); }
.c-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue); }
.creator-link { flex: none; background: var(--gradient); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 820px) { .creator { flex-wrap: wrap; } .creator p { flex-basis: calc(100% - 64px); } .creator-link { margin-left: 64px; } }
/* The "why" under each How it works (owner, 2026-10-15). */
.how-sub { text-align: center; color: var(--muted); font-size: 17px; margin: 0 auto 28px; max-width: 560px; }

/* Light ending like the app (owner chose A, 2026-10-15): soft background, white cards, the gradient once on a card. */
.privacy-band { background: var(--surface); padding: 80px 0; margin-top: 24px; }
.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 { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px; color: var(--muted); box-shadow: 0 6px 20px rgba(11, 18, 69, 0.05); }
.p-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--blue); }
.privacy-list strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 4px; }

.get-band { padding: 72px 0 88px; }
.get-card { position: relative; overflow: hidden; background: var(--gradient); color: #fff; text-align: center; border-radius: 32px; padding: 64px 24px; box-shadow: 0 24px 60px rgba(30, 107, 255, 0.25); }
.get-card > :not(.get-rings) { position: relative; }
.get-rings { position: absolute; width: 360px; opacity: 0.12; left: -90px; top: -120px; transform: rotate(-18deg); }
.get-rings-2 { left: auto; right: -110px; top: auto; bottom: -140px; width: 420px; transform: rotate(14deg); }
.get-band p { font-size: 17px; margin: 0; opacity: 0.95; }
.get-band a { color: #fff; font-weight: 700; }
/* Store-style buttons: black, like Google Play and App Store badges. Tapping shows "coming soon". */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 14px; padding: 10px 22px 10px 16px; font: inherit; cursor: pointer; text-align: left; min-width: 200px; }
.store:hover { background: #111; }
.store span { display: flex; flex-direction: column; font-size: 20px; font-weight: 700; line-height: 1.15; }
.store small { font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.85; }
.soon-note { display: inline-block; margin: 20px auto 0 !important; background: rgba(255, 255, 255, 0.95); color: var(--navy); font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 14px; box-shadow: 0 10px 30px rgba(11, 18, 69, 0.25); }
.soon-note[hidden] { display: none; }

/* 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; }

/* Help & Support: questions that open on tap, and the two contact buttons. */
.faqs { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.faq { border-top: 1px solid var(--border); }
.faq:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0; padding: 0 20px 12px; }
.faq p:last-child { padding-bottom: 18px; }
.contact-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; }
.contact-card:hover { border-color: var(--blue); }
.contact-card strong { display: block; color: var(--navy); }
.contact-card span { color: var(--blue); font-weight: 600; }
.note { font-size: 14.5px; color: var(--muted) !important; margin-top: 12px; }
@media (max-width: 820px) { .contact-row { grid-template-columns: 1fr; } }

/* 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: var(--navy); color: #a9aecb; padding: 48px 0 28px; }
/* Footer columns with a heading each (owner, 2026-10-15). */
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot p { margin: 8px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h3 { margin: 0 0 4px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }
.foot-col a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-col a:hover { text-decoration: underline; }
.brand-light { color: #fff; }
.foot .foot-copy { text-align: center; 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 { grid-template-columns: 1fr; }
  .hero-grid.reverse .photo { order: 0; }
  .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; }
  .topic { padding-top: 24px; }
  .how { padding-bottom: 40px; }
  .steps, .privacy-list { grid-template-columns: 1fr; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .hide-sm { display: none; }
  .privacy-band { padding: 56px 0; }
  .get-band { padding: 40px 0 56px; }
  .get-card { padding: 48px 20px; border-radius: 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
