/* SOCTitan */

@font-face { font-family: "Schibsted"; src: url("../fonts/sg-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("../fonts/sg-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/pm-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/pm-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #14213d;
  --ink-2: #3d4a63;
  --ink-3: #6b7588;
  --paper: #f5f6f3;
  --white: #ffffff;
  --line: #d6dae0;
  --line-soft: #e7e9ec;
  --marker: #f2c14e;
  --marker-deep: #d9a21f;
  --marker-soft: #fbedc6;
  --alert: #b3261e;
  --alert-soft: #fbe4e1;
  --warn: #9a5b00;
  --warn-soft: #fdf0d8;
  --safe: #2e7d5b;
  --safe-soft: #e1f1e9;

  --sans: "Schibsted", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s-1: 0.8235rem;  /* 14px */
  --s0: 1rem;        /* 17px */
  --s1: 1.235rem;    /* 21px */
  --s2: 1.53rem;     /* 26px */
  --s3: 1.94rem;     /* 33px */
  --s4: 2.41rem;     /* 41px */
  --s5: 3.06rem;     /* 52px */
  --s6: 3.88rem;     /* 66px */

  --wrap: 72rem;
  --measure: 40rem;
  --radius-s: 3px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--s0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marker-deep); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
sup a { text-decoration: none; font-size: 0.75em; padding: 0 0.15em; color: var(--ink-2); }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.skip { position: absolute; left: -999px; top: 0; background: var(--marker); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.measure { max-width: var(--measure); }
.h1 { font-size: var(--s5); }
.h2 { font-size: var(--s4); font-weight: 800; letter-spacing: -0.02em; }
.h3 { font-size: var(--s1); font-weight: 700; }
.h4 { font-size: var(--s0); font-weight: 700; }
.lede { font-size: var(--s1); line-height: 1.45; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: var(--s-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 700; font-size: var(--s0);
  padding: 0.62rem 1.05rem; border-radius: var(--radius-s);
  border: 2px solid var(--ink); background: var(--ink); color: var(--white);
  text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--marker { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.btn--marker:hover { background: var(--marker-deep); border-color: var(--marker-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--danger { background: var(--white); border-color: var(--alert); color: var(--alert); }
.btn--danger:hover { background: var(--alert); color: var(--white); border-color: var(--alert); }
.btn--small { font-size: var(--s-1); padding: 0.35rem 0.7rem; border-width: 1.5px; }
.btn--big { font-size: var(--s1); padding: 0.8rem 1.4rem; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.link-quiet { text-decoration: none; font-weight: 600; }
.link-quiet:hover { text-decoration: underline; }
.link-arrowless { font-weight: 700; }

/* Masthead */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.masthead__row { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.m-ink { fill: var(--ink); }
.m-marker { fill: var(--marker); }
.brand__word { font-weight: 800; font-size: var(--s1); letter-spacing: -0.02em; }
.sitenav { display: flex; align-items: center; gap: 2rem; }
.sitenav ul { list-style: none; display: flex; gap: 1.4rem; }
.sitenav ul a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 0.3rem 0; }
.sitenav ul a:hover, .sitenav ul a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--marker); }
.sitenav__actions { display: flex; align-items: center; gap: 1.1rem; }
.navtoggle { display: none; font: inherit; font-weight: 700; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius-s); padding: 0.35rem 0.8rem; color: var(--ink); }

@media (max-width: 960px) {
  .navtoggle { display: inline-block; }
  .sitenav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 1rem; }
  .sitenav.is-open { display: flex; }
  .sitenav ul { flex-direction: column; gap: 0.2rem; }
  .sitenav ul a { display: block; padding: 0.55rem 0; font-size: var(--s1); }
  .sitenav__actions { justify-content: space-between; }
}

/* Flash */
.flash { margin: 1.25rem 0 0; padding: 0.8rem 1rem; border-left: 4px solid var(--safe); background: var(--safe-soft); }
.flash--error { border-color: var(--alert); background: var(--alert-soft); }
.errors { margin: 0 0 1.25rem; padding: 0.8rem 1rem 0.8rem 2rem; border-left: 4px solid var(--alert); background: var(--alert-soft); }

/* Sections */
.section { padding: 5.5rem 0; }
.section--rule { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink a { color: var(--paper); }
.section--ink .lede { color: #c9d0dc; }
.section--marker { background: var(--marker); }
.section--sources { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); }
.sources { padding-left: 1.2rem; font-size: var(--s-1); color: var(--ink-2); max-width: 52rem; }
.sources li { margin-bottom: 0.4rem; }
.sources li:target { background: var(--marker-soft); }

/* Hero */
.hero { padding: 4.5rem 0 5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, var(--s6)); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 1.2rem; max-width: 14ch; }
.hero__lede { font-size: var(--s1); line-height: 1.45; color: var(--ink-2); max-width: 34rem; margin-bottom: 2rem; }
.hero__fine { font-size: var(--s-1); color: var(--ink-3); margin-top: 1rem; max-width: 32rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 3rem; } }

/* Check form */
.checkform { max-width: 36rem; }
.checkform__label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.checkform__row { display: flex; gap: 0.5rem; }
.checkform__input {
  flex: 1; min-width: 0; font: inherit; font-family: var(--mono); font-size: var(--s1);
  padding: 0.7rem 0.85rem; border: 2px solid var(--ink); border-radius: var(--radius-s); background: var(--white); color: var(--ink);
}
.checkform__input::placeholder { color: #9aa2b1; }
.checkform__agree { display: flex; gap: 0.55rem; align-items: flex-start; margin-top: 0.85rem; font-size: var(--s-1); color: var(--ink-2); cursor: pointer; }
.checkform__agree input { margin-top: 0.25rem; accent-color: var(--ink); width: 1rem; height: 1rem; }
.checkform__result:empty { display: none; }
.checkform__result { margin-top: 1.5rem; }
@media (max-width: 560px) { .checkform__row { flex-direction: column; } }

.result { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.result__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; margin-bottom: 0.8rem; }
.result__value { font-family: var(--mono); font-weight: 500; overflow-wrap: anywhere; }
.result__total { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0.2rem 0 0.6rem; }
.result__cats { list-style: none; border-top: 1px solid var(--line-soft); margin: 0.8rem 0 1rem; }
.result__cats li { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.result__cats .n { font-family: var(--mono); font-weight: 500; text-align: right; }
.result__cats .about { grid-column: 1 / -1; font-size: var(--s-1); color: var(--ink-3); }
.result__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.result--error { border-color: var(--alert); background: var(--alert-soft); }
.result--loading { border-style: dashed; color: var(--ink-2); }

/* Specimen (signature element) */
.specimen { margin: 0; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); }
.specimen__cap { font-size: var(--s-1); color: var(--ink-3); padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
.specimen__list { list-style: none; }
.specimen__note { font-size: var(--s-1); padding: 0.9rem 1.1rem; margin: 0; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); }
.leak { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 0.84rem; }
.leak:last-child { border-bottom: 0; }
.leak__who { font-weight: 500; overflow-wrap: anywhere; }
.leak__pw { grid-column: 1; display: flex; gap: 0.25rem; }
.leak__where { grid-column: 1; color: var(--ink-2); }
.leak__src { grid-column: 1; font-family: var(--sans); font-size: var(--s-1); color: var(--ink-3); }
.leak .tag { grid-column: 2; grid-row: 1; align-self: start; }
.redact { display: inline-block; background: var(--ink); color: transparent; border-radius: 1px; padding: 0 0.2rem; user-select: none; position: relative; }
.redact::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--marker); }
.redact--short { padding: 0 0.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .specimen .redact { animation: redact-in 0.5s ease-out both; }
  .specimen .leak:nth-child(1) .redact { animation-delay: 0.35s; }
  .specimen .leak:nth-child(2) .redact { animation-delay: 0.55s; }
  .specimen .leak:nth-child(3) .redact { animation-delay: 0.75s; }
}
@keyframes redact-in { from { background: var(--marker); color: var(--ink); } to { background: var(--ink); color: transparent; } }

/* Tags */
.tag { display: inline-block; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 99px; white-space: nowrap; border: 1px solid currentColor; }
.tag--critical { color: var(--alert); background: var(--alert-soft); }
.tag--high { color: var(--warn); background: var(--warn-soft); }
.tag--medium { color: var(--ink-2); background: var(--line-soft); }
.tag--low, .tag--ok { color: var(--safe); background: var(--safe-soft); }

/* Threats */
.threats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: 3rem; }
.threat { border-top: 4px solid var(--ink); padding-top: 1.2rem; }
.threat p { color: var(--ink-2); }
@media (max-width: 860px) { .threats { grid-template-columns: 1fr; gap: 2rem; } }

/* Steps (a real sequence) */
.steps-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; }
.steps { list-style: none; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 0 0 1.8rem 3.6rem; border-left: 2px solid var(--line); margin-left: 1.1rem; }
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before {
  content: counter(step); position: absolute; left: -1.15rem; top: -0.15rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--marker); color: var(--ink);
  display: grid; place-items: center; font-weight: 800;
}
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Audiences */
.audiences { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.audience { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.audience p { margin: 0; color: var(--ink-2); max-width: 40rem; }
.audience:hover .h3 { box-shadow: inset 0 -0.45em 0 var(--marker-soft); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; gap: 0.5rem; } }

/* Trust band */
.trustband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; }
.trustband .h2 { font-size: var(--s3); }
.controls { list-style: none; }
.controls li { padding: 0.95rem 0; border-bottom: 1px solid #2f3d5c; color: #d6dbe5; }
.controls li:first-child { padding-top: 0; }
.controls strong { color: var(--white); }
@media (max-width: 860px) { .trustband { grid-template-columns: 1fr; gap: 2rem; } }

/* Comparison */
.tablewrap { overflow-x: auto; margin-top: 2rem; }
.compare { min-width: 44rem; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: var(--s-1); color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--ink-2); }
.compare .compare__us { background: var(--white); color: var(--ink); font-weight: 600; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.compare thead .compare__us { color: var(--ink); background: var(--marker); border-top: 2px solid var(--ink); }
.compare tbody tr:last-child .compare__us { border-bottom: 2px solid var(--ink); }

/* Closing */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.closing .h2 { font-size: var(--s3); }
.closing .checkform__agree { color: var(--ink); }
.section--marker .btn--marker { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--marker .btn--marker:hover { background: var(--ink-2); }
@media (max-width: 860px) { .closing { grid-template-columns: 1fr; } }

/* Generic page */
.pagehead { padding: 4rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.pagehead__title { font-size: clamp(2.1rem, 4.5vw, var(--s5)); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; }
.pagehead .lede { max-width: var(--measure); margin-bottom: 0; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--s2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--s1); margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35em; }
.prose address { font-style: normal; white-space: pre-line; margin-bottom: 1em; }

.block { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 3rem; padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block__side .h2 { font-size: var(--s3); }
.block__side p { color: var(--ink-2); }
.block__main > p { max-width: var(--measure); }
.checklist { list-style: none; }
.checklist li { position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--line-soft); }
.checklist li::before { content: ""; position: absolute; left: 0.1rem; top: 0.95rem; width: 0.95rem; height: 0.5rem; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.checklist li:last-child { border-bottom: 0; }
.note { border-left: 4px solid var(--marker); background: var(--white); padding: 1rem 1.2rem; margin: 1.5rem 0; max-width: var(--measure); }
.note p:last-child { margin: 0; }
@media (max-width: 860px) { .block { grid-template-columns: 1fr; gap: 1rem; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 3rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.plan { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan--focus { background: var(--marker-soft); }
.plan__name { font-size: var(--s1); font-weight: 800; margin-bottom: 0.3rem; }
.plan__for { color: var(--ink-2); font-size: var(--s-1); min-height: 3.2em; }
.plan__price { font-size: var(--s2); font-weight: 800; letter-spacing: -0.02em; margin: 0.6rem 0 0; line-height: 1.15; }
.plan__price--quote { font-size: var(--s0); font-weight: 700; }
.plan__period { font-size: var(--s-1); color: var(--ink-3); margin-bottom: 1rem; }
.plan .checklist { font-size: 0.92rem; flex: 1; margin-bottom: 1.2rem; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan:nth-child(2) { border-right: 0; } .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .plan { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Forms (site + portal) */
.form { max-width: 38rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field .hint { display: block; font-size: var(--s-1); color: var(--ink-3); margin-top: 0.25rem; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; padding: 0.6rem 0.75rem; border: 1.5px solid #9aa3b2; border-radius: var(--radius-s); background: var(--white); color: var(--ink);
}
.input:focus { border-color: var(--ink); }
textarea.input { min-height: 9rem; resize: vertical; }
.input--mono { font-family: var(--mono); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; margin-bottom: 0.6rem; cursor: pointer; }
.check input { margin-top: 0.3rem; accent-color: var(--ink); }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand { font-weight: 800; font-size: var(--s1); margin-bottom: 0.5rem; }
.footer__about p { color: var(--ink-2); max-width: 26rem; }
.footer__head { font-weight: 700; margin-bottom: 0.6rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.35rem; }
.footer li a { text-decoration: none; color: var(--ink-2); }
.footer li a:hover { color: var(--ink); text-decoration: underline; }
.footer__base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); font-size: var(--s-1); color: var(--ink-3); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ */
/* Sign-in pages                                                        */
/* ------------------------------------------------------------------ */
.authpage { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.authpage__side { background: var(--ink); color: var(--paper); padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.authpage__side a { color: var(--paper); }
.authpage__side .brand__word { color: var(--paper); }
.authpage__side .m-ink { fill: var(--paper); }
.authpage__quote { font-size: var(--s2); font-weight: 700; line-height: 1.25; max-width: 22ch; letter-spacing: -0.015em; }
.authpage__main { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.authbox { width: 100%; max-width: 25rem; }
.authbox h1 { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; }
.authbox .btn { width: 100%; }
.secret { font-family: var(--mono); font-size: 1.05rem; letter-spacing: 0.08em; background: var(--white); border: 1.5px dashed var(--ink); padding: 0.7rem; border-radius: var(--radius-s); overflow-wrap: anywhere; }
.qr { width: 11rem; height: 11rem; background: var(--white); padding: 0.5rem; border: 1px solid var(--line); margin: 0.5rem 0 1rem; }
.qr svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .authpage { grid-template-columns: 1fr; } .authpage__side { padding: 1.5rem; } .authpage__quote { display: none; } }

/* ------------------------------------------------------------------ */
/* Portal                                                               */
/* ------------------------------------------------------------------ */
.app { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; }
.app__side { background: var(--ink); color: #cdd4e0; padding: 1.4rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.app__side .brand { margin: 0 0.5rem 1.8rem; }
.app__side .brand__word { color: var(--paper); font-size: var(--s0); }
.app__side .m-ink { fill: var(--paper); }
.sidenav { list-style: none; margin-bottom: 1.4rem; }
.sidenav__head { font-size: var(--s-1); color: #8f9ab0; margin: 0 0.6rem 0.4rem; }
.sidenav a { display: block; padding: 0.45rem 0.6rem; border-radius: var(--radius-s); color: #dfe4ec; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.sidenav a:hover { background: #22325a; }
.sidenav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.app__foot { margin-top: auto; font-size: var(--s-1); padding: 0 0.6rem; }
.app__foot form { margin-top: 0.6rem; }
.app__foot .btn { width: 100%; }
.app__main { padding: 2rem 2.4rem 4rem; min-width: 0; }
.app__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.app__title { font-size: var(--s3); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.app__sub { color: var(--ink-2); margin: 0.3rem 0 0; max-width: 44rem; }
.app .flash { margin: 0 0 1.4rem; }
.apptoggle { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; height: auto; }
  .apptoggle { display: inline-block; position: absolute; right: 1rem; top: 1.1rem; }
  .app__side .sidenav, .app__side .sidenav__head, .app__foot { display: none; }
  .app__side.is-open .sidenav, .app__side.is-open .sidenav__head, .app__side.is-open .app__foot { display: block; }
  .app__main { padding: 1.5rem 1.1rem 3rem; }
}

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.5rem; }
.panel h2 { font-size: var(--s1); }
.panel--warn { border-left: 4px solid var(--marker-deep); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 1000px) { .grid2 { grid-template-columns: 1fr; } }
.servicelist { list-style: none; }
.servicelist li { border-bottom: 1px solid var(--line-soft); }
.servicelist li:last-child { border-bottom: 0; }
.servicelist a { display: block; padding: 0.8rem 0; text-decoration: none; }
.servicelist strong { display: block; }
.servicelist span { color: var(--ink-3); font-size: var(--s-1); }
.servicelist a:hover strong { text-decoration: underline; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 1.5rem; }
.facts div { padding: 1rem 1.2rem; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: var(--s-1); color: var(--ink-3); }
.facts dd { margin: 0.15rem 0 0; font-size: var(--s2); font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.searchform { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: flex-end; }
.searchform .field { margin: 0; flex: 1 1 14rem; }
.searchform .btn { height: 2.85rem; }

.datatable { width: 100%; font-size: 0.92rem; background: var(--white); }
.datatable th, .datatable td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.datatable thead th { font-size: var(--s-1); color: var(--ink-3); font-weight: 600; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.datatable tbody tr:hover { background: #fafbf8; }
.datatable .mono, .mono { font-family: var(--mono); font-size: 0.85rem; overflow-wrap: anywhere; }
.datatable .fields { color: var(--ink-3); font-size: var(--s-1); }
.pwcell { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tablescroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.catgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 1.5rem; }
.catgrid li { padding: 1rem 1.2rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.catgrid li:nth-child(3n) { border-right: 0; }
.catgrid .n { font-size: var(--s2); font-weight: 800; display: block; }
.catgrid .name { font-weight: 600; display: block; }
.catgrid .about { font-size: var(--s-1); color: var(--ink-3); }
.catgrid .failed { color: var(--warn); font-size: var(--s-1); }
@media (max-width: 900px) { .catgrid { grid-template-columns: 1fr; } .catgrid li { border-right: 0; } }

.guidance { border-left: 4px solid var(--marker); background: var(--white); padding: 1.1rem 1.3rem; margin-bottom: 1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.guidance h3 { font-size: var(--s0); margin-bottom: 0.5rem; }
.guidance ol { padding-left: 1.2rem; color: var(--ink-2); }
.guidance li { margin-bottom: 0.35rem; }
.langswitch { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--radius-s); overflow: hidden; }
.langswitch button { font: inherit; font-size: var(--s-1); font-weight: 600; padding: 0.3rem 0.7rem; border: 0; background: var(--white); color: var(--ink); cursor: pointer; }
.langswitch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 0.8rem; }
.toolbar h2 { margin: 0; font-size: var(--s1); }

.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 99px; background: var(--line-soft); color: var(--ink-2); }
.badge--ok { background: var(--safe-soft); color: var(--safe); }
.badge--off { background: var(--alert-soft); color: var(--alert); }
.badge--admin { background: var(--marker-soft); color: var(--ink); }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.actions form { margin: 0; }
.alerts { list-style: none; }
.alerts li { padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
.alerts li.unread { font-weight: 600; }
.alerts time { display: block; font-size: var(--s-1); color: var(--ink-3); font-weight: 400; }
.newpass { background: var(--marker-soft); border: 1.5px solid var(--ink); padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.grantlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.grantlist .check span small { display: block; color: var(--ink-3); font-size: var(--s-1); }
@media (max-width: 700px) { .grantlist { grid-template-columns: 1fr; } }
.empty { padding: 2rem; text-align: center; color: var(--ink-2); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }
.spinner { display: inline-block; width: 1rem; height: 1rem; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -0.15rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.5s; } }
[hidden] { display: none !important; }

/* Definition lists (training) */
.deflist { margin: 0 0 1.5rem; }
.deflist dt { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.deflist dt:first-child { border-top: 0; padding-top: 0; }
.deflist dd { margin: 0.25rem 0 1rem; color: var(--ink-2); max-width: var(--measure); }
.check .input { display: inline-block; width: 6.5rem; padding: 0.25rem 0.45rem; margin: 0 0.3rem; }
.check small { display: block; }
.steps--compact .step { padding-left: 2.6rem; padding-bottom: 1.1rem; }
.steps--compact .step::before { width: 1.8rem; height: 1.8rem; left: -0.95rem; font-size: var(--s-1); }
.steps--compact .step p { font-size: 0.95rem; }
.facts dd.mono { font-size: var(--s0); font-family: var(--mono); font-weight: 500; padding-top: 0.4rem; }
.qr img { width: 100%; height: 100%; image-rendering: pixelated; }
code { font-family: var(--mono); font-size: 0.9em; }
.pagehead + .section { padding-top: 3rem; }
.formstatus:empty { display: none; } .formstatus { margin: 0 0 1rem; }

/* ------------------------------------------------------------------ */
/* Motion                                                               */
/* ------------------------------------------------------------------ */
.masthead { transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.masthead { position: sticky; top: 0; }
.masthead.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(20, 33, 61, 0.08); background: rgba(245, 246, 243, 0.96); }
.btn { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--marker:hover { box-shadow: 0 4px 0 var(--ink); }

/* Stats band */
.section--stats { background: var(--white); border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; margin: 2.5rem 0 0; }
.stat dt { margin: 0 0 0.5rem; }
.stat__n { font-size: clamp(2.2rem, 4vw, var(--s5)); font-weight: 800; letter-spacing: -0.035em; line-height: 1; display: inline-block; box-shadow: inset 0 -0.28em 0 var(--marker); }
.stat dd { margin: 0; color: var(--ink-2); max-width: 17rem; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Specimen: live cycling examples */
.specimen { position: relative; overflow: hidden; }
.specimen__cap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.specimen__target { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.specimen__target::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--alert); margin-right: 0.45rem; vertical-align: 0.1rem; }
.specimen__scan { position: absolute; left: 0; right: 0; height: 0; top: 2.9rem; pointer-events: none; z-index: 2; }
.specimen__list { min-height: 22.5rem; }
@media (max-width: 900px) { .specimen__list { min-height: 0; } }

html.motion .hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
html.motion .hero__title .w > span { display: inline-block; transform: translateY(105%); animation: word-up 0.7s cubic-bezier(0.2, 0.7, 0.1, 1) forwards; }
html.motion .hero__title .w:nth-child(1) > span { animation-delay: 0.05s; }
html.motion .hero__title .w:nth-child(2) > span { animation-delay: 0.12s; }
html.motion .hero__title .w:nth-child(3) > span { animation-delay: 0.19s; }
html.motion .hero__title .w:nth-child(4) > span { animation-delay: 0.26s; }
html.motion .hero__title .w:nth-child(5) > span { animation-delay: 0.33s; }
html.motion .hero__title .w:nth-child(6) > span { animation-delay: 0.40s; }
html.motion .hero__title .w:nth-child(7) > span { animation-delay: 0.47s; }
@keyframes word-up { to { transform: translateY(0); } }
html.motion .hero__lede, html.motion .hero .checkform, html.motion .hero__fine { animation: fade-up 0.7s 0.55s ease-out both; }
html.motion .specimen { animation: fade-up 0.8s 0.35s ease-out both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

html.motion .specimen__scan { height: 2px; background: linear-gradient(90deg, transparent, var(--marker) 30%, var(--marker-deep) 50%, var(--marker) 70%, transparent); box-shadow: 0 0 14px var(--marker); opacity: 0; }
html.motion .specimen.is-scanning .specimen__scan { animation: scan 1.4s ease-in-out; }
@keyframes scan { 0% { top: 2.9rem; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 3.2rem); opacity: 0; } }
html.motion .leak { animation: leak-in 0.45s ease-out both; }
html.motion .leak:nth-child(2) { animation-delay: 0.35s; }
html.motion .leak:nth-child(3) { animation-delay: 0.7s; }
html.motion .leak.is-out { animation: leak-out 0.3s ease-in both; }
@keyframes leak-in { from { opacity: 0; transform: translateX(-10px); background: var(--marker-soft); } 60% { background: var(--marker-soft); } to { opacity: 1; transform: none; background: transparent; } }
@keyframes leak-out { to { opacity: 0; transform: translateX(10px); } }
html.motion .specimen .leak:nth-child(1) .redact { animation-delay: 0.45s; }
html.motion .specimen .leak:nth-child(2) .redact { animation-delay: 0.8s; }
html.motion .specimen .leak:nth-child(3) .redact { animation-delay: 1.15s; }
html.motion .leak .tag { animation: pop 0.35s ease-out both; }
html.motion .leak:nth-child(1) .tag { animation-delay: 0.6s; }
html.motion .leak:nth-child(2) .tag { animation-delay: 0.95s; }
html.motion .leak:nth-child(3) .tag { animation-delay: 1.3s; }
@keyframes pop { from { opacity: 0; transform: scale(0.7); } 70% { transform: scale(1.08); } to { opacity: 1; transform: none; } }
html.motion .specimen__target.is-swap { animation: swap 0.5s ease-out; }
@keyframes swap { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Scroll reveal: only elements below the fold at load get hidden first */
html.motion .reveal.is-pending { opacity: 0; transform: translateY(22px); }
html.motion .reveal { transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.2, 0.7, 0.1, 1); }
html.motion .reveal.is-in { opacity: 1; transform: none; }
html.motion [data-stagger] > * { transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
html.motion [data-stagger].is-pending > * { opacity: 0; transform: translateX(-14px); }

/* Steps: the line fills as you scroll */
.steps { position: relative; }
html.motion .step { border-left-color: var(--line); }
html.motion [data-steps]::before { content: ""; position: absolute; left: 1.1rem; top: 0; width: 2px; height: var(--fill, 0%); background: var(--ink); transition: height 0.2s linear; z-index: 1; }
.step::before { z-index: 2; }
html.motion .step.is-in::before { animation: pop 0.45s ease-out both; }

/* Comparison column highlight */
html.motion [data-compare].is-in .compare__us { animation: col-flash 1.4s ease-out 0.3s both; }
@keyframes col-flash { 0% { background: var(--white); } 35% { background: var(--marker-soft); } 100% { background: var(--white); } }
html.motion [data-compare].is-in thead .compare__us { animation: none; }

/* Free check: staged progress */
.progress { list-style: none; margin: 0.4rem 0 0; }
.progress li { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; color: var(--ink-3); transition: color 0.2s; }
.progress li::before { content: ""; width: 1rem; height: 1rem; flex: none; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.progress li.is-active { color: var(--ink); font-weight: 600; }
.progress li.is-active::before { border-color: var(--line); border-top-color: var(--ink); animation: spin 0.8s linear infinite; }
.progress li.is-done { color: var(--ink-2); }
.progress li.is-done::before { border: 0; background: var(--safe); box-shadow: inset 0 0 0 3px var(--safe-soft); }
.progressbar { height: 4px; background: var(--line-soft); border-radius: 2px; overflow: hidden; margin-top: 0.8rem; }
.progressbar > span { display: block; height: 100%; width: 0; background: var(--marker-deep); transition: width 0.6s ease-out; }
html.motion .result { animation: fade-up 0.45s ease-out both; }
html.motion .result__cats li { animation: fade-up 0.4s ease-out both; }
html.motion .result__cats li:nth-child(2) { animation-delay: 0.12s; }
html.motion .result__cats li:nth-child(3) { animation-delay: 0.24s; }
html.motion .result__cats li:nth-child(4) { animation-delay: 0.36s; }
.checkform__input { transition: border-color 0.15s, box-shadow 0.15s; }
.checkform__input:focus { box-shadow: 0 0 0 4px var(--marker-soft); outline: none; border-color: var(--ink); }

/* Portal */
html.motion .app__main > * { animation: fade-up 0.4s ease-out both; }
html.motion .datatable tbody tr { animation: fade-up 0.35s ease-out both; }
html.motion .catgrid li, html.motion .guidance, html.motion .facts div { animation: fade-up 0.4s ease-out both; }
html.motion .catgrid li:nth-child(2), html.motion .facts div:nth-child(2) { animation-delay: 0.06s; }
html.motion .catgrid li:nth-child(3), html.motion .facts div:nth-child(3) { animation-delay: 0.12s; }
html.motion .catgrid li:nth-child(4), html.motion .facts div:nth-child(4) { animation-delay: 0.18s; }
html.motion .catgrid li:nth-child(5) { animation-delay: 0.24s; }
html.motion .catgrid li:nth-child(6) { animation-delay: 0.3s; }
.servicelist a, .sidenav a, .audience { transition: background-color 0.15s, color 0.15s, padding 0.2s; }
.servicelist a:hover { padding-left: 0.4rem; }
.plan { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 10px 0 -2px var(--ink); position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}

/* Services dropdown */
.sitenav ul.menu__list { display: block; }
.hasmenu { position: relative; display: flex; align-items: center; gap: 0.15rem; }
.hasmenu__toggle { background: none; border: 0; padding: 0.3rem 0.2rem; cursor: pointer; color: var(--ink-2); display: inline-flex; }
.hasmenu__toggle svg { width: 0.75rem; height: 0.75rem; transition: transform 0.2s ease; }
.menu { position: absolute; top: calc(100% + 0.6rem); left: -1rem; min-width: 17rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s; z-index: 20; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.8rem; height: 0.8rem; }
.hasmenu:hover .menu, .hasmenu:focus-within .menu, .hasmenu.is-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s; }
.hasmenu:hover .hasmenu__toggle svg, .hasmenu.is-open .hasmenu__toggle svg { transform: rotate(180deg); }
.sitenav .menu__list a { display: block; padding: 0.5rem 0.7rem; border-radius: var(--radius-s); color: var(--ink); font-weight: 500; box-shadow: none; }
.sitenav .menu__list a:hover { background: var(--marker-soft); box-shadow: none; }
.menu__sep { border-top: 1px solid var(--line-soft); margin-top: 0.35rem; padding-top: 0.35rem; }
@media (max-width: 960px) {
  .hasmenu { flex-wrap: wrap; }
  .hasmenu__link { flex: 1; }
  .menu { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 0 0 0.8rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .hasmenu:hover .menu { display: none; }
  .hasmenu.is-open .menu { display: block; }
  .sitenav .menu__list a { font-size: var(--s0); padding: 0.45rem 0; }
}

/* Service cards */
.servicegrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.servicecard { display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1.4rem 1.3rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.servicecard:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.servicecard p { color: var(--ink-2); flex: 1; }
.servicecard__kicker { font-size: var(--s-1); color: var(--ink-3); margin-bottom: 0.5rem; }
.servicecard__more { font-weight: 700; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--marker-deep); text-decoration-thickness: 2px; }
.servicecard--ink { background: var(--ink); color: var(--paper); }
.servicecard--ink p, .servicecard--ink .servicecard__kicker { color: #c9d0dc; }
.servicecard--ink:hover { box-shadow: 6px 6px 0 var(--marker); }
@media (max-width: 960px) { .servicegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .servicegrid { grid-template-columns: 1fr; } }

.crumbs { font-size: var(--s-1); color: var(--ink-3); margin-bottom: 0.8rem; }
.crumbs a { color: var(--ink-2); }
.minifacts { display: grid; gap: 0; border-top: 2px solid var(--ink); margin: 0; }
.minifacts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.minifacts dt { color: var(--ink-3); }
.minifacts dd { margin: 0; font-weight: 700; text-align: right; }
.related { list-style: none; }
.related a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; }
.related strong { display: block; }
.related span { color: var(--ink-3); font-size: 0.95rem; }
.related a:hover strong { text-decoration: underline; }
.actions-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Training */
.pagehead--center { text-align: center; }
.pagehead--center .pagehead__title, .pagehead--center .lede { margin-left: auto; margin-right: auto; }
.pagehead--center .pagehead__title { max-width: 22ch; }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.track { display: flex; flex-direction: column; padding: 2rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.track:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--marker); }
.track__n { font-size: var(--s6); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.track__unit { color: var(--ink-3); margin-bottom: 1.2rem; }
.track p { color: var(--ink-2); flex: 1; }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } }
.coursegrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.coursegrid--two { grid-template-columns: 1fr 1fr; }
.course { display: flex; flex-direction: column; padding: 1.5rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.course:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.course p { color: var(--ink-2); }
.course > p:last-of-type { flex: 1; }
.course .checklist { margin-bottom: 1.2rem; font-size: 0.95rem; }
.course .btn { align-self: flex-start; margin-top: auto; }
.course__meta { margin: 0 0 1rem; font-size: var(--s-1); }
.course__meta div { display: flex; gap: 0.5rem; padding: 0.15rem 0; }
.course__meta dt { color: var(--ink-3); min-width: 4rem; }
.course__meta dd { margin: 0; font-weight: 600; }
.course__tag { font-weight: 600; color: var(--ink) !important; border-left: 3px solid var(--marker); padding-left: 0.7rem; }
@media (max-width: 960px) { .coursegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .coursegrid, .coursegrid--two { grid-template-columns: 1fr; } }

/* DPA terms */
.terms { margin: 0; }
.terms dt { font-weight: 700; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.terms dt:first-child { border-top: 0; padding-top: 0; }
.terms dd { margin: 0.3rem 0 1rem; color: var(--ink-2); max-width: var(--measure); }
.toms ul { padding-left: 1.2rem; }
.sitenav > ul { align-items: center; }
.sitenav > ul > li > a { display: inline-block; line-height: 1.4; }
@media (max-width: 960px) { .sitenav > ul { align-items: stretch; } .sitenav > ul > li > a { display: block; } }
.authpage__side .m-marker, .app__side .m-marker { fill: var(--ink); }
.inlineform { display: inline-block; margin: 0 0.5rem 0.5rem 0; }
