/* Intliri Academy website: design system v2 (15 Nov 2026).
   Light, airy and spacious by default; dark mode adapts automatically. Brand: teal #004E64 for text, headings, buttons and links; pink #F652A0 only as a decorative accent (never text);
   supporting blue #00A5CF, mint #9FFFCB and green #25A18E for icons and illustration. Meets WCAG 2.1 AA: contrast, focus, reflow at 320 px, reduced motion. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #f3f8fa; --surface-2: #e8f2f5; --card: #ffffff;
  --ink: #0e2a33; --muted: #42606b; --line: #d6e3e8; --line-strong: #8aa3ac;
  --brand: #004e64; --brand-hover: #003a4b; --on-brand: #ffffff;
  --accent: #f652a0; --blue: #00a5cf; --mint: #9fffcb; --green: #25a18e;
  --tile: #dff3f7; --tile-ink: #004e64;
  --warn-bg: #fff7d6; --warn-line: #e8d27a; --warn-ink: #4d3d00;
  --note-bg: #eaf3f6; --todo-bg: #fff3a8; --todo-ink: #3d3200;
  --foot-bg: #004e64; --foot-ink: #ffffff; --foot-muted: #cfe6ec;
  --danger: #b00020;
  --shadow: 0 1px 2px rgba(14, 42, 51, .06), 0 10px 30px rgba(14, 42, 51, .07);
  --shadow-lg: 0 2px 6px rgba(14, 42, 51, .08), 0 24px 60px rgba(0, 78, 100, .14);
  --radius: 20px; --radius-sm: 12px;
  --wrap: 75rem; --prose: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a1a1f; --surface: #0e2229; --surface-2: #123038; --card: #112a31;
    --ink: #e8f1f3; --muted: #a9c0c7; --line: #25424b; --line-strong: #6f8d97;
    --brand: #6fd2ec; --brand-hover: #9be1f3; --on-brand: #06222b;
    --tile: #17414c; --tile-ink: #8fe0f4;
    --warn-bg: #3a3312; --warn-line: #6b5d1f; --warn-ink: #f1dc8a;
    --note-bg: #10252c; --todo-bg: #4a3f0d; --todo-ink: #ffe98a;
    --foot-bg: #061519; --foot-ink: #e8f1f3; --foot-muted: #a9c0c7;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25); --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .35);
  }
  :root:not([data-theme="light"]) .tile.t-pink { background: #4a1630; color: #ffb3d6; }
  :root:not([data-theme="light"]) .tile.t-blue { background: #0f3a47; color: #8fe0f4; }
  :root:not([data-theme="light"]) .tile.t-mint { background: #12413a; color: #9fffcb; }
  :root:not([data-theme="light"]) .logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo .logo-dark { display: block; }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1a1f; --surface: #0e2229; --surface-2: #123038; --card: #112a31;
  --ink: #e8f1f3; --muted: #a9c0c7; --line: #25424b; --line-strong: #6f8d97;
  --brand: #6fd2ec; --brand-hover: #9be1f3; --on-brand: #06222b;
  --tile: #17414c; --tile-ink: #8fe0f4;
  --warn-bg: #3a3312; --warn-line: #6b5d1f; --warn-ink: #f1dc8a;
  --note-bg: #10252c; --todo-bg: #4a3f0d; --todo-ink: #ffe98a;
  --foot-bg: #061519; --foot-ink: #e8f1f3; --foot-muted: #a9c0c7;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25); --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .35);
}
:root[data-theme="dark"] .tile.t-pink { background: #4a1630; color: #ffb3d6; }
:root[data-theme="dark"] .tile.t-blue { background: #0f3a47; color: #8fe0f4; }
:root[data-theme="dark"] .tile.t-mint { background: #12413a; color: #9fffcb; }
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font: 1.125rem/1.7 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
main, .foot { overflow-wrap: break-word; }
main a, .foot a { overflow-wrap: break-word; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--on-brand); padding: .8rem 1.1rem; z-index: 50; border-radius: 0 0 var(--radius-sm) 0; }
.skip:focus { left: 0; }
.ic { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---- preview banner and to-do markers (removed at launch) ---- */
.preview { background: var(--warn-bg); color: var(--warn-ink); border-bottom: 1px solid var(--warn-line); padding: .55rem 0; font-size: .95rem; line-height: 1.5; }
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 .3em; border-radius: 4px; font-size: .9em; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--brand), var(--blue) 45%, var(--accent)); }
.bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; padding-top: .7rem; padding-bottom: .7rem; }
.bar .logo { margin-right: auto; }
.mainnav { order: 1; }
.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem; min-width: 2.75rem; padding: .45rem .9rem; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
.tbtn:hover { background: var(--surface-2); }
.tbtn[hidden] { display: none; }
.tbtn .ic { width: 1.2rem; height: 1.2rem; }
.theme-btn { order: 2; }
.theme-btn .tlabel { display: none; }
.theme-btn svg + svg { display: none; }
:root[data-theme="dark"] .theme-btn svg:first-of-type { display: none; }
:root[data-theme="dark"] .theme-btn svg + svg { display: block; }
.menu-btn { display: none; }
@media (max-width: 47.99rem) {
  .js .menu-btn:not([hidden]) { display: inline-flex; order: 3; }
  .js .mainnav { display: none; order: 4; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--bg); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: .6rem clamp(1.1rem, 4vw, 2.5rem) 1rem; }
  .js .mainnav.open { display: block; }
  .js .mainnav .menu { flex-direction: column; gap: .2rem; }
  .js .mainnav .menu a { display: block; padding: .8rem 1rem; font-size: 1.1rem; }
  .menu { gap: .25rem .3rem; }
  .menu a { padding: .5rem .8rem; font-size: .98rem; }
}
.jump { border-top: 1px solid var(--line); background: var(--surface); }
.jump .wrap { position: relative; }
.jump summary { display: flex; align-items: center; gap: .6rem; list-style: none; cursor: pointer; padding: .65rem 0; font-weight: 700; font-size: 1rem; color: var(--brand); }
.jump summary::-webkit-details-marker { display: none; }
.jump summary .ic { width: 1.2rem; height: 1.2rem; }
.jump summary .chev { margin-left: auto; transition: transform .15s; }
.jump details[open] summary .chev { transform: rotate(180deg); }
.jump ul { list-style: none; margin: 0; padding: .3rem 0 .8rem; max-height: 60vh; overflow-y: auto; }
.jump li { margin: 0; max-width: none; }
.jump a { display: block; padding: .7rem .6rem; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.jump a:hover { background: var(--surface-2); color: var(--brand); }
@media (min-width: 64rem) { .jump { display: none; } }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 36px; width: auto; display: block; }
.logo .logo-dark { display: none; }
.js .bar .logo { margin-right: auto; }
.menu, .flinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .4rem; }
.menu a { display: inline-block; padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--ink); }
.menu a:hover { background: var(--surface-2); }
.menu a[aria-current="page"] { background: var(--tile); color: var(--tile-ink); box-shadow: inset 0 -3px 0 var(--accent); }

/* ---- type ---- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.7rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.65rem, 1.1rem + 1.8vw, 2.4rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; letter-spacing: -.01em; }
h4 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; letter-spacing: -.005em; }
[id] { scroll-margin-top: 6rem; }
@media (max-width: 63.99rem) { [id] { scroll-margin-top: 9rem; } }
p { margin: 0 0 1.1rem; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 44rem; margin: 0 0 1.8rem; }
.note { color: var(--muted); font-size: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .3rem .9rem .3rem .75rem; border-radius: 999px; background: var(--tile); color: var(--tile-ink); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.hl { color: var(--brand); }
main { padding-bottom: 4rem; }
main p, main li { max-width: var(--prose); }
main section { max-width: none; }
main ul, main ol { padding-left: 1.6rem; }
main li { margin: .35rem 0; }
main ul > li::marker { color: var(--accent); }
main li > ul, main li > ol { margin-top: .35rem; }

/* ---- buttons ---- */
.btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .7rem 1.5rem; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: var(--on-brand); cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.btn:hover, .button:hover { background: var(--brand-hover); border-color: var(--brand-hover); box-shadow: var(--shadow); text-decoration: none; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #0e2a33; }
.btn.accent:hover { background: #ff7ab8; border-color: #ff7ab8; color: #0e2a33; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--tile); color: var(--tile-ink); }
.btn .ic { width: 1.15rem; height: 1.15rem; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 2rem; }
.hero-home .actions { margin-bottom: 0; }

/* ---- home: hero ---- */
.hero-home { position: relative; overflow-x: clip; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero-home h1 { margin-bottom: .8rem; }
.chip { display: inline-flex; flex-wrap: wrap; column-gap: .1rem; margin: 0 0 1.2rem; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 700; font-size: .95rem; color: var(--brand); }
@media (max-width: 39.99rem) { .chip { display: flex; flex-direction: column; border-radius: var(--radius-sm); padding: .6rem 1rem; gap: .1rem; } .chip .sep { display: none; } }
.hero-home .intro { color: var(--muted); font-size: 1.15rem; max-width: 38rem; margin: 0; }
.hero-art { position: relative; }
.blob { position: absolute; z-index: 0; pointer-events: none; }
.blob-a { width: 30rem; max-width: 90%; right: -6rem; top: -5rem; opacity: .9; }
.blob-b { width: 12rem; left: -3rem; bottom: -3rem; }
.regcard { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 3vw, 2.2rem); overflow: hidden; }
.regcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--brand), var(--blue) 55%, var(--accent)); }
.regcard header { display: flex; align-items: center; gap: .9rem; margin: .4rem 0 1rem; }
.regcard h2 { font-size: 1.4rem; margin: 0; }
.tile { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--tile); color: var(--tile-ink); flex: none; }
.tile .ic { width: 1.5rem; height: 1.5rem; }
.tile.t-pink { background: #ffe1ee; color: #9c1259; }
.tile.t-blue { background: #d6f1fa; color: #00627f; }
.tile.t-mint { background: #d4f9e6; color: #0b6354; }
.regcard dl { margin: 0; }
.regcard .row { display: grid; gap: .1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.regcard dt { font-size: .85rem; color: var(--muted); font-weight: 600; }
.regcard dd { margin: 0; font-weight: 700; font-size: 1.02rem; }
.regcard .big { font-size: 1.5rem; color: var(--brand); letter-spacing: .01em; }
.regcard footer { margin-top: 1.1rem; }

@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) { .hero-copy > * { animation: rise .6s both; } .hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; } .hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; } .regcard { animation: rise .7s .15s both; } }

/* ---- home: sections ---- */
.band { background: var(--surface); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section > .wrap > h2 { max-width: 40rem; }
.split { display: grid; gap: clamp(1.5rem, 4vw, 4rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.2rem); }
.panel p:last-child { margin-bottom: 0; }
.panel.soft { background: linear-gradient(160deg, var(--tile), var(--surface)); border-color: transparent; box-shadow: none; }
.cards, .links { list-style: none; margin: 0; padding: 0; }
.cards { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); max-width: none !important; margin: 0 !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-3px); } }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.card .tile { margin-bottom: 1rem; }
.card h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:focus-visible { outline: none; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; max-width: none; }
.card .go { position: absolute; right: 1.3rem; top: 1.4rem; color: var(--brand); opacity: .6; transition: transform .15s, color .15s; }
.card:hover .go { opacity: 1; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .card:hover .go { transform: translateX(4px); } }
.about { display: grid; gap: clamp(1.5rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
.portrait { position: relative; max-width: 26rem; margin: 0 auto; width: 100%; }
.portrait::before { content: ""; position: absolute; inset: 8% 4% 0 4%; border-radius: 32px; background: linear-gradient(160deg, #cff5e5, #bfe9f4); }
.portrait::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border: 6px solid var(--accent); border-radius: 50%; right: -5%; top: 2%; opacity: .85; }
.portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.creds { list-style: none; margin: 1.4rem 0 0; padding: 0 !important; display: grid; gap: .7rem; }
.creds li { display: flex; align-items: center; gap: .8rem; margin: 0; padding: .8rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); max-width: none; font-weight: 600; font-size: 1rem; }
.creds .tile { width: 2.4rem; height: 2.4rem; border-radius: 10px; }
.creds .tile .ic { width: 1.2rem; height: 1.2rem; }
.books { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0 !important; list-style: none; }
.book { display: flex; flex-direction: column; gap: .8rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); margin: 0 !important; max-width: none !important; }
.book .cover { display: grid; place-items: center; height: 14rem; background: linear-gradient(160deg, var(--tile), var(--surface)); border-radius: var(--radius-sm); }
.book .cover img { max-height: 12.5rem; width: auto; }
.book h3 { margin: 0; font-size: 1.15rem; }
.book p { margin: 0; color: var(--muted); font-size: 1rem; }
.book .btn { margin-top: auto; align-self: flex-start; }
.contact { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); margin: 2rem 0 1.5rem; }
.contact .item { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.contact .label { display: block; font-size: .85rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .15rem; }
.contact address { font-style: normal; background: none; border: 0; padding: 0; line-height: 1.5; max-width: none; margin: 0; font-weight: 600; }
.contact .item p { margin: 0; font-weight: 600; max-width: none; }

/* ---- footer ---- */
.foot { position: relative; background: var(--foot-bg); color: var(--foot-ink); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; margin-top: 2rem; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, #004e64, #00a5cf 45%, #f652a0); }
.foot a { color: var(--foot-ink); text-decoration-color: transparent; text-underline-offset: .2em; }
.foot a:hover { text-decoration-color: currentColor; }
.foot :focus-visible { outline-color: #ffffff; }
.foot-notice { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-left: 6px solid #f652a0; }
.foot-notice .tile { background: rgba(255, 255, 255, .14); color: #ffffff; }
.foot-notice p { margin: 0; max-width: 62rem; }
.foot .warn { font-size: 1.15rem; font-weight: 700; margin-bottom: .45rem; }
.foot .warn2 { font-size: 1.05rem; font-weight: 500; }
.foot-grid { display: grid; gap: 2.2rem 2rem; grid-template-columns: minmax(0, 1fr); margin: 2.6rem 0 2.2rem; }
.foot-logo { display: inline-block; line-height: 0; }
.foot-logo img { height: 44px; width: auto; display: block; }
.foot-logo:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.foot-name { margin: 1.1rem 0 .5rem; font-weight: 700; font-size: 1.05rem; max-width: 24rem; }
.foot-address { background: none; border: 0; padding: 0; margin: 0; max-width: 24rem; color: var(--foot-muted); line-height: 1.75; font-size: 1rem; }
.foot-h { margin: 0 0 .9rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9fffcb; }
.foot nav ul, .social { list-style: none; margin: 0; padding: 0; }
.foot nav li { margin: 0; max-width: none; }
.foot nav a { display: inline-block; padding: .35rem 0; font-size: 1rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem !important; }
.social li { margin: 0; }
.soc { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); transition: background .15s, border-color .15s; }
.soc:hover { background: rgba(255, 255, 255, .14); border-color: #ffffff; }
.foot-facts { display: grid; gap: 1.1rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.foot-facts div { max-width: none; }
.foot-facts dt { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--foot-muted); }
.foot-facts dd { margin: .15rem 0 0; font-weight: 600; font-size: 1rem; }
.foot-bottom { margin: 1.4rem 0 0; color: var(--foot-muted); font-size: .95rem; max-width: none; }
@media (min-width: 40rem) { .foot-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .foot-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; }
  .foot-facts { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---- inner pages: header band, sticky contents, steps ---- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface), var(--bg)); padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(1.6rem, 3vw, 2.6rem); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -7rem; top: -8rem; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(159, 255, 203, .55), rgba(0, 165, 207, .14) 70%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: .8rem; }
.page-hero .lead { margin: 0; }
.doc { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding-top: 2.6rem; align-items: start; }
.doc-toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1rem; box-shadow: var(--shadow); }
.toc-h { margin: 0 0 .6rem; padding-left: .7rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.doc-toc ul { list-style: none; margin: 0; padding: 0 !important; }
.doc-toc li { margin: 0; max-width: none; }
.doc-toc a { display: block; padding: .5rem .7rem; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--ink); }
.doc-toc a:hover { background: var(--surface-2); color: var(--brand); }
@media (min-width: 64rem) { .doc { grid-template-columns: 17rem minmax(0, 1fr); gap: 3.5rem; } .doc-toc { position: sticky; top: 6rem; } }
.doc-body { max-width: 50rem; }
.doc-section { margin-bottom: 3.5rem; }
.doc-head { position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding-bottom: 1.1rem; border-bottom: 2px solid var(--line); }
.doc-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 4.5rem; height: 2px; background: var(--accent); }
.doc-head h2 { margin: 0; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); }
.page-blocks { padding-top: 2.6rem; }
.block { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.steps { list-style: none; margin: 1.6rem 0 1.4rem; padding: 0 !important; display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin: 0 !important; max-width: none !important; }
.step .num { position: absolute; right: 1.1rem; top: 1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: #0e2a33; font-weight: 800; font-size: .95rem; }
.step .tile { margin-bottom: .9rem; }
.step h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; max-width: none; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split > .sticky { position: static; }
@media (min-width: 64rem) { .split > .sticky { position: sticky; top: 6.5rem; } }
.formcard { padding: clamp(1.3rem, 3vw, 2.2rem); }
.formcard .form { margin-top: 0; max-width: none; }
.formcard .received { max-width: none; }
.escal { list-style: none; margin: 1.4rem 0; padding: 0 !important; display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); }
.escal .card { margin: 0 !important; }
.escal .card p { color: var(--ink); font-weight: 600; }
@media (min-width: 64rem) { .escal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quick { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; padding: 0 !important; margin: 0; }
.quick li { margin: 0; max-width: none; }
.facts.scorecard { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); background: none; border: 0; border-radius: 0; padding: 0; max-width: none; margin: 1.2rem 0 2.2rem; }
.facts.scorecard div { display: flex; flex-direction: column; justify-content: space-between; gap: .7rem; min-width: 0; padding: 1.15rem 1.25rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts.scorecard div:first-child { border-top: 1px solid var(--line); }
.scorecard dt { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; color: var(--muted); }
.scorecard dd { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--brand); }
@media (max-width: 63.99rem) { .facts.scorecard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35.99rem) {
  .facts.scorecard { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .facts.scorecard div { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; }
  .scorecard dt { flex: 1; }
  .scorecard dd { font-size: 1.5rem; text-align: right; flex: none; }
}

/* ---- long text pages ---- */
.page { padding-top: clamp(2.2rem, 5vw, 4rem); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem 1.4rem 1.1rem; margin: 0 0 2rem; max-width: var(--prose); }
.toc h2 { font-size: 1.05rem; margin: 1rem 0 .4rem; letter-spacing: 0; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: .15rem 0; }
.toc a { display: inline-block; padding: .3rem 0; }
.top-link { margin: 1.5rem 0 0; }
.policy { border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: .5rem; }
address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; line-height: 1.9; max-width: var(--prose); }
.tablewrap { overflow-x: auto; max-width: 100%; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.tablewrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; }
caption { text-align: left; font-weight: 700; padding: .8rem 1rem; }
th, td { text-align: left; padding: .7rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-2); }
summary { cursor: pointer; padding: .5rem 0; font-weight: 700; }
summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.facts { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem 1.3rem; max-width: var(--prose); }
.facts div { padding: .75rem 0; border-top: 1px solid var(--line); display: grid; gap: .15rem; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { margin: 0; font-weight: 600; }

/* ---- forms ---- */
.form { max-width: 42rem; margin-top: 1.4rem; }
.field { margin: 0 0 1.3rem; }
.field label { display: block; font-weight: 700; margin-bottom: .4rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; min-height: 3rem; padding: .65rem .85rem; font: inherit; color: var(--ink); background: var(--card); border: 2px solid var(--line-strong); border-radius: var(--radius-sm); }
.field input[type=file] { width: 100%; padding: .5rem 0; font: inherit; color: var(--ink); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.hint { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.received { display: none; background: var(--note-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .3rem 1.3rem 1.1rem; margin-top: 1.6rem; max-width: 42rem; }
.received:target { display: block; }
.received.failed { border-color: var(--danger); }
.received:focus { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- wider screens ---- */
@media (min-width: 48rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.1fr .9fr; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about { grid-template-columns: .85fr 1.15fr; }
}
@media print { .skip, .preview, .menu, .flinks, .toc, .tbtn, .jump, .top-link, .form, .received, .blob, .top { display: none; } body { background: #fff; color: #000; } .foot { background: #fff; color: #000; } .foot a { color: #000; } }
@media (max-width: 39.99rem) { .foot-notice { flex-direction: column; gap: .9rem; } }
.contact a, .contact p, .foot a, .step a, .card a, .panel a, .escal a, .creds span { overflow-wrap: anywhere; }
.contact .item > div, .step, .card, .panel { min-width: 0; }

/* ---- audit report table ---- */
table.audit { table-layout: auto; }
table.audit th:first-child { white-space: nowrap; width: 10.5rem; }
table.audit td:nth-child(2) { width: 52%; }
table.audit td:nth-child(3) { width: 30%; }
@media (max-width: 39.99rem) {
  .tablewrap:has(table.audit) { border: 0; background: none; overflow: visible; }
  table.audit, table.audit tbody, table.audit tr, table.audit th, table.audit td { display: block; width: auto !important; }
  table.audit caption { display: block; width: auto; padding: 0 0 .7rem; }
  table.audit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.audit tr { margin: 0 0 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
  table.audit th[scope="row"] { border-top: 0; background: var(--surface-2); font-size: 1.05rem; }
  table.audit td { border-top: 1px solid var(--line); }
  table.audit td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
}
