/* Linq Up public landing — bright, calm, minimal hero.
 *
 * Tokens here mirror `web/clip-flow/styles.css` so the public root and
 * the recipient invite SPA feel like the same surface. Other static
 * legal/help pages still use the dark `web/styles.css` (carrier
 * reviewers crawl those and the existing dark theme is approved).
 */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --border: #e8eaee;
  --border-strong: #d8dde3;
  --text-primary: #15171a;
  --text-secondary: #5d6470;
  --text-tertiary: #8e95a3;
  --text-on-dark: #ffffff;

  --mint: #cdeee6;
  --mint-soft: #eaf8f4;
  --mint-strong: #8fc3b5;
  --mint-text: #3e7266;

  --black: #0a0c0f;

  --radius-card: 24px;
  --radius-pill: 999px;

  --space-page: 32px;
  --space-md: 14px;
  --space-lg: 24px;
  --space-xl: 36px;
  --space-2xl: 56px;

  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text-primary);
  text-decoration: none;
}

.landing-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: var(--space-page) var(--space-lg) var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

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

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.landing-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.landing-app-clip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint-soft);
  color: var(--mint-text);
  border: 1px solid var(--mint);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-app-clip-badge svg {
  width: 14px;
  height: 14px;
}

/* ─────────────────────────────────────────────────────────────────
 *  Hero
 * ───────────────────────────────────────────────────────────────── */

.landing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 820px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }
}

.landing-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  color: var(--mint-text);
  margin: 0 0 12px;
}

.landing-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 var(--space-md);
  color: var(--text-primary);
}

.landing-lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-lg);
  max-width: 520px;
}

.landing-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--text-on-dark);
  border-radius: var(--radius-pill);
  padding: 0 26px;
  height: 56px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.landing-pill:hover {
  opacity: 0.92;
}

.landing-text-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid var(--border-strong);
  padding-bottom: 2px;
}

/* ─────────────────────────────────────────────────────────────────
 *  Hero preview card (right side)
 * ───────────────────────────────────────────────────────────────── */

.landing-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 380px;
  justify-self: end;
}

@media (max-width: 820px) {
  .landing-preview {
    justify-self: stretch;
    max-width: none;
  }
}

.landing-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-preview-strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}

.landing-preview-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

.landing-preview-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.landing-preview-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--mint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landing-preview-icon svg {
  width: 18px;
  height: 18px;
}

.landing-preview-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 2px;
}

.landing-preview-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.landing-preview-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.landing-preview-pill {
  background: var(--mint-soft);
  border: 1px solid var(--mint);
  color: var(--mint-text);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────
 *  Feature trio
 * ───────────────────────────────────────────────────────────────── */

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 720px) {
  .landing-features {
    grid-template-columns: 1fr;
  }
}

.landing-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--mint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-feature-icon svg {
  width: 22px;
  height: 22px;
}

.landing-feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.landing-feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────────
 *  Footer
 * ───────────────────────────────────────────────────────────────── */

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 13px;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.landing-footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

.landing-footer-links a:hover {
  color: var(--text-primary);
}
