/* Portsift marketing — editorial rebrand to match the app shell.
 * Tokens are the EXACT values from frontend/src/styles/tokens.css (do not
 * re-pick by eye): --bg #0d1119, --surface #141a24, --line #1e2530,
 * --ink #f3f1ea, --dim #7d8797, --faint #3a4252, --gold #e4c877,
 * --green #5bd39a. Fraunces display / Inter body, same as the app. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #0d1119;
  --panel: #141a24;
  --text: #f3f1ea;
  --dim: #7d8797;
  --faint: #3a4252;
  --gold: #e4c877;
  --border: #1e2530;
  --ok: #5bd39a;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', Times, serif;
  font-family:
    'Inter',
    system-ui,
    Segoe UI,
    Roboto,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  max-width: 1040px;
  margin: 0 auto;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.brand .mark {
  display: block;
  flex: none;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
nav a {
  color: var(--dim);
}
nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.btn {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
}
.btn:hover {
  background: var(--gold);
  color: #0d1119;
  text-decoration: none;
}
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0.4rem 0 1rem;
  color: var(--text);
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
}
.lede {
  font-size: 1.12rem;
  color: var(--dim);
  max-width: 44rem;
}
.bullets {
  padding-left: 1.2rem;
  color: var(--text);
  max-width: 44rem;
}
.bullets li {
  margin: 0.45rem 0;
}
.bullets strong {
  color: var(--gold);
  font-weight: 600;
}
.waitlist {
  margin: 1.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  max-width: 30rem;
}
.waitlist label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--dim);
  flex: 1;
  min-width: 12rem;
}
.waitlist input {
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--faint);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.waitlist input:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}
.waitlist button {
  background: var(--gold);
  color: #0d1119;
  border: 0;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.msg {
  width: 100%;
  font-size: 0.85rem;
  color: var(--ok);
  margin: 0;
}
.fine {
  font-size: 0.9rem;
  color: var(--dim);
}
/* --- "What you get" — captioned real screens --------------------------- */
.features {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.features h2,
.pricing h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text);
  margin-bottom: 0.25rem;
}
.lede-sm {
  color: var(--dim);
  margin-top: 0;
  max-width: 44rem;
}
.shot {
  margin: 2.5rem 0;
}
.shot img,
.shot video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}
.shot figcaption {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--dim);
  max-width: 46rem;
}
.shot figcaption strong {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
}
/* --- Pricing ------------------------------------------------------------ */
.pricing {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 40rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}
.card.featured {
  border-color: var(--gold);
}
.card h3 {
  margin-top: 0;
}
.card ul {
  padding-left: 1.1rem;
  color: var(--dim);
}
.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dim);
  font-family: inherit;
}
.cta-note {
  color: var(--gold);
  font-size: 0.85rem;
}
.disclaimer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--dim);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--dim);
  border-top: 1px solid var(--border);
}
/* --- Calculators (shared stylesheet — keep these classes working) ------- */
.calc {
  max-width: 520px;
}
.calc label {
  display: block;
  margin: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--dim);
}
.calc input {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--faint);
  background: var(--panel);
  color: var(--text);
  font: inherit;
}
.calc button {
  margin-top: 0.75rem;
  background: var(--gold);
  color: #0d1119;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.out {
  margin-top: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem;
  font-size: 0.95rem;
}
