/* MaxWealth Consultancy — white first, MaxWealth blue second, yellow only as small accents.
   Dark mode follows the visitor's device; every colour is a token here. */
:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FB;
  --surface: #FFFFFF;
  --line: #E4E9F0;
  --line-strong: #D3DBE6;
  --text: #1A2E45;
  --heading: #0E2A47;
  --muted: #5A6B82;
  --brand: #124674;
  --brand-2: #2696CD;
  --brand-soft: rgba(38,150,205,.10);
  --accent: #FFD60A;
  --on-accent: #0A2342;
  --btn: #124674;
  --btn-hover: #0E3A61;
  --on-btn: #FFFFFF;
  --link: #124674;
  --emph: #124674;
  --panel-1: #EAF4FB;
  --panel-2: #F8FBFE;
  --band: #124674;
  --band-text: #E8F1FA;
  --band-muted: #B9CCE0;
  --todo-bg: #FFF3B0;
  --todo-text: #5C4A00;
  --shadow: 0 18px 40px -24px rgba(18,70,116,.35);
  /* header stays white in both themes so the logo keeps its original colours */
  --header-bg: #FFFFFF;
  --header-text: #1A2E45;
  --header-muted: #5A6B82;
  --header-line: #E4E9F0;
  --radius: 20px;
  --wrap: 1120px;
  --gutter: 20px;
  --header-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220;
    --bg-alt: #0F1828;
    --surface: #121C2C;
    --line: rgba(255,255,255,.09);
    --line-strong: rgba(255,255,255,.16);
    --text: #E6EDF6;
    --heading: #FFFFFF;
    --muted: #9AAAC0;
    --brand-soft: rgba(38,150,205,.16);
    --btn: #1F7FB8;
    --btn-hover: #2696CD;
    --link: #5CB6E4;
    --emph: #E6C065;
    --panel-1: #13263D;
    --panel-2: #0F1828;
    --band: #0E2A47;
    --todo-bg: #4A3D00;
    --todo-text: #FFE98A;
    --shadow: 0 18px 40px -24px rgba(0,0,0,.7);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--btn); color: var(--on-btn); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.nw { white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; color: var(--heading); letter-spacing: -.015em; line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 6.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 2.1vw, 1.2rem); color: var(--muted); max-width: 40em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
em.hl { font-style: normal; color: var(--emph); }
.todo { background: var(--todo-bg); color: var(--todo-text); padding: 0 .35em; border-radius: 4px; font-size: .95em; }

/* ---------- Header ---------- */
/* slides away when scrolling down past the hero, comes back on any scroll up (see site.js) */
.site-header {
  transition: transform .3s ease;
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  color: var(--header-text);
}
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
/* logo as large as the 72px header allows, with equal space above and below */
.brand img { height: 46px; width: auto; }
@media (min-width: 720px) { .brand img { height: 54px; } }
/* small phones (320–359px): tighter header so logo, BM/EN and menu fit */
@media (max-width: 359px) {
  .site-header .wrap { gap: 10px; }
  .brand img { height: 38px; }
  .head-tools { gap: 6px; }
  .lang button { padding: 7px 8px; }
  .menu-btn { width: 40px; height: 40px; }
}
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--header-muted); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav a:hover { color: #124674; background: rgba(38,150,205,.08); }
.nav a[aria-current="page"] { color: #124674; font-weight: 600; }
.head-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; border: 1px solid #D5DBE3; background: #F3F5F8; border-radius: 999px; padding: 3px; }
.lang button {
  font: 600 12px/1 inherit; font-family: inherit; letter-spacing: .04em;
  border: 0; background: transparent; color: #4A5B73; padding: 7px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #124674; color: #FFFFFF; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid #D5DBE3; background: #FFFFFF; color: #124674;
  display: inline-grid; place-items: center; cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-open .menu-btn .x { display: block; }
.menu-open .menu-btn .bars { display: none; }
.menu-panel {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg); overflow-y: auto; padding: 24px var(--gutter) 40px;
}
.menu-open .menu-panel { display: block; }
.menu-panel ul { list-style: none; border-top: 1px solid var(--line); }
.menu-panel li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; color: var(--heading); text-decoration: none;
}
.menu-panel li a svg { width: 20px; height: 20px; color: var(--brand-2); flex-shrink: 0; }
.menu-panel li a[aria-current="page"] { color: var(--emph); }
body.menu-lock { overflow: hidden; }
@media (min-width: 1000px) {
  .nav { display: block; }
  .head-tools { margin-left: 8px; }
  .menu-btn, .menu-panel { display: none !important; }
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer;
  background: var(--btn); color: var(--on-btn); transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--btn-hover); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn.ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--brand-2); background: var(--brand-soft); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.site-header .btn { background: #124674; color: #FFFFFF; }
.site-header .btn:hover { background: #0E3A61; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.to-ika { margin-top: 14px; font-size: 13px; color: var(--muted); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 128px) 0; }
.section.alt { background: var(--bg-alt); }
.section.tight { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 6vw, 60px); }
.section-head h2 + p { margin-top: 16px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .grid.c2 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .grid.c4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 24px; }
}

/* ---------- Page hero ---------- */
.hero { padding: clamp(56px, 10vw, 112px) 0 clamp(64px, 10vw, 120px); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.page-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.3rem); max-width: 16em; margin-bottom: 20px; }

/* ---------- Brand / photo panel (placeholder until photos are chosen) ---------- */
.panel {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--panel-1), var(--panel-2));
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3; max-height: 600px; width: 100%;
  display: grid; place-items: center;
}
@media (min-width: 720px) and (max-width: 999px) { .panel { aspect-ratio: 16 / 9; } }
/* brand panel without a photo: on phone and iPad the logo sits above the card instead of under it */
@media (max-width: 999px) {
  .panel:not(.has-photo) { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 44px 20px 20px; }
  .panel:not(.has-photo) .mark { width: 96px; margin: 0; }
  .panel:not(.has-photo) .float { position: static; width: 100%; }
}
/* portrait photos: square on phones, 4:3 on iPad, so the info card sits below the face */
.panel.has-photo:not(.wide) { aspect-ratio: 1 / 1; }
@media (min-width: 720px) and (max-width: 999px) { .panel.has-photo:not(.wide) { aspect-ratio: 4 / 3; max-height: none; } .panel.wide { aspect-ratio: 4 / 3; } }
@media (min-width: 1000px) { .panel, .panel.has-photo:not(.wide) { aspect-ratio: 4 / 5; } .panel.wide { aspect-ratio: 4 / 3; } }
.panel .mark { width: 26%; }
.panel > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.panel .mark { max-width: 200px; opacity: .95; margin-bottom: 70px; }
@media (min-width: 1000px) { .panel .mark { width: 38%; margin-bottom: 0; } }
.panel .float {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center;
}
.panel .float b { display: block; color: var(--heading); font-size: 15px; }
.panel .float span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }
.panel .chip-top {
  position: absolute; top: 20px; left: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--heading); box-shadow: var(--shadow);
  display: inline-flex; gap: 8px; align-items: center;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ic-round {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2);
}
.ic-round svg { width: 22px; height: 22px; }

/* ---------- "Tahukah anda?" rotating fact card (home hero) ---------- */
.fun {
  background: linear-gradient(160deg, var(--panel-1), var(--panel-2));
  border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px;
}
.fun-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fun-head .eyebrow { margin: 0; }
.fun-count { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
/* all facts share one grid cell, so the card keeps the height of the longest one and never jumps */
.fun-list { list-style: none; display: grid; }
.fun-list li {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
  font-family: "Fraunces", Georgia, serif; font-weight: 500; color: var(--heading);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.4;
}
.fun-list li.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.fun-list li b { font-weight: 600; color: var(--emph); }
.fun-list li small { display: block; margin-top: 12px; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.fun-foot { display: flex; align-items: center; gap: 10px; }
.fun-bar { flex: 1; height: 3px; border-radius: 2px; background: var(--line-strong); overflow: hidden; margin-right: 8px; }
.fun-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .1s linear; }
.fun-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--heading); display: grid; place-items: center; cursor: pointer;
}
.fun-btn:hover { border-color: var(--brand-2); color: var(--link); }
.fun-btn svg { width: 18px; height: 18px; }
/* reduce motion: facts still change (the user wants them rotating), but by a plain fade with no slide */
@media (prefers-reduced-motion: reduce) { .fun-list li, .fun-list li.on { transform: none; transition: opacity .3s ease, visibility 0s linear .3s; } .fun-list li.on { transition: opacity .3s ease; } }
.fun.stopped .fun-bar { visibility: hidden; }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; display: grid; gap: 0; }
.strip li { display: flex; gap: 14px; align-items: center; padding: 22px 0; font-size: 15px; color: var(--muted); }
.strip li + li { border-top: 1px solid var(--line); }
.strip b { color: var(--heading); font-weight: 600; display: block; }
@media (min-width: 720px) {
  .strip ul { grid-template-columns: repeat(3, 1fr); }
  .strip li { padding: 28px 18px; flex-direction: column; align-items: flex-start; }
  .strip li:first-child { padding-left: 0; }
  .strip li + li { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 32px); display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s, transform .2s;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--brand-2); }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--link); display: inline-flex; gap: 6px; align-items: center; }
.card .more svg { width: 16px; height: 16px; }
.section.alt .card { background: var(--surface); }

/* Stats */
/* phone: one row per figure; iPad and up: three columns sized to the figures */
.stats { display: grid; }
.stat { display: grid; grid-template-columns: 10.5rem 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.9rem; color: var(--emph); line-height: 1.1; white-space: nowrap; }
@media (max-width: 719px) { .stat b { font-size: 1.7rem; } }
.stat span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: clamp(28px, 4vw, 48px); }
  .stat { display: block; padding: 0; border: 0; }
  .stat:last-child { border: 0; }
  .stat b { font-size: clamp(1.9rem, 3vw, 2.4rem); }
  .stat span { margin-top: 6px; max-width: 10em; }
}
.stats-note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* Big fact */
.facts { display: grid; gap: 20px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.fact { padding: 32px 0 0; border-top: 2px solid var(--heading); }
.fact b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--emph); line-height: 1; margin-bottom: 16px; }
.fact p { color: var(--muted); font-size: 15px; max-width: 26em; }
.fact small { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); opacity: .85; }

/* Steps */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; color: var(--brand-2); padding-top: 2px;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (min-width: 1000px) {
  .steps.row { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps.row li { grid-template-columns: 1fr; border-top: 2px solid var(--heading); border-bottom: 0; padding-top: 22px; }
}

/* Split layout */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.rev > :first-child { order: 2; } }
.split .panel { max-height: 560px; }

/* Checklist */
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text); }
.ticks li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--brand-2); }

/* Service detail blocks */
.service { display: grid; gap: 28px; padding: clamp(48px, 7vw, 72px) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1000px) { .service { grid-template-columns: 5fr 7fr; gap: 72px; } }
.service h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-top: 18px; }
.service .body > p { color: var(--muted); margin-bottom: 22px; }
.service .body h3 { font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 26px 0 14px; }
.service .btns { margin-top: 30px; }

/* Callout */
.callout {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt);
  padding: clamp(22px, 3.5vw, 30px); display: grid; grid-template-columns: 4px 1fr; gap: 18px;
}
.callout::before { content: ""; border-radius: 2px; background: var(--accent); }
.callout h3 { font-family: inherit; font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--heading); }
.callout p { color: var(--muted); font-size: 15px; }

/* Awards / list rows */
.rows { list-style: none; }
.rows li { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows b { font-weight: 600; color: var(--heading); }
.rows b small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.rows span { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* Profile card */
.profile-name { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.titles { margin: 10px 0 24px; color: var(--muted); line-height: 1.6; }
.titles b { color: var(--heading); font-weight: 600; }
.badge-line { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--heading); background: var(--brand-soft); border-radius: 999px; padding: 6px 12px; }

/* Guides */
.guide { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.guide:last-child { border-bottom: 1px solid var(--line); }
.guide .txt { flex: 1; min-width: 0; }
.guide .txt b { display: block; color: var(--heading); font-weight: 600; }
.guide .txt span { font-size: 14px; color: var(--muted); }
.guide .pdf { display: flex; gap: 8px; }
.guide .pdf a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--heading); }
.guide .pdf a:hover { border-color: var(--brand-2); color: var(--link); }

/* Ebooks */
.books { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .books { grid-template-columns: repeat(3, 1fr); } }
.book { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; }
.book .cover { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: var(--bg-alt); }
.book .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.book:hover .cover img { transform: scale(1.02); }
.book b { color: var(--heading); font-size: 1.05rem; }
.book span { font-size: 14px; color: var(--muted); }
.tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--link); }
.tag.y { background: var(--accent); color: var(--on-accent); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; color: var(--heading); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--brand-2), var(--brand-2)) center / 14px 2px no-repeat,
    linear-gradient(var(--brand-2), var(--brand-2)) center / 2px 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 26px; color: var(--muted); max-width: 44em; }
.faq .a p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }
.contact-list { list-style: none; display: grid; gap: 0; }
.contact-list li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list b { display: block; color: var(--heading); font-weight: 600; }
.contact-list li > div { min-width: 0; }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list li > div > span { font-size: 14px; color: var(--muted); display: block; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.form h2 { font-size: 1.6rem; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--heading); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg-alt);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 0; border-color: transparent; }
.form .btn { width: 100%; }
.form .note { font-size: 13px; color: var(--muted); }

/* CTA band */
.band { background: var(--band); color: var(--band-text); border-radius: 28px; padding: clamp(40px, 7vw, 72px); display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .band { grid-template-columns: 1.4fr auto; } }
.band h2 { color: #FFFFFF; }
.band p { color: var(--band-muted); margin-top: 12px; max-width: 34em; }
.band .btn { background: #FFFFFF; color: #124674; }
.band .btn:hover { background: #EAF4FB; }
.band .to-ika { color: var(--band-muted); }
.band .eyebrow { color: #8FCBEA; }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); overflow-wrap: anywhere; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0 1.2em; display: grid; gap: 8px; }
.prose .updated { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.lang-block[hidden] { display: none; }

/* 404 */
.nf { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.nf .code { font-family: "Fraunces", Georgia, serif; font-size: clamp(4.5rem, 16vw, 8rem); color: var(--emph); line-height: 1; margin-bottom: 18px; }
.nf .lead { margin: 18px auto 36px; }
.nf .btns { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 72px 0 36px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.foot-logo { display: inline-block; background: #FFFFFF; border-radius: 14px; padding: 10px 14px; border: 1px solid var(--line); }
.foot-logo img { height: 48px; width: auto; }
.foot-about p { margin-top: 18px; max-width: 30em; }
.site-footer h2 { font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--heading); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--heading); }
.social a:hover { border-color: var(--brand-2); color: var(--link); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.foot-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: 12.5px; line-height: 1.65; }
.foot-legal .reg { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 8px; }
