/* meetoliver.uk — design: Linear AML-367 "Meet Oliver — Website Design" (calm ground, deep-sea ink, Oliver's teal). */
@font-face { font-family: 'Bricolage Grotesque'; src: url(/fonts/bricolage-latin.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #0F2A2E; --ink-2: #1C4549; --ground: #F3F8F8; --surface: #FFFFFF; --line: #D9E7E7; --line-soft: #E7F0F0; --tint: #E4F0F0;
  --muted: #4C6567; --faint: #7F9799; --icon: #93ABAD; --accent: #2A9EA4; --cream: #F3E3BC; --link: #1C7C83;
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif; --ui: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-card: 0 1px 2px rgba(15, 42, 46, .05), 0 14px 28px -14px rgba(15, 42, 46, .22);
  --shadow-field: 0 1px 2px rgba(15, 42, 46, .04), 0 24px 48px -24px rgba(15, 42, 46, .25);
  --deep: #0F2A2E; --on-deep: #FFFFFF; --btn-bg: #0F2A2E; --btn-bg-2: #1C4549; --btn-fg: #FFFFFF;
  --nav-bg: rgba(243, 248, 248, .86); --user-bubble: #E1EEEE; --send-off: #B9CACB;
  --ok-bg: #E3F4EC; --ok-fg: #1E7A5A; --no-bg: #FBE9E8; --no-fg: #B4423E; --blob-1: #d6eeee; --blob-2: #e6f2f2;
  color-scheme: light;
}

/* Dark mode: follows the system unless the visitor picked a theme (theme.js sets html[data-theme]) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ink: #E6F0F0; --ink-2: #CFE0E0; --ground: #0B1517; --surface: #122023; --line: #23393C; --line-soft: #1A2C2F; --tint: #173033;
  --muted: #A3BABB; --faint: #7D9698; --icon: #6E8A8C; --accent: #3BB4BA; --link: #6CCFD4;
  --deep: #0E2225; --on-deep: #FFFFFF; --btn-bg: #3BB4BA; --btn-bg-2: #57C6CB; --btn-fg: #06191B;
  --nav-bg: rgba(11, 21, 23, .82); --user-bubble: #17302F; --send-off: #2C4446;
  --ok-bg: rgba(59, 180, 122, .16); --ok-fg: #6FD3A5; --no-bg: rgba(229, 56, 59, .15); --no-fg: #F08C8A; --blob-1: #143236; --blob-2: #0F2528;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 28px -14px rgba(0, 0, 0, .6);
  --shadow-field: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --ink: #E6F0F0; --ink-2: #CFE0E0; --ground: #0B1517; --surface: #122023; --line: #23393C; --line-soft: #1A2C2F; --tint: #173033;
  --muted: #A3BABB; --faint: #7D9698; --icon: #6E8A8C; --accent: #3BB4BA; --link: #6CCFD4;
  --deep: #0E2225; --on-deep: #FFFFFF; --btn-bg: #3BB4BA; --btn-bg-2: #57C6CB; --btn-fg: #06191B;
  --nav-bg: rgba(11, 21, 23, .82); --user-bubble: #17302F; --send-off: #2C4446;
  --ok-bg: rgba(59, 180, 122, .16); --ok-fg: #6FD3A5; --no-bg: rgba(229, 56, 59, .15); --no-fg: #F08C8A; --blob-1: #143236; --blob-2: #0F2528;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 28px -14px rgba(0, 0, 0, .6);
  --shadow-field: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--ui); -webkit-font-smoothing: antialiased; }
/* Learn with Oliver design v1 (Figma JuaV1UuabjeAD5hDDroNPu, page 207:17). Extra tokens from "LWO / Colour". */
:root { --line-strong: #9DBFC1; --teal-soft: #D3ECEC; --on-deep-muted: #B9D3D4; --paper: #FCFBF7; --wrap: 1200px; --gutter: 120px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --deep: #17363A; --line-strong: #3E5E61; --teal-soft: #17393C; --on-deep-muted: #9FBDBE; --paper: #15252A; } }
:root[data-theme="dark"] { --deep: #17363A; --line-strong: #3E5E61; --teal-soft: #17393C; --on-deep-muted: #9FBDBE; --paper: #15252A; }

/* Base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font: 400 17px/27px var(--ui); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: var(--link); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * 24px); margin: 0 auto; padding: 0 24px; }

/* Type styles (LWO/…) */
.t-xl { font: 600 64px/68px var(--display); letter-spacing: -1.5px; }
.t-m { font: 600 36px/42px var(--display); letter-spacing: -.6px; }
.t-h2 { font: 600 28px/34px var(--display); letter-spacing: -.3px; }
.t-h3 { font: 600 22px/28px var(--display); letter-spacing: -.2px; }
.t-h4 { font: 600 18px/26px var(--ui); letter-spacing: -.1px; }
.t-l { font-size: 19px; line-height: 30px; }
.t-s { font-size: 15px; line-height: 23px; }
.t-cap { font-size: 13px; line-height: 19px; }
.muted { color: var(--muted); } .ink2 { color: var(--ink-2); } .strong { font-weight: 600; }
.overline { font: 600 12px/16px var(--ui); letter-spacing: 1px; text-transform: uppercase; color: var(--link); }

/* Icons: Figma lucide SVGs used as masks, so they follow the text colour in both themes */
.i { display: inline-block; flex: none; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-home { --i: url(/img/icons/home.svg); } .i-key { --i: url(/img/icons/key.svg); } .i-calc { --i: url(/img/icons/calc.svg); } .i-scale { --i: url(/img/icons/scale.svg); }
.i-brief { --i: url(/img/icons/brief.svg); } .i-file { --i: url(/img/icons/file.svg); } .i-book { --i: url(/img/icons/book.svg); } .i-shield { --i: url(/img/icons/shield.svg); }
.i-link { --i: url(/img/icons/link.svg); } .i-users { --i: url(/img/icons/users.svg); } .i-check { --i: url(/img/icons/check.svg); } .i-x { --i: url(/img/icons/x.svg); }
.i-chev { --i: url(/img/icons/chev.svg); } .i-arrow { --i: url(/img/icons/arrow.svg); }
.i-14 { width: 14px; height: 14px; } .i-16 { width: 16px; height: 16px; } .i-18 { width: 18px; height: 18px; } .i-22 { width: 22px; height: 22px; }
.i-right { transform: rotate(-90deg); }

/* Buttons: Primary / Secondary / Quiet, sizes L (52) and M (44) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent; background: var(--btn-bg); color: var(--btn-fg); font: 600 16px/20px var(--ui); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--btn-bg-2); }
.btn .i { width: 18px; height: 18px; }
.btn.m { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; line-height: 23px; } .btn.m .i { width: 16px; height: 16px; }
.btn.secondary, .btn.ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn.secondary:hover, .btn.ghost:hover { background: var(--tint); }
.btn.quiet { background: none; border: 0; height: 44px; padding: 0 4px; border-radius: 12px; color: var(--link); font-size: 15px; line-height: 23px; } .btn.quiet:hover { text-decoration: underline; }
.btn.quiet .i { width: 16px; height: 16px; }
.btn.on-deep { background: var(--surface); color: var(--ink); } .btn.on-deep:hover { background: var(--tint); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Badges: Neutral / Teal / Success / Deep */
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 13px/19px var(--ui); background: var(--surface); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge.teal { background: var(--teal-soft); border-color: transparent; color: var(--ink-2); }
.badge.ok, .badge.success { background: var(--ok-bg); border-color: transparent; color: var(--ok-fg); }
.badge.deep { background: var(--deep); border-color: transparent; color: var(--on-deep); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tick lists */
.tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 11px; background: var(--ok-bg); color: var(--ok-fg); flex: none; }
.tick.no { background: var(--tint); color: var(--ink-2); }
.tick.lg { width: 24px; height: 24px; border-radius: 12px; }
.ticks-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.ticks-inline li { display: flex; align-items: center; gap: 8px; font: 600 15px/23px var(--ui); color: var(--ink-2); }
.checklist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; font-size: 15px; line-height: 23px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card.sm { border-radius: 16px; padding: 24px; }
.card.tint { background: var(--tint); border-color: transparent; }
.card.paper { background: var(--paper); box-shadow: var(--shadow-card); }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); color: var(--ink-2); flex: none; }
.icon-tile.deep { width: 44px; height: 44px; background: var(--deep); color: var(--on-deep); }

/* Sections */
.section { padding: 80px 0; }
.section.surface { background: var(--surface); border-top: 1px solid var(--line-soft); }
.section.deep { background: var(--deep); color: var(--on-deep); }
.section-head { display: grid; gap: 10px; max-width: 720px; margin-bottom: 32px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-soft); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; padding: 0 64px; max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 18px; background: var(--tint); }
.brand b { font: 700 21px/28px var(--display); letter-spacing: -.2px; white-space: nowrap; }
.navlinks { display: flex; align-items: center; gap: 4px; }
.navlinks > a, .dd > summary { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font: 600 15px/23px var(--ui); color: var(--ink-2); text-decoration: none; cursor: pointer; list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.navlinks > a:hover, .dd > summary:hover, .dd[open] > summary { background: var(--tint); }
.dd { position: relative; } .dd[open] .i-chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-field); display: grid; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 15px/23px var(--ui); }
.dd-menu a:hover { background: var(--tint); } .dd-menu .i { width: 20px; height: 20px; color: var(--ink-2); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .note { font: 600 15px/23px var(--ui); color: var(--muted); white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); border-radius: 10px; cursor: pointer; place-items: center; }
.menu-btn svg { width: 24px; height: 24px; }
.mnav { display: none; }

/* AML Buddy link-out */
.ab-card { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.ab-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--deep); color: var(--on-deep); font: 600 15px/23px var(--ui); flex: none; }
.ab-card .txt { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ab-card .txt b { font-size: 17px; line-height: 27px; }

/* FAQ */
.faq-list { display: grid; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font: 600 18px/26px var(--ui); letter-spacing: -.1px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { width: 22px; height: 22px; color: var(--ink-2); transition: transform .2s; }
.faq-list details[open] summary .i { transform: rotate(180deg); }
.faq-list details p { margin-top: 10px; font-size: 15px; line-height: 23px; color: var(--muted); }

/* Footer */
.foot { background: var(--deep); color: var(--on-deep); padding: 64px 0 48px; }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 0 120px; display: grid; gap: 40px; }
.foot-top { display: flex; gap: 64px; justify-content: space-between; }
.foot-about { max-width: 360px; display: grid; gap: 14px; }
.foot .brand { color: var(--on-deep); }
.foot p, .foot-small { font-size: 15px; line-height: 23px; color: var(--on-deep-muted); }
.foot-cols { display: flex; gap: 40px; }
.foot-cols > div { min-width: 132px; } /* four columns since the landing pages (6 Nov 2026) */
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols h2 { font: 600 12px/16px var(--ui); letter-spacing: 1px; text-transform: uppercase; color: var(--on-deep-muted); }
.foot-cols a { color: var(--on-deep); text-decoration: none; font-size: 15px; line-height: 23px; } .foot-cols a:hover { text-decoration: underline; }
.foot-rule { height: 1px; background: var(--on-deep-muted); opacity: .25; }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; line-height: 19px; color: var(--on-deep-muted); }
.foot-bottom a { color: var(--on-deep); font-weight: 600; text-decoration: none; } .foot-bottom a:hover { text-decoration: underline; }
/* AML-518: agency credit, same wording/link as the amlbuddy.com footer */
.foot-credit { flex-shrink: 0; } .foot-credit a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.theme-switch { background: none; border: 1px solid rgba(185, 211, 212, .35); color: var(--on-deep-muted); border-radius: 999px; padding: 4px 12px; font: 600 13px/19px var(--ui); cursor: pointer; }

/* Forms (shared) */
.field { display: grid; gap: 6px; font: 600 15px/23px var(--ui); color: var(--ink); }
.field input, .field select, .field textarea, .input { height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 16px/24px var(--ui); width: 100%; }
/* Selects: our own chevron with room on the right (Alexey, 6 Nov 2026: the native arrow sat on the border). */
.field select, select.input { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8E91' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; text-overflow: ellipsis; }
select[multiple].input, .field select[multiple] { background-image: none; padding-right: 16px; height: auto; }
.field textarea { height: auto; padding: 12px 16px; }
.field .hint { font-weight: 400; font-size: 13px; line-height: 19px; color: var(--muted); }
.error { color: var(--no-fg); margin: 0; }

@media (max-width: 1200px) { .nav-in { padding: 0 24px; } .foot-in { padding: 0 24px; } }
@media (max-width: 1000px) { .navlinks, .nav-cta .note, .nav-cta .btn { display: none; } .menu-btn { display: grid; } .nav-cta .badge { display: inline-flex; }
  .mnav { display: block; border-top: 1px solid var(--line-soft); background: var(--ground); padding: 8px 20px 20px; }
  .mnav[hidden] { display: none !important; }
  .mnav a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; font: 600 16px/24px var(--ui); }
  .mnav .overline { display: block; padding: 16px 4px 4px; }
  .mnav .btn { width: 100%; margin-top: 16px; border-bottom: 0; color: var(--btn-fg); justify-content: center; }
  .foot-top { flex-direction: column; gap: 40px; } .foot-cols { flex-wrap: wrap; gap: 32px 56px; } .foot-bottom { flex-direction: column; gap: 6px; } }
@media (min-width: 1001px) { .nav-cta .badge { display: none; } }
@media (max-width: 430px) { .nav-cta .badge { display: none !important; } }
@media (max-width: 640px) {
  .nav-in { height: 64px; padding: 0 20px; } .brand b { font-size: 19px; }
  .wrap { padding: 0 20px; }
  .t-xl { font-size: 36px; line-height: 40px; letter-spacing: -.8px; }
  .t-m { font-size: 28px; line-height: 34px; letter-spacing: -.3px; }
  .t-h2 { font-size: 22px; line-height: 28px; }
  .t-l { font-size: 17px; line-height: 27px; }
  .section { padding: 48px 0; }
  .foot { padding: 48px 0 40px; } .foot-in { padding: 0 20px; } .foot-cols > div:not(.help) { display: none; }
  .ab-card { flex-wrap: wrap; } .ab-card .txt { flex: 1 1 200px; } .ab-card .btn { padding: 0; }
  .card { padding: 24px 20px; }
}
@media (max-width: 1320px) { .nav-cta .note { display: none; } } /* room for "My training" in the nav (4 Nov 2026) */
.navlinks a, .navlinks summary { white-space: nowrap; }

/* Accounts (4 Nov 2026): log in link and the account menu (avatar button → panel; full-width sheet under 600px) */
.nav-login { font: 600 15px/23px var(--ui); color: var(--ink-2); text-decoration: none; padding: 10px 6px; white-space: nowrap; } .nav-login:hover { text-decoration: underline; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 17px; background: var(--deep); color: var(--on-deep); font: 600 15px/1 var(--ui); flex: none; }
.i-award { --i: url(/img/icons/award.svg); } .i-building { --i: url(/img/icons/building.svg); } .i-user { --i: url(/img/icons/user.svg); } .i-receipt { --i: url(/img/icons/receipt.svg); } .i-calendar { --i: url(/img/icons/calendar.svg); }
.i-theme { --i: url(/img/icons/theme.svg); } .i-help { --i: url(/img/icons/help.svg); } .i-logout { --i: url(/img/icons/logout.svg); } .i-switch { --i: url(/img/icons/switch.svg); }
.i-send { --i: url(/img/icons/send.svg); } .i-search { --i: url(/img/icons/search.svg); } .i-ext { --i: url(/img/icons/ext.svg); } .i-download { --i: url(/img/icons/download.svg); } .i-print { --i: url(/img/icons/print.svg); }
.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border: 1px solid transparent; border-radius: 22px; background: none; color: var(--ink-2); font: 600 15px/23px var(--ui); cursor: pointer; }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { background: var(--tint); }
.acct-btn[aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.acct-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 340px; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; padding: 10px; display: grid; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-field); }
.acct-panel[hidden] { display: none !important; }
.acct-who { display: flex; align-items: center; gap: 12px; padding: 6px 8px 4px; } .acct-who > div { display: grid; min-width: 0; }
.acct-who b { font: 600 15px/22px var(--ui); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-who span:not(.avatar) { font-size: 13px; line-height: 19px; color: var(--muted); overflow-wrap: anywhere; }
.acct-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--ground); }
.acct-card-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 600 14px/20px var(--ui); color: var(--ink); }
.acct-card-h .i { color: var(--accent); } .acct-for { margin-left: auto; font-weight: 400; font-size: 13px; color: var(--muted); max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .acct-stats.four { grid-template-columns: repeat(4, 1fr); }
.acct-stat { display: grid; gap: 0; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-soft); }
.acct-stat b { font: 600 20px/26px var(--display); color: var(--ink); } .acct-stat span { font-size: 12px; line-height: 16px; color: var(--muted); }
.acct-stats.four .acct-stat { padding: 8px 6px; text-align: center; }
.acct-cta { width: 100%; margin-top: 10px; } .acct-by { margin: 10px 0 0; }
.acct-ctx { display: flex; align-items: center; gap: 10px; background: var(--surface); }
.acct-ctx > div { flex: 1; min-width: 0; display: grid; } .acct-ctx b { font: 600 15px/22px var(--ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .acct-ctx div span { font-size: 13px; line-height: 19px; color: var(--muted); }
.acct-ctx-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--teal-soft); color: var(--ink-2); flex: none; }
.acct-switch { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink-2); flex: none; } .acct-switch:hover { background: var(--tint); }
.acct-setup { font: 600 14px/20px var(--ui); color: var(--link); white-space: nowrap; }
.acct-list { display: grid; gap: 1px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.acct-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 500 15px/21px var(--ui); text-decoration: none; text-align: left; cursor: pointer; }
.acct-item:hover { background: var(--tint); } .acct-item > .i:first-child { color: var(--ink-2); }
.acct-item > span:not(.i):not(.vh) { flex: 1; display: grid; } .acct-item small { font-size: 12.5px; line-height: 17px; color: var(--muted); }
.acct-ext { color: var(--faint); } .acct-val { flex: none !important; font-size: 13px; color: var(--muted); }
.acct-chev { transform: rotate(-90deg); transition: transform .15s; color: var(--faint); } .acct-subbtn[aria-expanded="true"] .acct-chev { transform: rotate(0deg); }
.acct-sub { display: grid; gap: 1px; margin: 0 0 4px 30px; padding-left: 8px; border-left: 2px solid var(--line-soft); } .acct-sub > div { display: grid; gap: 1px; }
.acct-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 14px/20px var(--ui); text-align: left; text-decoration: none; cursor: pointer; }
.acct-opt:hover { background: var(--tint); } .acct-opt .i { visibility: hidden; color: var(--accent); } .acct-opt[aria-pressed="true"] { font-weight: 600; } .acct-opt[aria-pressed="true"] .i { visibility: visible; }
.acct-foot { border-top: 1px solid var(--line-soft); padding-top: 6px; }
@media (max-width: 1000px) { .nav-login { display: none; } .nav-cta { gap: 6px; } .nav-cta .acct-panel .btn { display: inline-flex; } }
@media (max-width: 1180px) { .acct-name { display: none; } .acct-btn { padding: 4px; } }
@media (max-width: 600px) {
  .acct { position: static; }
  .acct-panel { position: fixed; top: 64px; left: 0; right: 0; width: auto; max-height: calc(100dvh - 64px); border-radius: 0 0 18px 18px; border-left: 0; border-right: 0; padding: 12px 16px 16px; }
  .acct-item { min-height: 46px; }
}
/* Account panel: keep every row inside the 340px panel (long emails, firm names, the four stats). */
.acct-panel { box-sizing: border-box; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 601px) { .acct-panel { max-width: calc(100vw - 24px); } }
.acct-panel > *, .acct-card, .acct-list, .acct-item, .acct-item > span:not(.i) { min-width: 0; }
.acct-who span:not(.avatar) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.acct-stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.acct-stats.four .acct-stat span { font-size: 11px; }
.acct-item > span:not(.i):not(.vh) { flex: 1; } .acct-item > .i { flex: none; } .acct-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Mobile QA (5 Nov 2026): tap targets of at least ~40px on phones and tablets, iOS safe areas. Kept at the end on
   purpose: everything here sits inside a max-width query, so no later desktop rule can undo it. */
@media (max-width: 1000px) {
  .faq-list details { padding: 0; }
  .faq-list summary { padding: 18px 0; }
  .faq-list details p { margin: -6px 0 18px; }
  .foot-cols a { padding: 9px 0; }
  .foot-cols div { gap: 0; }
  .theme-switch { min-height: 40px; padding: 8px 16px; }
  .acct-opt { min-height: 44px; }
  .acct-setup { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (max-width: 600px) {
  .acct-panel { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .mnav { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}

.nav-theme { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; } .nav-theme:hover { background: var(--tint); }
@media (max-width: 640px) { .nav-theme { display: none; } }

/* AML Buddy brand (brand-voice.md §7, Alexey 5 Nov 2026): wherever AML Buddy appears it looks like AML Buddy, in both
   themes. Dark surfaces, the on-dark logo unmodified, Signal Green #00FCA3 as the only accent, one glow top-right. */
.ab-card { position: relative; overflow: hidden; background: #0C0E0D; border: 1px solid #232726; border-radius: 16px; color: #F2F4F3; padding: 24px 28px; gap: 24px; }
.ab-card::before { content: ""; position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 252, 163, .16) 0, rgba(14, 59, 44, .35) 35%, transparent 70%); pointer-events: none; }
.ab-card > * { position: relative; }
.ab-logo { height: 32px; width: auto; flex: none; }
.ab-eyebrow { margin: 0; font: 600 12px/18px var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #00FCA3; }
.ab-body { margin: 0; font: 400 15px/23px var(--ui); color: #D3D8D6; }
.ab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #00FCA3; color: #04110C; font: 600 15px/20px var(--ui); text-decoration: none; white-space: nowrap; flex: none; }
.ab-btn:hover, .ab-btn:focus-visible { background: #33FDB5; color: #04110C; }
.ab-btn .i { color: #04110C; }
.ab-chip { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: #0A0B0B; border: 1px solid #232726; flex: none; }
.ab-chip img { display: block; height: 18px; width: auto; }
.foot-ab { display: inline-flex; align-items: center; gap: 10px; }
.acct-ab { display: flex; align-items: center; gap: 10px; } .acct-ab small { display: block; }
@media (max-width: 640px) { .ab-card { flex-wrap: wrap; padding: 20px; } .ab-card .txt { flex: 1 1 100%; } }

/* Course teaser video (home page section + course pages) */
.teaser { margin: 0; }
.teaser-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--deep); box-shadow: var(--shadow-field); }
.teaser-frame video { position: absolute; inset: 0; width: 100%; height: 100%; }
.teaser figcaption { margin-top: 10px; }
.h-teaser .teaser { max-width: 960px; margin: 0 auto; }
.h-teaser .section-head { text-align: center; max-width: 960px; margin: 0 auto 28px; display: block; }
.h-teaser .section-head .t-m, .h-teaser .section-head .overline { margin-left: auto; margin-right: auto; }
.pth-head + .teaser { margin: 0 0 28px; }

/* Theme picker on the profile (6 Nov 2026): Light / Dark / System, same data-theme-set buttons as the account menu. */
.i-sun { --i: url(/img/icons/sun.svg); } .i-moon { --i: url(/img/icons/moon.svg); }
.theme-seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--ground); flex-wrap: wrap; }
.theme-seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 500 14px/20px var(--ui); cursor: pointer; }
.theme-seg button:hover { background: var(--tint); }
.theme-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(15, 42, 46, .14); }
.theme-seg button .i { color: var(--icon); } .theme-seg button[aria-pressed="true"] .i { color: var(--accent); }
.me-theme { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; } .me-theme > * { margin: 0; }
@media (max-width: 480px) { .theme-seg { display: flex; width: 100%; } .theme-seg button { flex: 1; justify-content: center; padding: 8px 10px; } }

/* Site announcement banner (admin console settings, 6 Nov 2026) */
.site-banner { background: var(--deep); color: var(--on-deep); padding: 10px 16px; text-align: center; font: 500 15px/22px var(--ui); }
.site-banner p { max-width: var(--wrap); margin: 0 auto; }

/* Hero illustration (heroArt in src/html.js; home + sector pages, owner review 6 Nov 2026): big Oliver on a soft
   two-tone blob, a caption chip on wide screens. Mobile: smaller, above the text (the grid puts it first). */
.h-art { position: relative; display: grid; place-items: end center; aspect-ratio: 480 / 520; width: 100%; }
.h-blob { position: absolute; inset: 6% 0 0; border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; background: radial-gradient(circle at 30% 28%, var(--blob-2) 0 38%, var(--blob-1) 70%); }
.h-art > img { position: relative; width: 72%; height: auto; margin-bottom: 4%; filter: drop-shadow(0 18px 24px rgba(15, 42, 46, .14)); }
.h-art.cut > img { width: 78%; margin-bottom: 0; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%); mask-image: linear-gradient(to bottom, #000 72%, transparent 98%); }
.h-name { position: absolute; left: 4%; bottom: 10%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; box-shadow: var(--shadow-card); }
.h-name img { width: 24px; height: 24px; border-radius: 12px; background: var(--tint); }
@media (max-width: 760px) { .h-art { order: -1; width: 196px; justify-self: center; } .h-name { display: none; } }

/* Cookie consent (public/consent.js, 6 Nov 2026; same pattern as amlbuddy.com, Learn with Oliver tokens, light + dark). */
.lc, .lc * { box-sizing: border-box; }
.lc { font: 400 15px/1.5 var(--ui); color: var(--ink-2); }
.lc a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.lc h2 { margin: 0 0 6px; font: 700 17px/1.3 var(--ui); color: var(--ink); }
.lc-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; max-width: 980px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(15, 42, 46, .35); padding: 20px 22px; display: flex; gap: 20px; align-items: center; }
.lc-text { flex: 1; } .lc-text p { margin: 0; }
.lc-btns { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.lc button { font: 600 14px/20px var(--ui); cursor: pointer; border-radius: 999px; padding: 10px 18px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); white-space: nowrap; }
.lc button:hover { background: var(--tint); }
.lc button:focus-visible, .lc-sw input:focus-visible + i { outline: 2px solid var(--link); outline-offset: 2px; }
.lc .lc-primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.lc .lc-primary:hover { background: var(--btn-bg-2); border-color: var(--btn-bg-2); }
.lc-overlay { position: fixed; inset: 0; z-index: 2147483001; background: rgba(8, 20, 22, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lc-dialog { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); }
.lc-dialog h2 { font-size: 21px; margin-bottom: 8px; }
.lc-lead { margin: 0 0 12px; }
.lc-cat { border-top: 1px solid var(--line); padding: 16px 0; display: flex; gap: 16px; align-items: flex-start; }
.lc-cat div { flex: 1; } .lc-cat strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; } .lc-cat span { font-size: 14px; color: var(--muted); }
.lc-sw { position: relative; width: 44px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.lc-sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.lc-sw i { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong); transition: background .15s; pointer-events: none; }
.lc-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.lc-sw input:checked + i { background: var(--link); } .lc-sw input:checked + i::after { transform: translateX(18px); }
.lc-sw input:disabled + i { opacity: .55; }
.lc-dialog .lc-btns { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
html:has(.lc-bar) .ap-fab { bottom: 150px; }
@media (max-width: 720px) {
  .lc-bar { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; padding: 16px; gap: 14px; font-size: 14px; }
  .lc-bar h2 { font-size: 16px; }
  .lc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .lc-btns button { width: 100%; padding: 10px 12px; }
  .lc-bar [data-lc="open"], .lc-dialog [data-lc="save"] { grid-column: 1 / -1; }
  html:has(.lc-bar) .ap-fab { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lc-sw i, .lc-sw i::after { transition: none; } }

/* Cross-site journeys (6 Nov 2026): AML Buddy island (C2/C4), family strip (C1), "other half" block (E1). The guest
   brand keeps its own skin; copy from content/cross-site-copy.json. No red, nothing rotated. */
.ab-title { margin: 0; font: 600 18px/26px var(--ui); color: #F2F4F3; letter-spacing: -.1px; }
.ab-acts { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; flex: none; }
.ab-link { color: #D3D8D6; font: 600 14px/20px var(--ui); text-decoration: underline; text-underline-offset: 3px; }
.ab-link:hover, .ab-link:focus-visible { color: #00FCA3; }
.ab-btn { min-height: 44px; box-sizing: border-box; }
.ab-btn:focus-visible, .ab-link:focus-visible { outline: 2px solid #00FCA3; outline-offset: 3px; }
.ab-card.ab-s { padding: 16px 20px; gap: 16px; } .ab-card.ab-s .ab-logo { height: 24px; } .ab-card.ab-s .ab-title { font-size: 16px; line-height: 24px; }
@media (max-width: 760px) { .ab-card { flex-wrap: wrap; align-items: flex-start; } .ab-card .txt { flex: 1 1 100%; } .ab-acts { flex: 1 1 100%; } }

.fstrip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fstrip li { margin: 0; }
.fs-item > a, .fs-here { display: flex; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font: 400 14px/20px var(--ui); }
.fs-item > a:hover { border-color: var(--line-strong); background: var(--tint); }
.fs-item > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fs-item > a .i { color: var(--ink-2); margin-left: auto; }
.fs-txt { display: grid; } .fs-txt b { font-weight: 600; } .fs-line { color: var(--muted); font-size: 13px; line-height: 19px; }
.fs-av { border-radius: 50%; flex: none; }
.fs-here { background: var(--tint); border-color: transparent; }
.fs-you { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--ink-2); font: 600 12px/18px var(--ui); white-space: nowrap; }
.fstrip:not(.compact) ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fstrip:not(.compact) .fs-item > a, .fstrip:not(.compact) .fs-here { height: 100%; padding: 14px 16px; align-items: flex-start; }
.fstrip.compact .fs-item > a, .fstrip.compact .fs-here { padding: 6px 12px; }
@media (max-width: 760px) { .fstrip:not(.compact) ul { grid-template-columns: 1fr; } .fstrip.compact ul { flex-direction: column; } .fstrip.compact .fs-item > a, .fstrip.compact .fs-here { width: 100%; } }
.foot-family { margin-top: 20px; }
.acct-family { padding: 8px 12px 4px; border-top: 1px solid var(--line-soft); } .acct-family .fstrip ul { flex-direction: column; } .acct-family .fs-item > a, .acct-family .fs-here { width: 100%; }
.nf-family { margin-top: 40px; } .hp-family { margin-top: 32px; }

.xs-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.xs-duo .ab-card { flex-direction: column; align-items: flex-start; } .xs-duo .ab-acts { flex: none; }
.xs-half { display: grid; gap: 12px; max-width: 640px; } .xs-half h2, .xs-half p { margin: 0; }
.xs-half-links { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.xs-half-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--link); font: 600 16px/24px var(--ui); }
@media (max-width: 860px) { .xs-duo { grid-template-columns: 1fr; gap: 24px; } }
.fs-label { margin: 0 0 12px; }
/* Island wraps by its own width (narrow player column, certificate view): text needs ≥ 280px, else it goes under the logo. */
.ab-card { flex-wrap: wrap; } .ab-card .txt { flex: 1 1 280px; } .ab-card .ab-acts { flex: 0 1 auto; }
.pl-xs .ab-card, .pth-ready .ab-card { align-items: flex-start; }
