/* Malayali Mentor — "the senior's notebook"
   Every page is one sheet of a ruled long-book lying on the desk.
   The red margin line is the spine of the layout: text starts right of it,
   the margin holds handwritten notes (dates, step numbers, asides).        */

:root {
  color-scheme: light only;   /* stop phone browsers (e.g. Samsung Internet) auto-darkening the paper */
  --desk: #EEF0F3;         /* brand fog: the desk the sheet lies on */
  --sheet: #FFFFFF;
  --rule: #E1E7F0;         /* notebook rule lines */
  --rule-2: #C9D1DC;
  --margin: #F0442C;       /* margin line + "old way" strikes only */
  --ink: #101418;
  --ink-2: #353D48;
  --muted: #646D79;
  --pen: #5B3CFF;          /* violet pen, and Indian rubber-stamp ink */
  --marker: #FFD23F;       /* highlighter */
  --sticky: #FFF0A8;
  --inland: #E4EEF8;       /* inland letter blue */

  --sans: "Anek Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif;   /* brand typeface: one family for English and Malayalam */
  --ml: "Anek Malayalam", system-ui, sans-serif;
  --hand: "Kalam", "Chilanka", "Segoe Print", cursive;
  --hand-ml: "Chilanka", "Kalam", cursive;

  --m: 112px;              /* margin column width */
  --pad-r: 64px;
  --line: 32px;            /* ruled line pitch */
}
@media (max-width: 900px) { :root { --m: 64px; --pad-r: 32px; } }
@media (max-width: 560px) { :root { --m: 30px; --pad-r: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--desk); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
  overflow-wrap: break-word;
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--marker); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[lang="ml"] { font-family: var(--ml); }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--pen); outline-offset: 3px; border-radius: 3px; }
main { outline: none; display: block; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- desk header ---------- */
.top { max-width: 1180px; margin: 0 auto; padding: 18px 24px 22px; display: flex; align-items: center; gap: 32px; }
.wordmark { display: flex; align-items: center; text-decoration: none; flex: none; }
.wordmark svg { display: block; height: 58px; width: auto; }
.top nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink-2); padding: 4px 0; position: relative; }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current="page"] { color: var(--ink); }
.top nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: -3px; right: -3px; bottom: 0; height: 9px; z-index: -1;
  background: var(--marker); border-radius: 2px 6px 3px 5px; transform: rotate(-1deg);
}
.top nav a, .top nav .btn { isolation: isolate; }
@media (max-width: 640px) {
  .top { flex-wrap: wrap; gap: 12px; row-gap: 12px; padding: 16px 20px 18px; }
  .top nav { order: 3; width: 100%; margin: 0; gap: 22px; }
  .top .btn { margin-left: auto; }
  .wordmark svg { height: 50px; }
}

/* ---------- buttons: ink, and highlighted on hover ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px;
  background: var(--ink); color: #fff; border: 0; border-radius: 6px; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--marker); color: var(--ink); }
.btn .short { display: none; }
@media (max-width: 420px) { .btn .long { display: none; } .btn .short { display: inline; } .wordmark svg { height: 46px; } }
@media (max-width: 360px) {
  .top { padding-left: 14px; padding-right: 14px; gap: 10px; }
  .wordmark svg { height: 42px; }
  .top .btn { padding: 0 14px; }
}
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn.busy { opacity: .65; cursor: progress; }
.btn.busy:hover { background: var(--ink); color: #fff; }
.textlink { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--pen); }
.textlink:hover { background: var(--marker); text-decoration-color: var(--ink); }

/* ---------- the sheet ---------- */
.sheet {
  position: relative; max-width: 1180px; margin: 0 auto 72px; background: var(--sheet);
  box-shadow: 0 1px 1px rgba(16,20,24,.06), 0 30px 60px -40px rgba(16,20,24,.35);
  border-radius: 3px; overflow-x: clip;
}
.sheet::before { /* the margin line */
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--m); width: 1.5px;
  background: var(--margin); opacity: .5; pointer-events: none;
}
.ruled {
  background-image: linear-gradient(transparent calc(var(--line) - 1px), var(--rule) calc(var(--line) - 1px));
  background-size: 100% var(--line);
}
.blk { position: relative; padding: 0 var(--pad-r) 0 calc(var(--m) + 40px); }
@media (max-width: 560px) { .blk { padding-left: calc(var(--m) + 18px); } }
.mnote { /* handwriting in the margin */
  position: absolute; left: 0; width: var(--m); padding-right: 14px; text-align: right;
  font-family: var(--hand); color: var(--pen); font-size: 17px; line-height: 1.25;
}
.mnote [lang="ml"] { font-family: var(--hand-ml); }
li > .mnote { left: calc(-40px - var(--m)); }
@media (max-width: 560px) { .mnote { display: none; } }
.hand { font-family: var(--hand); color: var(--pen); }
.hand[lang="ml"], .hand [lang="ml"] { font-family: var(--hand-ml); }
.hl { background-image: linear-gradient(104deg, transparent .3em, var(--marker) .35em, var(--marker) calc(100% - .2em), transparent calc(100% - .15em)); background-size: 100% 76%; background-position: 0 70%; background-repeat: no-repeat; padding: 0 .12em; margin: 0 -.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- type ---------- */
h1 { font-weight: 800; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.02em; font-variation-settings: "wdth" 112; text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(27px, 2.9vw, 35px); line-height: 1.12; letter-spacing: -0.012em; font-variation-settings: "wdth" 112; text-wrap: balance; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--muted); }
.measure { max-width: 34em; }

/* =========================================================
   HOME
   ========================================================= */
.hero { padding-top: 56px; padding-bottom: 72px; container-type: inline-size; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 56px; align-items: start; margin-top: 14px; }
.hero .mnote { top: 112px; }
.ini {
  font-family: var(--ml); font-weight: 800; font-variation-settings: "wdth" 112;
  font-size: clamp(48px, 11vw, 150px); font-size: min(156px, 15.4cqi); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink);
  margin: 0 0 6px -0.03em; white-space: nowrap;
}
.ini { display: block; }
.ini-sub { display: block; font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; letter-spacing: -0.018em; line-height: 1.2; color: var(--ink); font-variation-settings: "wdth" 100; }
.hero p.lead { margin-top: 22px; }
.hero p.lead:first-child { margin-top: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 34px; }

/* the questions, scribbled */
.qs { padding-top: 18px; display: grid; gap: 18px; }
.q { font-family: var(--hand); color: var(--pen); font-size: 23px; line-height: 1.2; transform: rotate(var(--r, -1.5deg)); margin-left: var(--x, 0); width: fit-content; max-width: 100%; }
.q.old { color: var(--ink-2); position: relative; }
.q.old svg { position: absolute; left: -4%; top: 0; width: 108%; height: 100%; overflow: visible; }
.q.reply { font-size: 21px; margin-top: -8px; }
.q.reply::before { content: "↳ "; }
.q-cap { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 30ch; }

/* one orchestrated moment: questions get written in, then the highlight lands */
@keyframes write { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -2% -20% 0); } }
@keyframes strike { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mark { from { background-size: 0% 76%; } to { background-size: 100% 76%; } }
.js .play .q { animation: write .55s steps(14, end) both; animation-delay: calc(.35s + var(--i) * .42s); }
.js .play .q.old path { stroke-dasharray: 1; animation: strike .35s ease-out both; animation-delay: calc(.35s + var(--i) * .42s + .55s); }
.js .play .hl { animation: mark .6s cubic-bezier(.3,.7,.3,1) both; animation-delay: 3.3s; }
@media (prefers-reduced-motion: reduce) {
  .js .play .q, .js .play .q.old path, .js .play .hl { animation: none; }
  .done-stamp.on, .got .stamp.on { animation: none; opacity: .85; transform: rotate(-12deg); }
  .cb .tk { transition: none; }
}
@supports not (overflow: clip) { .done-stamp { right: 0; } .got .stamp { right: -10px; } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .qs { grid-template-columns: 1fr 1fr; gap: 14px 24px; padding-top: 0; }
  .q { font-size: 20px; margin-left: 0; }
  .q-cap { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero { padding-top: 36px; padding-bottom: 48px; }
  .qs { grid-template-columns: 1fr; }
}

/* letter */
.letter { padding-top: 72px; padding-bottom: 80px; border-top: 1px solid var(--rule); }
.letter-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.letter .mnote { top: 80px; }
.letter-body { font-size: 19px; line-height: var(--line); color: var(--ink-2); max-width: 33em; }
.letter-body.ruled { background-position: 0 -7px; }
.letter-body p + p { margin-top: var(--line); }
.letter h2 { margin-bottom: 28px; }
.sign { font-family: var(--hand); color: var(--pen); font-size: 34px; line-height: 1; margin-top: 28px; transform: rotate(-3deg); width: fit-content; }
.polaroid {
  background: #fff; padding: 12px 12px 46px; width: 240px; position: relative; transform: rotate(2.5deg);
  box-shadow: 0 1px 2px rgba(16,20,24,.12), 0 14px 30px -14px rgba(16,20,24,.35);
}
.polaroid .ph {
  aspect-ratio: 1; background: #D8DDE5 center / cover no-repeat; position: relative; display: grid; place-items: center;
  font-family: var(--ml); font-weight: 800; font-size: 64px; color: #fff; overflow: hidden;
}
.polaroid .ph::after { content: ""; position: absolute; inset: 0; background: var(--photo, none) center / cover no-repeat; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--hand); font-size: 19px; color: var(--ink-2); }
.tape { position: absolute; width: 96px; height: 26px; background: rgba(255, 210, 63, .55); top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
@media (max-width: 860px) {
  .letter-grid { grid-template-columns: 1fr; gap: 40px; }
  .polaroid { width: 200px; }
}

/* contents (table of contents) */
.contents { padding-top: 72px; padding-bottom: 80px; border-top: 1px solid var(--rule); }
.contents-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.toc { max-width: 860px; }
.toc li { position: relative; }
.toc .mnote { top: 22px; font-size: 16px; }
.toc a { display: block; text-decoration: none; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.toc-line { display: flex; align-items: baseline; gap: 12px; }
.toc-t { font-weight: 700; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.3; letter-spacing: -0.012em; }
.toc-dots { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--rule-2); transform: translateY(-6px); }
.toc-min { font-size: 15px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.toc-ex { display: block; color: var(--muted); font-size: 16px; margin-top: 4px; max-width: 46em; }
.toc a:hover .toc-t { background: var(--marker); box-shadow: 0 0 0 3px var(--marker); border-radius: 1px; }
.toc a:hover .toc-dots { border-color: var(--ink); }
@media (max-width: 560px) { .toc-dots { display: none; } .toc-line { justify-content: space-between; } }

/* notice slip */
.notice-wrap { padding-top: 40px; padding-bottom: 96px; }
.notice {
  position: relative; max-width: 620px; background: #FDFDFE; border: 1px solid var(--rule-2);
  padding: 44px 40px 36px; transform: rotate(-.6deg);
  box-shadow: 0 1px 1px rgba(16,20,24,.05), 0 18px 34px -22px rgba(16,20,24,.35);
}
.pin { position: absolute; top: -11px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8B74FF, var(--pen) 60%, #3A22B8); box-shadow: 0 3px 4px rgba(16,20,24,.3); }
.notice h2 { text-align: center; font-size: 22px; letter-spacing: .3em; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1.5px; margin-bottom: 22px; font-variation-settings: "wdth" 100; }
.notice p { color: var(--ink-2); }
.notice p + p { margin-top: 14px; }
.notice .ways { margin: 18px 0 8px; display: grid; gap: 8px; }
.notice .ways li { display: flex; gap: 12px; align-items: baseline; }
.notice .ways b { min-width: 86px; }
.notice-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.notice .sign { font-size: 28px; margin: 0; }
.stamp {
  position: absolute; right: -34px; top: -38px; width: 108px; height: 108px; border-radius: 50%; background: rgba(255,255,255,.35);
  border: 3px solid var(--pen); color: var(--pen); display: grid; place-items: center; text-align: center;
  transform: rotate(-14deg); opacity: .82; mix-blend-mode: multiply;
  font-weight: 800; font-size: 13px; letter-spacing: .12em; line-height: 1.15;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6.5px var(--pen);
}
.stamp [lang="ml"] { font-size: 19px; letter-spacing: 0; display: block; }
@media (max-width: 560px) {
  .notice { padding: 40px 22px 28px; }
  .stamp { width: 84px; height: 84px; right: -8px; top: -30px; font-size: 11px; }
  .stamp [lang="ml"] { font-size: 15px; }
  .notice h2 { text-align: left; }
  .got .stamp { right: -14px; top: -62px; }
}

/* =========================================================
   RESOURCES
   ========================================================= */
.sheet.tabbed { margin-top: 46px; }
.tabs { position: absolute; left: calc(var(--m) + 28px); right: 12px; top: -40px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 9px 9px 0 0;
  background: var(--tab, #DDE2E9); color: var(--ink-2); font-weight: 600; font-size: 15px;
  transform: translateY(5px); transition: transform .15s;
}
.tab:hover { transform: translateY(1px); }
.tab[aria-selected="true"] { background: var(--sheet); color: var(--ink); transform: none; font-weight: 700; box-shadow: 0 -6px 12px -10px rgba(16,20,24,.3); }
.tab .n { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: 13px; }
.tab[data-cat="Careers"] { --tab: #FFE9A3; }
.tab[data-cat="AI"] { --tab: #E3DCFF; }
.tab[data-cat="Certifications"] { --tab: #D6E8FB; }
.tab[data-cat="Upskilling"] { --tab: #D8F0E0; }
.tab[data-cat="Saved"] { --tab: #F2F3F5; }
@media (max-width: 560px) { .tabs { left: 8px; } .tab { padding: 0 14px; font-size: 14px; } }

.page-top { padding-top: 64px; padding-bottom: 36px; }
.page-top .mnote { top: 74px; }
.page-top h1 + p { margin-top: 18px; }

.ask { margin-top: 40px; max-width: 760px; }
.ask label { display: block; font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.ask-line { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); }
.ask-line svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 58px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.01em; }
.ask input::placeholder { color: #A7AFBA; font-weight: 400; }
.ask input::-webkit-search-cancel-button { display: none; }
.ask-line:focus-within { border-bottom-color: var(--pen); box-shadow: 0 2px 0 var(--pen); }
.clear { border: 0; background: none; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.slash { font-size: 13px; color: var(--muted); border: 1px solid var(--rule-2); border-radius: 4px; padding: 0 6px; }
@media (hover: none) { .slash { display: none; } }

.sentence { margin-top: 18px; color: var(--ink-2); font-size: 17px; line-height: 2; }
.sentence select {
  appearance: none; -webkit-appearance: none; border: 0; background: none; cursor: pointer;
  font-weight: 700; color: var(--pen); padding: 0 18px 0 2px; margin: 0 2px;
  border-bottom: 2px dashed var(--pen); border-radius: 0;
  background-image: linear-gradient(45deg, transparent 50%, var(--pen) 50%), linear-gradient(135deg, var(--pen) 50%, transparent 50%);
  background-position: right 7px top 55%, right 2px top 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.sentence select:hover { background-color: var(--marker); }

.list-blk { padding-top: 8px; padding-bottom: 88px; }
.count { color: var(--muted); font-size: 15px; margin-bottom: 6px; display: flex; gap: 14px; }
.count button { border: 0; background: none; padding: 0; color: var(--pen); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.toc.full li { padding-right: 52px; }
.toc.full a { padding: 22px 0 24px; }
.ribbon {
  position: absolute; right: 6px; top: 16px; width: 40px; height: 48px; border: 0; background: none; padding: 0; color: #9AA3AF;
}
.ribbon svg { width: 22px; height: 34px; margin: 0 auto; transition: transform .2s; transform-origin: top; }
.ribbon:hover { color: var(--ink-2); }
.ribbon[aria-pressed="true"] { color: var(--pen); }
.ribbon[aria-pressed="true"] svg { transform: scaleY(1.25); }
.toc-meta { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
.toc-meta .done { color: var(--pen); font-family: var(--hand); font-size: 17px; margin-left: 8px; }
mark { background: var(--marker); color: inherit; padding: 0 .05em; }

.empty { padding: 56px 0 24px; max-width: 520px; }
.empty .hand { font-size: 26px; display: block; margin-bottom: 10px; transform: rotate(-1.5deg); width: fit-content; }
.empty p { color: var(--muted); margin-bottom: 18px; }

/* =========================================================
   ARTICLE
   ========================================================= */
.art-top { padding-top: 48px; padding-bottom: 8px; }
.back { display: inline-block; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; margin-bottom: 40px; }
.back:hover { color: var(--ink); text-decoration: underline; }
.art-top .mnote { top: 128px; }
.art-top h1 { max-width: 15em; }
.byline { margin-top: 20px; color: var(--muted); font-size: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.byline button { border: 0; background: none; padding: 0; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; }
.byline button:hover { color: var(--ink); text-decoration-color: var(--pen); }
.byline button[aria-pressed="true"] { color: var(--pen); text-decoration-color: var(--pen); }

.art-grid { display: grid; grid-template-columns: minmax(0, 34em) minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 96px; }
.prose { font-size: 19px; line-height: var(--line); color: var(--ink-2); background-position: 0 -7px; }
.prose p + p { margin-top: var(--line); }
.steps-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 56px 0 6px; }
.prog { font-family: var(--hand); color: var(--pen); font-size: 21px; }
.steps li { position: relative; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps .mnote { top: 20px; font-size: 26px; padding-right: 18px; }
.steps label { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 22px 0 6px; cursor: pointer; align-items: start; }
.steps input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cb { width: 28px; height: 28px; margin-top: 1px; color: var(--ink-2); }
.cb .box { fill: none; stroke: currentColor; stroke-width: 1.8; }
.cb .tk { fill: none; stroke: var(--pen); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .35s cubic-bezier(.3,.7,.3,1); }
.steps input:checked + .cb .tk { stroke-dashoffset: 0; }
.steps input:focus-visible + .cb { outline: 2.5px solid var(--pen); outline-offset: 3px; border-radius: 3px; }
.step-t { font-weight: 700; font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; }
.steps input:checked ~ .step-t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--pen); text-decoration-thickness: 2px; }
.step-d { color: var(--muted); padding: 0 0 22px 48px; font-size: 17px; line-height: 1.6; }

.aside { position: relative; }
.sticky {
  position: sticky; top: 32px; background: var(--sticky); padding: 30px 26px 28px; transform: rotate(1.2deg); max-width: 330px;
  box-shadow: 0 1px 1px rgba(16,20,24,.08), 0 16px 28px -18px rgba(16,20,24,.35);
}
.sticky h3 { font-family: var(--hand); font-weight: 700; font-size: 24px; color: var(--ink); margin-bottom: 10px; }
.sticky li { font-family: var(--hand); font-size: 19px; line-height: 1.4; color: var(--ink-2); }
.sticky li + li { margin-top: 12px; }
.sticky .tape { top: -13px; }

.steps-wrap { position: relative; }
.done-stamp {
  position: absolute; right: -118px; bottom: -40px; width: 132px; height: 132px; border-radius: 50%; border: 3px solid var(--pen); color: var(--pen);
  display: grid; place-items: center; text-align: center; font-weight: 800; letter-spacing: .14em; font-size: 15px; line-height: 1.1;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6.5px var(--pen); opacity: 0; transform: rotate(-12deg) scale(1.6);
  mix-blend-mode: multiply; pointer-events: none;
}
.done-stamp [lang="ml"] { font-size: 22px; letter-spacing: 0; display: block; }
.done-stamp.on { animation: stampin .32s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes stampin { to { opacity: .85; transform: rotate(-12deg) scale(1); } }
.done-stamp.still { opacity: .85; transform: rotate(-12deg); }

.next { margin-top: 72px; padding-top: 22px; border-top: 2px solid var(--ink); display: grid; gap: 6px; }
.next a { font-weight: 800; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; text-decoration: none; width: fit-content; }
.next a:hover { background: var(--marker); }
.next p { color: var(--muted); }
@media (max-width: 980px) {
  .done-stamp { right: -4px; bottom: -64px; width: 112px; height: 112px; }
  .art-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sticky { position: relative; top: 0; }
}

/* =========================================================
   FORMS: registration slip + inland letter
   ========================================================= */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 64px; padding-top: 64px; padding-bottom: 96px; align-items: start; }
.two .mnote { top: 74px; }
@media (max-width: 940px) { .two { grid-template-columns: 1fr; gap: 44px; padding-bottom: 64px; } }
.points { margin-top: 30px; display: grid; gap: 16px; max-width: 30em; }
.points li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.points svg { width: 22px; height: 22px; margin-top: 2px; }
.small { font-size: 15px; color: var(--muted); margin-top: 26px; max-width: 32em; }

.slip {
  position: relative; background: #F7F8FA; padding: 40px 36px 34px;
  border: 1px solid var(--rule-2); border-top: 0;
}
.slip::before { /* perforated tear edge */
  content: ""; position: absolute; left: -1px; right: -1px; top: -9px; height: 10px;
  background: radial-gradient(circle at 6px 0, transparent 4.5px, #F7F8FA 5px) 0 0 / 14px 10px repeat-x;
}
.slip::after { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 1.5px dashed var(--rule-2); }
.slip-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 26px; }
.slip-h h2 { white-space: nowrap; }
.slip-h h2 { font-size: 26px; }
.slip-h .hand { font-size: 18px; transform: rotate(-2deg); }
.f { display: grid; gap: 2px; margin-bottom: 20px; }
.f > label:not(.agree), .f > .lbl { font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 8px; width: 100%; }
.f.err .agree { color: #C2321B; }
.f.err .agree .cb { color: #C2321B; }
.hint { justify-self: start; margin-top: 6px; border: 0; padding: 4px 8px; background: var(--sticky); color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; border-radius: 3px; }
.hint:hover { background: var(--marker); }
.f .opt { font-weight: 400; color: var(--muted); }
.line-in {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--ink-2); background: transparent; border-radius: 0;
  height: 46px; font-size: 19px; padding: 0 2px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.line-in::placeholder { color: #A7AFBA; }
.line-in:focus { border-bottom-color: var(--pen); box-shadow: 0 1.5px 0 var(--pen); }
textarea.line-in { height: auto; resize: vertical; line-height: var(--line); padding-top: 2px; min-height: calc(var(--line) * 5 + 4px);
  background-image: linear-gradient(transparent calc(var(--line) - 1px), var(--rule-2) calc(var(--line) - 1px)); background-size: 100% var(--line); border-bottom: 0; background-attachment: local; }
textarea.line-in:focus { box-shadow: none; }
.phone { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
.f.err .line-in { border-bottom-color: var(--margin); }
.err-msg { font-size: 14px; color: #C2321B; font-weight: 600; min-height: 0; }
.err-msg:empty { display: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 8px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--rule-2); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: #fff; }
.opts label:hover span { border-color: var(--ink-2); }
.opts input:checked + span { border-color: var(--pen); color: var(--pen); box-shadow: inset 0 0 0 1px var(--pen); background: #F1EEFF; }
.opts input:focus-visible + span { outline: 2.5px solid var(--pen); outline-offset: 2px; }
.agree { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 15px; font-weight: 400 !important; color: var(--ink-2); cursor: pointer; margin: 6px 0 4px; line-height: 1.45; }
[data-f="agree"] { margin-bottom: 22px; }
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agree .cb { width: 24px; height: 24px; }
.agree input:checked + .cb .tk { stroke-dashoffset: 0; }
.agree input:focus-visible + .cb { outline: 2.5px solid var(--pen); outline-offset: 3px; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-err { background: #FDECE8; color: #8F2311; padding: 12px 14px; font-size: 15px; margin-bottom: 18px; border-left: 3px solid var(--margin); }
.slip .btn, .inland .btn { width: 100%; justify-content: center; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* success state on the slip */
.got { position: relative; }
.got .stamp { position: absolute; right: -48px; top: -74px; transform: rotate(-14deg) scale(1.6); opacity: 0; }
.got .stamp.on { animation: stamp2 .32s cubic-bezier(.2,1.4,.4,1) .1s forwards; }
.got .stamp.still { opacity: .85; transform: rotate(-14deg); }
@keyframes stamp2 { to { opacity: .85; transform: rotate(-14deg) scale(1); } }
.got h2 { font-size: 30px; max-width: 9em; }
.got > p { color: var(--muted); margin: 10px 0 24px; max-width: 22em; }
.way { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule-2); text-decoration: none; }
.way:last-of-type { border-bottom: 1px solid var(--rule-2); }
.way .ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.way .ic svg { width: 24px; height: 24px; }
.way.wa .ic { background: #1FA855; }
.way.tg .ic { background: #2A9FD8; }
.way b { display: block; font-size: 18px; }
.way small { display: block; color: var(--muted); font-size: 15px; }
/* a working invite link is a real button: ink, highlighted on hover, like .btn */
a.way { background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 14px 20px 14px 14px; margin-top: 10px; transition: background .15s, color .15s; }
a.way:last-of-type { border-bottom: 0; }
a.way small { color: rgba(255, 255, 255, .74); }
a.way:hover { background: var(--marker); color: var(--ink); }
a.way:hover small { color: var(--ink-2); }
a.way:focus-visible { outline-offset: 4px; border-radius: 8px; }
.way.soon { opacity: .55; }
.demo { margin-top: 18px; font-size: 14px; color: var(--pen); background: #F1EEFF; padding: 10px 12px; line-height: 1.5; }
.again { margin-top: 18px; border: 0; background: none; padding: 0; color: var(--muted); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.again:hover { color: var(--ink); }

/* inland letter */
.inland {
  position: relative; background: var(--inland); padding: 38px 34px 32px;
  box-shadow: 0 1px 1px rgba(16,20,24,.06), 0 18px 34px -24px rgba(16,20,24,.35);
}
.inland::before { /* folded flap edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, #C9D8EA 0 10px, transparent 10px 16px);
}
.postbox { position: absolute; right: 26px; top: 26px; width: 70px; height: 82px; border: 1.5px dashed #9FB4CC; display: grid; place-items: center; text-align: center; font-family: var(--hand); color: #6F86A3; font-size: 14px; line-height: 1.2; padding: 6px; }
.inland .to { font-family: var(--hand); color: var(--ink-2); font-size: 20px; line-height: 1.35; margin-bottom: 26px; padding-right: 96px; }
.inland .to b { font-weight: 700; }
.inland .line-in { border-bottom-color: #7E93AE; }
.inland textarea.line-in { background-image: linear-gradient(transparent calc(var(--line) - 1px), #B9CBE0 calc(var(--line) - 1px)); }
.inland .opts span { background: transparent; border-color: #A9BBD1; }

.reach { margin-top: 32px; max-width: 520px; }
.reach li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); }
.reach li:last-child { border-bottom: 1px solid var(--rule); }
.reach .k { color: var(--muted); font-size: 15px; }
.reach a { font-weight: 700; font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { background: var(--marker); }
.reach button { border: 0; background: none; padding: 0; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .reach li { grid-template-columns: 1fr auto; } .reach .k { grid-column: 1 / -1; margin-bottom: -10px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: opacity .2s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* footer on the desk */
.foot { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: baseline; color: var(--muted); font-size: 15px; }
.foot .sp { flex: 1; }
.foot a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .hand { font-size: 19px; }

.nf { padding-top: 96px; padding-bottom: 120px; }
.nf .hero-cta { margin-top: 28px; }

/* =========================================================
   POST: "Tier-3 college? You can still get placed" (posts.js)
   One orchestrated moment (the resume rewriting itself); everything
   else moves only when the reader presses something.
   ========================================================= */
.post .art-top { padding-bottom: 40px; }
.post .art-top h1 { max-width: 13em; }
.p-ml { font-family: var(--ml); font-weight: 600; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; color: var(--ink-2); margin-top: 14px; max-width: 30em; }
.p-lede { color: var(--ink-2); font-size: 18px; max-width: 36em; margin-top: 12px; }
.post section { position: relative; }
.post section > .mnote { top: 70px; }
.p-hero, .p-myths, .p-step, .p-plan, .p-kit, .p-end { padding-top: 64px; padding-bottom: 8px; border-top: 1px solid var(--rule); }
.p-end { padding-bottom: 96px; }
.p-step h2, .p-myths h2, .p-plan h2 { max-width: 20em; }
.p-stepk { font-family: var(--hand); color: var(--pen); font-size: 21px; line-height: 1.2; margin-bottom: 6px; transform: rotate(-1.5deg); width: fit-content; }
.p-prose { max-width: 36em; font-size: 19px; line-height: 1.6; color: var(--ink-2); margin-top: 16px; }
.p-prose p + p { margin-top: 14px; }
.p-prose h3 { color: var(--ink); margin: 8px 0 12px; }

/* ---- the resume ---- */
.res-grid { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 56px; align-items: center; }
.res-side h2 { margin-bottom: 14px; }
.res-side p { color: var(--ink-2); font-size: 18px; max-width: 28em; }
.res-side p + p { margin-top: 10px; }
.paper {
  position: relative; background: #fff; padding: 34px 30px 30px; transform: rotate(-1deg); min-height: 380px;
  border: 1px solid var(--rule-2); box-shadow: 0 1px 2px rgba(16,20,24,.08), 0 22px 40px -26px rgba(16,20,24,.45);
}
.paper .tape { top: -13px; }
.paper-top { border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 14px; transition: margin-bottom .4s; }
.paper[data-state="after"] .paper-top { margin-bottom: 34px; }
.paper-name { display: block; font-weight: 800; font-size: 26px; letter-spacing: -0.015em; font-variation-settings: "wdth" 112; }
.paper-c { display: block; color: var(--muted); font-size: 14px; }
.paper-lines { display: grid; gap: 2px; }
.rl { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--rule); font-size: 15.5px; line-height: 1.4; transition: font-size .4s, opacity .4s; }
.rl b { font-weight: 700; color: var(--ink); }
.rl span { color: var(--ink-2); }
.rl-x { position: absolute; left: -2%; top: 50%; width: 104%; height: 18px; transform: translateY(-50%); overflow: visible; }
.rl-x path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.rl-col { padding-top: 4px; }
.col-note { position: absolute; right: -6px; top: -22px; font-family: var(--hand); color: var(--pen); font-size: 17px; transform: rotate(-3deg); opacity: 0; transition: opacity .4s .3s; white-space: nowrap; }
.paper[data-state="before"] .rl-a, .paper[data-state="striking"] .rl-a { display: none; }
.paper[data-state="after"] .rl-b { display: none; }
.paper[data-state="striking"] .rl-b .rl-x path { animation: strike .3s ease-out forwards; animation-delay: calc(var(--i) * .12s); }
.paper[data-state="striking"] .rl-b span { color: var(--muted); }
.paper[data-state="after"] .rl-a { animation: write .5s steps(12, end) both; animation-delay: calc(.1s + var(--i) * .32s); }
.paper[data-state="after"] .rl-a b { color: var(--pen); }
.paper[data-state="after"] .rl-col { font-size: 13.5px; opacity: .62; }
.paper[data-state="after"] .col-note { opacity: 1; }
.seg { display: inline-flex; margin-top: 24px; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 10px 18px; font-weight: 700; font-size: 15px; min-height: 44px; }
.seg button + button { border-left: 1.5px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg button[aria-pressed="false"]:hover { background: var(--marker); }

/* ---- myths ---- */
.myths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; max-width: 880px; }
.myth { border: 0; background: none; padding: 0; text-align: left; perspective: 900px; transform: rotate(var(--r)); }
.myth-in { display: grid; transition: transform .55s cubic-bezier(.3,.7,.3,1); transform-style: preserve-3d; }
.myth-f, .myth-b {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; min-height: 168px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 4px;
  box-shadow: 0 1px 1px rgba(16,20,24,.08), 0 12px 22px -16px rgba(16,20,24,.4);
}
.myth-f { background: #fff; border: 1.5px dashed var(--rule-2); }
.myth-b { background: var(--inland); transform: rotateY(180deg); }
.myth-k { font-family: var(--hand); font-size: 20px; color: var(--margin); }
.myth-b .myth-k { color: var(--pen); }
.myth-t { font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--ink); }
.myth-b .myth-t { font-weight: 500; font-size: 17px; color: var(--ink-2); }
.myth-hint { margin-top: auto; font-size: 13px; color: var(--muted); }
.myth[aria-pressed="true"] .myth-in { transform: rotateY(180deg); }
.myth:hover .myth-f { border-color: var(--ink-2); }
.myth:focus-visible { outline: none; }
.myth:focus-visible .myth-f, .myth:focus-visible .myth-b { outline: 2.5px solid var(--pen); outline-offset: 3px; }

/* ---- widgets ---- */
.widget { margin: 34px 0 8px; max-width: 860px; background: #F7F8FA; border: 1px solid var(--rule-2); border-radius: 10px; padding: 24px 26px 26px; }
.w-h { font-weight: 600; font-size: 17px; color: var(--ink-2); margin-bottom: 18px; max-width: 40em; }
.w-k { display: block; font-family: var(--hand); color: var(--pen); font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 2px; }
.w-act { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 18px; }
.w-act .btn svg, .linkbtn svg { width: 18px; height: 18px; flex: none; }
.linkbtn { display: inline-flex; gap: 8px; align-items: center; border: 0; background: none; padding: 8px 0; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pen); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.linkbtn:hover { background: var(--marker); }

/* scale */
.scale { display: block; width: 100%; max-width: 440px; margin: 0 auto; overflow: visible; }
.scale #beam { transform-box: view-box; transform-origin: 180px 44px; }
.scale #beam, .scale #panL, .scale #panR { transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.scale.wob { animation: wob .45s ease-out; }
@keyframes wob { 30% { transform: rotate(-1.2deg); } 65% { transform: rotate(.6deg); } }
.scale .cert { animation: fadein .25s ease-out; }
@keyframes fadein { from { opacity: 0; } }
.sc-l { font: 600 13px var(--sans); fill: var(--muted); }
.sc-p { font: 800 17px var(--sans); fill: var(--marker); }
.scale-say { text-align: center; font-size: 21px; line-height: 1.3; min-height: 2.6em; margin: 6px auto 0; max-width: 24em; }
.scale-w .w-act { justify-content: center; }

/* idea machine */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--rule-2); background: #fff; border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: 15px; min-height: 40px; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-checked="true"] { background: var(--marker); border-color: var(--ink); color: var(--ink); }
.idea { margin-top: 18px; background: #fff; border: 1px solid var(--rule-2); border-left: 5px solid var(--marker); border-radius: 6px; padding: 18px 20px; display: grid; gap: 12px; }
.idea.in { animation: ideain .35s cubic-bezier(.3,.7,.3,1); }
@keyframes ideain { from { opacity: 0; transform: translateY(8px) rotate(-.4deg); } }
.idea-k { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.idea-p { font-family: var(--hand); font-size: 20px; line-height: 1.3; color: var(--ink); }
.idea-b { font-weight: 600; font-size: 17px; color: var(--ink); }
.idea-meta { display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: 15px; color: var(--ink-2); }

/* proof ticks and kit list share the notebook tick */
.ticks, .kit-in { display: grid; gap: 12px; margin-top: 4px; }
.ticks li, .kit-in li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks .cb .tk, .kit-in .cb .tk { stroke-dashoffset: 0; transition: none; }
.ticks .cb, .kit-in .cb { width: 24px; height: 24px; margin-top: 2px; }

/* where to go */
.where { margin-top: 24px; max-width: 760px; border-top: 1px solid var(--rule); }
.where li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.where-k { font-weight: 800; color: var(--ink); }

/* referral builder */
.ref-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.ref-f { display: grid; gap: 14px; }
.ref-f label { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.ref-f .line-in { height: 40px; font-size: 17px; }
.ref-out { display: grid; gap: 16px; }
.bubble { position: relative; border-radius: 14px 14px 14px 4px; padding: 14px 16px 16px; }
.bubble-k { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.bubble p { font-size: 16px; line-height: 1.5; color: var(--ink); }
.bubble.bad { background: #fff; border: 1.5px dashed var(--rule-2); }
.bubble.bad p { text-decoration: line-through; text-decoration-color: var(--margin); text-decoration-thickness: 2px; color: var(--muted); }
.bad-why { position: absolute; right: 12px; bottom: -14px; font-size: 16px; color: var(--margin); transform: rotate(-2deg); background: #F7F8FA; padding: 0 4px; }
.bubble.good { background: var(--inland); }
.ref-out .w-act { margin-top: 0; }

/* drill */
.drill { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; }
.ring { position: relative; width: 132px; height: 132px; }
.ring svg { width: 100%; height: 100%; }
.ring-n { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 40px; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 112; }
.drill-k { font-family: var(--hand); color: var(--pen); font-size: 20px; }
.drill-t { font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--ink); min-height: 2.7em; }
.drill-c { color: var(--muted); font-size: 14px; }

/* AI prompt */
.prompt-role { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); max-width: 360px; }
.prompt-role .line-in { height: 40px; font-size: 17px; }
.prompt { margin: 18px 0 0; white-space: pre-wrap; font: 15px/1.6 var(--sans); background: #fff; border: 1.5px dashed var(--rule-2); border-radius: 6px; padding: 16px 18px; color: var(--ink); max-height: 320px; overflow: auto; }

/* 30 days */
.p-plan .steps-wrap { max-width: 720px; margin-top: 14px; }
.p-plan .steps-h { margin-top: 0; max-width: 720px; flex-wrap: wrap; row-gap: 4px; }

/* the free kit */
.kit-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 940px; }
.kit-grid h2 { margin-bottom: 10px; }
.kit-in { margin: 22px 0 4px; font-size: 16px; color: var(--ink-2); }
.kit-pages { position: relative; height: 320px; margin-top: 8px; }
.pg { position: absolute; left: 10px; top: 0; width: 220px; height: 300px; background: #fff; border: 1px solid var(--rule-2); box-shadow: 0 14px 28px -18px rgba(16,20,24,.45); border-radius: 3px; }
.pg3 { transform: rotate(7deg) translate(18px, 8px); }
.pg2 { transform: rotate(3deg) translate(8px, 4px); }
.pg1 { background: var(--marker); display: flex; flex-direction: column; padding: 26px 22px; transform: rotate(-2deg); transition: transform .3s; }
.kit-pages.ready:hover .pg1 { transform: rotate(-4deg) translateY(-6px); }
.pg-m { display: flex; align-items: center; justify-content: center; gap: 1px; white-space: nowrap; width: 52px; height: 46px; background: var(--ink); color: var(--marker); border-radius: 8px; font-weight: 800; font-size: 17px; letter-spacing: -0.04em; }
.pg-m span { font-family: var(--ml); }
.pg-t { margin-top: auto; font-weight: 800; font-size: 25px; line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: "wdth" 112; }
.pg-s { font-family: var(--hand); font-size: 20px; margin-top: 4px; }
.pg-l { height: 6px; background: rgba(16,20,24,.18); border-radius: 3px; margin-top: 10px; width: 86%; }
.pg-l.s { width: 60%; }
.kit-stamp { right: -6px; top: 14px; opacity: .85; }
.kit-soon { margin-top: 18px; color: var(--ink-2); max-width: 32em; }

/* the last line */
.end-line { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; max-width: 14em; }
.end-line > span:first-child { color: var(--ink-2); }
.hl.wait { background-size: 0% 76%; }
.hl.go { animation: mark .8s cubic-bezier(.3,.7,.3,1) .2s both; }

@media (max-width: 940px) {
  .res-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .paper { max-width: 480px; }
  .ref-grid { grid-template-columns: minmax(0, 1fr); }
  .kit-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .kit-pages { height: 250px; }
  .pg { width: 170px; height: 232px; }
  .pg1 { padding: 20px 18px; }
  .pg-t { font-size: 21px; }
}
@media (max-width: 640px) {
  .myths { grid-template-columns: minmax(0, 1fr); }
  .widget { padding: 20px 16px 22px; margin-left: -6px; margin-right: -6px; }
  .drill { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .ring { width: 96px; height: 96px; }
  .ring-n { font-size: 30px; }
  .drill-t { font-size: 18px; }
  .where li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rl { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; font-size: 14.5px; }
  .paper { padding: 28px 18px 22px; min-height: 0; }
  .col-note { font-size: 15px; top: -20px; }
  .p-hero, .p-myths, .p-step, .p-plan, .p-kit, .p-end { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .paper-top { transition: none; }
  .myth-in { transition: none; transform: none !important; }
  .myth-b { transform: none; visibility: hidden; }
  .myth[aria-pressed="true"] .myth-f { visibility: hidden; }
  .myth[aria-pressed="true"] .myth-b { visibility: visible; }
  .scale #beam, .scale #panL, .scale #panR, .rl, .col-note { transition: none; }
  .paper[data-state="after"] .rl-a, .idea.in, .hl.go, .scale .cert { animation: none; }
}
