/* ──────────────────────────────────────────────────────────────────────────
   Lorun landing page — brand system (mirrors the web app)
   System font stack, two weights (400 / 500), sentence case.
   ────────────────────────────────────────────────────────────────────────── */
:root {
  --bg-page:           #FBFAF7;
  --bg-surface:        #FFFFFF;
  --text-primary:      #1A1A20;
  --text-secondary:    #6B6B73;
  --text-tertiary:     #9B9BA3;
  --border:            #E8E6DE;
  --accent:            #6E57F3;
  --accent-hover:      #5C4FE0;
  --accent-bg:         #F1EFFE;
  --accent-text-on-bg: #3C3489;

  --radius:    12px;
  --radius-sm: 8px;
  --maxw:      1080px;

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

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Wordmark ─────────────────────────────────────────────────────────── */
.wordmark {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}
.dot { color: var(--accent); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.header-nav { display: flex; align-items: center; gap: 18px; }
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}
.nav-link:hover { color: var(--text-primary); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
/* More generous top padding — let the headline sit lower, with presence. */
.hero { padding: 108px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 30em;
  margin-bottom: 28px;
}
.hero-cta { margin-bottom: 12px; }
.hero-fineprint { font-size: 13.5px; color: var(--text-tertiary); }

/* ── Product mockup ───────────────────────────────────────────────────── */
.hero-visual { min-width: 0; }
.mock-window {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(60, 52, 137, 0.30);
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.mock-url {
  margin-left: 10px;
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 12px;
}
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }

.mock-sidebar {
  border-right: 1px solid var(--border);
  padding: 12px 10px;
  background: var(--bg-surface);
}
.mock-brand { font-weight: 500; font-size: 14px; margin-bottom: 12px; }
.mock-pill-overdue {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; color: #712B13;
  background: #FAECE7; border: 0.5px solid #F0D5C8;
  border-radius: var(--radius-sm); padding: 6px 8px; margin-bottom: 12px;
}
.mock-overdue-dot { width: 6px; height: 6px; border-radius: 50%; background: #D85A30; }
.mock-label {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-tertiary); margin: 10px 0 6px;
}
.mock-item {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px; border-radius: var(--radius-sm); margin-bottom: 2px;
}
.mock-item.active { background: var(--accent-bg); }
.mock-item-title {
  font-size: 11px; color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-file-ico, .mock-chat-ico {
  width: 11px; height: 12px; flex-shrink: 0; border-radius: 2px;
  background: var(--text-tertiary);
}
.mock-item.active .mock-file-ico { background: var(--accent); }
.mock-chat-ico { border-radius: 3px 3px 3px 0; }

.mock-chat {
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-page);
}
.mock-strip {
  display: flex; align-items: center; gap: 7px;
  font-size: 10.5px; color: var(--accent-text-on-bg);
  background: var(--accent-bg); border: 0.5px solid #E0DCFB;
  border-radius: var(--radius-sm); padding: 8px 10px;
}
.mock-strip-ico { width: 11px; height: 12px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.mock-msg-user {
  align-self: flex-end; max-width: 80%;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 11px; font-size: 12px;
}
.mock-msg-ai { font-size: 12px; line-height: 1.55; color: var(--text-primary); max-width: 92%; }
.mock-msg-ai strong { font-weight: 500; }
.mock-cites { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.mock-cite {
  font-size: 10px; color: var(--accent-text-on-bg);
  background: var(--accent-bg); border: 1px solid #E0DCFB;
  border-radius: 99px; padding: 2px 8px;
}
.mock-inputbar {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 7px 8px 7px 11px;
}
.mock-input { flex: 1; font-size: 11px; color: var(--text-tertiary); }
.mock-send {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 5px;
  background: var(--accent); color: #fff; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Trust signal — quiet, specific, single line ──────────────────────── */
.trust { padding: 24px 0 0; }
.trust-line {
  text-align: center;
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 660px;
  margin: 0 auto;
}

/* ── How it works — three sentences, no cards. Deliberately low weight: ──
   a small kicker label over big quiet prose, so it doesn't dominate. */
.how { padding: 40px 0 48px; }
.how-head {
  font-weight: 500; font-size: 12.5px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-tertiary);
  text-align: center; margin-bottom: 20px;
}
.how-lines { max-width: 780px; margin: 0 auto; text-align: center; }
.how-lines p {
  font-weight: 400; font-size: 28px; line-height: 1.34;
  letter-spacing: -0.02em; color: var(--text-primary);
}
.how-lines p + p { margin-top: 4px; }

/* ── Comparison — the rhetorical peak. Most space, biggest type. ──────── */
.compare { padding: 100px 0 104px; }
.compare-inner { max-width: 840px; margin: 0 auto; text-align: center; }
.compare-head {
  font-weight: 500; font-size: 46px; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 18px;
}
.compare-sub { font-size: 19px; color: var(--text-secondary); }

/* ── Email capture — deliberately quiet, footer-adjacent. ─────────────── */
.notify { background: var(--accent-bg); padding: 48px 0 52px; }
.notify-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.notify-head {
  font-weight: 500; font-size: 22px; letter-spacing: -0.02em;
  margin-bottom: 18px; color: var(--text-primary);
}
.notify-finenote { margin-top: 14px; font-size: 13px; color: var(--accent-text-on-bg); opacity: 0.78; }
.notify-form {
  display: flex; gap: 10px; justify-content: center;
  max-width: 460px; margin: 0 auto;
}
.notify-input {
  flex: 1;
  font-family: var(--font); font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid #D9D4F5;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
}
.notify-input::placeholder { color: var(--text-tertiary); }
.notify-input:focus { border-color: var(--accent); }
.notify-success {
  margin-top: 18px; font-size: 15px; color: var(--accent-text-on-bg);
}
/* Honeypot — hidden from humans, visible to dumb bots */
.hp-field { position: absolute; left: -5000px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.footer-tagline { font-size: 13px; color: var(--text-tertiary); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: var(--text-secondary); text-decoration: none;
}
.footer-links a:hover { color: var(--text-primary); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { padding: 64px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-visual { order: 2; }
  .how-lines p { font-size: 24px; }
  .compare { padding: 72px 0; }
  .compare-head { font-size: 34px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 36px; }
  .hero-copy h1 { font-size: 29px; }
  .hero-sub { font-size: 16px; }
  .btn-lg { width: 100%; padding: 14px 18px; }
  .hero-cta { display: flex; }
  .how-lines p { font-size: 22px; }
  .compare-head { font-size: 27px; }
  .notify-head { font-size: 20px; }
  /* Stack the email form so the input + button get full width on phones */
  .notify-form { flex-direction: column; }
  .notify-form .btn-lg { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  /* The mockup sidebar gets cramped under ~360px — keep it but tighten */
  .mock-body { grid-template-columns: 116px 1fr; }
}
