/* File: web/assets/landing.css — the marketing landing page for relaxandapply.com.
 *
 * Deliberately SELF-CONTAINED and deliberately dark-only. The landing is a designed
 * marketing surface, not part of the themed app: it does not load style.css and does
 * not participate in the light/dark toggle (assets/theme.js), so restyling it can
 * never move the dashboard, onboarding or admin. Those keep style.css unchanged.
 *
 * Colours are the dark half of style.css's token set, copied by value rather than
 * imported, so the two files can drift on purpose without a shared-token trap. */

:root {
  color-scheme: dark;

  --bg: #0a0b0e;
  --bg-soft: #121419;
  --panel: #15171d;
  --panel-2: #1c1f27;
  --panel-3: #242834;
  --border: #282c36;
  --border-soft: #1f222b;
  --border-dash: #3a3f4d;

  --text: #f1f2f5;
  --text-dim: #d5d8de;
  --muted: #99a0ad;
  --faint: #69707f;

  --accent: #818cf8;
  --accent-soft: #a5acfb;
  --accent-ink: #0b0c10;

  --blue: #60a5fa;
  --orange: #fb923c;
  --amber: #fbbf24;
  --ok: #34d399;
  --err: #f87171;

  --radius: 16px;
  --radius-sm: 11px;
  --radius-btn: 10px;

  --shadow: 0 1px 3px rgba(0,0,0,.4), 0 20px 44px -22px rgba(0,0,0,.7);

  /* Three faces, three jobs: display for headlines, UI for prose and controls,
     mono for evidence — timestamps, counts, portal names, eyebrow labels. */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1140px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); }
::selection { background: rgba(129,140,248,.28); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Shared atoms ─────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--radius-btn);
  font-family: var(--font); font-weight: 600; font-size: 15px;
  border: 1px solid var(--border); background: var(--panel); color: var(--text);
  cursor: pointer; min-height: 48px;
  transition: border-color .18s, background .18s, color .18s, transform .12s;
}
.btn:hover { transform: translateY(-1px); border-color: #3f4553; color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 9px 17px; font-size: 14px; min-height: 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  color: var(--ok); border: 1px solid rgba(52,211,153,.25); background: rgba(52,211,153,.07);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--ok); flex: 0 0 auto; }

.kicker {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}

.icon { flex: 0 0 auto; }

/* ── Nav ──────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10,11,14,.78);
  backdrop-filter: saturate(140%) blur(14px);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: -.02em; color: var(--text);
}
.brand:hover { color: var(--text); }
.brand .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 0 4px rgba(52,211,153,.16); }
.brand .amp { color: var(--faint); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); font-size: 14px; }
.nav-links a:not(.btn):hover { color: var(--text); }

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

.hero { padding: 96px 0 76px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.hero .eyebrow { margin-bottom: 30px; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.045em;
  margin-bottom: 22px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--muted); max-width: 30em; margin: 0 0 34px; line-height: 1.55; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin: 20px 0 0; color: var(--faint); font-size: 13.5px; line-height: 1.6; }

/* ── Run log: the ornament is the evidence ────────────── */

.runlog {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.runlog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--border-soft); background: var(--panel-2);
}
.runlog-head .when {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--faint);
}
.runlog-head .count { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ok); }

.runlog-body { padding: 8px 0; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.45; }
.runlog-row {
  display: grid; grid-template-columns: 62px 96px minmax(0, 1fr) auto;
  gap: 12px; align-items: center; padding: 9px 18px;
}
.runlog-row:nth-child(even) { background: rgba(241,242,245,.025); }
.runlog-row .t { color: var(--faint); }
.runlog-row .what { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.runlog-row .what.dim { color: var(--muted); }
.runlog-row .mark { color: var(--ok); }
.runlog-row .mark.none { color: var(--faint); }

.p-greenhouse { color: var(--ok); }
.p-workday { color: var(--accent); }
.p-oracle { color: var(--blue); }
.p-naukri { color: var(--orange); }
.p-wellfound { color: var(--ok); }

.runlog-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-top: 1px solid var(--border-soft);
  background: var(--bg-soft); font-size: 12.5px; color: var(--faint);
}

/* ── Portal band ──────────────────────────────────────── */

.portals { padding: 0 0 96px; }
.portals .inner {
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 26px 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.portals .p { display: flex; flex-direction: column; gap: 6px; }
.portals .p b { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text); }
.portals .p span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--faint); }

/* ── Sections ─────────────────────────────────────────── */

.section { padding: 0 0 110px; }
.section-head { max-width: 34em; margin-bottom: 46px; }
.section-head .kicker { display: block; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 14px; }
.section-head p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; }

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s;
}
.card:hover { border-color: #343947; }
.card .ic {
  width: 42px; height: 42px; border-radius: var(--radius-sm); display: grid; place-items: center;
  border: 1px solid rgba(129,140,248,.22); background: rgba(129,140,248,.08); color: var(--accent);
}
.card .ic.ok { border-color: rgba(52,211,153,.22); background: rgba(52,211,153,.08); color: var(--ok); }
.card h3 { font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.card.wide { padding: 28px 30px; gap: 12px; }
.card.wide .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.card.wide h3 { font-size: 21px; letter-spacing: -.025em; }
.card.wide p { font-size: 14.5px; line-height: 1.65; }

/* ── The honest block ─────────────────────────────────── */

.honest {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft);
  overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.honest .left { padding: 44px 46px; border-right: 1px solid var(--border-soft); }
.honest .right { padding: 44px 46px; }
.honest .kicker { display: block; margin-bottom: 18px; }
.honest h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 18px; }
.honest p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.honest p:last-child { margin-bottom: 0; }
.honest .list-label { display: block; margin-bottom: 20px; }
.honest ul { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.honest li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--text); }
.honest li.no { color: var(--muted); }
.honest .foot { padding-top: 22px; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--faint); line-height: 1.6; }

/* ── Pricing ──────────────────────────────────────────── */

.plan {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 34px; display: flex; flex-direction: column; gap: 8px;
}
.plan.pro { border-color: var(--accent); box-shadow: 0 24px 60px -30px rgba(129,140,248,.45); }
.plan .kicker { color: var(--faint); }
.plan.pro .kicker { color: var(--accent); }
.plan .price { display: flex; align-items: baseline; gap: 9px; margin: 6px 0 2px; }
.plan .price b { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.plan .price span { color: var(--faint); font-size: 14.5px; }
.plan p { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.plan .btn { margin-top: auto; }

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

footer { border-top: 1px solid var(--border-soft); padding: 42px 0 52px; }
footer .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
footer .about { display: flex; flex-direction: column; gap: 10px; max-width: 30em; }
footer .about p { margin: 0; color: var(--faint); font-size: 13px; line-height: 1.65; }
footer .cols { display: flex; gap: 34px; }
footer .cols div { display: flex; flex-direction: column; gap: 9px; }
footer .cols a { color: var(--muted); font-size: 13.5px; }
footer .cols a:hover { color: var(--text); }

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding: 68px 0 60px; }
  .honest { grid-template-columns: minmax(0, 1fr); }
  .honest .left { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .portals .inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding-bottom: 80px; }
  .honest .left, .honest .right { padding: 32px 26px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero h1 { letter-spacing: -.035em; }
  .cta-row .btn { width: 100%; }
  .portals .inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The log is the hero image on desktop; on a phone the portal column is the
     first thing to give, since the time and the outcome carry the meaning. */
  .runlog-row { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; font-size: 12px; }
  .runlog-row .portal { display: none; }
  .plan { padding: 28px 24px; }
  footer .wrap { flex-direction: column; gap: 26px; }
}
