/* Inter (latin, variable), self-hosted: one family for headings and text. */
@font-face { font-family: Inter; src: url("/home/assets/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Invoki landing: lavender paper, plum ink, violet. Laid out like a product tour: a
   tabbed app window, a bento of live mini screens, a dark spotlight, a letter. */
:root {
  --paper: #fbfaff;
  --soft: #f4f2fc;
  --card: #ffffff;
  --ink: #170d1a;
  --ink-2: #2b2133;
  --muted: #625f75;
  --faint: #8f8ca3;
  --line: #e9e6f3;
  --line-2: #d8d4e8;
  --violet: #6d5cf6;
  --violet-ink: #5a49e6;
  --violet-soft: #ece9fe;
  --sun: #ffd84d;
  --mint: #16a34a;
  --mint-soft: #e3f6e9;
  --coral: #e5484d;
  --night: #140d1c;
  --radius: 22px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 1px 0 rgba(23, 13, 26, .04), 0 12px 32px -12px rgba(48, 30, 90, .16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.h2 { margin: 0; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
.sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section { padding: 110px 0 0; }
.section.tight { padding-top: 56px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 18px -6px rgba(23, 13, 26, .45); }
.btn-ink:hover { background: #2a1d33; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--paper) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.nav-signin) { display: none; } }

/* Hero */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.dots { position: absolute; inset: 0 0 auto; height: 420px; background-image: radial-gradient(color-mix(in oklab, var(--violet) 22%, transparent) 1px, transparent 1.4px); background-size: 18px 18px; mask-image: radial-gradient(60% 70% at 50% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000 20%, transparent 75%); pointer-events: none; }
.hero-in { position: relative; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(38px, 6.2vw, 74px); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; }
.rot-line { display: inline-flex; align-items: center; gap: .25em; }
/* Clipped above and below only: a name sliding in or out is never cut at the sides. */
.rot { position: relative; display: inline-grid; height: 1.12em; vertical-align: bottom; clip-path: inset(0 -50vw 0 -50vw); }
/* With JavaScript the box's width follows the name, so the line re-centers smoothly. */
.rot.js { display: inline-block; transition: width .6s cubic-bezier(.65, 0, .35, 1); }
.rot.js .rot-item { position: absolute; left: 0; top: 0; }
.rot-item { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .18em; height: 1.12em; color: var(--ink); white-space: nowrap; transform: translateY(100%); opacity: 0; transition: transform .6s cubic-bezier(.65, 0, .35, 1), opacity .45s ease; will-change: transform, opacity; }
.rot-item.is-on { transform: none; opacity: 1; }
.rot-item.is-out { transform: translateY(-100%); opacity: 0; }
.rot-item img { width: .78em; height: .78em; border-radius: .16em; box-shadow: 0 4px 14px -4px rgba(23, 13, 26, .3); }
.lede { max-width: 600px; margin: 22px auto 30px; color: var(--muted); font-size: 18px; line-height: 1.55; }

/* Tabs + app window */
.tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 64px auto 18px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); overflow-x: auto; }
.tabs button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 14px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.tabs button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs button[aria-selected="true"] { background: var(--soft); color: var(--ink); }
.window { margin: 0; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); box-shadow: 0 40px 80px -40px rgba(48, 30, 90, .35), var(--shadow); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #faf9fe; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e1ddef; }
.win-url { display: inline-flex; max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 12px; border-radius: 8px; background: var(--soft); color: var(--muted); font: 12px var(--mono); }
.win-url svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.win-body { position: relative; display: grid; grid-template-columns: 188px 1fr; height: 520px; }
.side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.side-brand { display: flex; align-items: center; gap: 7px; margin: 0 6px 12px; font-weight: 700; color: var(--ink); }
.side-item { padding: 6px 10px; border-radius: 8px; }
.side-item.is-on { background: var(--soft); color: var(--ink); font-weight: 600; }
.side-credits { margin-top: auto; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.side-credits small { display: block; font-size: 11px; }
.side-credits b { font-size: 16px; color: var(--ink); }
.side-credits i { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--soft); }
.side-credits em { display: block; height: 100%; border-radius: 4px; background: var(--violet); }
.pane { position: absolute; inset: 0 0 0 188px; padding: 22px 24px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; overflow: hidden; background: var(--card); }
/* The old screen fades out first, then the new one comes in. */
.pane.is-on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .35s .2s, transform .35s .2s; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 99px; background: var(--soft); color: var(--muted); font: 600 11px/1 var(--sans); font-style: normal; white-space: nowrap; }
.tag.dm { background: #fff4cc; color: #7a5a00; }
.tag.ready { background: var(--mint-soft); color: #11743a; }
.tag.ok { background: var(--mint-soft); color: #11743a; }
.fit { font: 700 13px/1 var(--sans); font-style: normal; color: var(--violet-ink); }

/* Today pane */
.day-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 14px; background: linear-gradient(120deg, #1d1230, #34206a); color: #fff; }
.day-head small { display: block; color: rgba(255, 255, 255, .65); font-size: 12px; }
.day-head b { font-size: 22px; letter-spacing: -.02em; }
.ring { --p: 50; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--sun) calc(var(--p) * 1%), rgba(255, 255, 255, .15) 0); }
.ring span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #2a1950; font: 700 12px/1 var(--sans); }
.day-cols { display: grid; grid-template-columns: 1fr 300px; gap: 16px; margin-top: 14px; }
.tasks { border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px 10px; font-size: 13px; }
.t-group { margin: 8px 0 2px; color: var(--faint); font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.task { display: flex; align-items: center; gap: 9px; padding: 5px 0; }
.task i { width: 15px; height: 15px; flex: none; border: 1.5px solid var(--line-2); border-radius: 5px; }
.task.done { color: var(--faint); text-decoration: line-through; }
.task.done i { border-color: var(--violet); background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.lvl { display: inline-block; margin-left: auto; font: 600 11px/1 var(--sans); text-decoration: none; }
.lvl.e { color: #11743a; } .lvl.m { color: #a56a00; } .lvl.h { color: var(--coral); }
.mini-picks { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; }
.mp-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.mp-head span { color: var(--muted); }
.mp { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line); }
.mp img, .job img, .pm img, .hb img, .mail-job img { border-radius: 7px; flex: none; }
.mp span, .job span, .pm span, .hb span, .mail-job span { min-width: 0; flex: 1; color: var(--muted); line-height: 1.35; }
.mp b, .job b, .pm b, .hb b, .mail-job b { display: block; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp.applied { opacity: .55; }

/* Picks pane */
.jobs-tabs { display: flex; gap: 6px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.jobs-tabs span { padding: 6px 11px; border-radius: 9px; }
.jobs-tabs span.on { background: var(--soft); color: var(--ink); font-weight: 600; }
.jobs-tabs i { font-style: normal; color: var(--faint); margin-left: 4px; }
.job { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-top: 1px solid var(--line); font-size: 13px; }

/* Apply pane */
.apply { display: grid; grid-template-columns: 1fr 260px; gap: 18px; height: 100%; }
.paper { padding: 22px 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow); font: 11.5px/1.55 Georgia, "Times New Roman", serif; color: #222; overflow: hidden; }
.p-name { display: block; text-align: center; font-size: 17px; letter-spacing: .06em; }
.p-head { display: block; text-align: center; color: #666; letter-spacing: .08em; font-size: 10px; }
.p-h { margin: 12px 0 4px; padding-bottom: 2px; border-bottom: 1px solid #ddd; font: 700 10px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.paper p { margin: 0 0 3px; }
.paper mark { padding: 0 2px; border-radius: 3px; background: #fff1a8; }
.apply-side { display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; }
.box { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.box small { display: block; color: var(--faint); font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.ats-n { font-size: 28px; color: #11743a; letter-spacing: -.02em; }
.bar { display: block; height: 6px; margin: 6px 0 8px; border-radius: 6px; background: var(--soft); }
.bar em { display: block; height: 100%; border-radius: 6px; background: var(--mint); }
.btn-mini { display: grid; place-items: center; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }

/* Board pane */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 100%; }
.col { padding: 10px; border-radius: 12px; background: var(--soft); font-size: 12.5px; }
.col > small { display: block; margin-bottom: 8px; color: var(--muted); font-weight: 600; }
.col i { font-style: normal; color: var(--faint); }
.card-s { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; margin-bottom: 8px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(23, 13, 26, .06); font-weight: 600; }
.card-s img { grid-row: span 2; border-radius: 5px; }
.card-s span { color: var(--muted); font-weight: 400; font-size: 11.5px; }
.card-s.hot { outline: 1.5px solid var(--violet); }
.card-s.win { outline: 1.5px solid var(--mint); }

.works { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: 14.5px; line-height: 2.2; }
.works a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.chip { display: inline-flex; align-items: center; gap: 6px; margin: 0 3px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); color: var(--ink); font-weight: 600; font-size: 13px; vertical-align: middle; line-height: 1.4; }
.chip img { border-radius: 4px; }
.mono { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--ink); color: #fff; font: 700 10px/1 var(--sans); font-style: normal; }
.demo-note { margin-top: 6px; text-align: center; color: var(--faint); font-size: 12.5px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 0 auto; padding: 34px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.stats > div { text-align: center; padding: 0 12px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(34px, 5vw, 54px); line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.stats-note { margin-top: 16px; text-align: center; color: var(--faint); font-size: 13.5px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 56px; }
.card { grid-column: span 5; display: flex; flex-direction: column; padding: 26px 26px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; min-height: 360px; }
.card.wide { grid-column: span 7; }
.card.half { grid-column: span 6; }
.card h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.card h3 span { display: inline-block; color: var(--faint); transition: transform .2s; }
.card:hover h3 span { transform: translateX(3px); color: var(--ink); }
.card > p { margin-top: 6px; max-width: 460px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.mock { margin: 22px 0 0; flex: 1; padding: 16px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: linear-gradient(#fcfbff, #fff); font-size: 13px; }

.pm { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.pm:last-child { border-bottom: 0; }
.is-in .pm { opacity: 1; transform: none; }
.is-in .pm:nth-child(2) { transition-delay: .12s; } .is-in .pm:nth-child(3) { transition-delay: .24s; } .is-in .pm:nth-child(4) { transition-delay: .36s; }

.pl { display: flex; justify-content: space-between; padding: 9px 10px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 10px; }
.pl span { color: var(--faint); font-size: 12px; }
.pl.done { color: var(--faint); text-decoration: line-through; }
.pl.now { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.streak { margin-top: 10px; font-weight: 600; }

.resume-mock { background: #fff; }
.rl { height: 9px; margin: 0 0 11px; border-radius: 4px; background: var(--soft); font-size: 0; }
.rl:first-child { height: auto; background: none; font: 700 12px/1 Georgia, serif; letter-spacing: .08em; margin-bottom: 14px; }
.rl.short { width: 60%; }
.rl.hl { height: auto; padding: 5px 8px; background: #fff7cc; font: 12px/1.4 Georgia, serif; color: #333; clip-path: inset(0 100% 0 0); transition: clip-path .9s ease; }
.is-in .rl.hl { clip-path: inset(0 0 0 0); }
.is-in .rl.hl + .rl + .rl.hl { transition-delay: .5s; }
.rl.hl u { text-decoration-color: var(--violet); text-decoration-thickness: 2px; }

.ats-mock { display: flex; align-items: center; gap: 24px; }
.dial { --p: 86; --v: 0; position: relative; flex: none; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--mint) calc(var(--v) * 1%), var(--soft) 0); transition: --v 1.4s; }
.dial::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.dial > * { position: relative; }
.dial span { font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.dial small { position: absolute; bottom: 34px; color: var(--muted); font-size: 12px; }
.ats-list { display: grid; gap: 8px; min-width: 0; }
.ats-row { padding: 8px 10px; border-radius: 10px; background: var(--mint-soft); color: #11743a; font-weight: 600; font-size: 12.5px; }
.ats-row.miss { background: var(--soft); color: var(--ink-2); }
.ats-row small { color: var(--faint); font-weight: 400; }

.form-mock .f { display: grid; gap: 4px; margin-bottom: 10px; }
.form-mock small { color: var(--muted); font-size: 12px; }
.form-mock .f span { min-height: 34px; padding: 8px 10px; border: 1.5px solid var(--line-2); border-radius: 9px; font-size: 13px; transition: border-color .3s, background .3s; }
.form-mock .f span.filled { border-color: #4ade80; background: #f0fdf4; }
.form-mock .f.open span { border-style: dashed; color: var(--faint); }

.note-mock .to { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.av { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--violet-soft); color: var(--violet-ink); font: 700 12px/1 var(--sans); }
.note-mock .to span:last-child { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.note-mock .to b { display: block; color: var(--ink); }
.note-mock p { padding: 12px 14px; border-radius: 12px; background: var(--soft); line-height: 1.55; }
.note-mock small { display: block; margin-top: 10px; color: var(--faint); }

.board-mock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.board-mock > div { padding: 10px; border-radius: 12px; background: var(--soft); }
.board-mock small { display: block; margin-bottom: 8px; color: var(--muted); font-weight: 600; }
.board-mock span { display: block; margin-bottom: 7px; padding: 9px 10px; border-radius: 9px; background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(23, 13, 26, .06); }
.board-mock .hot { outline: 1.5px solid var(--violet); }
.board-mock .win { outline: 1.5px solid var(--mint); }

.hb { display: flex; align-items: center; gap: 10px; }
.hb-btns { display: flex; gap: 6px; margin: 12px 0; }
.hb-btns span { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 9px; font-weight: 600; font-size: 12.5px; }
.hb-btns span.on { border-color: var(--mint); background: var(--mint-soft); color: #11743a; }
.rate { color: var(--muted); }
.rate b { color: var(--ink); }

.mail-sub { padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.mail-sub b { display: block; }
.mail-sub small { color: var(--faint); }
.mail-job { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }

.ref-mock > small { display: block; margin-bottom: 10px; color: var(--violet-ink); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.ref { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.ref span:nth-child(2) { flex: 1; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.ref b { display: block; color: var(--ink); }
.ref em { padding: 6px 10px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 12px/1 var(--sans); font-style: normal; white-space: nowrap; }

/* Spotlight */
.spot { position: relative; overflow: hidden; padding: 84px 24px 64px; border-radius: 28px; background: radial-gradient(70% 90% at 50% 0%, #2d1b55, var(--night) 70%); color: #fff; text-align: center; }
.spot .dots { height: 100%; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.4px); }
.spot > * { position: relative; }
.on-dark { color: #fff; }
.spot-icons { display: flex; justify-content: center; gap: 12px; margin: 40px 0 30px; }
.si { white-space: nowrap; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .55); font: 700 18px/1 var(--mono); cursor: pointer; transition: transform .25s, background .25s, color .25s; }
.si.is-on { transform: translateY(-4px) scale(1.08); background: #fff; color: var(--ink); box-shadow: 0 10px 28px -8px rgba(125, 109, 255, .8); }
.spot-line { min-height: 1.3em; font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -.025em; transition: opacity .3s; }
.spot-chip { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); font: 13px var(--mono); }
.spot-note { max-width: 560px; margin: 34px auto 0; color: rgba(255, 255, 255, .62); font-size: 15px; }
.spot-links { margin-top: 18px; }
.spot-links a { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* Letter */
.letter { max-width: 640px; }
.letter .h2 { margin-bottom: 30px; }
.letter p, .letter li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.letter p + p { margin-top: 18px; }
.letter ol { margin: 14px 0 18px; padding-left: 22px; }
.letter li + li { margin-top: 8px; }
.who { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: 0 2px; overflow: hidden; border-radius: 50%; background: var(--violet-soft); color: var(--violet-ink); font: 700 11px/1 var(--sans); vertical-align: middle; }
.who img { width: 100%; height: 100%; object-fit: cover; }
.sig a { margin-right: 14px; color: var(--violet-ink); font-weight: 600; font-size: 15px; }
.founder-video { margin-top: 26px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.founder-video iframe, .founder-video video { width: 100%; height: 100%; border: 0; }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 760px; margin: 26px auto 0; }
.num { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: center; }
.num b { display: block; font-size: 36px; letter-spacing: -.03em; }
.num span { color: var(--muted); font-size: 13.5px; }
.head p { margin-top: 8px; color: var(--muted); }

/* Pricing */
.price-panel { display: grid; grid-template-columns: 1.15fr 1fr; margin-top: 46px; border: 1px solid var(--line); border-radius: 26px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.pp-left { padding: 32px; border-right: 1px solid var(--line); }
.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pp-label { font-weight: 600; font-size: 14px; }
.bill-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.bill-switch button { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 600 13px/1 var(--sans); cursor: pointer; }
.bill-switch button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(23, 13, 26, .12); }
.bill-switch span { color: var(--mint); }
.pp-big { margin-top: 26px; font-size: clamp(56px, 8vw, 92px); font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.pp-small { margin-top: 10px; color: var(--muted); font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; margin-top: 26px; }
.b { position: relative; flex: 1; height: var(--h); min-height: 34px; border-radius: 12px 12px 4px 4px; background: var(--soft); transform-origin: bottom; transform: scaleY(.2); transition: transform .9s cubic-bezier(.2, .7, .1, 1); }
.is-in .b { transform: none; }
.b.on { background: linear-gradient(var(--violet), #8b7dff); }
.b span { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 14px; }
.b.on span { color: #fff; }
.b small { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 12.5px; }
.credit-list { display: grid; gap: 6px; margin: 44px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.credit-list b { color: var(--ink); }
.pp-fine { display: block; margin-top: 10px; color: var(--faint); font-size: 12.5px; }
.pp-right { display: flex; flex-direction: column; padding: 32px; background: #fcfbff; }
.pp-plan { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; }
.pill { padding: 4px 10px; border-radius: 99px; background: #fff4cc; color: #7a5a00; font: 600 12px/1.2 var(--sans); font-style: normal; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 14px; font-size: 54px; font-weight: 750; letter-spacing: -.04em; line-height: 1; }
.price small { color: var(--muted); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.pp-note { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.incl { margin: 24px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13.5px; }
.ticks li { display: flex; gap: 7px; }
.ticks li::before { content: "✓"; color: var(--mint); font-weight: 800; }
.pp-right .btn { margin-top: auto; }
.pp-free { margin-top: 12px; text-align: center; color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--faint); font-size: 20px; line-height: 1; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 2px 18px; color: var(--muted); font-size: 15px; }

/* Join */
.join { padding-bottom: 90px; }
.join .sub { margin-bottom: 40px; }
.apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 860px; margin: 0 auto 40px; perspective: 900px; }
.app { position: relative; display: grid; gap: 3px; justify-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); text-align: left; font-size: 12.5px; transform: rotate(var(--r, 0deg)); }
.app:nth-child(odd) { --r: -1.5deg; } .app:nth-child(3n) { --r: 1.2deg; }
.app img { border-radius: 5px; }
.app span { color: var(--muted); font-size: 11.5px; }
.app em { position: absolute; top: 10px; right: 10px; padding: 3px 7px; border-radius: 6px; border: 1.5px solid var(--mint); color: #11743a; font: 800 10px/1 var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: .04em; transform: scale(1.6) rotate(-10deg); opacity: 0; transition: transform .35s cubic-bezier(.2, 1.6, .4, 1), opacity .25s; }
.app.stamped em { transform: rotate(-10deg); opacity: 1; }
.cta-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.mark { margin: 70px auto 0; opacity: .9; }

/* Footer */
.footer { padding: 54px 0 30px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand p { margin: 12px 0 14px; color: var(--muted); }
.by { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.by b { margin-left: 4px; color: var(--ink); }
.footer nav { display: grid; align-content: start; gap: 9px; }
.footer nav small { color: var(--faint); font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.footer nav a { color: var(--ink-2); text-decoration: none; }
.footer nav a:hover { color: var(--violet-ink); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* Reveal on scroll (never left hidden: main.js shows everything after a few seconds) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .pm { opacity: 1; transform: none; }
  .rl.hl { clip-path: none; }
}

/* Tablet and phone */
@media (max-width: 960px) {
  .card, .card.wide, .card.half { grid-column: span 12; }
  .day-cols { grid-template-columns: 1fr; }
  .mini-picks { display: none; }
  .price-panel { grid-template-columns: 1fr; }
  .pp-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq { grid-template-columns: 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .apps { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .section { padding-top: 80px; }
  .hero { padding-top: 48px; }
  .rot-line { display: inline-flex; }
  .tabs { margin-top: 44px; gap: 2px; }
  .tabs button { gap: 5px; padding: 0 10px; font-size: 13px; }
  .tabs button svg { width: 14px; height: 14px; }
  .win-body { grid-template-columns: 1fr; height: 470px; }
  .side { display: none; }
  .pane { inset: 0; padding: 14px; }
  .apply { grid-template-columns: 1fr; }
  .apply-side { display: none; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .board .col:nth-child(n + 3) { display: none; }
  .job span { font-size: 12px; }
  .job .tag { display: none; }
  .stats { grid-template-columns: 1fr; padding: 10px 0; }
  .stats > div { padding: 18px 12px; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .card { padding: 22px 18px 0; min-height: 0; }
  .ats-mock { flex-direction: column; align-items: stretch; }
  .dial { margin: 0 auto; }
  .ticks { grid-template-columns: 1fr; }
  .pp-left, .pp-right { padding: 24px 20px; }
  .apps { grid-template-columns: repeat(3, 1fr); }
  .apps .app:nth-child(n + 10) { display: none; }
  .spot { padding: 60px 16px 48px; }
  .si { width: 44px; height: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* The ATS dial fills from 0 (main.js sets --v once it's on screen). */
@property --v { syntax: "<number>"; inherits: false; initial-value: 0; }
