/* HireYaaar: warm white, black and orange. One stylesheet, no build step. */
@font-face { font-family: "Inter Tight"; src: url(/fonts/inter-tight.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #F6F5F3;
  --surface: #FFFFFF;
  --ink: #17110D;
  --ink-2: #5A524C;
  --muted: #756E68;
  --line: #ECE9E5;
  --line-2: #E0DBD5;
  --black: #0E0E10;
  --orange: #FF6A1A;
  --orange-2: #FF8A3D;
  --orange-ink: #C2410C;
  --amber: #FFB938;
  --grad: linear-gradient(135deg, #FFA24A 0%, #FF6A1A 100%);
  --grad-soft: linear-gradient(135deg, #FFE9D6 0%, #FFD2A8 100%);
  --green: #12A150;
  --green-bg: #E6F6EC;
  --red: #E5484D;
  --red-bg: #FDECEC;
  --amber-bg: #FFF0DF;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --shadow: 0 1px 0 rgba(23, 17, 13, .04), 0 14px 32px -20px rgba(23, 17, 13, .22);
  --shadow-lg: 0 30px 60px -28px rgba(23, 17, 13, .4);
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: 18px;
  --maxw: 1240px;
}
@media (min-width: 900px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
body:has(nav.tabs) { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body:has(nav.tabs) { padding-bottom: 56px; } }
body:has(.landing), body:has(.public) { padding-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(255, 106, 26, .55); outline-offset: 3px; }
.pbar:focus, .pbar:focus-visible { outline: 0; }
.pbar:focus-visible::before { background: rgba(255, 255, 255, .6); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.label { font-size: 13px; color: var(--muted); }
.ui-icon { width: 20px; height: 20px; flex: none; }
.ui-icon.sm { width: 16px; height: 16px; }
.loading-icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }

/* Buttons */
.btn { appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--black); color: #fff; font-weight: 550; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), background .2s, box-shadow .2s, filter .2s; }
.btn:hover { background: #29292D; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn { max-width: 100%; }
@media (max-width: 480px) { .btn { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; line-height: 1.25; text-align: center; } }
.btn.lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; gap: 6px; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.btn.plain { background: transparent; color: var(--ink-2); }
.btn.plain:hover { background: rgba(23, 17, 13, .06); color: var(--ink); transform: none; }
.btn.danger { background: var(--red-bg); color: #B42318; }
.btn.hot { background: var(--grad); color: var(--ink); font-weight: 650; }
.btn.hot:hover { background: var(--grad); filter: brightness(1.06); }
.btn.white { background: #fff; color: var(--ink); }
.btn.white:hover { background: #fff; }
.btn.wide { width: 100%; }
.btn.icon-button { width: 44px; height: 44px; padding: 0; }
.btn.go { padding-right: 8px; }
.btn.lg.go { padding-right: 9px; }
.btn.plain.light { color: rgba(255, 255, 255, .85); }
.go-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(255, 106, 26, .7); transition: transform .25s var(--ease); }
.go-btn svg { width: 16px; height: 16px; stroke-width: 2.3; transition: transform .25s var(--ease); }
button.go-btn:hover svg, .btn:hover .go-btn svg, .mrow:hover .go-btn svg { transform: translate(2px, -2px); }
.btn .go-btn { width: 32px; height: 32px; box-shadow: none; }
.btn.lg .go-btn { width: 38px; height: 38px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.icon-btn .dot { position: absolute; top: 10px; right: 11px; box-shadow: 0 0 0 2px #fff; }
.link-light { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .75); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-light:hover { color: #fff; }

/* Pills and dots */
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #F1EEEA; color: var(--ink-2); font-size: 12px; font-weight: 650; white-space: nowrap; }
.pill.hot { background: var(--grad); color: var(--ink); }
.pill.leaf { background: var(--green-bg); color: #0F7A3D; }
.pill.amber { background: var(--amber-bg); color: #B45309; }
.pill.coral { background: var(--red-bg); color: #B42318; }
.pill.grey { background: #F1EEEA; color: var(--ink-2); }
.pill-soft { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dot.live { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

/* Forms */
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=month], input[type=date], input[type=search], select, textarea {
  width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 450; transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; min-height: 96px; padding: 13px 16px; resize: vertical; }
select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238F8882' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
input::placeholder, textarea::placeholder { color: #9A938D; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 26, .18); }
input[type=range] { height: auto; padding: 0; border: 0; accent-color: var(--orange); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--orange); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 550; cursor: pointer; }
.toggle input { appearance: none; position: relative; width: 46px; height: 28px; flex: none; border-radius: 999px; background: #D9D4CE; padding: 0; border: 0; cursor: pointer; transition: background .2s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.toggle input:checked { background: var(--orange); }
.toggle input:checked::after { transform: translateX(18px); }
.toggle input:focus { box-shadow: 0 0 0 4px rgba(255, 106, 26, .25); }
.toggle.compact { gap: 10px; font-size: 13px; color: var(--ink-2); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 550; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--black); border-color: var(--black); color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--amber-bg); color: #9A3412; font-size: 14px; font-weight: 600; }
.tag button { padding: 0; border: 0; background: none; color: inherit; font-weight: 800; cursor: pointer; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #F2EFEB; }
.seg button { height: 40px; padding: 0 10px; white-space: nowrap; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(23, 17, 13, .12); }
.form-error { padding: 10px 14px; border-radius: 12px; background: var(--red-bg); color: #B42318; font-size: 14px; }
details > summary { cursor: pointer; font-weight: 650; }
details[open] > summary { margin-bottom: 12px; }
.self-id { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Shell */
.app-header { display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); min-height: 76px; margin: 0 auto; padding: env(safe-area-inset-top) var(--pad) 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-symbol { border-radius: 10px; }
.wordmark { font-size: 21px; font-weight: 650; letter-spacing: -.035em; }
.wordmark span { color: var(--orange-ink); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border: 0; border-radius: 50%; background: var(--black); color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
nav.tabs { position: fixed; z-index: 40; top: calc(16px + env(safe-area-inset-top)); left: 50%; display: flex; gap: 4px; padding: 5px; transform: translateX(-50%); border: 1px solid rgba(23, 17, 13, .06); border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: 0 10px 32px -14px rgba(23, 17, 13, .25); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
nav.tabs button { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 550; cursor: pointer; transition: background .2s, color .2s; }
nav.tabs button:hover { background: rgba(23, 17, 13, .05); color: var(--ink); }
nav.tabs button.on { background: var(--black); color: #fff; }
.tab-ico { display: inline-flex; order: 2; position: relative; }
.tab-svg { display: none; width: 22px; height: 22px; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--grad); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }
@media (max-width: 899px) {
  .app-header { min-height: 68px; }
  nav.tabs { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; right: 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 8px; transform: none; border: 0; border-radius: 28px; background: var(--black); box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .6); -webkit-backdrop-filter: none; backdrop-filter: none; }
  nav.tabs button { flex-direction: column; justify-content: center; gap: 3px; height: 56px; padding: 0; border-radius: 22px; color: #A39C95; font-size: 11px; }
  nav.tabs button:hover { background: transparent; color: #fff; }
  nav.tabs button.on { background: var(--grad); color: var(--ink); }
  .tab-ico { order: 0; }
  .tab-svg { display: block; }
  .badge { position: absolute; top: -7px; right: -11px; background: #fff; color: var(--ink); box-shadow: 0 0 0 2px var(--black); }
  nav.tabs button.on .badge { background: var(--black); color: #fff; box-shadow: 0 0 0 2px #FF8A3D; }
}
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; max-width: 760px; margin: 0 auto; padding: 6px var(--pad) 28px; }
.overview, .jobs-workspace, .resume-workspace, .applications-workspace { max-width: var(--maxw); }
.page h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.page h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.page h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.topbar, .workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.workspace-header { flex-direction: column; align-items: stretch; gap: 8px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 8px; }
.page-head p { margin-top: 10px; }
.page.loading-state { place-items: center; align-content: center; min-height: 70vh; text-align: center; }
.empty { display: grid; justify-items: center; gap: 10px; padding: 44px 20px; text-align: center; }
.empty > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--amber-bg); color: var(--orange-ink); }
.empty-note { padding: 8px 0; color: var(--muted); font-size: 14px; }
#toast { position: fixed; z-index: 90; left: 50%; top: calc(16px + env(safe-area-inset-top)); max-width: 90vw; padding: 12px 18px; transform: translate(-50%, -8px); border-radius: 999px; background: var(--black); color: #fff; font-size: 14px; font-weight: 550; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
/* On wide screens the tabs sit at the top: messages appear at the bottom instead of over them. */
@media (min-width: 900px) { #toast { top: auto; bottom: 24px; transform: translate(-50%, 8px); } }

/* Cards */
.card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; min-width: 0; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h3 { font-size: 16px; font-weight: 550; letter-spacing: -.01em; }
.dark { color: #fff; background-color: var(--black); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 32px 32px; }
.dark .muted, .dark small { color: rgba(255, 255, 255, .6); }
.big { display: flex; align-items: baseline; gap: 2px; font-size: clamp(44px, 5vw, 68px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.big small, .num small { margin-left: 2px; color: var(--muted); font-size: .42em; letter-spacing: -.01em; }
.logo { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #2B2522; color: #fff; font-size: 16px; font-weight: 650; }
.logo[data-tone="0"] { background: #17110D; } .logo[data-tone="1"] { background: #FF6A1A; color: var(--ink); } .logo[data-tone="2"] { background: #FFB938; color: var(--ink); }
.logo[data-tone="3"] { background: #6B4E3D; } .logo[data-tone="4"] { background: #E8590C; } .logo[data-tone="5"] { background: #3A2D26; }
.logo[data-tone="6"] { background: #8F8882; } .logo[data-tone="7"] { background: #C2410C; }

/* Overview */
.overview-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 10px 0 6px; }
.hello { color: var(--ink-2); }
.overview h1 { margin: 6px 0 16px; font-size: clamp(54px, 9vw, 112px); line-height: .9; letter-spacing: -.05em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.hero { grid-template-rows: auto 1fr; overflow: hidden; }
.bento > .hero { grid-column: 1 / span 6; }
.bento > .gauge-card, .bento > .trend, .bento > .matches, .bento > .needs { grid-column: span 3; }
.bento > .activity { grid-column: 1 / -1; }
@media (min-width: 1100px) {
  .bento > .hero, .bento > .gauge-card, .bento > .trend { grid-row: 1; }
  .bento > .activity { grid-column: 1 / span 6; grid-row: 2; }
  .bento > .matches { grid-column: 7 / span 3; grid-row: 2; }
  .bento > .needs { grid-column: 10 / span 3; grid-row: 2; }
}
.glow { background: radial-gradient(120% 70% at 50% 120%, rgba(255, 106, 26, .55) 0%, rgba(255, 176, 64, .4) 38%, rgba(255, 209, 102, 0) 72%), #fff; }
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; align-content: center; }
.hero-left { display: grid; gap: 14px; align-content: center; justify-items: start; }
.hero-left .big { font-size: clamp(64px, 7vw, 96px); }
.rule { max-width: 300px; }
.meter { width: 100%; height: 8px; border-radius: 99px; background: rgba(23, 17, 13, .09); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; }
.stack { position: relative; height: 290px; }
.mini { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border: 0; border-radius: 20px; text-align: left; cursor: pointer; transition: transform .4s var(--ease); }
.mini b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mini small { display: block; overflow: hidden; font-size: 12.5px; opacity: .7; text-overflow: ellipsis; white-space: nowrap; }
.mini.m1 { top: 128px; z-index: 3; background: #fff; color: var(--ink); box-shadow: 0 26px 50px -22px rgba(23, 17, 13, .5); transform: rotate(-2deg); }
.mini.m2 { top: 70px; z-index: 2; background: var(--grad); color: var(--ink); transform: rotate(3deg) scale(.96); }
.mini.m3 { top: 14px; z-index: 1; background: var(--black); color: #fff; transform: rotate(-4deg) scale(.92); }
.stack:hover .m1 { transform: translateY(10px) rotate(-1deg); }
.stack:hover .m2 { transform: translateY(-4px) rotate(4deg) scale(.96); }
.stack:hover .m3 { transform: translateY(-10px) rotate(-5deg) scale(.92); }
.mini.ghost { border: 1.5px dashed rgba(23, 17, 13, .22); background: rgba(255, 255, 255, .5); box-shadow: none; cursor: default; }
.mini.ghost p { margin: auto; color: var(--ink-2); font-size: 14px; text-align: center; }
.gauge-wrap { position: relative; width: 100%; max-width: 290px; margin: 0 auto; aspect-ratio: 240 / 132; }
.gauge { width: 100%; height: 100%; overflow: visible; }
.tick { fill: none; stroke: #EFD9C8; stroke-width: 3.2; }
.tick.on { stroke: var(--orange); }
.gauge-center { position: absolute; right: 0; bottom: 6px; left: 0; color: var(--ink-2); font-size: 42px; letter-spacing: -.04em; line-height: 1; text-align: center; }
.ok-pill { display: inline-flex; align-items: center; gap: 6px; justify-self: center; padding: 5px 12px; border-radius: 99px; background: var(--green-bg); color: #0F7A3D; font-size: 13px; font-weight: 600; }
.trend { color: #fff; background: radial-gradient(90% 70% at 100% 100%, rgba(255, 122, 26, .75), transparent 70%), linear-gradient(165deg, #1C1411 0%, #4A2412 55%, #7A3A14 100%); }
.trend .big small { color: rgba(255, 255, 255, .6); }
.spark { width: 100%; height: 96px; overflow: visible; }
.spark-area { fill: url(#spark-fill); }
.spark-line { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.spark-halo { fill: rgba(255, 255, 255, .28); }
.spark-dot { fill: var(--orange); stroke: #fff; stroke-width: 1.6; }
.spark.flat .spark-line { stroke-dasharray: 3 6; opacity: .5; }
.legend { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend b { margin-left: 4px; color: #fff; }
.dot-a, .dot-b { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.dot-b { background: var(--orange); }
.mrows, .arows, .needs-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.mrow { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0 -8px; padding: 10px 8px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; transition: background .2s; }
.mrow:hover { background: #F7F5F2; }
.mrow b, .arow b, .item .title { display: block; overflow: hidden; font-size: 14.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mrow small, .arow small { display: block; overflow: hidden; color: var(--muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.score-num { color: var(--orange-ink); font-size: 16px; font-weight: 650; }
.score-num small { display: inline; font-size: 11px; color: var(--orange-ink); }
.arow { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.arow:first-child { border-top: 0; }
.aright { display: grid; justify-items: end; gap: 4px; }
.needs-list { gap: 12px; min-width: 0; }
.needs.has-items { background-color: var(--black); }
.count-pill { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 99px; background: var(--grad); color: var(--ink); font-size: 12px; font-weight: 700; }
.need { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .08); }
.need-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.need-top b { display: block; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.need-top small { display: block; overflow: hidden; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.need-why { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: rgba(255, 255, 255, .82); font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.need-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.all-clear { display: grid; justify-items: start; gap: 8px; padding: 10px 0; }
.all-clear p { color: rgba(255, 255, 255, .7); font-size: 14px; }
.clear-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; }
@media (max-width: 1099px) {
  .bento > .hero { grid-column: 1 / -1; }
  .bento > .gauge-card, .bento > .trend, .bento > .matches, .bento > .needs { grid-column: span 6; }
}
@media (max-width: 699px) {
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: 1 / -1 !important; }
  .bento > .needs.has-items { order: -1; }
  .hero-body { grid-template-columns: 1fr; }
  .stack { height: 250px; }
  .mini.m1 { top: 112px; } .mini.m2 { top: 62px; } .mini.m3 { top: 12px; }
  .overview-head { flex-direction: column; align-items: stretch; }
  .overview-head .btn { width: 100%; }
}

/* Applications and jobs */
.ministats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ministat { gap: 6px; padding: 16px 18px; }
.ministat .big { font-size: 42px; }
.ministat small { color: var(--muted); font-size: 13px; }
.list { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; }
.list:empty { display: none; }
.list > h3 { margin: 8px 4px 0; color: var(--ink-2); font-size: 15px; font-weight: 550; }
.item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-align: left; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.item:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(23, 17, 13, .35); }
.job-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.search-field { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 220px; height: 50px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.search-field:focus-within { box-shadow: inset 0 0 0 2px var(--orange); }
.search-field input { height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.job-browse-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.job-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.job-result { gap: 12px; transition: transform .25s var(--ease), box-shadow .25s; }
.job-result:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.job-top { display: flex; align-items: center; gap: 12px; }
.job-top b { display: block; font-weight: 600; }
.job-top small { display: block; color: var(--muted); font-size: 12.5px; }
.job-result h2 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
.match-reason { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-2); font-size: 13.5px; }
.match-reason svg { margin-top: 2px; color: var(--green); }
.job-commands { margin-top: 4px; }
.desktop-filters { position: sticky; top: 92px; }
.job-toolbar .filters-toggle, .job-toolbar .quick-remote { display: none; }
@media (max-width: 1000px) { .job-toolbar .filters-toggle, .job-toolbar .quick-remote { display: inline-flex; } }
.filter-panel { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.filter-note { display: flex; gap: 10px; color: var(--muted); font-size: 13px; }
.score-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
@media (max-width: 1000px) { .job-browse-layout { grid-template-columns: 1fr; } .desktop-filters { display: none; } }

/* Swipe deck (phones) */
.deck { position: relative; min-height: 540px; }
.jobcard { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); touch-action: pan-y; user-select: none; transition: transform .25s ease, opacity .25s ease; }
.jobcard.behind { transform: scale(.95) translateY(12px); opacity: .6; pointer-events: none; }
.jobcard header { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--grad-soft); }
.score { margin-left: auto; padding: 8px 12px; border-radius: 16px; background: #fff; font-size: 22px; font-weight: 650; line-height: 1; text-align: center; }
.score small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 600; }
.jobbody { display: grid; flex: 1; align-content: start; gap: 12px; padding: 18px; overflow-y: auto; touch-action: pan-y; }
.jobbody h2 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.reasons { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.desc { max-height: 260px; padding-top: 10px; overflow: auto; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.stamp { position: absolute; top: 90px; padding: 6px 14px; border: 3px solid; border-radius: 10px; font-size: 22px; font-weight: 900; opacity: 0; transform: rotate(-12deg); }
.stamp.yes { left: 22px; color: var(--green); }
.stamp.no { right: 22px; color: var(--red); transform: rotate(12deg); }
.actions { display: flex; justify-content: center; gap: 18px; }
.round { width: 64px; height: 64px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); font-size: 26px; cursor: pointer; }
.round.yes { width: 76px; height: 76px; background: var(--grad); color: #fff; font-size: 30px; }

/* Resume */
.resume-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 899px) { .resume-columns { grid-template-columns: 1fr; } }
.workspace-section, .upload-zone { display: grid; gap: 14px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.upload-zone { grid-template-columns: minmax(0, 1fr); justify-items: start; border: 1.5px dashed rgba(255, 106, 26, .5); background: #FFFBF7; box-shadow: none; }
.upload-zone > *, .import-control { min-width: 0; max-width: 100%; }
.import-receipt, .import-status, .source-file b, .source-file small { overflow-wrap: anywhere; }
.source-file small { display: block; }
.upload-zone > svg, .section-icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--grad); color: #fff; }
.upload-zone > :empty { display: none; }
@media (min-width: 900px) {
  .upload-zone { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 18px; row-gap: 10px; padding: 18px 24px; }
  .upload-zone > svg { grid-column: 1; grid-row: 1 / span 2; }
  .upload-zone > h2 { grid-column: 2; grid-row: 1; margin: 0; align-self: end; }
  .upload-zone > p { grid-column: 2; grid-row: 2; margin: 0; align-self: start; }
  .upload-zone > .import-control { grid-column: 3; grid-row: 1 / span 2; justify-self: end; }
  .upload-zone > .source-documents { grid-column: 1 / -1; grid-row: 3; }
}
.section-icon { display: grid; place-items: center; }
.generate-panel { position: sticky; top: 92px; color: #fff; background-color: var(--black); background-image: radial-gradient(80% 50% at 100% 0%, rgba(255, 106, 26, .35), transparent 70%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; }
.generate-panel label.field, .generate-panel .muted { color: rgba(255, 255, 255, .7); }
.generate-panel .btn { background: var(--grad); color: var(--ink); font-weight: 650; }
.resume-target { display: grid; gap: 14px; }
.trust-line { display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .6); }
.extraction-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 12px 14px; border-radius: 16px; background: #F7F5F2; }
.stat b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.stat span { color: var(--muted); }
details.review-section, section.review-section { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: #FCFBFA; }
.source-documents { display: grid; gap: 8px; }
.source-file { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.source-file span { flex: 1 1 14rem; min-width: 0; }
.import-control { display: grid; gap: 8px; }
.import-receipt { color: var(--green); }
.resume { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #FCFBFA; }
.resume ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; }
.resume-section { display: grid; gap: 6px; }
.letter { font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.timeline { display: grid; gap: 12px; padding-left: 16px; border-left: 2px solid var(--line-2); }

/* Profile */
.li { gap: 0; padding: 0; overflow: hidden; }
.li .cover { height: 120px; background: radial-gradient(80% 160% at 100% 0%, #FFD166, transparent 60%), var(--grad); }
.li-body { display: grid; justify-items: start; gap: 6px; padding: 0 20px 20px; }
.li-body > * { justify-self: stretch; }
.li-body > .li-photo { justify-self: start; }
.li-photo { display: grid; place-items: center; width: 112px; height: 112px; margin-top: -56px; overflow: hidden; border: 4px solid #fff; border-radius: 50%; background: var(--amber-bg); box-shadow: var(--shadow); }
.li-photo.small { width: 72px; height: 72px; margin-top: 0; border-width: 2px; }
.li-photo img { width: 100%; height: 100%; object-fit: cover; }
.li-initials { color: var(--orange-ink); font-size: 38px; font-weight: 650; }
.li-photo.small .li-initials { font-size: 24px; }
.li h1 { margin-top: 6px; font-size: 30px; letter-spacing: -.03em; }
.li-headline { font-size: 16px; }
.open-to { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: var(--green-bg); color: #14532D; font-size: 14px; }
.li-links a { font-size: 14px; font-weight: 650; text-decoration: none; color: var(--orange-ink); }
.strength { display: grid; gap: 6px; padding-top: 6px; }
.strength progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 999px; background: #F1EEEA; overflow: hidden; }
.strength progress::-webkit-progress-bar { border-radius: 999px; background: #F1EEEA; }
.strength progress::-webkit-progress-value { border-radius: 999px; background: var(--grad); }
.strength progress::-moz-progress-bar { background: var(--orange); }
.li-list { display: grid; }
.li-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.li-item:first-child { padding-top: 0; border-top: 0; }
.li-item .grow { display: grid; gap: 2px; }
.li-bullets { display: grid; gap: 4px; margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.plain-list { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.about { white-space: pre-wrap; }
.home-link { color: inherit; text-decoration: none; }
.public { padding-top: 18px; padding-bottom: 32px; }
.qr-box { display: grid; place-items: center; padding: 14px; border-radius: 18px; background: #fff; }
.qr { width: 240px; height: 240px; image-rendering: pixelated; }
.share-url { font-weight: 650; text-align: center; word-break: break-all; }

/* First-time setup */
.setup { padding-top: 22px; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.progress span { height: 6px; border-radius: 999px; background: var(--line-2); }
.progress span.on { background: var(--grad); }
.setup-labels { display: grid; grid-template-columns: repeat(5, 1fr); color: var(--muted); font-size: 12px; }
.setup-labels .active { color: var(--ink); font-weight: 650; }
.setup-labels span { padding-right: 4px; overflow-wrap: anywhere; }
@media (max-width: 520px) { .setup-labels { font-size: 11px; } }

/* Who you are, which industries to search, and what skipping costs. */
.persona-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.persona { display: grid; justify-items: start; gap: 6px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.persona:hover { border-color: var(--ink); }
.persona.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 26, .18); }
.persona .ui-icon { color: var(--orange-ink); }
.persona b { font-size: 15px; font-weight: 650; }
.persona small { color: var(--muted); font-size: 13px; line-height: 1.35; }
@media (max-width: 640px) { .persona-grid { grid-template-columns: 1fr; } }
.coverage .meter { height: 10px; }
.ask .skip-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--amber-bg); color: #9A3412; font-size: 14px; }
.ask .skip-note .ui-icon { flex: none; margin-top: 2px; }
.hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip.hint { height: auto; min-height: 38px; padding: 6px 14px; border-style: dashed; text-align: left; }
.chip .count { display: inline; margin-left: 2px; color: var(--muted); font-weight: 500; }
.ask > .row > h3 { flex: 1 1 0; min-width: 0; }
.ask .chip { white-space: nowrap; }
.ask .chip.hint { white-space: normal; }
.chip.on .count { color: rgba(255, 255, 255, .7); }
.chip .why { display: block; color: var(--muted); font-weight: 450; font-size: 12px; }

/* Where we look: the careers pages being read for this person. */
.bento > .sources { grid-column: 1 / -1; }
.source-row { display: grid; gap: 6px; }
.sources .guessed { padding: 10px 12px; border-radius: 12px; background: var(--bg); flex-wrap: nowrap; }
.sources .guessed p { margin: 0; flex: 1 1 auto; min-width: 0; }
@media (max-width: 480px) { .sources .guessed { flex-wrap: wrap; } }
.add-company { flex-wrap: nowrap; }
.add-company input { flex: 1 1 auto; min-width: 0; }
.company-list summary { cursor: pointer; color: var(--ink-2); font-weight: 600; }
.company-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.company-row .grow { display: grid; min-width: 0; }
.company-row small { color: var(--muted); }
.company-row.blocked small, .company-row.none small, .company-row.error small { color: #B45309; }
.trust-line { display: flex; gap: 8px; align-items: flex-start; }

/* Sheets and the interview moment */
.backdrop { position: fixed; z-index: 60; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(14, 14, 16, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s both; }
.sheet { display: grid; gap: 14px; width: 100%; max-width: 760px; max-height: 92vh; padding: 22px 20px calc(26px + env(safe-area-inset-bottom)); overflow-y: auto; border-radius: 28px 28px 0 0; background: var(--bg); animation: sheet-up .35s var(--ease) both; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 800px) { .backdrop { align-items: center; } .sheet { border-radius: 28px; } }
.match-backdrop { align-items: center; background: rgba(14, 14, 16, .8); }
.match-backdrop .sheet { max-width: 440px; margin: 16px; overflow: hidden; border-radius: 28px; background: var(--black); color: #fff; }
.match { position: relative; display: grid; gap: 14px; justify-items: center; padding: 18px 6px 6px; text-align: center; }
.match .muted { color: rgba(255, 255, 255, .7); }
.match-kicker { color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.match-title { font-family: var(--serif); font-size: 56px; font-weight: 400; letter-spacing: -.02em; transform: rotate(-3deg); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.match-line { max-width: 320px; font-size: 18px; font-weight: 600; }
.match .row { justify-content: center; }
.match > :not(.hearts) { position: relative; z-index: 1; }
.match-pair { display: flex; align-items: center; gap: 4px; margin: 6px 0; }
.bubble { display: grid; place-items: center; width: 84px; height: 84px; border: 4px solid #fff; border-radius: 50%; font-size: 34px; font-weight: 800; }
.bubble.me { background: #fff; color: var(--ink); animation: slide-in-left .7s ease-out both; }
.bubble.them { background: var(--grad); color: var(--ink); animation: slide-in-right .7s ease-out both; }
.bubble.spark { z-index: 1; width: 46px; height: 46px; margin: 0 -14px; border-width: 3px; background: var(--orange); color: #fff; font-size: 22px; animation: pop .5s .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.hearts { position: absolute; inset: -20px 0 auto; height: 100%; overflow: hidden; pointer-events: none; }
.heart { position: absolute; bottom: -20px; color: var(--amber); font-size: 18px; opacity: 0; animation: float-up 3.2s ease-in infinite; }
.heart.h0 { left: 6%; } .heart.h1 { left: 22%; animation-delay: .5s; font-size: 14px; } .heart.h2 { left: 40%; animation-delay: 1.1s; }
.heart.h3 { left: 58%; animation-delay: .3s; font-size: 22px; } .heart.h4 { left: 76%; animation-delay: .9s; } .heart.h5 { left: 90%; animation-delay: 1.5s; font-size: 13px; }
.heart:nth-child(n+7) { animation-duration: 4s; } .heart:nth-child(n+13) { animation-duration: 2.6s; color: #fff; }
@keyframes pop { from { transform: scale(.3) rotate(-4deg); opacity: 0; } }
@keyframes slide-in-left { from { transform: translateX(-120px) rotate(-20deg); opacity: 0; } }
@keyframes slide-in-right { from { transform: translateX(120px) rotate(20deg); opacity: 0; } }
@keyframes float-up { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-460px) rotate(25deg); opacity: 0; } }

/* Landing */
.landing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 88px; max-width: 1200px; margin: 0 auto; overflow-x: clip; padding: calc(14px + env(safe-area-inset-top)) var(--pad) 40px; }
.l-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
@media (max-width: 760px) { .landing { gap: 64px; } .l-nav + .l-hero { margin-top: -28px; } }
.l-links { display: none; gap: 4px; }
.l-links a { padding: 10px 16px; border-radius: 99px; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.l-links a:hover { background: rgba(23, 17, 13, .06); color: var(--ink); }
@media (min-width: 900px) { .l-links { display: flex; } }
@media (max-width: 520px) { .l-nav .btn.plain { display: none; } }
.l-hero { position: relative; display: grid; justify-items: center; gap: 22px; padding: 28px 0 0; text-align: center; isolation: isolate; }
.l-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -160px; width: min(1200px, 150vw); height: 620px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 140, 50, .5), rgba(255, 196, 90, .24) 55%, transparent 75%); }
.l-hero h1, .section-head h2, .join h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
.l-hero h1 { font-size: clamp(54px, 11vw, 124px); line-height: .92; }
.l-hero h1 em, .section-head h2 em, .join h2 em { font-style: italic; background: linear-gradient(120deg, #FF9A3D, #E8480C); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.tag-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 8px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; }
.tag-pill:not(:has(.switch)) { padding-left: 14px; }
.tag-pill.dark { width: fit-content; background: rgba(255, 255, 255, .1); box-shadow: none; color: #fff; }
.switch { position: relative; width: 30px; height: 18px; border-radius: 99px; background: var(--grad); }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.lede { max-width: 640px; color: var(--ink-2); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--ink-2); font-size: 14px; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li > svg { width: 16px; height: 16px; color: var(--orange); }
.features { display: grid; gap: 36px; }
.section-head { display: grid; justify-items: center; gap: 16px; text-align: center; }
.section-head h2 { max-width: 840px; font-size: clamp(38px, 6.4vw, 68px); line-height: 1; }
.section-head p { max-width: 520px; color: var(--ink-2); }
.fgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.fcard { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 380px; padding: 28px; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.f1 { grid-column: span 7; } .f2 { grid-column: span 5; } .f3 { grid-column: span 5; } .f4 { grid-column: span 7; }
@media (max-width: 899px) { .fgrid > * { grid-column: 1 / -1; } .fcard { min-height: 0; padding: 22px; } }
.fcard h3 { font-family: var(--serif); font-size: 42px; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.fcard p { max-width: 400px; color: var(--ink-2); }
.step { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .16em; }
.fcard.dark { background-color: var(--black); }
.fcard.dark p { color: rgba(255, 255, 255, .72); }
.fcard.dark .step { color: rgba(255, 255, 255, .5); }
.fcard.hot { background: var(--grad); }
.fcard.hot p, .fcard.hot .step { color: rgba(23, 17, 13, .72); }
.fcard.glow { background: radial-gradient(120% 70% at 50% 130%, rgba(255, 106, 26, .5), rgba(255, 176, 64, .35) 40%, rgba(255, 209, 102, 0) 72%), #fff; }
.fcard .mrows { margin-top: auto; padding-top: 18px; gap: 10px; }
.fcard .mrow { margin: 0; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .08); cursor: default; }
.fcard .mrow small { color: rgba(255, 255, 255, .6); }
.mpct { margin-left: auto; color: var(--orange-2); font-weight: 650; }
.mpct small { display: inline; color: var(--orange-2); }
.doc, .milestones, .watch { margin-top: auto; }
.doc { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #FAF8F6; }
.doc i, .lines i { display: block; height: 8px; border-radius: 99px; background: #E9E4DF; }
.w40 { width: 40%; } .w60 { width: 60%; } .w75 { width: 75%; } .w90 { width: 90%; }
.keys { display: flex; flex-wrap: wrap; gap: 6px; }
.keys span { padding: 4px 10px; border-radius: 99px; background: #FFE9D6; color: #B34100; font-size: 12px; font-weight: 650; }
.milestones { display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: #fff; color: var(--ink); }
.mhead { display: flex; justify-content: space-between; }
.mhead small { color: var(--muted); }
.fcard .segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fcard .segs i { height: 10px; border-radius: 99px; background: #EFEAE5; }
.fcard .segs i.on { background: var(--orange); }
.watch { display: grid; gap: 10px; }
.watch-card { display: grid; gap: 6px; justify-items: start; padding: 16px; border-radius: 20px; background: var(--black); color: #fff; }
.watch-card small { color: rgba(255, 255, 255, .65); }
.watch-ok { display: flex; align-items: center; gap: 8px; width: fit-content; padding: 10px 14px; border-radius: 99px; background: #fff; font-size: 14px; font-weight: 600; }
.watch-ok svg { width: 18px; height: 18px; color: var(--green); }
.assure.wide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; justify-content: stretch; font-size: 15px; }
.assure.wide li { align-items: flex-start; gap: 14px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.assure.wide b { display: block; }
.assure.wide small { color: var(--muted); font-size: 13.5px; }
.assure-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--black); color: var(--orange-2); }
.assure.wide .assure-ico svg { width: 20px; height: 20px; color: inherit; }
@media (max-width: 899px) { .assure.wide { grid-template-columns: 1fr; } }
.join { position: relative; display: grid; gap: 28px; padding: 36px 24px; overflow: hidden; border-radius: 36px; background-color: var(--black); background-image: radial-gradient(70% 90% at 0% 120%, rgba(255, 106, 26, .6), transparent 65%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: auto, 36px 36px, 36px 36px; color: #fff; scroll-margin-top: 20px; }
@media (min-width: 900px) { .join { grid-template-columns: 1fr minmax(380px, 460px); align-items: center; gap: 56px; padding: 56px; } }
.join-copy { display: grid; gap: 20px; align-content: center; justify-items: start; }
.join h2 { font-size: clamp(46px, 7vw, 80px); line-height: .96; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); }
.ticks li span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--grad); color: #fff; }
.ticks li svg { width: 14px; height: 14px; stroke-width: 3; }
.join-card { display: grid; gap: 16px; padding: 24px; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.join-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.join-form { display: grid; gap: 14px; }
.credit { display: grid; justify-items: center; gap: 10px; padding: 0 0 24px; color: var(--muted); font-size: 13px; }
.credit.compact { padding: 12px 0 0; }

/* The explainer */
.story { scroll-margin-top: 24px; }
.stage { position: relative; min-height: 600px; overflow: hidden; border-radius: var(--r-xl); background-color: var(--black); background-image: radial-gradient(60% 80% at 100% 110%, rgba(255, 106, 26, .55), transparent 65%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: auto, 36px 36px, 36px 36px; color: #fff; box-shadow: 0 40px 80px -40px rgba(255, 106, 26, .6), 0 24px 48px -28px rgba(0, 0, 0, .55); isolation: isolate; }
@media (min-width: 900px) { .stage { min-height: 0; aspect-ratio: 16 / 8.4; } }
.stage-bar { position: absolute; z-index: 5; top: 14px; right: 22px; left: 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pbar { position: relative; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.pbar::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 3px; transform: translateY(-50%); border-radius: 99px; background: rgba(255, 255, 255, .22); }
.pbar i { position: absolute; top: 50%; left: 0; width: 0; height: 3px; transform: translateY(-50%); border-radius: 99px; background: #fff; }
.pbar.done i { width: 100%; }
.pbar.now i { animation: fill linear forwards; }
.stage[data-playing="false"] .pbar.now i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.scene { position: absolute; inset: 0; display: grid; align-content: center; gap: 22px; padding: 60px 28px 34px; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .5s ease .1s, visibility 0s; }
@media (min-width: 900px) { .scene { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; padding: 56px 60px 40px; } }
.copy .kicker { margin-bottom: 14px; color: var(--amber); font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.copy h3 { font-size: clamp(32px, 4.8vw, 58px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.copy h3 em { background: linear-gradient(120deg, #FFB45C, #FF6A1A); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--serif); font-size: 1.08em; font-style: italic; font-weight: 400; letter-spacing: -.01em; padding-right: .05em; }
.copy .line { max-width: 460px; margin-top: 16px; color: rgba(255, 255, 255, .72); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.5; }
.scene.on .copy > * { animation: rise .7s var(--ease) both; }
.scene.on .copy > :nth-child(2) { animation-delay: .1s; }
.scene.on .copy > :nth-child(3) { animation-delay: .2s; }
.stage-play { position: absolute; z-index: 6; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stage-play:hover { background: rgba(255, 255, 255, .26); }
.art { position: relative; width: 100%; max-width: 560px; height: 320px; justify-self: center; }
.win { position: absolute; width: 62%; padding: 10px 14px 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.win b { font-size: 15px; font-weight: 600; }
.win-bar { display: flex; gap: 5px; margin-bottom: 12px; }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #E6E1DC; }
.win-badge { position: absolute; top: -9px; right: -9px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; background: var(--grad); box-shadow: 0 0 0 3px var(--black); color: var(--ink); font-size: 13px; font-weight: 700; }
.w0 { top: 4%; left: 0; transform: rotate(-5deg); } .w1 { top: 0; right: 0; transform: rotate(4deg); } .w2 { top: 34%; left: 8%; transform: rotate(2deg); }
.w3 { top: 48%; right: 2%; transform: rotate(-3deg); } .w4 { top: 70%; left: 18%; transform: rotate(5deg); }
.scene.on .win { animation: drop .7s var(--ease) both, bob 3.4s ease-in-out 1.2s infinite alternate; }
.scene.on .w1 { animation-delay: .2s, 1.2s; } .scene.on .w2 { animation-delay: .4s, 1.4s; } .scene.on .w3 { animation-delay: .6s, 1.6s; } .scene.on .w4 { animation-delay: .8s, 1.8s; }
@keyframes drop { from { opacity: 0; translate: 0 -50px; } }
@keyframes bob { to { translate: 0 -7px; } }
.jcard { position: relative; display: grid; gap: 18px; width: min(100%, 420px); margin: auto; padding: 22px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.art-closing { display: grid; align-items: center; }
.jrow { display: flex; align-items: center; gap: 12px; }
.jrow b { display: block; }
.jrow small { color: var(--muted); }
.timer { display: grid; gap: 10px; }
.timer-open, .timer-shut { grid-area: 1 / 1; font-size: 13px; font-weight: 600; }
.timer-open { opacity: 0; }
.timer-shut { color: #B42318; }
.timer-track { grid-area: 2 / 1; height: 10px; overflow: hidden; border-radius: 99px; background: #F0ECE8; }
.timer-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad); }
.stamp-closed { position: absolute; top: 20px; right: 18px; padding: 6px 12px; transform: rotate(-8deg); border: 3px solid var(--ink); border-radius: 10px; background: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.scene.on .timer-open { animation: open-then-gone 3.7s both; }
.scene.on .timer-shut { animation: appear .4s ease 3.5s both; }
.scene.on .timer-track i { animation: drain 3s ease-in .5s both; width: 100%; }
.scene.on .stamp-closed { animation: stamp .4s var(--ease) 3.6s both; }
@keyframes open-then-gone { 0%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes drain { to { width: 0; } }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } }
@keyframes stamp { from { opacity: 0; scale: 2.4; } }
.art-doing { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; max-width: 600px; height: auto; }
@media (max-width: 560px) { .art-doing { grid-template-columns: 1fr; } }
.resume-mini { position: relative; display: grid; gap: 10px; padding: 18px; transform: rotate(-2deg); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.resume-mini small { color: var(--muted); }
.lines { display: grid; gap: 8px; }
.lines i:nth-child(1) { width: 92%; } .lines i:nth-child(2) { width: 78%; } .lines i:nth-child(3) { width: 60%; }
.resume-tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 10px; border-radius: 99px; background: var(--black); color: #fff; font-size: 12px; font-weight: 600; }
.steps-card { display: grid; gap: 14px; padding: 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.steps-head { display: flex; justify-content: space-between; }
.steps-head small { color: rgba(255, 255, 255, .6); }
.steps-card .segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps-card .segs i { height: 8px; border-radius: 99px; background: var(--orange); }
.steps-card ul { display: grid; gap: 10px; }
.steps-card li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.steps-card li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; }
.scene.on .resume-mini { animation: rise .7s var(--ease) .1s both; }
.scene.on .keys span { animation: mark .5s var(--ease) both; }
.scene.on .keys span:nth-child(1) { animation-delay: 1.3s; } .scene.on .keys span:nth-child(2) { animation-delay: 1.7s; } .scene.on .keys span:nth-child(3) { animation-delay: 2.1s; }
.scene.on .resume-tag { animation: appear .5s ease 2.6s both; }
.scene.on .steps-card { animation: rise .7s var(--ease) .3s both; }
.scene.on .steps-card li { animation: appear .5s var(--ease) both; }
.scene.on .steps-card li:nth-child(1) { animation-delay: .8s; } .scene.on .steps-card li:nth-child(2) { animation-delay: 1.8s; } .scene.on .steps-card li:nth-child(3) { animation-delay: 2.8s; } .scene.on .steps-card li:nth-child(4) { animation-delay: 3.8s; }
.scene.on .steps-card .segs i { animation: seg-in .5s ease both; }
.scene.on .steps-card .segs i:nth-child(1) { animation-delay: .9s; } .scene.on .steps-card .segs i:nth-child(2) { animation-delay: 1.9s; } .scene.on .steps-card .segs i:nth-child(3) { animation-delay: 2.9s; } .scene.on .steps-card .segs i:nth-child(4) { animation-delay: 3.9s; }
@keyframes mark { from { background: #F0ECE8; color: var(--muted); } }
@keyframes seg-in { from { opacity: .15; } }
.art-needs { display: grid; gap: 14px; align-content: center; max-width: 460px; height: auto; }
.notice { position: relative; display: grid; gap: 10px; justify-items: start; padding: 18px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.notice-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.notice-top small { color: var(--muted); }
.notice b { font-size: 17px; }
.notice p { color: var(--ink-2); font-size: 14px; }
.tap { position: absolute; bottom: 14px; left: 56px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 106, 26, .4); opacity: 0; }
.done { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: rgba(255, 255, 255, .1); }
.done small { display: block; color: rgba(255, 255, 255, .65); }
.done-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green); }
.count { display: flex; align-items: baseline; gap: 10px; }
.count b { font-size: 44px; font-weight: 500; letter-spacing: -.04em; }
.count small { color: rgba(255, 255, 255, .6); }
.scene.on .notice { animation: rise .6s var(--ease) .3s both, dim .5s ease 3.5s forwards; }
.scene.on .tap { animation: tap 1s ease 2.7s both; }
.scene.on .done { animation: appear .5s var(--ease) 3.5s both; }
.scene.on .count { animation: appear .5s var(--ease) 4.2s both; }
@keyframes dim { to { opacity: .4; scale: .97; } }
@keyframes tap { 0% { opacity: 0; scale: .4; } 40% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.8; } }
.art-outro { display: grid; justify-items: center; align-content: center; gap: 18px; height: auto; }
.outro-gauge { width: min(100%, 380px); }
.outro-gauge .tick { stroke: var(--orange); }
.art-outro img { border-radius: 22px; }
.scene.on .tick { stroke-dasharray: 1; animation: tick-draw .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms + .2s); }
.scene.on .art-outro img { animation: rise .7s var(--ease) .5s both; }
.scene.on .art-outro .btn { animation: rise .7s var(--ease) .8s both; }
@keyframes tick-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 899px) {
  .art { height: 300px; }
  .art-doing, .art-needs, .art-outro { height: auto; }
  .scene { align-content: start; padding-top: 56px; }
  .win { width: 72%; padding: 8px 12px 12px; }
  .win b { font-size: 13px; white-space: nowrap; }
  .win-bar { margin-bottom: 8px; }
  .w0 { top: 0; } .w1 { top: 17%; } .w2 { top: 35%; } .w3 { top: 53%; } .w4 { top: 71%; left: 10%; }
}

/* Entrance, only when the view changes */
#app[data-enter="1"] .reveal { animation: rise .6s var(--ease) both; }
#app[data-enter="1"] .bento > :nth-child(2), #app[data-enter="1"] .ministats > :nth-child(2) { animation-delay: .06s; }
#app[data-enter="1"] .bento > :nth-child(3), #app[data-enter="1"] .ministats > :nth-child(3) { animation-delay: .12s; }
#app[data-enter="1"] .bento > :nth-child(4) { animation-delay: .18s; }
#app[data-enter="1"] .bento > :nth-child(5) { animation-delay: .24s; }
#app[data-enter="1"] .bento > :nth-child(6) { animation-delay: .3s; }
#app[data-enter="1"] .l-hero > * { animation: rise .8s var(--ease) both; }
#app[data-enter="1"] .l-hero > :nth-child(2) { animation-delay: .08s; } #app[data-enter="1"] .l-hero > :nth-child(3) { animation-delay: .16s; }
#app[data-enter="1"] .l-hero > :nth-child(4) { animation-delay: .24s; } #app[data-enter="1"] .l-hero > :nth-child(5) { animation-delay: .32s; }
#app[data-enter="1"] .tick { stroke-dasharray: 1; animation: tick-draw .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms + .3s); }
#app[data-enter="1"] .spark:not(.flat) .spark-line { stroke-dasharray: 1; animation: tick-draw 1.3s var(--ease) .3s both; }
#app[data-enter="1"] .meter i { animation: grow .9s var(--ease) .3s both; }
@keyframes grow { from { transform: scaleX(0); } }

@media print {
  nav.tabs, .app-header, .no-print, #toast, .story { display: none !important; }
  body { padding: 0; background: #fff; }
  .card { border: 1px solid var(--line); box-shadow: none; break-inside: avoid; }
  .li .cover, .open-to { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
