/* The public homepage (landing.html): warm paper, ivy ink, gold used sparingly.
   The app keeps its own styles (styles.css); this file styles the homepage only. */

:root {
  --paper: #f6f1e7;
  --paper-2: #efe8da;
  --sheet: #fffdf8;
  --ink: #1d2a24;
  --ink-2: #47524c;
  --ink-3: #5f6862;
  --ivy: #2f5d47;
  --ivy-deep: #17301f;
  --ivy-deeper: #12261a;
  --ivy-soft: #e2ece3;
  --gold: #a9802f;
  --gold-text: #7c5a17;
  --gold-bright: #d4b26f;
  --gold-soft: #f3e6c7;
  --red: #a2432c;
  --rule: rgba(29, 42, 36, 0.13);
  --rule-strong: rgba(29, 42, 36, 0.24);
  --cream: #f3ecdc;
  --cream-2: #c9d3c8;
  --ivy-ink: #17301f;            /* ivy used as text on light chips */
  --hd-bg: rgba(246, 241, 231, 0.88);
  --tint: #faf6ee;               /* the app window's side panel and notes */
  --tint-bar: #f9f5ec;
  --dot: #e2dccd;
  --focus-wash: rgba(226, 236, 227, 0.55);
  --open-wash: rgba(243, 230, 199, 0.5);
  --hover-wash: rgba(29, 42, 36, 0.04);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sheet: 0 1px 0 rgba(29, 42, 36, 0.05), 0 30px 60px -24px rgba(29, 42, 36, 0.3), 0 12px 24px -14px rgba(29, 42, 36, 0.14);
  --shadow-card: 0 24px 60px -30px rgba(29, 42, 36, 0.32), 0 2px 6px -2px rgba(29, 42, 36, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--ivy); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ivy); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.kicker { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivy); }
.fine { font-size: 13.5px; color: var(--ink-3); }
.fine.center { text-align: center; margin-top: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ivy); }
.btn-line { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--hover-wash); }
.btn-gold { background: var(--gold-bright); color: var(--ivy-deeper); }
.btn-gold:hover { background: #e2c486; }
.btn-cream { border-color: rgba(243, 236, 220, 0.35); color: var(--cream); }
.btn-cream:hover { border-color: var(--cream); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.hd { position: sticky; top: 0; z-index: 50; background: var(--hd-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.hd.scrolled { border-bottom-color: var(--rule); }
.hd-in { max-width: 1200px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 21px var(--serif); color: var(--ink); }
.brand-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--ivy); color: var(--paper); display: inline-grid; place-items: center; font: italic 500 16px/1 var(--serif); flex: none; }
.hd-nav { display: flex; gap: 26px; font-size: 14.5px; margin-left: auto; }
.hd-nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.hd-nav a:hover { color: var(--ink); }
.hd-actions { display: flex; align-items: center; gap: 14px; }
.hd-login { font-size: 14.5px; text-decoration: none; color: var(--ink); padding: 8px 4px; }
.hd-menu { display: none; position: relative; }
.hd-menu summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 14px; }
.hd-menu summary::-webkit-details-marker { display: none; }
.hd-menu summary span { width: 14px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.hd-menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; display: grid; padding: 6px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow-card); }
.hd-menu-list a { text-decoration: none; padding: 11px 12px; border-radius: 8px; font-size: 15px; }
.hd-menu-list a:hover, .hd-menu-list a:focus-visible { background: var(--paper); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-top: 64px; padding-bottom: 120px; }
.hero h1 { font-size: 74px; line-height: 1; letter-spacing: -0.03em; margin-top: 20px; }
.hero h1 em { background: linear-gradient(transparent 64%, var(--gold-soft) 64%); padding: 0 4px; margin: 0 -2px; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 520px; margin-top: 26px; }
.hero .ctas { margin-top: 34px; }
.hero .fine { margin-top: 14px; }

.hero-stage { position: relative; margin: 0; padding: 16px 12px 0 28px; }
.sprig { color: var(--ivy); pointer-events: none; }
.sprig-hero { position: absolute; width: 150px; height: 280px; left: -66px; top: -18px; opacity: 0.32; transform: rotate(-8deg); }
.sheet { position: relative; background: var(--sheet); border-radius: 4px; padding: 38px 40px 44px; box-shadow: var(--shadow-sheet); transform: rotate(-0.8deg); }
.sheet-name { font: 500 26px var(--serif); text-align: center; color: var(--ivy-ink); }
.sheet-contact { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.sheet-h { font: 600 10.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivy-ink); border-bottom: 1px solid var(--rule); padding-bottom: 5px; margin: 20px 0 12px; }
.sheet-job { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; margin-top: 14px; }
.sheet-job:first-of-type { margin-top: 0; }
.sheet-job b { font-weight: 600; }
.sheet-job span { color: var(--ink-3); white-space: nowrap; }
.sheet-lines { margin: 6px 0 0; padding-left: 16px; font-size: 13px; line-height: 1.5; }
.sheet-lines li { margin: 5px 0; }
.sheet-lines .was { color: var(--ink-3); }
.sheet-lines .was s { text-decoration-color: rgba(162, 67, 44, 0.6); }
.sheet-lines .now { background: var(--ivy-soft); box-shadow: 0 0 0 3px var(--ivy-soft); border-radius: 2px; }
.sheet-lines sup { font: 600 9.5px var(--sans); color: var(--ivy); margin-left: 3px; }

.sheet-notes { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--rule); display: grid; gap: 6px; font: italic 400 13.5px/1.4 var(--serif); color: var(--ink-2); }
.sheet-notes-h { font: 600 10px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-style: normal; }
.sheet-notes sup { font: 600 9.5px var(--sans); color: var(--ivy); margin-right: 4px; font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ui-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow-card); }
.ask-card { position: relative; width: 300px; margin: -22px -12px 0 auto; padding: 14px 16px 12px; font-size: 13px; transform: rotate(0.6deg); }
.ui-label { display: flex; align-items: center; gap: 8px; font: 600 10.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ui-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ivy); box-shadow: 0 0 0 3px var(--ivy-soft); }
.ask-q { font-weight: 600; margin-top: 8px; }
.ask-a { margin-top: 8px; background: var(--paper-2); border-radius: 12px 12px 12px 4px; padding: 8px 11px; color: var(--ink-2); }
.ask-saved { margin-top: 8px; color: var(--ivy); font-weight: 600; font-size: 12.5px; }

/* Sections */
.band { padding: 120px 0; border-top: 1px solid var(--rule); }
.band-alt { background: var(--paper-2); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; margin-bottom: 56px; }
.head h2 { font-size: 52px; line-height: 1.05; letter-spacing: -0.025em; margin-top: 14px; }
.head > p { font-size: 18px; color: var(--ink-2); max-width: 520px; }

/* How it works: one line, three steps */
.acts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: act; }
.act { display: flex; flex-direction: column; position: relative; }
.act + .act::before { content: '→'; position: absolute; left: -20px; top: 118px; color: var(--gold); font-size: 18px; }
.act-step { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.act-step i { font: italic 400 22px/1 var(--serif); color: var(--gold-text); width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(169, 128, 47, 0.4); display: grid; place-items: center; }
.act-body { flex: 1; background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 22px 24px; min-height: 184px; display: flex; flex-direction: column; }
.act-label { font: 600 11px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.act-old { font: 400 24px/1.3 var(--serif); color: var(--ink-3); }
.act-old s { text-decoration-color: rgba(162, 67, 44, 0.55); text-decoration-thickness: 1.5px; }
.bubble { font-size: 14.5px; padding: 10px 13px; max-width: 92%; }
.bubble.q { background: var(--ivy-deep); color: var(--cream); border-radius: 14px 14px 14px 4px; }
.bubble.a { background: var(--gold-soft); color: var(--ink); border-radius: 14px 14px 4px 14px; align-self: flex-end; margin-top: 10px; }
.act-new { font: 400 23px/1.32 var(--serif); }
.act-new mark { background: linear-gradient(transparent 58%, rgba(212, 178, 111, 0.5) 58%); color: inherit; }
.act-foot { font-size: 14.5px; color: var(--ink-2); margin-top: 14px; }

/* App window frame, shared by the previews */
.window { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow-card); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--rule); background: var(--tint-bar); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.win-bar span { margin-left: 12px; font-size: 12.5px; color: var(--ink-3); }

/* Career profile preview */
.pf { display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.pf-side { background: var(--tint); border-right: 1px solid var(--rule); padding: 24px 22px; }
.pf-name { font: 500 21px var(--serif); }
.pf-meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.pf-jobs { list-style: none; margin: 20px 0 0; padding: 0 0 0 4px; border-left: 2px solid var(--ivy-soft); }
.pf-jobs li { position: relative; padding: 0 0 16px 16px; font-size: 13.5px; }
.pf-jobs li::before { content: ''; position: absolute; left: -9px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ivy); }
.pf-jobs li.on::before { background: var(--ivy); }
.pf-jobs b { display: block; font-weight: 600; }
.pf-jobs span { font-size: 12px; color: var(--ink-3); }
.pf-skills-h { font: 600 10.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.pf-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pf-skills span { font-size: 12px; background: var(--ivy-soft); color: var(--ivy-ink); border-radius: 999px; padding: 3px 10px; }
.pf-main { padding: 24px 30px 14px; }
.pf-title { font-weight: 600; font-size: 15.5px; padding-bottom: 12px; }
.pf-title span { font-weight: 400; color: var(--ink-3); font-size: 13.5px; }
.pf-fact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 14.5px; align-items: start; }
.pf-fact .src { font: 500 11.5px var(--sans); white-space: nowrap; background: var(--ivy-soft); color: var(--ivy-ink); border-radius: 999px; padding: 3px 10px; }
.pf-from { grid-column: 1 / -1; font: italic 400 14.5px/1.45 var(--serif); color: var(--ink-2); background: var(--tint); border-left: 2px solid var(--gold); padding: 8px 12px; border-radius: 0 8px 8px 0; }
.pf-from span { display: block; font: 600 10.5px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 2px; font-style: normal; }
.pf-from b { font-weight: 500; font-style: normal; font-family: var(--sans); font-size: 13.5px; color: var(--ink); }
.pf-fact.focus { background: linear-gradient(90deg, var(--focus-wash), transparent); margin: 0 -14px; padding-left: 14px; padding-right: 14px; border-radius: 8px; }
.pf-actions { grid-column: 1 / -1; display: flex; gap: 6px; }
.pf-actions span { font-size: 12.5px; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 2px 11px; color: var(--ink-2); background: var(--sheet); }

.points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.points li { border-top: 1px solid var(--rule-strong); padding-top: 16px; }
.points b { display: block; font: 400 22px var(--serif); margin-bottom: 4px; }
.points span { color: var(--ink-2); font-size: 15px; }

/* Job matching */
.match-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: start; }
.match { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow-card); padding: 28px 30px; }
.match-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.match-title { font-weight: 600; font-size: 18px; }
.match-meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.tier { flex: none; font-weight: 600; font-size: 13.5px; border-radius: 999px; padding: 5px 13px; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.tier[data-tier="potential"] { background: var(--gold-soft); color: var(--gold-text); }
.tier[data-tier="strong"] { background: var(--ivy); color: var(--paper); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 4px; padding: 12px 0 0; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend li::before { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--sans); }
.legend .k-met::before { content: '✓'; background: var(--ivy); color: var(--paper); }
.legend .k-open::before { content: '?'; background: var(--gold-soft); color: var(--gold-text); border: 1px dashed var(--gold); }
.legend .k-not::before { content: '✕'; background: var(--paper-2); color: var(--ink-3); }
.reqs { list-style: none; margin: 8px 0 0; padding: 0; }
.req { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14.5px; transition: background 0.3s var(--ease); }
.req:first-child { border-top: 0; }
.req .mk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--sans); margin-top: 1px; }
.req.met .mk { background: var(--ivy); color: var(--paper); }
.req.open .mk { background: var(--gold-soft); color: var(--gold-text); border: 1px dashed var(--gold); }
.req.not .mk { background: var(--paper-2); color: var(--ink-3); }
.req b { font-weight: 600; }
.req.not b { color: var(--ink-3); }
.req em { font-style: normal; font-size: 11.5px; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 999px; padding: 0 7px; margin-left: 4px; vertical-align: 1px; }
.req small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.req.met small { color: var(--ink-2); }
.req.open { background: linear-gradient(90deg, var(--open-wash), transparent 70%); margin: 0 -14px; padding-left: 14px; padding-right: 14px; border-radius: 8px; }
.req.open + .req { border-top-color: transparent; }
.req.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { from { background: rgba(47, 93, 71, 0.16); } to { background: transparent; } }
.question { margin-top: 14px; background: var(--gold-soft); border-radius: 14px; padding: 16px 18px; }
.question-q { font-weight: 600; font-size: 15px; }
.question-why { font-size: 13px; color: var(--gold-text); margin-top: 2px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.opt { font: 500 14px var(--sans); min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(169, 128, 47, 0.45); background: var(--sheet); color: var(--ink); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.opt:hover { border-color: var(--gold-text); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.question-result { font-size: 13.5px; color: var(--ink); margin-top: 10px; }
.question-result:empty { display: none; }
.question-result button { font: inherit; background: none; border: 0; padding: 0; color: var(--ivy); text-decoration: underline; cursor: pointer; }

.match-side { display: grid; gap: 22px; }
.vs, .others { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 24px; }
.vs-h { font: 600 11px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.vs-row { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.vs-row p { color: var(--ink-2); }
.vs-k { font: 600 12px var(--sans); color: var(--ink-3); }
.vs-row.good .vs-k { color: var(--ivy); }
.vs-row.good p { font: italic 400 17px/1.4 var(--serif); color: var(--ink); }
.other { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
.other b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 600; }
.other em { flex: none; font-style: normal; font-weight: 600; font-size: 12.5px; border-radius: 999px; padding: 3px 10px; }
.t-strong { background: var(--ivy-soft); color: var(--ivy-ink); }
.t-stretch { background: var(--paper-2); color: var(--ink-2); }
.side-note { font-size: 13px; color: var(--ink-3); padding: 0 4px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sheet); border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; }
.plan { display: flex; flex-direction: column; padding: 32px 30px; border-left: 1px solid var(--rule); }
.plan:first-child { border-left: 0; }
.plan-name { font: 500 24px var(--serif); }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.plan-price b { font: 400 52px/1.1 var(--serif); letter-spacing: -0.02em; }
.plan-price span { font-size: 14px; color: var(--ink-3); }
.plan ul { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.plan li { position: relative; padding-left: 24px; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--ivy); border-bottom: 2px solid var(--ivy); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plan-clock { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gold-text); background: var(--gold-soft); border-radius: 10px; padding: 9px 12px; margin-top: 8px; }
.clock { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; margin-top: 2px; }
.clock::before, .clock::after { content: ''; position: absolute; left: 6.5px; bottom: 6.5px; width: 1.5px; background: currentColor; transform-origin: bottom; }
.clock::before { height: 5px; }
.clock::after { height: 4px; transform: rotate(90deg); }
.plan-pro { background: var(--ivy-deep); color: var(--cream); }
.plan-pro .plan-price span, .plan-pro ul { color: var(--cream-2); }
.plan-pro li::before { border-color: var(--gold-bright); }
.credit { display: flex; align-items: center; gap: 16px; margin: 22px auto 0; max-width: 760px; padding: 16px 22px; border: 1px dashed rgba(169, 128, 47, 0.55); border-radius: 14px; background: rgba(255, 253, 248, 0.6); font-size: 15px; color: var(--ink-2); }
.credit b { color: var(--ink); }
.credit-leaf { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--ivy); stroke-width: 1.5; stroke-linecap: round; }

/* Trust and FAQ */
.trust-faq { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 80px; }
.trust h2 { font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; margin-top: 14px; }
.trust dl { margin: 32px 0 0; }
.trust dt { font: 400 21px var(--serif); margin-top: 22px; }
.trust dt:first-child { margin-top: 0; }
.trust dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.faq { padding-top: 4px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 400 21px/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; font: 400 17px/1 var(--sans); color: var(--ink-2); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 44px 22px 0; margin-top: -4px; }

/* Closing band and footer */
.close { position: relative; overflow: hidden; background: var(--ivy-deep); color: var(--cream); padding: 120px 0 96px; }
.close .kicker { color: var(--gold-bright); }
.close h2 { font-size: 64px; line-height: 1.02; letter-spacing: -0.03em; margin-top: 16px; max-width: 820px; }
.close h2 em { color: var(--gold-bright); }
.close-lede { font-size: 19px; color: var(--cream-2); max-width: 560px; margin-top: 22px; }
.close .ctas { margin-top: 34px; }
.close-in { position: relative; }
.sprig-close { position: absolute; color: var(--gold-bright); width: 240px; height: 450px; right: 4%; top: 40px; opacity: 0.32; }
.also { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.also a { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid rgba(243, 236, 220, 0.2); text-decoration: none; }
.also b { font: 400 21px var(--serif); color: var(--cream); }
.also a:hover b { color: var(--gold-bright); }
.also span { font-size: 14.5px; color: var(--cream-2); }
.ft { background: var(--ivy-deeper); color: var(--cream-2); padding: 36px 0 44px; font-size: 14px; }
.ft-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.ft-brand { display: flex; align-items: center; gap: 10px; font: 500 19px var(--serif); color: var(--cream); }
.ft-brand .brand-mark { background: var(--gold-bright); color: var(--ivy-deeper); width: 26px; height: 26px; }
.ft-brand span:last-child { font: 400 14px var(--sans); color: var(--cream-2); margin-left: 4px; }
.ft-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.ft-nav a { text-decoration: none; padding: 4px 0; }
.ft-nav a:hover { color: var(--cream); text-decoration: underline; }
.ft-credit { grid-column: 1 / -1; font-size: 12px; color: #a9b6aa; max-width: 90ch; border-top: 1px solid rgba(243, 236, 220, 0.12); padding-top: 18px; }

/* Tablet */
@media (max-width: 1080px) {
  .hd-nav { display: none; }
  .hd-menu { display: block; }
  .hd-in { justify-content: space-between; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 96px; }
  .hero h1 { font-size: 64px; max-width: 760px; }
  .hero-stage { max-width: 620px; width: 100%; margin: 0 auto; }
  .head { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 40px; }
  .head h2 { font-size: 44px; }
  .match-layout, .trust-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .match-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .side-note { grid-column: 1 / -1; }
  .pf { grid-template-columns: 220px minmax(0, 1fr); }
}

/* Small tablet: steps and plans stack */
@media (max-width: 900px) {
  .acts { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .act + .act::before { content: '↓'; left: 50%; top: -30px; }
  .act-body { min-height: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { border-left: 0; border-top: 1px solid var(--rule); }
  .plan:first-child { border-top: 0; }
}

/* Phone */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .hd { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hd-in { padding: 12px 20px; gap: 12px; }
  .hd-login { display: none; }
  .brand { font-size: 19px; }
  .hero { padding-top: 32px; padding-bottom: 72px; gap: 36px; }
  .hero h1 { font-size: 44px; line-height: 1.04; }
  .lede { font-size: 17px; margin-top: 20px; }
  .hero .ctas .btn { width: 100%; }
  .hero-stage { padding: 0; }
  .sprig-hero { display: none; }
  .sheet { padding: 26px 20px 24px; transform: none; }
  .sheet-job { flex-direction: column; gap: 0; }
  .ask-card { width: auto; margin: -16px 10px 0; transform: none; }
  .band { padding: 80px 0; }
  .head h2 { font-size: 36px; }
  .head > p { font-size: 16.5px; }
  .acts { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .act + .act::before { content: '↓'; left: 50%; top: -30px; }
  .act-body { min-height: 0; }
  .pf { grid-template-columns: minmax(0, 1fr); }
  .pf-side { border-right: 0; border-bottom: 1px solid var(--rule); padding: 18px 18px 14px; }
  .pf-jobs, .pf-skills-h, .pf-skills { display: none; }
  .pf-main { padding: 16px 18px 8px; }
  .pf-fact { grid-template-columns: minmax(0, 1fr); }
  .pf-fact .src { justify-self: start; }
  .points { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .match { padding: 20px 18px; }
  .match-top { flex-direction: column; gap: 10px; }
  .match-side { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { border-left: 0; border-top: 1px solid var(--rule); padding: 26px 22px; }
  .plan:first-child { border-top: 0; }
  .credit { align-items: flex-start; padding: 14px 16px; }
  .trust h2 { font-size: 34px; }
  .faq summary { font-size: 19px; }
  .faq details p { padding-right: 0; }
  .close { padding: 80px 0 64px; }
  .close h2 { font-size: 40px; }
  .close-lede { font-size: 17px; }
  .close .ctas .btn { width: 100%; }
  .sprig-close { width: 150px; height: 280px; right: -40px; top: 20px; opacity: 0.22; }
  .also { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 56px; }
  .ft-in { grid-template-columns: minmax(0, 1fr); }
  .ft-nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.hd-sep { width: 1px; height: 18px; background: var(--rule-strong); align-self: center; }
.hd-nav a.hd-tool { color: var(--ivy); font-weight: 500; }
.find-cta { border-top: 1px solid var(--rule); padding-top: 18px; display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.find-cta b { color: var(--ink); }

/* Dark theme (Ivy Night, the same colors as the app). The ◐ button in the header switches Light, Dark,
   or Auto (follows the device), saved in this browser and shared with the app (theme.js). */
html[data-theme="dark"] { --paper: #0f1813; --paper-2: #15211a; --sheet: #1c2a22; --ink: #f1ebdd; --ink-2: #c9d1c7; --ink-3: #a7b3a8; --ivy: #9cc8a6; --ivy-deep: #1f3a2b; --ivy-deeper: #0b130e; --ivy-soft: rgba(156, 200, 166, 0.14); --ivy-ink: #cfe5d4; --gold: #d4b26f; --gold-text: #e2c486; --gold-soft: rgba(212, 178, 111, 0.16); --red: #e8a596; --rule: rgba(243, 236, 220, 0.1); --rule-strong: rgba(243, 236, 220, 0.22); --hd-bg: rgba(15, 24, 19, 0.88); --tint: #18251d; --tint-bar: #18251d; --dot: #2c3b32; --focus-wash: rgba(156, 200, 166, 0.1); --open-wash: rgba(212, 178, 111, 0.12); --hover-wash: rgba(243, 236, 220, 0.06); --shadow-sheet: 0 1px 2px rgba(0, 0, 0, 0.35), 0 30px 60px -24px rgba(0, 0, 0, 0.6); --shadow-card: 0 24px 60px -30px rgba(0, 0, 0, 0.65), 0 2px 6px -2px rgba(0, 0, 0, 0.3); color-scheme: dark; }
@media (prefers-color-scheme: dark) { html[data-theme="auto"] { --paper: #0f1813; --paper-2: #15211a; --sheet: #1c2a22; --ink: #f1ebdd; --ink-2: #c9d1c7; --ink-3: #a7b3a8; --ivy: #9cc8a6; --ivy-deep: #1f3a2b; --ivy-deeper: #0b130e; --ivy-soft: rgba(156, 200, 166, 0.14); --ivy-ink: #cfe5d4; --gold: #d4b26f; --gold-text: #e2c486; --gold-soft: rgba(212, 178, 111, 0.16); --red: #e8a596; --rule: rgba(243, 236, 220, 0.1); --rule-strong: rgba(243, 236, 220, 0.22); --hd-bg: rgba(15, 24, 19, 0.88); --tint: #18251d; --tint-bar: #18251d; --dot: #2c3b32; --focus-wash: rgba(156, 200, 166, 0.1); --open-wash: rgba(212, 178, 111, 0.12); --hover-wash: rgba(243, 236, 220, 0.06); --shadow-sheet: 0 1px 2px rgba(0, 0, 0, 0.35), 0 30px 60px -24px rgba(0, 0, 0, 0.6); --shadow-card: 0 24px 60px -30px rgba(0, 0, 0, 0.65), 0 2px 6px -2px rgba(0, 0, 0, 0.3); color-scheme: dark; } }
.theme-btn { font: 500 13px var(--sans); background: none; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 4px 11px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.theme-btn:hover { color: var(--ink); border-color: var(--ink-3); }
.hd-menu-theme { display: none; }
/* Phones: the switch moves into the menu so the header stays on one line. */
@media (max-width: 760px) {
  .hd-actions > .theme-btn { display: none; }
  .hd-menu-theme { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0 0 8px 8px; padding: 10px 12px; margin-top: 4px; cursor: pointer; }
}

/* The section you're reading is underlined in the header. */
.hd-nav a { position: relative; }
.hd-nav a.on { color: var(--ink); }
.hd-nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); }

/* The hero's rotating word */
.hero h1 em.rotate { display: inline-block; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.hero h1 em.rotate.out { opacity: 0; transform: translateY(0.18em); }
@media (prefers-reduced-motion: reduce) { .hero h1 em.rotate { transition: none; } }

.match-for { font: 600 11px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.faq-h { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 8px; }
.brand, .hd-actions .btn { white-space: nowrap; }

/* The free resume builder page (free.html): what's free, at a glance, and a real screenshot. */
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; }
.checks li { display: flex; gap: 10px; align-items: baseline; font: 500 16px var(--sans); color: var(--ink); }
.checks li::before { content: '✓'; color: var(--ivy); font-weight: 600; }
.checks + .ctas { margin-top: 30px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
@media (max-width: 760px) {
  .checks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Brand logo (the crowned cat): replaces the old lettered mark. */
img.brand-logo { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; background: none; object-fit: contain; flex: none; display: block; }
.ft-brand img.brand-logo { background: none; width: 30px; height: 30px; }
@media (max-width: 600px) { img.brand-logo { width: 28px; height: 28px; } }
