/*
 * studio.leverugc.com — Lever Studio's own pages. Every value is src/lib/theme.ts's
 * (C, R, T); never a new one here. Change one there, change it here.
 */

@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-display: swap; src: url('/fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-display: swap; src: url('/fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 700; font-display: swap; src: url('/fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 800; font-display: swap; src: url('/fonts/be-vietnam-pro-latin-800-normal.woff2') format('woff2'); }

:root {
  --bg: #1a1a1a;
  --text: #f0ece4;
  --dim: #c8c4bc;
  --faint: #8a8780;
  --accent: #6ee7b7;
  --accent-top: #8ff2cd;
  --accent-low: #5abd96;
  --on-accent: #10231d;
  --gold: #ffc93c;
  --surface: rgba(240, 236, 228, 0.05);
  --hairline: rgba(240, 236, 228, 0.12);
  --mint-fill: rgba(110, 231, 183, 0.1);
  --mint-line: rgba(110, 231, 183, 0.35);
  --gold-fill: rgba(255, 201, 60, 0.1);
  --gold-line: rgba(255, 201, 60, 0.35);

  --r-pill: 999px;
  --r-control: 14px;
  --r-prominent: 16px;
  --r-panel: 22px;

  --t-footnote: 13px;
  --t-subhead: 15px;
  --t-body: 17px;
  --t-title: 22px;
  --t-large: 34px;
  --t-hero: 54px;
}

* { box-sizing: border-box; }

html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--dim);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--t-body);
  line-height: 1.6;
}

a { color: var(--text); text-underline-offset: 4px; }
a:hover { color: var(--accent); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }

header.top { padding: 22px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.top img { height: 26px; width: auto; display: block; }
header.top nav { display: flex; gap: 18px; font-size: var(--t-subhead); font-weight: 600; }
header.top nav a { color: var(--dim); text-decoration: none; }
header.top nav a:hover, header.top nav a[aria-current='page'] { color: var(--text); }

h1, h2, h3 { color: var(--text); margin: 0; }
h1 { font-size: var(--t-large); font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; }
h2 { font-size: var(--t-title); font-weight: 700; letter-spacing: -0.4px; line-height: 1.25; margin-top: 44px; }
h3 { font-size: var(--t-body); font-weight: 700; margin-top: 26px; }
p, ul, ol { margin: 12px 0 0; }
li { margin-top: 6px; }
strong { color: var(--text); font-weight: 600; }

.updated { color: var(--faint); font-size: var(--t-subhead); margin-top: 10px; }
.lede { color: var(--dim); font-size: var(--t-body); margin-top: 18px; }

/* The short version: a frosted panel, the app's FROST idea on the web. */
.panel {
  margin-top: 26px;
  padding: 18px 22px 20px;
  border-radius: var(--r-panel);
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.panel p:first-child, .panel ul:first-child { margin-top: 0; }

/* Landing */
.hero { padding: 54px 0 22px; text-align: center; }
.hero h1 { font-size: var(--t-hero); letter-spacing: -1.6px; line-height: 1.05; }
.hero .lede { max-width: 520px; margin: 18px auto 0; }
.hero .icon { width: 96px; height: 96px; border-radius: var(--r-panel); display: block; margin: 0 auto 26px; box-shadow: 0 18px 60px var(--mint-fill); }

.store {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; margin-top: 26px; padding: 0 26px;
  border-radius: var(--r-pill);
  background: linear-gradient(var(--accent-top), var(--accent));
  color: var(--on-accent); font-weight: 700; font-size: var(--t-body); text-decoration: none;
}
.store:hover { color: var(--on-accent); background: var(--accent); }
.store[aria-disabled='true'] { background: var(--surface); color: var(--dim); border: 1px solid var(--hairline); cursor: default; }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 12px; }
.steps li {
  margin: 0; padding: 16px 18px;
  border-radius: var(--r-prominent);
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text); font-weight: 600;
  display: flex; gap: 14px; align-items: baseline;
}
.steps li span { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.plan { padding: 18px; border-radius: var(--r-panel); border: 1px solid var(--hairline); background: var(--surface); }
.plan h3 { margin: 0; }
.plan .price { color: var(--text); font-size: var(--t-title); font-weight: 800; letter-spacing: -0.4px; margin-top: 6px; }
.plan .price small { color: var(--faint); font-size: var(--t-subhead); font-weight: 600; letter-spacing: 0; }
.plan p { font-size: var(--t-subhead); margin-top: 8px; }
.plan.elite { border-color: var(--gold-line); background: var(--gold-fill); }
.plan.elite h3 { color: var(--gold); }
.fine { color: var(--faint); font-size: var(--t-footnote); margin-top: 14px; }

/* Support */
details {
  margin-top: 12px; padding: 14px 18px;
  border-radius: var(--r-prominent);
  border: 1px solid var(--hairline);
  background: var(--surface);
}
summary { color: var(--text); font-weight: 600; cursor: pointer; min-height: 24px; }
details[open] summary { margin-bottom: 4px; }
details p:first-of-type { margin-top: 8px; }

footer { margin-top: 64px; padding: 26px 0 44px; border-top: 1px solid var(--hairline); color: var(--faint); font-size: var(--t-footnote); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--dim); text-decoration: none; }

@media (max-width: 520px) {
  .hero h1 { font-size: var(--t-large); letter-spacing: -0.8px; }
  header.top nav { gap: 14px; }
}
