/* Jobbhund v3: cream paper, one accent (ultramarine from the mascot's ears), money in mint,
   painted art only at the edges. Boards: design/v3/b1 to b5. */

:root {
  --paper: #fbf7ee;
  --paper-2: #f4eedf;
  --card: #ffffff;
  --ink: #1e2b28;
  --ink-2: #5d6b66;
  --ink-3: #8e9a95;
  --line: #ebe4d4;
  --line-2: #ddd4c0;
  --blue: #3048d8;
  --blue-deep: #2337b4;
  --blue-soft: #eef1fd;
  --blue-tint: #e2e7fc;
  --money: #1f6b45;
  --money-bg: #e4f4e8;
  --money-line: #bfe3cb;
  --soon: #b5502f;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(40, 36, 20, .05), 0 8px 24px -14px rgba(40, 36, 20, .22);
  --shadow-lg: 0 2px 6px rgba(40, 36, 20, .05), 0 22px 48px -24px rgba(40, 36, 20, .32);
  --shadow-blue: 0 10px 24px -12px rgba(48, 72, 216, .55);
  --display: 'Nunito', system-ui, sans-serif;
  --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --wrap: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--blue-tint); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -.025em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; transition: background .3s, box-shadow .3s; }
.topbar.scrolled { background: rgba(251, 247, 238, .88); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar-in { width: min(1320px, 100% - 40px); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 54px; height: 54px; margin: -4px 0; transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.brand span { font-family: var(--display); font-weight: 900; font-size: 1.55rem; letter-spacing: -.03em; }
.tabs { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.tabs a.tab { text-decoration: none; font-weight: 500; padding: 9px 16px; border-radius: 999px; color: var(--ink); transition: background .2s, color .2s; }
.tabs a.tab:hover { background: var(--paper-2); }
.tabs a.tab[aria-current="page"] { background: var(--ink); color: #fff; }
.tabs .btn { margin-left: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 1.04rem; padding: 14px 26px; border-radius: 999px; border: none; color: #fff; background: var(--blue);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14), var(--shadow-blue);
  transition: transform .35s var(--spring), background .2s, box-shadow .3s;
}
.btn .arrow { transition: transform .35s var(--spring); }
.btn:hover { background: #3a52e4; transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn.sm { font-size: .95rem; padding: 10px 18px; }
.btn.lg { font-size: 1.15rem; padding: 18px 34px; }
.btn.wide { width: 100%; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: .95rem; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); background: var(--card); transition: background .2s, color .2s, transform .3s var(--spring); }
.btn-line:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.btn-soft { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); transition: border-color .2s, transform .3s var(--spring); }
.btn-soft:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn-soft[disabled] { opacity: .5; cursor: default; transform: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--line-2); background: none; border: none; cursor: pointer; padding: 4px 0; transition: text-decoration-color .2s, color .2s; }
.link:hover { text-decoration-color: var(--blue); color: var(--blue); }
.iconbtn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; border: none; background: transparent; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.iconbtn:hover { background: var(--paper-2); color: var(--ink); }
.iconbtn[aria-pressed="true"] { color: var(--blue); }
.iconbtn[aria-pressed="true"] .icon { fill: var(--blue); }

/* ---------- money chip and score ring ---------- */
.money { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border-radius: 999px; background: var(--money-bg); border: 1px solid var(--money-line); color: var(--money); font-weight: 700; font-size: .9rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.money svg { width: 22px; height: 16px; flex: none; }
.money-wrap { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.money-note { font-size: .78rem; color: var(--ink-3); }
.ring { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.2; }
.ring .track { stroke: var(--blue-tint); }
.ring .fill { stroke: var(--blue); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.ring b { position: relative; font-family: var(--display); font-weight: 900; font-size: 1.12rem; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.ring.lo .track { stroke: var(--line); }
.ring.lo .fill { stroke: var(--ink-3); }
.ring.lo b { color: var(--ink-3); }
.ring.wait .fill { stroke: var(--blue); stroke-dasharray: 30 200; stroke-dashoffset: 0; animation: spin 1.1s linear infinite; transform-box: fill-box; transform-origin: center; }
.ring.wait b, .ring.none b { color: var(--ink-3); font-size: .95rem; }
.ring.none .fill { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- landing: hero ---------- */
.hero { position: relative; padding: clamp(26px, 5vh, 64px) 0 0; overflow: hidden; }
.hero-in { position: relative; z-index: 1; width: min(1320px, 100% - 40px); margin-inline: auto; display: grid; justify-items: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.eyebrow .logos { display: flex; }
.eyebrow .logos { gap: 4px; }
.eyebrow .logos img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }

.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 5.4vw, 4.9rem); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero .lede { margin-top: 16px; max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.drop-row { position: relative; margin-top: 26px; width: min(680px, 100%); }
.dropzone { position: relative; display: grid; justify-items: center; gap: 12px; padding: 26px 24px 22px; border-radius: 26px; background: var(--card); border: 2px dashed #b9c3f3; box-shadow: var(--shadow-lg); cursor: pointer; transition: border-color .25s, background .25s, transform .4s var(--spring); }
.dropzone:hover { border-color: var(--blue); }
body.dragging .dropzone { border-color: var(--blue); background: var(--blue-soft); transform: scale(1.02); }
.dropzone .hint { font-size: .93rem; color: var(--ink-2); }
.dropzone .trust { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; font-size: .84rem; color: var(--ink-3); }
.dropzone .trust span { display: inline-flex; align-items: center; gap: 5px; }
.dropzone .trust .icon { width: 15px; height: 15px; color: var(--money); }
.hero-dog { position: absolute; right: -250px; bottom: -14px; width: 230px; pointer-events: none; }
.meadow { position: absolute; bottom: 0; width: clamp(280px, 30vw, 520px); pointer-events: none; z-index: 0; opacity: .95; }
.meadow.l { left: -30px; }
.meadow.r { right: -30px; transform: scaleX(-1); }

/* the live demo under the hero */
.stage { position: relative; z-index: 1; width: min(1320px, 100% - 40px); margin: clamp(34px, 5vh, 56px) auto 0; padding-bottom: clamp(40px, 6vh, 70px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.scard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px 18px 20px; min-height: 252px; transition: border-color .4s, box-shadow .4s, transform .5s var(--ease); }
.scard.on { border-color: #c4ccf5; box-shadow: var(--shadow-lg), 0 0 0 4px var(--blue-soft); transform: translateY(-4px); }
.scard + .scard::before { content: ''; position: absolute; left: -27px; top: 50%; width: 20px; height: 2px; background: var(--blue); border-radius: 2px; }
.scard + .scard::after { content: ''; position: absolute; left: -13px; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }
.scard .label { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.scard .label i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .7rem; color: #fff; background: var(--blue); letter-spacing: 0; }
.mini-cv { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow: hidden; background: #fff; height: 190px; }
.mini-cv .who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mini-cv .who i { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); }
.mini-cv .who b { font-size: .86rem; }
.mini-cv .ln { height: 6px; border-radius: 4px; background: var(--paper-2); margin: 7px 0; }
.mini-cv .ln.h { width: 40%; background: #dfe3f3; height: 5px; margin-top: 12px; }
.scan { position: absolute; left: 6px; right: 6px; top: 20px; height: 3px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 14px 3px rgba(48, 72, 216, .45); }
.frow { display: grid; grid-template-columns: 78px 1fr; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.frow:last-child { border-bottom: none; }
.frow span { color: var(--ink-3); }
.frow b { font-weight: 500; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--blue); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mjob { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mjob:last-child { border-bottom: none; }
.mjob .ring { width: 40px; height: 40px; }
.mjob .ring b { font-size: .92rem; }
.mjob strong { display: block; font-size: .84rem; font-weight: 600; line-height: 1.25; }
.mjob .money { margin-top: 4px; font-size: .74rem; padding: 2px 8px 2px 5px; }
.mjob .money svg { width: 17px; height: 12px; }
.mini-letter { border: 1px solid var(--line); border-radius: 10px; padding: 14px; height: 190px; font-size: .82rem; line-height: 1.55; color: #2a3532; white-space: pre-wrap; overflow: hidden; position: relative; }
.done-pill { position: absolute; top: 14px; right: 16px; font-size: .72rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 3px 9px; border-radius: 999px; }

/* ---------- landing: sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.tight { padding-top: 0; }
.section-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--ink-2); font-size: 1.12rem; max-width: 56ch; }
.sources { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 30px; padding: 26px 0 0; color: var(--ink-3); font-size: .9rem; }
.sources .src-item { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink-2); }
.sources .src-item img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
.sources .src-item img.wide { width: auto; height: 20px; }
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature.flip > :first-child { order: 2; }
.feature h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: 10px 0 14px; }
.feature p { color: var(--ink-2); font-size: 1.1rem; max-width: 44ch; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; }
.feature li .icon { color: var(--blue); margin-top: 3px; }
.mock { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 30px); }
.note-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 500; line-height: 1.45; }
.note-box .icon { color: var(--blue); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: .93rem; line-height: 1.2; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); }
.chip .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.chip.on, .toggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toggle { cursor: pointer; user-select: none; transition: background .2s, border-color .2s, color .2s, transform .25s var(--spring); }
.toggle:hover { border-color: var(--ink-3); }
.toggle:active { transform: scale(.96); }
.toggle .icon { display: none; }
.toggle[aria-pressed="true"] .icon { display: block; }
.chip-x button { all: unset; cursor: pointer; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; margin-right: -5px; color: var(--ink-2); }
.chip-x button:hover { background: var(--ink); color: #fff; }
.chip-x button .icon { width: 12px; height: 12px; }
.chip-input { border: 1px dashed var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: .93rem; background: transparent; min-width: 160px; outline: none; }
.chip-input:focus { border-style: solid; border-color: var(--blue); background: var(--card); }
.fake-input { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; color: var(--ink-3); font-size: .95rem; }
.fake-input .go { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.paybig { display: grid; gap: 14px; }
.paybig .jobline { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.paybig .jobline strong { font-size: 1.05rem; font-weight: 600; }
.paybig .bill { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; background: var(--money-bg); border: 1px solid var(--money-line); }
.paybig .bill svg { width: 64px; height: 46px; flex: none; }
.paybig .bill b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--money); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.paybig .bill span { color: var(--money); font-size: .92rem; }
.chat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.bubble { justify-self: end; max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; font-size: .94rem; }
.sheet-mini { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: .9rem; line-height: 1.6; color: #2a3532; white-space: pre-wrap; }
.sheet-mini mark { background: var(--blue-tint); color: inherit; border-radius: 4px; padding: 0 2px; }

/* savings and comparison */
.save-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 26px; align-items: stretch; }
.calc { position: relative; padding: clamp(24px, 3vw, 34px); }
.calc h3 { font-size: 1.45rem; }
.calc .slider-row { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; }
.calc .slider-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; }
.calc input[type=range] { width: 100%; margin-top: 14px; accent-color: var(--blue); height: 28px; }
.calc .result { margin-top: 18px; display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: 18px; background: var(--money-bg); border: 1px solid var(--money-line); }
.calc .result svg { width: 74px; height: 54px; flex: none; }
.calc .result b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4.2vw, 3.2rem); line-height: 1; color: var(--money); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc .result span { color: var(--money); font-weight: 500; }
.calc .verdict { margin-top: 16px; color: var(--ink-2); }
.calc .verdict strong { color: var(--ink); }
.calc .dog { position: absolute; right: 22px; bottom: 18px; width: 108px; pointer-events: none; }
.calc .verdict, .calc .verdict + p { max-width: calc(100% - 130px); }
.compare { padding: 0; overflow: hidden; }
.compare h3 { font-size: 1.45rem; padding: clamp(24px, 3vw, 30px) clamp(24px, 3vw, 30px) 6px; }
.compare .sub { padding: 0 clamp(24px, 3vw, 30px) 18px; color: var(--ink-2); }
.ctable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ctable th, .ctable td { padding: 13px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.ctable th { font-weight: 600; color: var(--ink-2); font-size: .85rem; }
.ctable th:first-child, .ctable td:first-child { padding-left: clamp(24px, 3vw, 30px); }
.ctable .us { background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }
.ctable thead .us { color: var(--blue); }
.ctable td small { display: block; color: var(--ink-3); font-weight: 400; font-size: .8rem; }
.fine { font-size: .8rem; color: var(--ink-3); padding: 14px clamp(24px, 3vw, 30px) 20px; line-height: 1.5; }
.fine a { color: inherit; }

/* pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 auto 30px; }
.billing button { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing .save { font-size: .74rem; padding: 2px 7px; border-radius: 999px; background: var(--money-bg); color: var(--money); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 24px; justify-content: center; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.plan.best { border: 2px solid var(--blue); box-shadow: var(--shadow-lg), 0 0 0 6px var(--blue-soft); }
.plan .badge { position: absolute; top: -14px; left: 50%; translate: -50% 0; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-family: var(--display); font-weight: 900; font-size: 3.2rem; letter-spacing: -.03em; line-height: 1; }
.plan .price span { color: var(--ink-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--money); margin-top: 3px; }
.plan .per { font-size: .86rem; color: var(--ink-3); margin-top: -8px; }

/* faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); font-size: 1.1rem; transition: transform .35s var(--spring), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); }

.closing { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(30px, 4vw, 48px) clamp(28px, 5vw, 64px); background: var(--ink); color: #fff; border-radius: 32px; overflow: hidden; }
.closing h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.closing p { color: #c9d3cf; margin: 10px 0 22px; font-size: 1.1rem; }
.closing .btn { background: #fff; color: var(--ink); box-shadow: none; }
.closing .btn:hover { background: var(--blue-soft); }
.closing img { width: 230px; margin: -20px 0 -60px; }
.foot { padding: 34px 0 44px; margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--ink-3); font-size: .9rem; }
.foot-in .brand span { font-size: 1.2rem; color: var(--ink); }
.foot-in .brand img { width: 44px; height: 44px; }
.foot-in p { margin-left: auto; max-width: 64ch; text-align: right; }

.dropveil { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 12px; background: rgba(251, 247, 238, .9); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.dropveil img { width: 200px; }
.dropveil p { font-family: var(--display); font-weight: 900; font-size: 2rem; }
body.dragging:not(.on-landing) .dropveil { opacity: 1; }

/* ---------- app pages ---------- */
.page { padding: clamp(18px, 3vw, 34px) 0 110px; }
.page-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
.page-head .meta { color: var(--ink-2); font-size: 1.04rem; margin-top: 8px; }
.page-head .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.alert { padding: 14px 18px; border-radius: var(--r-sm); background: #fbe7e1; border: 1px solid #f0c3b6; margin-bottom: 18px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-3); }
.bar { position: relative; height: 8px; border-radius: 999px; background: var(--blue-soft); overflow: hidden; }
.bar > i { position: absolute; inset: 0 auto 0 0; width: 4%; border-radius: inherit; background: var(--blue); transition: width .9s var(--ease); }
.bar.indef > i { width: 30%; animation: slide 1.5s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
.field { display: grid; gap: 8px; }
.field > span, .label-sm { font-weight: 600; font-size: .95rem; }
.input, .textarea, .select { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.textarea { resize: vertical; min-height: 90px; line-height: 1.5; field-sizing: content; max-height: 420px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { cursor: pointer; font-weight: 500; font-size: .92rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); transition: background .2s, border-color .2s, color .2s; }
.seg button:hover { border-color: var(--ink-3); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; font-size: .95rem; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .25s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: transform .35s var(--spring); }
.switch input:checked + .track { background: var(--blue); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid var(--blue); outline-offset: 3px; }

/* reading and profile share one layout: the document left, the wishes right */
.dossier-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: 26px; align-items: start; }
.dossier { position: relative; padding: clamp(24px, 3vw, 36px); }
.dossier .doc-dog { position: absolute; right: 26px; top: -64px; width: 128px; pointer-events: none; }
.dossier .who { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.avatar { width: 78px; height: 78px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.8rem; }
.dossier h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.dossier .headline { color: var(--ink-2); margin-top: 6px; font-size: 1.05rem; }
.dossier .study { display: flex; gap: 7px; align-items: flex-start; margin-top: 6px; font-size: .92rem; color: var(--blue-deep); font-weight: 500; }
.dossier .study .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.dossier .who > div:nth-child(2) { padding-right: 120px; }
.dossier .contact { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
.dossier .contact span { display: inline-flex; align-items: center; gap: 6px; }
.dossier .contact .icon { width: 15px; height: 15px; color: var(--ink-3); }
.fields { display: grid; grid-template-columns: 1fr 1fr; }
.fcell { position: relative; display: grid; grid-template-columns: 22px 1fr 22px; gap: 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.fcell:nth-child(odd) { padding-right: 22px; border-right: 1px solid var(--line); }
.fcell:nth-child(even) { padding-left: 22px; }
.fcell > .icon { color: var(--ink-2); margin-top: 2px; }
.fcell h4 { font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.fcell .val { margin-top: 4px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.fcell .val div + div { margin-top: 4px; }
.fcell .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.fcell .tick .icon { width: 13px; height: 13px; stroke-width: 3; }
.fcell .tick.wait { background: var(--blue-soft); }
.fcell .tick.wait::after { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.fcell.is-empty .val { color: var(--ink-3); }
.fcell .shimmer { display: block; height: 10px; border-radius: 6px; margin-top: 8px; background: linear-gradient(90deg, var(--paper-2) 0 30%, #fbf8f1 50%, var(--paper-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.fcell .shimmer + .shimmer { width: 70%; }
@keyframes shimmer { to { background-position: -300% 0; } }
.skills-row { padding-top: 20px; }
.skills-row h4 { font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: 0; margin-bottom: 10px; }
.skills-row .chip { font-size: .88rem; padding: 6px 12px; background: var(--paper); border-color: var(--line); }
.cv-more { margin-top: 18px; }
.cv-more summary { cursor: pointer; color: var(--ink-2); font-weight: 500; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.cv-more summary::-webkit-details-marker { display: none; }
.cv-more .xp { display: grid; gap: 12px; margin-top: 14px; }
.cv-more .xp div { padding-left: 14px; border-left: 2px solid var(--blue-tint); }
.cv-more .xp p { color: var(--ink-2); font-size: .92rem; }
.wishes { position: sticky; top: 96px; padding: 26px; display: grid; gap: 20px; }
.wishes h2 { font-size: 1.7rem; }
.wishes .group { display: grid; gap: 10px; }
.wishes .group > b { font-weight: 600; }
.wishes .foot-note { text-align: center; font-size: .88rem; color: var(--ink-3); margin-top: -8px; }
.wishes details summary { cursor: pointer; color: var(--ink-2); font-weight: 500; list-style: none; }
.wishes details summary::-webkit-details-marker { display: none; }
.wishes details[open] summary { margin-bottom: 12px; }
.saving { font-size: .86rem; color: var(--money); font-weight: 500; min-height: 1.2em; }
.phases { display: grid; gap: 12px; }
.phase { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; color: var(--ink-3); font-weight: 500; transition: color .3s; }
.phase .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.phase .dot .icon { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.phase.now { color: var(--ink); }
.phase.now .dot { border-color: var(--blue); border-right-color: transparent; animation: spin .9s linear infinite; }
.phase.done { color: var(--ink); }
.phase.done .dot { background: var(--blue); border-color: var(--blue); }
.phase.done .dot .icon { opacity: 1; }
.cvthumb { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 1 / 1.3; }
.cvthumb .cvpage { position: relative; width: 100%; will-change: transform; }
.cvthumb .cvpage img { width: 100%; height: auto; }
.cvthumb .marks { position: absolute; inset: 0; pointer-events: none; }
.cvthumb .ph { display: grid; place-items: center; height: 100%; color: var(--ink-3); font-size: .9rem; padding: 20px; text-align: center; }
.thinking-hint { font-size: .9rem; color: var(--ink-2); min-height: 1.4em; }

/* the live document while the CV is read */
.dossier.live { overflow: hidden; }
.fill-meter { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-right: 130px; font-size: .86rem; font-weight: 600; color: var(--blue-deep); }
.fill-meter .bar { flex: 1; height: 6px; }
.fill-meter b { font-variant-numeric: tabular-nums; }
.fcell { transition: background-color .6s; border-radius: 4px; }
.fcell.writing { background: linear-gradient(90deg, rgba(48, 72, 216, .07), rgba(48, 72, 216, 0) 85%); }
.fcell.writing::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--blue); }
.fcell.writing h4 { color: var(--blue-deep); }
.fcell .tick { transition: background .3s; }
.avatar.empty { background: var(--blue-soft); }
.skills-row .chip { will-change: transform; }

/* the hunt while a search runs */
.hunt { grid-template-columns: 130px 1fr; align-items: start; }
.steps-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 16px; }
.steps-row .phase { grid-template-columns: 22px auto; gap: 8px; font-size: .92rem; }
.steps-row .phase .dot { width: 22px; height: 22px; }
.hunt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.hunt-stats div { padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.hunt-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hunt-stats span { font-size: .82rem; color: var(--ink-2); }
.paw-bar { position: relative; margin: 4px 0 12px; }
.paw-bar .paw { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; left: 0; color: var(--blue); transition: left .9s var(--ease); }
.feed { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); min-height: 4.6em; }
.feed li { display: flex; gap: 8px; align-items: baseline; }
.feed li::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--blue); transform: translateY(-1px); }
.feed li:not(:first-child) { opacity: .6; }
.feed strong { color: var(--ink); font-weight: 600; }

/* extra wishes on the profile */
.range-row { display: grid; gap: 6px; }
.range-row .range-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.range-row input[type=range] { width: 100%; accent-color: var(--blue); }
.hint-sm { font-size: .82rem; color: var(--ink-3); }

/* jobs dashboard */
.jobs-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 96px; padding: 20px; display: grid; gap: 18px; }
.filters .group { display: grid; gap: 9px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filters .group:last-of-type { border-bottom: none; padding-bottom: 0; }
.filters .more-btn { display: none; justify-self: start; }
.filters .group > b { font-weight: 600; font-size: .95rem; }
.filters .chip { font-size: .86rem; padding: 6px 12px; }
.filters .chip small { color: inherit; opacity: .6; margin-left: 2px; }
.joblist { display: grid; }
.list-card { overflow: hidden; }
.job { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 20px 22px; border-bottom: 1px solid var(--line); transition: background .2s; }
.job:last-child { border-bottom: none; }
.job:hover { background: #fdfcf8; }
.job.top::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.job h3 { font-family: var(--body); font-weight: 600; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.005em; }
.job h3 button { all: unset; cursor: pointer; overflow-wrap: anywhere; }
.job h3 button:hover { color: var(--blue); }
.job .meta-row { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; color: var(--ink-2); font-size: .9rem; align-items: center; }
.job .meta-row > span { display: inline-flex; align-items: center; gap: 6px; }
.job .meta-row .soon { color: var(--soon); font-weight: 600; }
.job .meta-row .site-icon { width: 15px; height: 15px; border-radius: 4px; object-fit: contain; }
.job .meta-row .type { font-size: .76rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-transform: capitalize; }
.job .details { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 10px; }
.job .why { display: flex; gap: 7px; align-items: flex-start; font-size: .92rem; color: var(--ink); }
.job .why .icon { width: 16px; height: 16px; color: var(--money); margin-top: 2px; stroke-width: 2.6; }
.job .gap { font-size: .84rem; color: var(--ink-3); margin-top: 4px; }
.job .actions { display: flex; align-items: center; gap: 4px; }
.job .actions .btn-line { margin-right: 4px; }
.adtext { grid-column: 2 / -1; border-top: 1px dashed var(--line-2); padding-top: 14px; white-space: pre-wrap; font-size: .95rem; max-height: 460px; overflow: auto; color: #34413c; }
.adtext .row { white-space: normal; margin-bottom: 12px; }
.empty { padding: 44px 20px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.empty img { width: 180px; }
.empty p { color: var(--ink-2); max-width: 46ch; }
.skeleton { height: 96px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #fff 0 30%, #fbf8f1 50%, #fff 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.hunt { display: grid; gap: 24px; padding: 22px 26px; margin-bottom: 22px; }
.hunt > img { width: 130px; }
.hunt h3 { font-size: 1.3rem; }
.hunt .hunt-status { color: var(--ink-2); margin: 4px 0 14px; }
.hunt .srcs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.srcpill { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 500; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); transition: background .3s, color .3s; }
.srcpill img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; background: #fff; }
.srcpill b { font-variant-numeric: tabular-nums; }
.srcpill.done { background: var(--blue-soft); color: var(--blue-deep); }
.listbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }

/* writer */
.writer { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 28px; align-items: start; }
.writer aside { position: sticky; top: 96px; padding: 24px; display: grid; gap: 18px; }
.writer aside .label { color: var(--ink-3); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.jobhead { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.jobhead h3 { font-family: var(--body); font-weight: 600; font-size: 1.06rem; line-height: 1.3; }
/* The typing dog (132x147) peeks over the sheet's top edge: 43 px of it reach into the sheet,
   and the sheet's top padding (at least 56 px) keeps the first line of the letter below it. */
.desk { position: relative; padding-top: 104px; }
.letter-sheet { position: relative; min-height: 700px; padding: clamp(56px, 5vw, 64px) clamp(24px, 5vw, 72px) 64px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); }
.typist { position: absolute; right: 24px; top: 0; width: 132px; z-index: 3; }
.letter { width: 100%; min-height: 560px; border: none; outline: none; resize: none; background: transparent; font-family: var(--body); font-size: 1.04rem; line-height: 1.75; white-space: pre-wrap; overflow: hidden; color: #222b28; }
.letter-live { white-space: pre-wrap; font-size: 1.04rem; line-height: 1.75; color: #222b28; }
.thinking { display: flex; align-items: center; gap: 12px; color: var(--ink-2); margin-bottom: 14px; font-weight: 500; }
.dots i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--blue); animation: bounce 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 40% { transform: translateY(-6px); } }
.sheet-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.revise { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 8px 8px 18px; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.revise .icon { color: var(--blue); }
.revise input { flex: 1; border: none; outline: none; background: transparent; padding: 8px 0; min-width: 0; width: 100%; }
.wordcount { color: var(--ink-3); font-size: .9rem; }
.placeholder { display: grid; justify-items: center; gap: 12px; text-align: center; padding-top: 110px; color: var(--ink-2); }
.placeholder h2 { color: var(--ink); font-size: 1.9rem; }
.cheer { position: fixed; left: 50%; bottom: 0; width: 210px; z-index: 95; pointer-events: none; translate: -50% 100%; }

/* applications */
.apps { overflow: hidden; }
.app-row { display: grid; grid-template-columns: 46px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 22px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .2s; }
.app-row:last-child { border-bottom: none; }
.app-row:hover { background: #fdfcf8; }
.app-row strong { font-weight: 600; font-size: 1.05rem; }
.org { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); font-family: var(--display); font-weight: 900; color: var(--ink-2); overflow: hidden; }
.status { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.status.klar { background: var(--blue-soft); color: var(--blue-deep); }
.status.sendt { background: var(--blue); color: #fff; }
.status.intervju, .status.tilbud { background: var(--money-bg); color: var(--money); }
.status.avslag { color: var(--ink-3); }

/* toasts */
.toasts { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 100; width: min(400px, calc(100vw - 36px)); }
.toast { padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-left: 4px solid var(--blue); animation: toast-in .45s var(--spring); }
.toast.err { border-left-color: var(--soon); }
@keyframes toast-in { from { transform: translateY(14px); opacity: 0; } }

/* Laptops and zoomed browsers (1366x650, 1536x730 at 125 %, 1280x600 at 150 %) are short:
   the hero sizes itself by height too, so the live demo always shows on the first screen. */
@media (min-width: 900px) {
  .hero { padding-top: clamp(12px, 3.2vh, 64px); }
  .hero h1 { margin-top: clamp(10px, 2vh, 18px); font-size: clamp(2.6rem, min(5.4vw, 8.4vh), 4.9rem); }
  .hero .lede { margin-top: clamp(8px, 1.6vh, 16px); font-size: clamp(1rem, min(1.5vw, 2.3vh), 1.25rem); }
  .drop-row { margin-top: clamp(14px, 2.8vh, 26px); }
  .dropzone { padding: clamp(14px, 2.6vh, 26px) 24px clamp(12px, 2.2vh, 22px); gap: clamp(8px, 1.3vh, 12px); }
  .dropzone .btn.lg { padding: clamp(12px, 2vh, 18px) 34px; }
  .stage { margin-top: clamp(18px, 3.6vh, 56px); }
  .hero-dog { width: clamp(150px, 26vh, 230px); right: calc(-1 * clamp(170px, 28vh, 250px)); }
}
@media (min-width: 900px) and (max-height: 700px) {
  .dropzone .trust { display: none; }
  .eyebrow { padding-block: 5px; font-size: .84rem; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard:nth-child(3)::before, .scard:nth-child(3)::after { display: none; }
  .hero-dog { display: none; }
}
@media (max-width: 1000px) {
  .feature, .save-grid, .dossier-grid, .writer, .jobs-grid { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
  .wishes, .writer aside, .filters { position: static; }
  .filters { grid-template-columns: 1fr 1fr; }
  .closing { grid-template-columns: 1fr; }
  .closing img { display: none; }
  .foot-in p { margin-left: 0; text-align: left; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar-in { height: 64px; gap: 10px; }
  .brand span { font-size: 1.3rem; }
  .brand img { width: 46px; height: 46px; }
  .tabs a.tab { padding: 7px 10px; font-size: .92rem; }
  .tabs .hide-sm { display: none; }
  .tabs .btn { margin-left: 4px; padding: 9px 14px; font-size: .9rem; }
  .hero h1 { font-size: 2.45rem; }
  .hero h1 .line { white-space: normal; }
  .eyebrow { font-size: .8rem; }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .scard + .scard::before, .scard + .scard::after { display: none; }
  .scard { min-height: 0; }
  .meadow { width: 220px; opacity: .8; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan.best { order: -1; margin-bottom: 8px; }
  .fields { grid-template-columns: 1fr; }
  .fcell:nth-child(odd) { border-right: none; padding-right: 4px; }
  .fcell:nth-child(even) { padding-left: 4px; }
  .dossier .doc-dog { display: none; }
  .fill-meter { padding-right: 0; }
  body:not(.on-landing) .topbar .brand span { display: none; }
  .filters:not(.open) .group:nth-child(n+3) { display: none; }
  .filters .more-btn { display: inline-flex; }
  .dossier .who { align-items: flex-start; }
  .dossier .who > div:nth-child(2) { padding-right: 0; }
  .avatar { width: 58px; height: 58px; font-size: 1.35rem; }
  .filters { grid-template-columns: 1fr; }
  .job { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .job .ring { width: 44px; height: 44px; }
  .job .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .adtext { grid-column: 1 / -1; }
  .hunt { grid-template-columns: 1fr; }
  .hunt > img { width: 86px; }
  .hunt-stats b { font-size: 1.3rem; }
  .hunt-stats div { padding: 10px; }
  .ctable { font-size: .85rem; }
  .ctable { table-layout: fixed; }
  .ctable th, .ctable td { padding: 10px 6px; overflow-wrap: anywhere; hyphens: auto; }
  .ctable th:first-child, .ctable td:first-child { padding-left: 14px; }
  .calc .dog { display: none; }
  .calc .verdict, .calc .verdict + p { max-width: none; }
  .calc .result { flex-direction: column; align-items: flex-start; }
  .app-row { grid-template-columns: 1fr auto; }
  .app-row .org, .app-row .row { display: none; }
  .page-head .actions { margin-left: 0; }
}
@media (min-width: 1800px) {
  body { font-size: 18px; }
  :root { --wrap: 1360px; }
  .topbar-in, .hero-in, .stage { width: min(1480px, 100% - 40px); }
  h1 { font-size: 5.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .topbar, .writer aside, .sheet-tools, .revise, .typist, .toasts, .page-head, .foot { display: none !important; }
  .writer { display: block; }
  .desk { padding: 0; }
  .letter-sheet { box-shadow: none; border: none; padding: 0; min-height: 0; }
  .letter { overflow: visible; }
}

/* ---------- plan, paywall, account, legal (launch, 5 Oct 2026) ---------- */
.modal-back { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(30, 43, 40, .42); backdrop-filter: blur(6px); overflow-y: auto; }
.modal { position: relative; width: min(500px, 100%); background: var(--paper); border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(20, 28, 26, .55); padding: 30px 30px 26px; margin: auto; }
.modal.wide { width: min(760px, 100%); }
.modal-x { position: absolute; top: 12px; right: 12px; }
.paywall, .login { display: grid; justify-items: center; text-align: center; gap: 10px; }
.paywall h2, .login h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); max-width: 18ch; }
.paywall > .muted, .login > .muted { max-width: 40ch; }
.pw-dog { width: 112px; margin: -64px 0 -4px; filter: drop-shadow(0 10px 14px rgba(40, 36, 20, .18)); }
/* Room above the sheet for the dog, so it never pokes over the menu or off the top of a phone. */
.modal-back:has(.pw-dog) { padding-top: 84px; }
.paywall .billing { margin: 10px auto 2px; }
.pw-price { display: flex; align-items: baseline; gap: 8px; }
.pw-price b { font-family: var(--display); font-weight: 900; font-size: 3.1rem; letter-spacing: -.03em; line-height: 1; display: inline-block; }
.pw-price span { color: var(--ink-2); }
.pw-note { font-size: .86rem; color: var(--ink-3); margin-top: -4px; }
.pw-list { list-style: none; margin: 6px 0 4px; padding: 16px 18px; display: grid; gap: 9px; text-align: left; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.pw-list li { display: flex; gap: 10px; align-items: flex-start; }
.pw-list .icon { color: var(--money); margin-top: 3px; }
.consent { display: flex; gap: 11px; align-items: flex-start; text-align: left; font-size: .88rem; color: var(--ink-2); cursor: pointer; padding: 4px 2px; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue); }
.paywall .btn[disabled] { cursor: not-allowed; }
.pw-fine { font-size: .8rem; color: var(--ink-3); text-align: center; }
.pw-fine .icon { display: inline; width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; }
.login .input { text-align: center; font-size: 1.05rem; max-width: 320px; }
.login .input.code { font-family: var(--display); font-weight: 900; font-size: 1.8rem; letter-spacing: .3em; padding: 10px; }
.login .btn { max-width: 320px; }

/* An ad the user pastes in */
.own-ad { display: grid; gap: 14px; }
.own-ad h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); padding-right: 34px; }
.own-ad > .muted { margin-top: -6px; }
.own-ad .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.own-ad .alert { margin: 0; }
.own-ad .textarea { min-height: 130px; max-height: 280px; }
.own-ad .own-dog { margin: 0 auto -6px; justify-self: center; }
.own-ad .thinking { justify-content: center; margin: 0; }
.own-ad:has(.own-dog) { justify-items: center; text-align: center; }
.own-ad .own-extra:not([hidden]) { display: grid; gap: 14px; }
.site-icon.own { display: inline-grid; place-items: center; font-size: 12px; line-height: 1; }

/* Jobs brought in with the 🐶 button */
.hent { margin-top: 24px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 14px; justify-items: start; }
.hent > * { max-width: 100%; }
.hent h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.hent .two, .hent .btn.wide { justify-self: stretch; }
.hent .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hent .alert { margin: 0; justify-self: stretch; }
.hent-from { font-size: .9rem; font-weight: 500; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.hent-text { color: var(--ink-2); font-size: .93rem; white-space: pre-line; max-height: 12em; overflow: hidden; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); justify-self: stretch; }
.hent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-self: stretch; }
.hent-list li { display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); }
.hent-list .muted { font-size: .88rem; }
.hent:has(.own-dog) { justify-items: center; text-align: center; }
.hent .own-dog { margin: 0 auto -6px; }
.hent .thinking { justify-content: center; margin: 0; }
.hent-dog { width: 120px; height: auto; }
.grab-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.grab-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px dashed var(--blue); background: var(--card); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: grab; }
.grab-btn:active { cursor: grabbing; }
@media (max-width: 560px) {
  .hent .two { grid-template-columns: 1fr; }
}
.page-head .actions .btn, .page-head .actions .btn-soft { white-space: nowrap; }
@media (max-width: 560px) {
  .own-ad .two { grid-template-columns: 1fr; }
  .page-head .actions { flex-wrap: wrap; }
  .page-head .actions .btn-soft { order: 2; }
}

.tabs .btn.unlock { margin-left: 8px; }
.tabs .btn.unlock .icon { width: 16px; height: 16px; }
.tabs .link-tab { background: none; border: none; cursor: pointer; }
.job .meta-row .new { font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); }
.rev-left { font-size: .84rem; color: var(--ink-3); margin: 8px 4px 0; }

.locked { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.ghosts { padding: 6px 0 60px; filter: blur(2.5px); }
.ghost { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ghost i { display: block; background: var(--paper-2); border-radius: 999px; }
.ghost .g-ring { width: 46px; height: 46px; border: 3px solid var(--blue-tint); background: none; }
.ghost .g-line { height: 12px; margin: 7px 0; }
.ghost .g-pill { width: 108px; height: 28px; background: var(--money-bg); }
.locked-cta { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .88) 38%, #fff 80%); }
.locked-cta h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 900; }
.locked-cta p { color: var(--ink-2); max-width: 44ch; font-size: .95rem; }
.lock-badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); animation: lock-bob 2.6s var(--ease) infinite; }
@keyframes lock-bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) rotate(-6deg) } }

.wrap.narrow { width: min(820px, 100% - 40px); }
.center-page { display: grid; justify-items: center; text-align: center; gap: 12px; padding-top: 40px; }
.center-page .lede { color: var(--ink-2); font-size: 1.15rem; max-width: 52ch; }
.big-dog { width: 200px; }
.acc-grid { display: grid; gap: 18px; }
.acc-card { padding: 24px 26px; display: grid; gap: 12px; justify-items: start; }
.acc-card .row { width: 100%; }
.acc-card .row .input { flex: 1; min-width: 200px; width: auto; }
.plan-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.plan-pill.on { background: var(--money-bg); color: var(--money); }
.plan-pill .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.acc-meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; }
.meter { position: relative; display: grid; gap: 2px; padding: 14px 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.meter b { font-family: var(--display); font-weight: 900; font-size: 1.8rem; line-height: 1; }
.meter span { font-size: .86rem; color: var(--ink-2); }
.meter i { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p); background: var(--blue); border-radius: 0 4px 4px 0; }
.link.danger { color: var(--soon); }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-top: 30px; }
.legal .meta { color: var(--ink-3); margin: 8px 0 26px; }
.legal section { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.legal h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.legal p { color: var(--ink-2); max-width: 68ch; }
.formbox { padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--card); display: grid; gap: 6px; font-size: .92rem; }
.foot-text { margin-left: auto; display: grid; gap: 8px; justify-items: end; text-align: right; max-width: 64ch; }
.foot-in .foot-text p { margin-left: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: flex-end; }
.foot-links a { color: var(--ink-2); }
@media (max-width: 680px) {
  .modal { padding: 26px 18px 20px; border-radius: 22px; }
  .pw-dog { width: 92px; margin-top: -56px; }
  .pw-price b { font-size: 2.6rem; }
  .ghost .g-pill { width: 70px; }
  .foot-text { margin-left: 0; justify-items: start; text-align: left; }
  .foot-links { justify-content: flex-start; }
  .tabs .btn.unlock { padding: 9px 13px; }
}

/* ---------- 5 Oct night: summary, reader, demo, lenses, facts, apply, overview ---------- */
/* who you are: one emoji row per thing, one line each */
.summary { position: relative; padding: clamp(24px, 3vw, 34px); }
.summary .doc-dog { position: absolute; right: 22px; top: -62px; width: 120px; pointer-events: none; }
.summary .who { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.summary .who > div:last-child { padding-right: 110px; }
.summary h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.summary .headline { color: var(--ink-2); margin-top: 6px; font-size: 1.02rem; }
.summary .headline .shimmer, .summary h2 .shimmer, .srow .shimmer { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--paper-2) 0 30%, #fbf8f1 50%, var(--paper-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.summary h2 .shimmer { height: 26px; }
.srows { display: grid; grid-template-columns: 1fr; padding-top: 12px; }
.srow { display: grid; grid-template-columns: 38px 104px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); min-height: 50px; }
.srow:last-child { border-bottom: none; }
.srow .em { font-size: 1.35rem; line-height: 1; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--paper); }
.srow .lbl { font-size: .84rem; font-weight: 600; color: var(--ink-3); }
.srow .val { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow .val .shimmer { width: 80%; }
.srow.is-empty .em { filter: grayscale(1); opacity: .45; }
.srow.none .val { color: var(--ink-3); font-weight: 400; }

/* the CV being read: one slim marker walking the lines */
.cvthumb .reader { position: absolute; border-radius: 3px; background: rgba(48, 72, 216, .1); box-shadow: inset 0 -2px 0 rgba(48, 72, 216, .75); pointer-events: none; }

/* the sample CV next to the drop zone */
.sample-cv { all: unset; box-sizing: border-box; position: absolute; left: -238px; bottom: -8px; width: 168px; cursor: grab; display: grid; gap: 8px; justify-items: center; transform: rotate(-6deg); transition: transform .45s var(--spring); }
.sample-cv img { width: 150px; border-radius: 6px; background: #fff; box-shadow: 0 2px 4px rgba(40, 36, 20, .08), 0 18px 34px -16px rgba(40, 36, 20, .45); }
.sample-cv:hover { transform: rotate(-2deg) translateY(-6px); }
.sample-cv { touch-action: none; user-select: none; -webkit-user-select: none; }
.sample-cv:active { cursor: grabbing; }
.sample-cv.lifted img { opacity: .35; }
.sample-ghost { position: fixed; left: 0; top: 0; width: 120px; z-index: 200; pointer-events: none; border-radius: 6px; background: #fff; box-shadow: 0 26px 50px -18px rgba(40, 36, 20, .55); will-change: transform; }
.sample-cv:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 10px; }
.sample-tag { display: grid; justify-items: center; font-size: .82rem; color: var(--ink-2); line-height: 1.3; text-align: center; }
.sample-tag b { color: var(--blue); font-size: .9rem; }
body.dragging .sample-cv { opacity: .5; }
.demobar { position: sticky; top: 76px; z-index: 39; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px max(20px, calc((100% - 1240px) / 2)); background: var(--blue-soft); border-bottom: 1px solid var(--blue-tint); font-size: .93rem; }
.demobar .btn.sm { padding: 8px 16px; font-size: .9rem; }

/* jobs: lenses on top, short facts on each card */
.lenses { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; scrollbar-width: none; }
.lenses::-webkit-scrollbar { display: none; }
.lens { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; cursor: pointer; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; font-size: .92rem; transition: transform .3s var(--spring), background .2s, color .2s; }
.lens small { font-weight: 600; font-size: .76rem; color: var(--ink-3); }
.lens:hover { transform: translateY(-2px); }
.lens[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lens[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.lens[disabled] { opacity: .45; cursor: default; transform: none; }
.job .org-line { display: flex; align-items: center; gap: 7px; margin-top: 3px; color: var(--ink-2); font-size: .92rem; }
.job .org-line .site-icon { width: 15px; height: 15px; border-radius: 4px; object-fit: contain; }
.job .facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.job .fact { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.job .fact .icon { width: 14px; height: 14px; }
.job .fact.soon { background: #fbe7e1; color: var(--soon); }
.job .fact.new { background: var(--blue-soft); color: var(--blue-deep); }
.job .fact.top { background: #fdf3d6; color: #7a5300; }
.finn-row { margin-top: 16px; padding: 18px 20px; display: grid; gap: 12px; justify-items: start; }
.finn-row p { color: var(--ink-2); }
.finn-row .chip { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.finn-row .chip .icon { width: 13px; height: 13px; }
.job .why { margin-top: 9px; font-size: .9rem; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.job .why .icon { flex: none; }
.gap-note { margin-bottom: 10px; font-size: .92rem; }

/* writer: Søk nå */
.apply-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 0 6px; }
.apply-panel { margin: 8px 0 14px; padding: 16px 18px; border-radius: 16px; background: var(--money-bg); border: 1px solid var(--money-line); display: grid; gap: 12px; }
.apply-panel[hidden] { display: none; }
.apply-panel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.apply-panel li { display: flex; gap: 10px; align-items: center; font-weight: 500; }

/* overview */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.tile { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .35s var(--spring); }
a.tile:hover { transform: translateY(-3px); }
.tile .em { font-size: 1.4rem; }
.tile b { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1.1; }
.tile span:last-child { font-size: .88rem; color: var(--ink-2); }
.next { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; margin-bottom: 30px; border: 2px solid var(--blue-tint); }
.next-em { font-size: 2.2rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--blue-soft); }
.next h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 4px 0; }
.next p { color: var(--ink-2); }
.board-title { font-size: 1.5rem; margin-bottom: 14px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.col { background: var(--paper-2); border-radius: 18px; padding: 12px; display: grid; gap: 10px; align-content: start; min-height: 150px; }
.col-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; padding: 2px 4px; }
.col-head small { margin-left: auto; font-weight: 600; color: var(--ink-3); }
.col-empty { font-size: .85rem; color: var(--ink-3); padding: 4px; }
.bcard { background: var(--card); border-radius: 14px; border: 1px solid var(--line); padding: 12px 12px 8px; display: grid; gap: 6px; box-shadow: var(--shadow); }
.bcard a { text-decoration: none; display: grid; gap: 2px; }
.bcard b { font-size: .92rem; line-height: 1.3; }
.bcard a span { font-size: .84rem; color: var(--ink-2); }
.bcard-foot { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink-3); }
.bcard-foot .link { font-size: .78rem; margin-left: auto; }
.bcard-foot .iconbtn:last-child { margin-left: auto; }
.bcard-foot .link + .iconbtn { margin-left: 0; }
.iconbtn.sm { width: 30px; height: 30px; border-radius: 9px; }
.iconbtn.sm .icon { width: 15px; height: 15px; }
.col-tilbud { background: var(--money-bg); }
.soon-card { margin-top: 26px; padding: 20px 24px; display: grid; gap: 4px; }
.soon-card h3 { margin-bottom: 6px; }
.soon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; }
.soon-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.soon-row span { color: var(--ink-2); font-size: .9rem; }
.soon-row .when { color: var(--soon); font-weight: 600; }

@media (max-width: 1180px) {
  .sample-cv { left: -196px; width: 150px; }
  .sample-cv img { width: 128px; }
}
@media (max-width: 1000px) {
  .sample-cv { position: static; transform: none; grid-template-columns: 56px auto; justify-items: start; align-items: center; width: auto; margin: 14px auto 0; }
  .sample-cv img { width: 56px; border-radius: 4px; }
  .sample-tag { justify-items: start; text-align: left; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .srows { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 34px 80px minmax(0, 1fr); }
  .summary .who > div:last-child { padding-right: 0; }
  .summary .doc-dog { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next { grid-template-columns: 1fr; text-align: left; }
  .board { grid-template-columns: repeat(5, 78vw); }
  .demobar { top: 64px; font-size: .86rem; }
  .job .why { -webkit-line-clamp: 2; }
}

/* phones: what matters first (checked at 390 x 844) */
.link.inline { padding: 0; font-size: inherit; }
.next { margin-bottom: 18px; }
.tiles { margin-bottom: 30px; }
@media (max-width: 1000px) {
  .dossier-grid.is-reading > .wishes { order: -1; position: static; }
  .jobs-grid > :first-child { order: 2; }
  .writer.has-letter { display: flex; flex-direction: column; }
  .writer.has-letter > .desk { order: -1; }
}
@media (max-width: 680px) {
  .is-reading .cvthumb { aspect-ratio: auto; height: 260px; }
  .is-reading .phases { display: none; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 10px 12px; }
  .tile .em { font-size: 1.05rem; }
  .tile b { font-size: 1.45rem; }
  .tile span:last-child { font-size: .76rem; line-height: 1.25; }
  .pw-dog { width: 76px; margin-top: -46px; }
  .paywall h2 { font-size: 1.45rem; }
  .paywall { gap: 8px; }
  .pw-price b { font-size: 2.3rem; }
  .pw-list { padding: 12px 14px; font-size: .92rem; }
}

/* the hero's long free-trial button must wrap on phones, or it widens the whole column */
.hero-in > * { max-width: 100%; min-width: 0; }
@media (max-width: 680px) {
  .dropzone .btn.lg { white-space: normal; text-align: center; padding: 15px 22px; max-width: 100%; }
}
