
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-Regular.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/Inter-SemiBold.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 700 800; font-display: swap; src: url(/assets/fonts/Inter-Bold.ttf) format("truetype"); }
:root {
  --bg: #f6f7fb; --surface: #ffffff; --surface-2: #f1f4f9; --text: #0f172a; --muted: #5b6475; --line: #e2e6ee;
  --accent: #4338ca; --accent-strong: #3730a3; --accent-soft: #eef0ff; --on-accent: #ffffff;
  --ok: #0f7b43; --ok-soft: #e7f6ee; --warn: #9a5b00; --warn-soft: #fff4e0; --bad: #b42318; --bad-soft: #fdecea;
  --linkedin: #0a66c2; --radius: 14px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1017; --surface: #151a23; --surface-2: #1b2130; --text: #e8ebf2; --muted: #9aa3b5; --line: #273043;
    --accent: #8b93ff; --accent-strong: #a5abff; --accent-soft: #23284a; --on-accent: #0d1017;
    --ok: #3fd18a; --ok-soft: #12291f; --warn: #f2b14c; --warn-soft: #2b2212; --bad: #ff7b6e; --bad-soft: #2d1616;
    --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(26px, 4vw, 34px); } h2 { font-size: 22px; } h3 { font-size: 17px; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; }
pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }
:not(pre) > code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spread { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-strong); }
.btn.linkedin { background: var(--linkedin); border-color: var(--linkedin); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; }
form.inline { display: inline-flex; }
.nav .linklike { text-decoration: none; color: var(--text); font-weight: 500; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 600px) { .hide-sm { display: none; } }

/* Cards, tags, alerts */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.tag.ok { background: var(--ok-soft); color: var(--ok); } .tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); } .tag.accent { background: var(--accent-soft); color: var(--accent); }
.alert { padding: 12px 16px; border-radius: 12px; border: 1px solid; margin-bottom: 16px; }
.alert.ok { background: var(--ok-soft); color: var(--ok); } .alert.bad { background: var(--bad-soft); color: var(--bad); }
.alert.warn { background: var(--warn-soft); color: var(--warn); }

/* Forms */
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type=text], input[type=email], input[type=url], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 96px; resize: vertical; }
input[type=file] { font: inherit; font-size: 14px; max-width: 100%; }
.field { margin-bottom: 16px; }
.fields-2 { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }

/* Site header/footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: inline-grid; place-items: center; color: var(--on-accent); font-size: 15px; }
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--text); padding: 8px 10px; border-radius: 8px; font-weight: 500; }
.nav a:hover { background: var(--surface-2); }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 32px 0; color: var(--muted); font-size: 14px; }
.site-footer a { color: var(--muted); }
main.page { padding: 40px 0; }

/* Landing */
.hero { padding: 64px 0 40px; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.025em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section { padding: 56px 0 8px; }
.section > h2 { font-size: clamp(24px, 3vw, 30px); }
.feature h3 { margin-top: 4px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.plan.featured { border: 2px solid var(--accent); }
.plan ul, .checklist { list-style: none; padding: 0; margin: 16px 0; }
.plan li, .checklist li { padding: 5px 0 5px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.mock-badge { display: flex; gap: 18px; align-items: center; }
.mock-badge .seal { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(from 200deg, var(--accent), #22c55e, #eab308, var(--accent)); display: grid; place-items: center; flex: none; }
.mock-badge .seal span { width: 70px; height: 70px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; font-size: 22px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; } summary { cursor: pointer; font-weight: 600; }

/* Dashboard shell */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; }
.sidebar nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
.sidebar nav a:hover { background: var(--surface-2); }
.sidebar nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.sidebar .bottom { margin-top: auto; font-size: 14px; }
.content { padding: 28px clamp(16px, 3vw, 40px) 64px; min-width: 0; }
.content-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.usage-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.usage-bar > span { display: block; height: 100%; background: var(--accent); }
.thumb { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--surface-2); flex: none; }
.thumb.lg { width: 96px; height: 96px; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row code { flex: 1; padding: 8px 10px; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .sidebar nav { display: flex; gap: 4px; overflow-x: auto; }
  .sidebar nav a { white-space: nowrap; }
  .sidebar .bottom { margin-top: 0; }
}
.auth-box { max-width: 440px; margin: 48px auto; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.legal h2 { margin-top: 1.6em; font-size: 20px; } .legal { max-width: 760px; }
