
:root {
  /* Layout: a 1200px shell (sticky header, full-bleed hero, home sections, navy footer) with reading pages kept in an 820px column. Navy carries structure, teal carries action, and sky draws the ripple motif from the logo: the thaa of أثر with its three dots and widening waves. */
  --paper: #f7f5ef;
  --surface: #ffffff;
  --ink: #303632;
  --brand: #34463d;
  --petrol: #3f5a4c;
  --sky: #78877b;
  --saffron: #925c43; /* the owner's copper #A66B4F, one step deeper so small text stays readable on ivory */
  --on-saffron: #ffffff;

  --heading: var(--brand);
  --btn: var(--brand);
  --on-btn: #ffffff;
  --foot-bg: #34463d;
  --foot-ink: #e3dccd;
  --mark-bowl: #34463d;
  --mark-r1: #a66b4f;
  --mark-r2: #d2ad8c;
  --mark-dot: #a66b4f;
  --mark-top: #c99a78;

  --ink-2: color-mix(in srgb, var(--ink) 80%, var(--paper));
  --muted: color-mix(in srgb, var(--ink) 75%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 12%, var(--paper));
  --petrol-soft: color-mix(in srgb, var(--petrol) 12%, var(--surface));
  --petrol-mid: color-mix(in srgb, var(--petrol) 45%, var(--paper));
  --on-petrol: #ffffff;
  --tint: color-mix(in srgb, var(--sky) 10%, var(--surface));
  --shadow: 0 1px 2px rgb(52 70 61 / .06), 0 10px 28px -14px rgb(52 70 61 / .22);
  --max: 1200px;
  --read: 820px;

  --font-display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b201d;
    --surface: #252b27;
    --ink: #ebe7de;
    --petrol: #a9bcae;
    --sky: #b7c4b9;
    --saffron: #c98d6e;
    --on-saffron: #1d1410;
    --heading: #f4f1ea;
    --btn: #c98d6e;
    --on-btn: #1d1410;
    --foot-bg: #141815;
    --foot-ink: #cfc8b9;
    --mark-bowl: #ffffff;
    --mark-r1: #c98d6e;
    --mark-r2: #8a5a42;
    --mark-dot: #c98d6e;
    --mark-top: #e9ddc9;
    --on-petrol: #16201a;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -16px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1b201d;
  --surface: #252b27;
  --ink: #ebe7de;
  --petrol: #a9bcae;
  --sky: #b7c4b9;
  --saffron: #c98d6e;
  --on-saffron: #1d1410;
  --heading: #f4f1ea;
  --btn: #c98d6e;
  --on-btn: #1d1410;
  --foot-bg: #141815;
  --foot-ink: #cfc8b9;
  --mark-bowl: #ffffff;
  --mark-r1: #c98d6e;
  --mark-r2: #8a5a42;
  --mark-dot: #c98d6e;
  --mark-top: #e9ddc9;
  --on-petrol: #16201a;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -16px rgb(0 0 0 / .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}
[hidden] { display: none !important; }
a { color: var(--petrol); text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.35; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(32px, 7.4vw, 46px); }
h2 { font-size: clamp(25px, 5.2vw, 32px); }
h3 { font-size: 21px; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }
[data-focus]:focus, [tabindex="-1"]:focus { outline: none; }

.page { display: grid; gap: 28px; }
.block { display: grid; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.lede { color: var(--ink-2); font-size: 18px; max-width: 34em; }
.small { font-size: 14.5px; color: var(--muted); max-width: 40em; }
.kicker { font-size: 15px; font-weight: 600; color: var(--petrol); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.sec-head a { font-size: 15px; font-weight: 600; }
.note-box { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1.4;
  min-height: 48px; padding: 11px 22px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--petrol); color: var(--on-petrol); }
.btn-primary:hover { background: color-mix(in srgb, var(--petrol) 86%, var(--ink)); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--petrol-soft); }
.btn-text {
  background: none; border: 0; min-height: 44px; padding: 8px 4px;
  color: var(--petrol); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}

/* Home: featured term */
.feature { display: grid; gap: 4px; padding-inline-start: 18px; border-inline-start: 4px solid var(--petrol); }
.feat-t { font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.35; }
.feat-t a { color: var(--ink); text-decoration: none; }
.feat-t a:hover { color: var(--petrol); }
.feat-d { color: var(--ink-2); max-width: 36em; }

/* Posts */
.posts { display: grid; }
.post-row { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row > a { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.45; color: var(--ink); text-decoration: none; }
.post-row > a:hover { color: var(--petrol); }
.post-row > p:not(.post-meta) { color: var(--ink-2); max-width: 36em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; line-height: 1.6; padding: 1px 10px; border-radius: 999px; background: var(--petrol-soft); color: var(--petrol); }
.post-body { display: grid; gap: 14px; }
.post-body p, .post-body li { max-width: 36em; }
.post-body h2 { font-size: 23px; margin-top: 8px; }
.post-body ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.back { font-size: 15px; font-weight: 600; }

/* Article */
.article { display: grid; gap: 14px; }
.article > h2 { margin-top: 18px; scroll-margin-top: 64px; }
.article p { max-width: 36em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc button {
  font: inherit; font-size: 14px; font-weight: 600; min-height: 36px; padding: 4px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
}
.toc button:hover { border-color: var(--petrol); color: var(--petrol); }
.see { font-size: 15px; color: var(--muted); }
.dikw { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .dikw { grid-template-columns: 250px minmax(0, 1fr); } }
.pyr { display: grid; gap: 4px; justify-items: center; }
.pyr span { display: block; padding: 7px 6px; border-radius: 6px; text-align: center; font-weight: 600; font-size: 15px; }
.pyr span:nth-child(1) { width: 46%; background: var(--ink); color: var(--paper); }
.pyr span:nth-child(2) { width: 64%; background: var(--petrol); color: var(--on-petrol); }
.pyr span:nth-child(3) { width: 82%; background: var(--petrol-mid); color: var(--ink); }
.pyr span:nth-child(4) { width: 100%; background: var(--petrol-soft); color: var(--ink); }
.ex { display: grid; gap: 8px; margin: 0; }
.ex div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; font-size: 15.5px; }
.ex dt { font-weight: 700; }
.ex dd { margin: 0; color: var(--ink-2); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.cmp th, .cmp td { text-align: start; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.cmp tbody th { width: 22%; font-weight: 600; color: var(--muted); }
.cmp td { color: var(--ink-2); }
.seci { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "s e" "i c"; gap: 8px; }
.seci > div { display: grid; align-content: start; gap: 3px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.seci .s { grid-area: s; } .seci .e { grid-area: e; } .seci .c { grid-area: c; } .seci .i { grid-area: i; }
.seci-n { font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--petrol); }
.seci-name { font-weight: 700; line-height: 1.5; }
.seci-dir { font-size: 14px; font-weight: 600; color: var(--petrol); }
.seci-ex { font-size: 14.5px; color: var(--ink-2); }
.steps { list-style: none; padding: 0; display: grid; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, arabic-indic); font-family: var(--font-display); font-size: 24px; line-height: 1.3; color: var(--petrol); }
.steps b { display: block; }
.steps span { color: var(--ink-2); font-size: 15.5px; }
.tools { display: grid; gap: 12px 24px; margin: 0; }
@media (min-width: 640px) { .tools { grid-template-columns: 1fr 1fr; } }
.tools div { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.tools dt { font-weight: 700; }
.tools dd { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.sources { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.sources ul { padding-inline-start: 20px; display: grid; gap: 4px; }
.sources a { overflow-wrap: anywhere; }

/* Search and filters */
.controls { display: grid; gap: 12px; }
.search input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.search input::placeholder { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  font: inherit; font-size: 14.5px; font-weight: 600; min-height: 38px; padding: 4px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
}
.fchip:hover { border-color: var(--petrol); }
.fchip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--on-petrol); }
.count-line { font-size: 14.5px; color: var(--muted); }

/* Glossary */
.g-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.pill { font-size: 13.5px; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.g-sec-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 22px 0 6px; }
.g-sec-h h2 { font-size: 24px; }
.g-sec-h span { font-size: 14.5px; color: var(--muted); }
.term { display: grid; gap: 2px; padding: 14px 6px; border-top: 1px solid var(--line); border-radius: 8px; scroll-margin-top: 64px; }
.term h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; }
.term-en { font-size: 14.5px; font-weight: 600; color: var(--petrol); }
.term-def { color: var(--ink-2); max-width: 38em; }
.flash { animation: flash 1.8s ease-out; }
@keyframes flash { from { background: color-mix(in srgb, var(--saffron) 24%, transparent); } to { background: transparent; } }

/* Scholars timeline */
.tl { list-style: none; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 8px; width: 2px; background: var(--line); }
.tl > li { position: relative; display: grid; gap: 4px; padding-bottom: 30px; padding-inline-start: 36px; border-radius: 8px; scroll-margin-top: 64px; }
.tl > li::before { content: ""; position: absolute; top: 9px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--petrol); }
.tl-year { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--petrol); }
.tl-name { font-size: 23px; }
.tl-sub { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14.5px; color: var(--muted); }
.tl-idea { font-weight: 700; }
.tl-bio { color: var(--ink-2); max-width: 36em; }
.works { list-style: none; padding: 0; display: grid; gap: 4px; margin-top: 4px; font-size: 15px; }
.works li { display: flex; flex-wrap: wrap; gap: 0 10px; color: var(--ink-2); }
.works li::before { content: ""; width: 6px; height: 6px; margin-top: 11px; border-radius: 50%; background: var(--petrol-mid); flex: none; }
.w-o { color: var(--muted); }
.w-y { color: var(--muted); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; }
.links-k { color: var(--muted); }
.links a { padding: 1px 10px; border-radius: 999px; background: var(--petrol-soft); text-decoration: none; }
.heritage { justify-self: start; font-size: 13px; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }

/* Library */
.lib { display: grid; }
.lib-item { display: grid; gap: 3px; padding: 16px 0; border-top: 1px solid var(--line); }
.lib-item:last-child { border-bottom: 1px solid var(--line); }
.lib-t { font-weight: 700; font-size: 18px; }
.lib-o { font-size: 14.5px; color: var(--muted); }
.lib-by { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14.5px; color: var(--ink-2); }
.lib-why { color: var(--ink-2); max-width: 38em; }
.lib-link { font-size: 14.5px; font-weight: 600; }


/* Topics, tools, cases */
.post-body ol { padding-inline-start: 22px; display: grid; gap: 8px; }
.post-body ol, .tool-steps, .theories { list-style-type: arabic-indic; }
.callout { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--petrol); background: color-mix(in srgb, var(--petrol) 7%, var(--surface)); color: var(--ink); text-decoration: none; }
.callout b { color: var(--petrol); font-size: 17px; }
.callout span { font-size: 15px; color: var(--ink-2); }
.tool, .case { border-top: 1px solid var(--line); border-radius: 8px; scroll-margin-top: 64px; }
.tool:last-child, .case:last-child { border-bottom: 1px solid var(--line); }
.tool summary, .case summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 2px 12px; padding: 16px 2px; }
.tool summary::-webkit-details-marker, .case summary::-webkit-details-marker { display: none; }
.tool summary .chev, .case summary .chev { grid-area: auto; grid-column: 2; grid-row: 1 / span 3; }
.tool[open] > summary .chev, .case[open] > summary .chev { transform: rotate(180deg); }
.tool-t, .case-t { grid-column: 1; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.4; }
.tool summary:hover .tool-t, .case summary:hover .case-t { color: var(--petrol); }
.tool-m, .case-s { grid-column: 1; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; color: var(--muted); }
.case-y { grid-column: 1; font-family: var(--font-display); font-size: 16px; color: var(--petrol); }
.tool-body, .case-body { display: grid; gap: 10px; padding: 0 2px 20px; }
.tool-body h3, .case-body h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; margin-top: 6px; }
.tool-body p, .case-body p { max-width: 38em; color: var(--ink-2); }
.tool-steps, .case-body ul { padding-inline-start: 22px; display: grid; gap: 6px; color: var(--ink-2); }
.tpl { margin: 0; padding: 14px 16px; white-space: pre-wrap; font: inherit; font-size: 15px; line-height: 1.85; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }

/* Research */
.theories { padding-inline-start: 22px; display: grid; gap: 14px; }
.theories li { display: grid; gap: 2px; }
.th-i { color: var(--ink-2); }
.cite { display: block; text-align: right; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.gaps { display: grid; gap: 10px; }
@media (min-width: 640px) { .gaps { grid-template-columns: 1fr 1fr; } }
.gap { display: grid; align-content: start; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.gap-t { font-weight: 700; }
.gap-w { font-size: 15px; color: var(--ink-2); }
.nb-h { font-size: 19px; color: var(--ink); }

/* Risk calculator */
.rmx { display: grid; grid-template-columns: 26px repeat(5, minmax(0, 1fr)); gap: 3px; max-width: 480px; }
.rmx-c { min-height: 46px; padding: 3px; border-radius: 6px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 3px; }
.rmx-c.low, .k.low::before, .rband.low::before { background: var(--petrol-soft); }
.rmx-c.mid, .k.mid::before, .rband.mid::before { background: color-mix(in srgb, var(--saffron) 34%, var(--surface)); }
.rmx-c.high, .k.high::before, .rband.high::before { background: color-mix(in srgb, #d03b3b 32%, var(--surface)); }
.rmx-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; background: var(--ink); color: var(--paper); }
.rmx-yl, .rmx-xl { display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.rmx-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); }
.k::before, .rband::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-inline-end: 6px; border-radius: 3px; vertical-align: -1px; border: 1px solid var(--line); }
.rlist { list-style: none; padding: 0; display: grid; }
.rrow { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.rrow:last-child { border-bottom: 1px solid var(--line); }
.rnum { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--ink); color: var(--paper); }
.rname { font-weight: 700; }
.rmeta { display: grid; gap: 2px; font-size: 14.5px; color: var(--ink-2); }
.rband { font-weight: 700; color: var(--ink); }
.rctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.rctl select { min-height: 40px; padding: 4px 8px; font: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }

/* Assessment: staircase */
.ladder-box {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 14px 14px;
}
.ladder-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ladder {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; align-items: end;
  border-bottom: 2px solid var(--ink);
}
.ladder li { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-width: 0; }
.step {
  height: calc(60px + var(--i) * 22px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 8px 4px 6px; border-radius: 8px 8px 0 0;
  background: var(--petrol-soft); color: var(--ink);
}
.step-n { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.15; }
.step-name { font-size: 13px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.is-result .step { background: transparent; border: 1px solid var(--line); border-bottom: 0; color: var(--muted); }
.is-result .done .step { background: var(--petrol); border-color: var(--petrol); color: var(--on-petrol); }
.is-result .here .step { background: var(--saffron); border-color: var(--saffron); color: var(--on-saffron); animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.marker { font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; white-space: nowrap; color: var(--ink); }
.marker::after {
  content: ""; display: block; width: 0; height: 0; margin: 3px auto 0;
  border: 6px solid transparent; border-top-color: var(--ink); border-bottom: 0;
}
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
.ladder-cap { position: relative; margin-top: 10px; display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ladder-cap span { max-width: 46%; }
.ladder-cap span:last-child { text-align: end; }

/* Assessment: forms and questions */
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.field input::placeholder { color: var(--muted); }
.view { display: grid; gap: 26px; }
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.progress span { height: 6px; border-radius: 3px; background: var(--petrol-soft); }
.progress .done { background: var(--petrol); }
.progress .now { background: var(--saffron); }
.dim-desc { color: var(--ink-2); font-size: 18px; }
.key { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.key summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.key ol { list-style: none; margin: 8px 0 2px; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.key li { display: flex; gap: 12px; }
.key .kn { min-width: 1.2em; font-weight: 700; color: var(--petrol); }
.prompt { font-weight: 600; }
.qs { display: grid; }
.q { display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); scroll-margin: 90px; }
.q-text { display: flex; gap: 12px; font-weight: 500; }
.q-n {
  flex: none; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
  background: var(--petrol-soft); color: var(--petrol);
}
.q.is-done .q-n { background: var(--petrol); color: var(--on-petrol); }
.q.need .q-n { background: var(--saffron); color: var(--on-saffron); }
.keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.k { position: relative; display: block; }
.k input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.k .face {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  font-size: 19px; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.k:hover .face { background: var(--petrol-soft); }
.k input:checked + .face { background: var(--petrol); border-color: var(--petrol); color: var(--on-petrol); }
.k input:focus-visible + .face { outline: 3px solid var(--saffron); outline-offset: 2px; }
.anchors { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }
.chosen { font-size: 15px; font-weight: 600; color: var(--petrol); }
.navbar {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 -20px; padding: 12px 20px;
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.count { font-size: 14.5px; color: var(--muted); text-align: center; }

/* Assessment: results */
.sample-note {
  display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--saffron); background: color-mix(in srgb, var(--saffron) 13%, var(--paper));
}
.meta { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 15px; color: var(--muted); }
.score { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 32px; }
.hero-score { display: flex; align-items: baseline; gap: 10px; }
.hero-n { font-family: var(--font-body); font-size: 76px; font-weight: 600; line-height: 1; }
.hero-of { font-size: 18px; color: var(--muted); }
.level { display: grid; gap: 2px; padding-bottom: 4px; }
.level-k { font-size: 15px; font-weight: 600; color: var(--muted); }
.level-name { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--petrol); }
.level-desc { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.meters { display: grid; }
.m { border-top: 1px solid var(--line); }
.m:last-child { border-bottom: 1px solid var(--line); }
.m summary {
  list-style: none; cursor: pointer;
  display: grid; align-items: center; gap: 8px 12px; padding: 14px 2px;
  grid-template-columns: minmax(0, 1fr) auto auto 20px;
  grid-template-areas: "name val chip chev" "track track track track";
}
.m summary::-webkit-details-marker { display: none; }
.m summary:hover .m-name { color: var(--petrol); }
.m-name { grid-area: name; font-weight: 600; line-height: 1.45; }
.m-val { grid-area: val; font-weight: 700; font-variant-numeric: tabular-nums; }
.m-track { grid-area: track; position: relative; height: 10px; overflow: hidden; border-radius: 999px; background: var(--petrol-soft); }
.m-fill { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 999px; background: var(--petrol); }
.m-track::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to left, transparent 0, transparent calc(25% - 2px), var(--paper) calc(25% - 2px), var(--paper) 25%);
}
.chip {
  grid-area: chip; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 1px 10px 1px 9px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2);
}
.chip svg { width: 15px; height: 15px; flex: none; color: var(--petrol); }
.chev { grid-area: chev; width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.m[open] .chev { transform: rotate(180deg); }
@media (min-width: 620px) {
  .m summary {
    grid-template-columns: 200px minmax(0, 1fr) 40px 106px 20px;
    grid-template-areas: "name track val chip chev";
  }
  .chip { justify-self: start; }
}
.m-answers { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.m-answers li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.a-n {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 700; background: var(--petrol-soft); color: var(--petrol);
}
.a-m { display: block; font-size: 13.5px; color: var(--muted); }
.prio { list-style: none; margin: 0; padding: 0; display: grid; }
.prio li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.prio li:last-child { border-bottom: 1px solid var(--line); }
.p-n {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  background: var(--saffron); color: var(--on-saffron);
}
.p-dim { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-weight: 700; }
.p-score { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.p-act { margin-top: 4px; color: var(--ink-2); }
.iso { display: grid; gap: 6px; padding-inline-start: 16px; border-inline-start: 4px solid var(--petrol); }
.iso h3 { font-size: 19px; }
.status { min-height: 1.6em; font-size: 15px; font-weight: 600; color: var(--petrol); }
.copy-box {
  width: 100%; min-height: 220px; padding: 12px; resize: vertical;
  font: inherit; font-size: 14.5px; line-height: 1.7; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.method { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================= Redesign: shell, header, home, footer ================= */
html.no-scroll { overflow: hidden; }
h1, h2, h3 { color: var(--heading); font-weight: 700; line-height: 1.5; }
h1 { font-size: clamp(26px, 5.4vw, 36px); }
h2 { font-size: clamp(21px, 4.2vw, 27px); }
h3 { font-size: 19px; }
.kicker { color: var(--petrol); font-weight: 700; }
.lede { color: var(--ink-2); }

.wrap { max-width: none; margin: 0; padding: 0 0 72px; overflow-x: clip; }
main > .page:not(#v-home) { box-sizing: border-box; max-width: calc(var(--read) + 40px); margin: 0 auto; padding: 30px 20px 0; }
main > .page:not(#v-home) > .block:first-child {
  position: relative; overflow: hidden; gap: 8px;
  padding: 26px 26px 24px; border-radius: 20px;
  background: linear-gradient(135deg, var(--surface) 30%, var(--tint));
  border: 1px solid var(--line);
}
main > .page:not(#v-home) > .block:first-child::after {
  content: ""; position: absolute; inset-inline-end: -36px; bottom: -64px; width: 230px; height: 160px; pointer-events: none; opacity: .32;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 180'%3E%3Cg fill='none' stroke='%233f5a4c' stroke-linecap='round'%3E%3Cpath d='M30 60a100 72 0 0 0 200 0' stroke-width='5' stroke-opacity='.45'/%3E%3Cpath d='M60 52a70 50 0 0 0 140 0' stroke-width='6' stroke-opacity='.7'/%3E%3Cpath d='M90 44a40 28 0 0 0 80 0' stroke-width='7'/%3E%3C/g%3E%3Cg fill='%2378877b'%3E%3Ccircle cx='130' cy='18' r='7'/%3E%3Ccircle cx='118' cy='33' r='7'/%3E%3Ccircle cx='142' cy='33' r='7'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
main > .page:not(#v-home) > .block:first-child > * { position: relative; }
.article > h2, .term, .tl > li, .tool, .case, .q { scroll-margin-top: 96px; }

/* Buttons */
.btn { gap: 8px; border-radius: 12px; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--btn); color: var(--on-btn); }
.btn-primary:hover { background: color-mix(in srgb, var(--btn) 82%, var(--petrol)); }
.btn-secondary { background: var(--surface); color: var(--heading); border-color: color-mix(in srgb, var(--heading) 26%, var(--line)); }
.btn-secondary:hover { background: var(--tint); border-color: var(--petrol); }

/* Logo mark */
.mark { display: block; overflow: visible; }
.mark path { fill: none; stroke-linecap: round; }
.m-r2 { stroke: var(--mark-r2); stroke-width: 4.5; }
.m-r1 { stroke: var(--mark-r1); stroke-width: 5.5; }
.m-bowl { stroke: var(--mark-bowl); stroke-width: 8; }
.m-top { fill: var(--mark-top); }
.m-dot { fill: var(--mark-dot); }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-bar { position: relative; box-sizing: border-box; max-width: calc(var(--max) + 40px); margin: 0 auto; padding: 10px 20px; min-height: 76px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--heading); text-decoration: none; flex: none; }
.brand .mark { width: 62px; height: 41px; }
.brand-txt { display: grid; line-height: 1.35; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--petrol); }
.brand-tag { font-size: 12.5px; font-weight: 500; color: var(--muted); }

.mainnav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border: 0; border-radius: 10px; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.nav-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--petrol); background: var(--tint); }
.nav-link[aria-current="page"], .nav-group.is-current > .nav-btn { color: var(--petrol); }
.nav-link[aria-current="page"]::after, .nav-group.is-current > .nav-btn::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--petrol);
}
.nav-group { position: relative; }
.nav-cap { display: none; }
.nav-menu {
  display: none; position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 5; min-width: 280px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.nav-btn[aria-expanded="true"] ~ .nav-menu { display: grid; gap: 2px; }
.nav-menu a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav-menu b { font-size: 15.5px; font-weight: 700; }
.nav-menu span { font-size: 13.5px; color: var(--muted); }
.nav-menu a:hover { background: var(--tint); }
.nav-menu a:hover b, .nav-menu a[aria-current="page"] b { color: var(--petrol); }
.nav-menu a[aria-current="page"] { background: var(--petrol-soft); }

.head-act { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer;
}
.icon-btn:hover { border-color: var(--petrol); color: var(--petrol); }
.icon-btn svg { width: 21px; height: 21px; }
.btn-cta { min-height: 44px; padding: 8px 18px; font-size: 15px; background: var(--btn); color: var(--on-btn); }
.btn-cta:hover { background: color-mix(in srgb, var(--btn) 82%, var(--petrol)); }
.menu-btn { display: none; }

@media (max-width: 1040px) {
  .menu-btn { display: inline-grid; }
  .head-act { margin-inline-start: auto; }
  .mainnav {
    display: none; position: absolute; top: 100%; inset-inline: 0; max-height: calc(100vh - 90px); overflow-y: auto;
    padding: 6px 20px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-open .mainnav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-btn { display: none; }
  .nav-cap { display: block; padding: 14px 12px 4px; font-size: 13px; font-weight: 700; color: var(--petrol); }
  .nav-menu { display: grid; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav-link { display: flex; }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link[aria-current="page"] { background: var(--petrol-soft); }
}
@media (max-width: 620px) {
  .head-bar { min-height: 66px; gap: 10px; }
  .btn-cta, .brand-tag { display: none; }
  .brand { gap: 9px; }
  .brand .mark { width: 50px; height: 33px; }
  .brand-name { font-size: 16.5px; }
}

/* Site search */
.search-panel { position: fixed; inset: 0; z-index: 40; overflow-y: auto; padding: 14px; background: rgb(27 32 29 / .5); }
.sp-in { max-width: 720px; margin: 56px auto 0; padding: 10px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.sp-form { display: flex; align-items: center; gap: 10px; padding: 4px; border-radius: 12px; }
.sp-form:focus-within { box-shadow: inset 0 0 0 2px var(--petrol); }
.sp-form > svg { width: 22px; height: 22px; flex: none; margin-inline-start: 10px; color: var(--muted); }
.sp-form input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; font: inherit; font-size: 18px; color: var(--ink); outline: none; }
.sp-form input::placeholder, .hero-search input::placeholder { color: var(--muted); }
.sp-results { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.sp-hint { padding: 8px 12px 4px; font-size: 13.5px; color: var(--muted); }
.hits { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hits a {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "k t" "k d"; column-gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none;
}
.hits a:hover, .hits a:focus-visible { background: var(--tint); }
.hit-k { grid-area: k; align-self: start; margin-top: 3px; padding: 1px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--petrol-soft); color: var(--petrol); }
.hit-t { grid-area: t; font-weight: 700; line-height: 1.55; }
.hit-d { grid-area: d; font-size: 14px; line-height: 1.6; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hit-d[dir="ltr"] { text-align: end; }
.hit-empty { padding: 12px; font-size: 15px; color: var(--muted); }

/* Home */
#v-home { display: grid; gap: 64px; }
#v-home > :not(.home-hero) { box-sizing: border-box; width: 100%; max-width: calc(var(--max) + 40px); margin-inline: auto; padding-inline: 20px; }
.home-hero {
  position: relative; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 85% at 20% 45%, color-mix(in srgb, var(--sky) 24%, transparent), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--paper));
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(color-mix(in srgb, var(--petrol) 32%, transparent) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, transparent 30%, #000 80%); mask-image: linear-gradient(to left, transparent 30%, #000 80%);
}
.hh-in { position: relative; box-sizing: border-box; max-width: calc(var(--max) + 40px); margin: 0 auto; padding: 44px 20px 52px; display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .hh-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; padding-block: 60px 68px; } }
.hh-copy { display: grid; gap: 18px; align-content: center; }
.hh-kicker { justify-self: start; padding: 4px 14px; border-radius: 999px; background: var(--petrol-soft); color: var(--petrol); font-size: 14px; font-weight: 700; }
.hh-copy h1 { font-size: clamp(31px, 6.6vw, 52px); font-weight: 800; line-height: 1.45; }
.hh-lede { max-width: 34em; font-size: clamp(16.5px, 2.1vw, 18.5px); color: var(--ink-2); }
.hero-search {
  position: relative; display: flex; align-items: center; max-width: 580px; padding: 5px;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--petrol) 35%, var(--line)); border-radius: 14px; box-shadow: var(--shadow);
}
.hero-search:focus-within { border-color: var(--petrol); box-shadow: 0 0 0 3px color-mix(in srgb, var(--petrol) 22%, transparent), var(--shadow); }
.hero-search input { flex: 1; min-width: 0; min-height: 46px; padding: 6px 14px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.hs-btn { display: grid; place-items: center; width: 54px; min-height: 46px; flex: none; border: 0; border-radius: 10px; background: var(--petrol); color: var(--on-petrol); cursor: pointer; }
.hs-btn:hover { background: color-mix(in srgb, var(--petrol) 85%, var(--brand)); }
.hs-btn svg { width: 22px; height: 22px; }
.hs-results {
  position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 6; max-height: 380px; overflow-y: auto; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.hh-cta { gap: 12px; }
.hh-art { justify-self: center; width: min(100%, 520px); }
.hh-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .hh-art { max-width: 380px; } }

.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: -30px; }
@media (min-width: 720px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat, .svc-card, .pcard-link {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s;
}
.cat:hover, .svc-card:hover, .pcard-link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--petrol) 45%, var(--line)); }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px 18px; text-align: center; }
.cat-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--petrol-soft); color: var(--petrol); }
.cat-ic svg { width: 28px; height: 28px; }
.cat-t { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--heading); }
.cat-d { font-size: 14px; line-height: 1.7; color: var(--muted); }
.cat-m { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--petrol); }

.band { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .band { grid-template-columns: 270px minmax(0, 1fr); gap: 34px; } }
.band-head { display: grid; gap: 10px; align-content: start; }
.band-title { display: flex; align-items: center; gap: 12px; }
.band-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--petrol-soft); color: var(--petrol); }
.band-ic svg { width: 25px; height: 25px; }
.band-head h2 { font-size: clamp(21px, 3.4vw, 26px); }
.band-head p { color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-weight: 700; text-decoration: none; }
.more svg { width: 18px; height: 18px; }
.more:hover { text-decoration: underline; }

.pcards { display: grid; gap: 16px; }
@media (min-width: 720px) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { display: flex; }
.pcard-link { display: flex; flex-direction: column; width: 100%; overflow: hidden; }
.pcard-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pcard-b { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 18px 18px; }
.pcard-tag { align-self: flex-start; padding: 1px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--petrol-soft); color: var(--petrol); }
.pcard-t { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.65; }
.pcard-s { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.pcard-m { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13.5px; color: var(--muted); }
.pcard-more { margin-inline-start: auto; font-weight: 700; color: var(--petrol); }

.svc { display: grid; gap: 14px; }
@media (min-width: 640px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.svc-card { display: flex; flex-direction: column; gap: 9px; padding: 20px; }
.svc-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--btn); color: var(--on-btn); }
.svc-ic svg { width: 26px; height: 26px; }
.svc-t { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; line-height: 1.55; color: var(--heading); }
.svc-d { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.svc-m { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--petrol); }

.term-band .feature {
  position: relative; overflow: hidden; gap: 6px; padding: 28px 30px; border: 1px solid transparent; border-radius: 22px;
  background: linear-gradient(135deg, #34463d 10%, #4a5f53); color: #ece3d3;
}
.term-band .feature::after {
  content: ""; position: absolute; inset-inline-end: -30px; bottom: -70px; width: 300px; height: 210px; pointer-events: none; opacity: .28;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 180'%3E%3Cg fill='none' stroke='%23e9ddc9' stroke-linecap='round'%3E%3Cpath d='M30 60a100 72 0 0 0 200 0' stroke-width='5' stroke-opacity='.5'/%3E%3Cpath d='M60 52a70 50 0 0 0 140 0' stroke-width='6' stroke-opacity='.75'/%3E%3Cpath d='M90 44a40 28 0 0 0 80 0' stroke-width='7'/%3E%3C/g%3E%3Cg fill='%23e9ddc9'%3E%3Ccircle cx='130' cy='18' r='7'/%3E%3Ccircle cx='118' cy='33' r='7'/%3E%3Ccircle cx='142' cy='33' r='7'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.term-band .feature > * { position: relative; }
@media (max-width: 620px) { .term-band .feature { padding: 24px 22px; } .term-band .feature::after { display: none; } }
.term-band .kicker { color: #e9ddc9; }
.term-band .feat-t { font-size: clamp(24px, 4.4vw, 32px); }
.term-band .feat-t a { color: #ffffff; }
.term-band .term-en { color: #e9ddc9; }
.term-band .feat-d { color: #ece3d3; }
.term-band .more { color: #e9ddc9; }
:root[data-theme="dark"] .term-band .feature { border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .term-band .feature { border-color: var(--line); } }

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(70% 120% at 85% 0%, color-mix(in srgb, var(--sky) 22%, transparent), transparent 70%), linear-gradient(135deg, var(--surface), var(--tint));
}
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stat + .stat { border-inline-start: 1px solid var(--line); } }
.stat { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 26px 12px; text-align: center; }
.stat-ic { color: var(--petrol); margin-bottom: 4px; }
.stat-ic svg { width: 30px; height: 30px; }
.stat-n { font-family: var(--font-display); font-size: clamp(34px, 6vw, 46px); font-weight: 800; line-height: 1.25; color: var(--heading); }
.stat-l { font-size: 15px; font-weight: 600; color: var(--ink-2); }

/* Footer */
.site-foot {
  --mark-bowl: #ffffff; --mark-r1: #c98d6e; --mark-r2: #8a5a42; --mark-dot: #c98d6e; --mark-top: #e9ddc9;
  background: var(--foot-bg); color: var(--foot-ink);
}
.foot-in { box-sizing: border-box; max-width: calc(var(--max) + 40px); margin: 0 auto; padding: 48px 20px 30px; display: grid; gap: 30px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px; } }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.site-foot .brand { color: #ffffff; justify-self: start; }
.site-foot .brand-name em { color: #d9b49c; }
.site-foot .brand-tag { color: #c9b9a0; }
.foot-brand p { max-width: 32em; font-size: 14.5px; line-height: 1.9; }
.foot-col h2 { margin-bottom: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 700; color: #ffffff; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-col a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--foot-ink); text-decoration: none; }
.foot-col a:hover { color: #ffffff; text-decoration: underline; }
.foot-bar {
  box-sizing: border-box; max-width: calc(var(--max) + 40px); margin: 0 auto; padding: 16px 20px 28px;
  display: grid; justify-items: center; text-align: center; gap: 2px;
  border-top: 1px solid rgb(255 255 255 / .12); font-size: 13.5px; color: #c9b9a0;
}
.lang-switch { min-height: 38px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 700; }
.legal-page { max-width: var(--read); }
.legal-page h2 { margin-top: 18px; font-size: 23px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page ul { padding-inline-start: 22px; display: grid; gap: 8px; }
