/* Saudi Compliance: site styles */

@font-face { font-family: "Outfit"; src: url(/static/fonts/outfit-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url(/static/fonts/readex-arabic.woff2) format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --ink-950: #0B1514;
  --ink-900: #0E1A19;
  --ink-800: #142423;
  --ink-700: #1F3130;
  --ink-600: #2B4241;
  --ink-500: #3E5856;
  --lime: #BFEF4C;
  --lime-600: #A9D936;
  --paper: #F2F5F3;
  --paper-2: #E6ECE8;
  --line: #CBD6D0;
  --text: #13201F;
  --muted: #4E605B;
  --text-inv: #EEF3EF;
  --muted-inv: #A3B7B0;
  --line-inv: rgba(238, 243, 239, .14);

  --font: "Outfit", "Readex Pro", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(88px, 12vw, 168px);
}
html[lang^="ar"] { --font: "Readex Pro", "Outfit", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 450; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--lime); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible, .paper-2 :focus-visible { outline-color: var(--ink-700); }
html { scrollbar-color: var(--ink-500) var(--ink-900); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: 10px; border: 2px solid var(--ink-900); }

/* Arabic must never be letter-spaced: it breaks the joins. */
html[lang^="ar"] * { letter-spacing: 0 !important; }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { line-height: 1.25; font-weight: 500; }
html[lang^="ar"] body { font-size: 17.5px; line-height: 1.8; }

.sr { position: absolute !important; inset-inline-start: 0; top: 0; margin: 0; padding: 0; border: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink-900); padding: 10px 16px; border-radius: 8px; font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.dark { background: var(--ink-900); color: var(--text-inv); }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }

.display-1 { font-size: clamp(3rem, 8.2vw, 6rem); line-height: .98; letter-spacing: -.035em; font-weight: 400; }
.display-1b { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 400; }
.display-2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 400; }
.display-3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 450; }
html[lang^="ar"] .display-1 { line-height: 1.2; }
html[lang^="ar"] .display-1b, html[lang^="ar"] .display-2 { line-height: 1.3; }
em { font-style: normal; color: var(--lime); }
.paper em, .paper-2 em { color: var(--ink-700); }
.center { text-align: center; margin-inline: auto; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; max-width: 34em; color: var(--muted); }
.dark .lede { color: var(--muted-inv); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: stretch; gap: 0; background: var(--lime); color: var(--ink-900); text-decoration: none; border-radius: 4px; font-weight: 500; font-size: 1rem; line-height: 1; padding: 6px; padding-inline-start: 22px; transition: background .4s var(--ease), box-shadow .4s var(--ease); box-shadow: 0 0 0 0 rgba(191, 239, 76, 0); }
.btn-label { align-self: center; padding-inline-end: 18px; padding-block: 12px; }
.btn-tile { position: relative; width: 40px; height: 40px; border-radius: 3px; background: var(--ink-800); color: var(--lime); overflow: hidden; flex: none; }
.btn-arr { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .55s var(--ease); }
.btn-arr .ic { width: 18px; height: 18px; }
.btn-arr-2 { transform: translate(-130%, 130%); }
.btn:hover { background: #CDF56A; box-shadow: 0 10px 30px -12px rgba(191, 239, 76, .55); }
.btn:hover .btn-arr:not(.btn-arr-2) { transform: translate(130%, -130%); }
.btn:hover .btn-arr-2 { transform: translate(0, 0); }
[dir="rtl"] .btn-arr .ic { transform: scaleX(-1); }
[dir="rtl"] .btn-arr-2 { transform: translate(130%, 130%); }
[dir="rtl"] .btn:hover .btn-arr:not(.btn-arr-2) { transform: translate(-130%, -130%); }
.btn-ghost { background: transparent; color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -16px rgba(14, 26, 25, .35); }
.btn-ghost .btn-tile { background: var(--ink-700); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.link-arrow:hover .ic { transform: translate(3px, -3px); }
[dir="rtl"] .link-arrow .ic { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translate(3px, -3px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--text-inv); transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.nav.solid { background: rgba(11, 21, 20, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-inv); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 36px; height: 36px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: "Outfit", sans-serif; font-weight: 500; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-sub { font-size: .74rem; color: var(--muted-inv); }
.nav-links { display: flex; gap: 30px; font-size: .95rem; }
.nav-links a { text-decoration: none; opacity: .85; position: relative; padding-block: 6px; transition: opacity .3s; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
[dir="rtl"] .nav-links a::after { transform-origin: left; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .nav-links a:hover::after, [dir="rtl"] .nav-links a[aria-current]::after { transform-origin: right; }
.nav-end { display: flex; align-items: center; gap: 18px; }
.lang { font-size: .92rem; text-decoration: none; opacity: .85; }
.lang:hover { opacity: 1; text-decoration: underline; }
.nav-cta { font-size: .92rem; text-decoration: none; padding: 11px 18px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(238, 243, 239, .3); transition: background .35s, color .35s, box-shadow .35s; }
.nav-cta:hover { background: var(--lime); color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--lime); }
.burger { display: none; width: 44px; height: 44px; place-items: center; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(238, 243, 239, .3); }
.burger .ic { width: 22px; height: 22px; }
.menu { background: var(--ink-950); border-top: 1px solid var(--line-inv); padding: 20px 0 32px; }
.menu .wrap { padding-block: 4px; }
.menu nav { display: grid; gap: 4px; margin-bottom: 24px; }
.menu nav a { font-size: 1.6rem; text-decoration: none; padding-block: 8px; border-bottom: 1px solid var(--line-inv); }
@media (max-width: 1080px) { .nav-links { display: none; } .burger { display: grid; } }
@media (max-width: 640px) { .nav-cta, .nav-end > .lang { display: none; } .brand-sub { display: none; } }

/* ---------- Motion primitives ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split[data-split-ready] .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms + var(--sd, 0s)); }
.js .split.in .w > span { transform: none; }
.js .rise { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rise.in { opacity: 1; transform: none; filter: none; }
.js .clip-in { clip-path: inset(12% 10% 12% 10% round var(--r)); transition: clip-path 1.4s var(--ease); }
.js .clip-in img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .clip-in.in { clip-path: inset(0 0 0 0 round var(--r)); }
.js .clip-in.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .js .split[data-split-ready] .w > span, .js .rise, .js .clip-in, .js .clip-in img { transform: none !important; opacity: 1 !important; filter: none !important; clip-path: none !important; transition: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, var(--ink-900), transparent); z-index: -1; }
.hero-in { display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(130px, 18vh, 190px); padding-bottom: clamp(32px, 6vh, 64px); gap: 48px; }
.hero h1 { max-width: none; }
.hero h1 em { white-space: nowrap; }
.hero-foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero-copy { display: grid; gap: 30px; }
.hero-copy .lede { color: var(--text-inv); font-size: clamp(1.1rem, 1.5vw, 1.35rem); max-width: 30em; }
.hero-card { margin: 0; width: clamp(240px, 26vw, 360px); aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; position: relative; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-card:hover img { transform: scale(1.06); }
.hero-card figcaption { position: absolute; inset: auto 0 0; display: grid; padding: 18px; background: linear-gradient(to top, rgba(11, 21, 20, .85), transparent); font-size: .85rem; line-height: 1.35; }
.hero-card strong { font-weight: 500; font-size: 1rem; }
.hero-card span { color: var(--muted-inv); }
@media (max-width: 760px) { .hero-foot { grid-template-columns: 1fr; } .hero-card { width: 100%; } }

/* ---------- Marquees ---------- */
.band { border-block: 1px solid var(--line-inv); }
.marquee { overflow: hidden; --dur: 46s; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; width: max-content; animation: marq var(--dur) linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { display: flex; align-items: center; gap: 40px; padding-inline-end: 40px; white-space: nowrap; padding-block: 26px; font-size: 1.05rem; color: var(--muted-inv); }
.marquee li::after { content: ""; width: 7px; height: 7px; background: var(--ink-500); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee ul { animation-name: marq-rtl; }
@keyframes marq-rtl { to { transform: translateX(50%); } }
.marquee-big { --dur: 34s; }
.marquee-big li { font-size: clamp(3rem, 8vw, 7rem); color: var(--ink-700); padding-block: clamp(36px, 6vw, 80px); gap: clamp(28px, 5vw, 72px); padding-inline-end: clamp(28px, 5vw, 72px); letter-spacing: -.035em; }
.marquee-big li::after { width: .16em; height: .16em; border-radius: 50%; background: var(--ink-700); }
@media (prefers-reduced-motion: reduce) { .marquee ul { animation-duration: calc(var(--dur) * 4); } }

/* ---------- Statement ---------- */
.statement { padding-block: var(--sec); }
.stmt-in { display: grid; gap: 48px; max-width: 1180px; }
.stmt { font-size: clamp(1.7rem, 3.5vw, 3rem); line-height: 1.22; letter-spacing: -.025em; font-weight: 400; text-indent: 3em; }
html[lang^="ar"] .stmt { line-height: 1.6; text-indent: 2em; }
.stmt .fw { color: #B8C6C0; transition: color .4s linear; }
.stmt .fw.on { color: var(--text); }
.stmt .num { color: var(--ink-700); font-variant-numeric: tabular-nums; }
.stmt .num.on, .stmt .fw.on .num { color: var(--ink-700); }
.stmt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.src { font-size: .85rem; color: var(--muted); }

/* ---------- Services carousel ---------- */
.services { padding-block: var(--sec) calc(var(--sec) * .7); overflow: hidden; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.sec-head h2 { max-width: 14ch; }
.car-ctrl { display: flex; gap: 10px; flex: none; }
.car-ctrl button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 25, .08), 0 8px 24px -14px rgba(14, 26, 25, .3); transition: background .3s, transform .3s var(--ease); }
.car-ctrl button:hover { background: var(--ink-700); color: var(--lime); transform: translateY(-2px); }
.car-ctrl .ic { width: 20px; height: 20px; }
[dir="rtl"] .car-ctrl .ic { transform: scaleX(-1); }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-bottom: 8px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.svc { flex: 0 0 clamp(280px, 30vw, 420px); scroll-snap-align: start; }
.svc a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; color: var(--text-inv); text-decoration: none; isolation: isolate; }
.svc-img, .svc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-img img { transition: transform 1.1s var(--ease); }
.svc a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11, 21, 20, .92) 0%, rgba(11, 21, 20, .35) 45%, rgba(11, 21, 20, 0) 70%); transition: opacity .6s; }
.svc-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 28px; display: grid; gap: 10px; }
.svc-t { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.1; }
.svc-d { color: #CFDCD7; font-size: .97rem; line-height: 1.5; max-width: 30ch; }
.svc-go { position: absolute; z-index: 2; top: 22px; inset-inline-end: 22px; width: 46px; height: 46px; border-radius: 4px; background: var(--lime); color: var(--ink-900); display: grid; place-items: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.svc-go .ic { width: 20px; height: 20px; }
[dir="rtl"] .svc-go .ic { transform: scaleX(-1); }
.svc a:hover .svc-img img, .svc a:focus-visible .svc-img img { transform: scale(1.07); }
.svc a:hover .svc-go, .svc a:focus-visible .svc-go { transform: none; opacity: 1; }
.sec-foot { display: flex; align-items: center; gap: 24px; margin-top: 44px; color: var(--muted); }
.sec-foot p { max-width: 22ch; }
.sec-foot .rule { flex: 1; height: 1px; background: var(--line); }
.sec-foot .link-arrow { color: var(--text); flex: none; }

/* ---------- Principles ---------- */
.principles { padding-block: var(--sec); }
.pr-head { display: grid; justify-items: center; text-align: center; gap: 22px; margin-bottom: 64px; }
.pr-head h2 { max-width: 16ch; }
.pr-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-inv); }
.pr-list li { padding: 36px 0; padding-inline-end: 48px; border-bottom: 1px solid var(--line-inv); display: grid; gap: 12px; position: relative; }
.pr-list li:nth-child(even) { padding-inline: 48px 0; border-inline-start: 1px solid var(--line-inv); }
.pr-list h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); display: flex; gap: 14px; align-items: baseline; }
.pr-list h3::before { content: ""; width: 9px; height: 9px; background: var(--muted-inv); flex: none; transform: translateY(-.15em); }
.pr-list p { color: var(--muted-inv); max-width: 46ch; }
@media (max-width: 820px) { .pr-list { grid-template-columns: 1fr; } .pr-list li, .pr-list li:nth-child(even) { padding-inline: 0; border-inline-start: 0; } }
.wide { margin: 72px 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; }
.wide-img { height: 130%; margin-top: -15%; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .wide { aspect-ratio: 4 / 3; } }

/* ---------- Licences ---------- */
.licences { padding-block: var(--sec); }
.licences h2 { max-width: 16ch; margin-bottom: 56px; }
.lic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lic a { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; color: var(--text-inv); text-decoration: none; isolation: isolate; }
.lic-img, .lic-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lic-img img { transition: transform 1.2s var(--ease), filter .8s; }
.lic a::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11, 21, 20, .9), rgba(11, 21, 20, .15) 60%, rgba(11, 21, 20, .3)); }
.tag { position: absolute; z-index: 2; top: 20px; inset-inline-start: 20px; font-size: .78rem; padding: 6px 12px; border-radius: 99px; background: rgba(238, 243, 239, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text-inv); }
.lic-t { position: absolute; z-index: 2; inset-inline: 28px; bottom: 58px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.025em; line-height: 1.1; }
.lic-f { position: absolute; z-index: 2; inset-inline: 28px; bottom: 26px; font-size: .92rem; color: #CFDCD7; display: flex; align-items: center; gap: 10px; }
.lic-f::before { content: ""; width: 6px; height: 6px; background: #CFDCD7; }
.lic a:hover .lic-img img, .lic a:focus-visible .lic-img img { transform: scale(1.06); }
.center-row { display: flex; justify-content: center; margin-top: 52px; }
@media (max-width: 760px) { .lic-grid { grid-template-columns: 1fr; } .lic a { aspect-ratio: 4 / 3.4; } }

/* ---------- Sticky steps ---------- */
.steps { padding-block: 0 var(--sec); }
.st-head { display: grid; gap: 20px; margin-bottom: 64px; max-width: 760px; }
.st-grid { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.st-thread { position: absolute; inset-block: 0; inset-inline-start: 0; width: 1px; background: var(--line); }
.st-thread span { position: absolute; inset: 0 0 auto; height: var(--p, 0%); background: var(--ink-700); transition: height .2s linear; }
.st-thread span::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--ink-700); }
.st-nav { position: sticky; top: 130px; display: grid; gap: 16px; }
.st-nav a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: #64746F; transition: color .5s var(--ease); }
.st-nav a::before { content: ""; width: 9px; height: 9px; background: currentColor; transition: background .5s, transform .5s var(--ease); }
.st-nav a.on { color: var(--text); }
.st-nav a.on::before { background: var(--lime); transform: scale(1.35); box-shadow: 0 0 0 1px var(--ink-700); }
.st-panels { position: relative; display: grid; gap: clamp(64px, 9vw, 120px); padding-inline-start: clamp(28px, 4vw, 52px); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: 0; inset-inline-start: calc(-1 * clamp(28px, 4vw, 52px) - 4px); width: 9px; height: 9px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink-500); transition: background .5s, box-shadow .5s; }
.step.on::before, .step.past::before { background: var(--ink-700); box-shadow: none; }
.step.on::before { background: var(--lime); box-shadow: 0 0 0 1px var(--ink-700); }
.step { display: grid; gap: 18px; }
.step-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9.5; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 10px; }
.step h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.step h3 a:hover { background-size: 100% 1px; }
.step p { color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
@media (max-width: 820px) { .st-grid { grid-template-columns: 1fr; } .st-nav { display: none; } }

/* ---------- Why: pinned heading, cards drifting past ---------- */
.why { position: relative; }
.why-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding-inline: var(--gutter); }
.why-center { display: grid; justify-items: center; text-align: center; gap: 24px; max-width: 760px; }
.why-center .lede { text-align: center; }
.float-cards { position: relative; margin-top: -18svh; padding-bottom: 30svh; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34svh 0; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); pointer-events: none; }
.float-card { pointer-events: auto; align-self: start; align-content: start; width: min(340px, 92%); padding: 30px; border-radius: var(--r); background: var(--ink-700); color: var(--text-inv); display: grid; gap: 14px; box-shadow: 0 40px 80px -40px rgba(11, 21, 20, .65), 0 2px 6px rgba(11, 21, 20, .2); will-change: transform; }
.float-card:nth-child(odd) { justify-self: start; }
.float-card:nth-child(even) { justify-self: end; margin-top: 22svh; }
.float-card h3 { font-size: 1.45rem; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid rgba(238, 243, 239, .14); }
.float-card p { color: #C2D1CB; font-size: .98rem; }
@media (max-width: 760px) {
  .why-sticky { position: relative; height: auto; padding-block: var(--sec) 40px; }
  .float-cards { margin-top: 0; padding-bottom: var(--sec); grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); margin-inline: var(--gutter); padding-inline: 0; }
  .float-card, .float-card:nth-child(even) { justify-self: stretch; width: auto; margin-top: 0; transform: none !important; background: none; color: var(--text); box-shadow: none; border-radius: 0; padding: 24px 0; border-bottom: 1px solid var(--line); gap: 8px; }
  .float-card h3 { border: 0; padding: 0; font-size: 1.3rem; }
  .float-card p { color: var(--muted); }
}

/* ---------- Compare + numbers ---------- */
.compare { padding-block: var(--sec); }
.compare h2 { max-width: 18ch; margin-bottom: 56px; }
.cmp { display: grid; gap: 20px; max-width: 980px; margin-inline: auto; }
.cmp-them, .cmp-us { border-radius: var(--r); padding: clamp(26px, 4vw, 44px); }
.cmp-them { background: var(--ink-800); }
.cmp-them h3 { color: var(--muted-inv); font-size: 1.35rem; margin-bottom: 22px; }
.cmp-them li { color: #8EA39C; }
.cmp-them .ic { color: #6E847D; }
.cmp-us { background: var(--ink-700); box-shadow: inset 0 0 0 1px rgba(191, 239, 76, .25); }
.cmp-us h3 { font-size: 1.6rem; }
.cmp-us > p { color: var(--muted-inv); margin: 8px 0 24px; }
.cmp ul { display: grid; gap: 14px; }
.cmp li { display: flex; gap: 14px; align-items: flex-start; }
.cmp li .ic { width: 20px; height: 20px; flex: none; margin-top: .2em; }
.cmp-us .ic { color: var(--text-inv); }
.compare .nums-h { max-width: none; margin-inline: auto; }
.nums-h { color: var(--text-inv); text-align: center; margin: 120px 0 40px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-inv); }
.nums li { padding: 32px 24px 8px; display: grid; gap: 10px; align-content: start; border-inline-start: 1px solid var(--line-inv); }
.nums li:first-child { border-inline-start: 0; }
.big { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--text-inv); }
.nl { color: var(--text-inv); max-width: 22ch; }
.ns { font-size: .8rem; color: var(--muted-inv); }
@media (max-width: 860px) { .nums { grid-template-columns: repeat(2, 1fr); } .nums li:nth-child(3) { border-inline-start: 0; } }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--sec); }
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-in h2 { position: sticky; top: 130px; }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; } .faq-in h2 { position: static; } }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: var(--paper-2); transition: transform .5s var(--ease), background .3s; }
.qa[open] summary .ic { transform: rotate(45deg); background: var(--lime); }
.qa-a { overflow: hidden; }
.qa-a p { padding-bottom: 26px; color: var(--muted); max-width: 62ch; }
.qa-a a { color: var(--text); font-weight: 500; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow: hidden; transition: block-size .6s var(--ease), content-visibility .6s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(110px, 16vw, 200px); }
.cta-in { display: grid; justify-items: center; text-align: center; gap: 28px; }
.cta-in .lede { text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: var(--text-inv); padding-top: 96px; overflow: hidden; }
.f-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-inv); }
.f-about { display: grid; gap: 22px; align-content: start; }
.f-about p { color: var(--muted-inv); max-width: 34ch; }
.f-about address { font-style: normal; color: var(--muted-inv); line-height: 1.8; }
.f-about address a { color: var(--text-inv); }
.f-h { font-size: .85rem; color: var(--muted-inv); font-weight: 450; letter-spacing: 0; margin-bottom: 16px; }
.f-col li { margin-bottom: 10px; }
.f-col a { text-decoration: none; opacity: .9; }
.f-col a:hover { opacity: 1; text-decoration: underline; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; font-size: .88rem; color: var(--muted-inv); }
.f-word { font-family: "Outfit", sans-serif; font-size: clamp(3.6rem, 13.5vw, 13rem); line-height: .78; letter-spacing: -.05em !important; color: var(--ink-800); white-space: nowrap; text-align: center; margin: 10px 0 0; user-select: none; direction: ltr; }
@media (max-width: 900px) { .f-top { grid-template-columns: 1fr 1fr; } .f-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .f-top { grid-template-columns: 1fr; } }
.wa { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; background: var(--lime); color: var(--ink-900); padding: 12px 18px; border-radius: 99px; text-decoration: none; font-weight: 500; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }

/* ---------- Inner pages ---------- */
.hero-inner { min-height: auto; }
.hero-inner::after { height: 30%; }
.hi-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(130px, 16vh, 170px); padding-bottom: clamp(56px, 8vw, 96px); }
.hi-copy { display: grid; gap: 26px; justify-items: start; }
.hi-copy .lede { color: #C9D7D1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted-inv); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text-inv); text-decoration: underline; }
.hi-img { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.6; max-height: 520px; }
.hi-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hi-in { grid-template-columns: 1fr; } .hi-img { aspect-ratio: 16 / 10; } }
.nf .hi-in { grid-template-columns: 1fr; min-height: 80svh; align-items: center; }

.tracker { background: var(--ink-800); color: var(--muted-inv); border-top: 1px solid var(--line-inv); }
.tracker ol { display: grid; grid-template-columns: repeat(5, 1fr); }
.tracker li { position: relative; }
.tracker a { display: flex; align-items: center; gap: 10px; padding: 18px 0; text-decoration: none; font-size: .92rem; }
.tracker li::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--line-inv); }
.tracker li.done::before, .tracker li.on::before { background: var(--lime); }
.tracker .tr-dot { width: 8px; height: 8px; background: currentColor; flex: none; }
.tracker li.on a { color: var(--text-inv); }
.tracker li.on .tr-dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(191, 239, 76, .2); }
.tracker a:hover { color: var(--text-inv); }
@media (max-width: 640px) { .tracker a { font-size: .74rem; gap: 6px; } .tracker .tr-dot { display: none; } }

.article-wrap { padding-block: clamp(64px, 9vw, 120px); }
.art { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.art-solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.toc { position: sticky; top: 120px; }
.toc-h { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.toc ol { display: grid; gap: 12px; }
.toc a { display: flex; gap: 12px; align-items: baseline; text-decoration: none; color: #64746F; line-height: 1.35; transition: color .4s var(--ease); }
.toc a::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; transform: translateY(-.1em); transition: background .4s, box-shadow .4s; }
.toc a.on, .toc a:hover { color: var(--text); }
.toc a.on::before { background: var(--ink-700); box-shadow: 0 0 0 3px rgba(191, 239, 76, .8); }
@media (max-width: 900px) { .art { grid-template-columns: 1fr; } .toc { display: none; } }

.prose { max-width: 760px; display: grid; gap: 64px; }
.prose .blk { display: grid; gap: 20px; }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 450; margin-bottom: 4px; }
.prose p { color: #33433F; font-size: 1.06rem; max-width: 68ch; }
.prose a { color: var(--ink-700); font-weight: 500; }
.prose a:hover { text-decoration-thickness: 2px; }
.sq { display: grid; gap: 12px; }
.sq li { display: flex; gap: 14px; align-items: baseline; color: #33433F; }
.sq li::before { content: ""; width: 7px; height: 7px; background: var(--ink-700); flex: none; transform: translateY(-.1em); }
.stepped { counter-reset: st; display: grid; gap: 0; border-top: 1px solid var(--line); }
.stepped li { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; row-gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.stepped li::before { content: counter(st, decimal-leading-zero); grid-row: span 2; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .2em; }
.stepped h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.stepped p { color: var(--muted) !important; }
.stepped.small li { grid-template-columns: 40px 1fr; padding: 16px 0; }
.stepped.small li::before { grid-row: auto; }
.tbl { overflow-x: auto; border-radius: var(--r); background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 25, .06), 0 18px 40px -28px rgba(14, 26, 25, .35); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
th, td { text-align: start; padding: 16px 20px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
thead th { background: var(--ink-700); color: var(--text-inv); font-weight: 450; font-size: .88rem; }
tbody th { font-weight: 450; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: #F7FAF5; }
td { color: #33433F; font-variant-numeric: tabular-nums; }
.note { font-size: .9rem !important; color: var(--muted) !important; }
.callout { background: var(--ink-700); color: var(--text-inv); border-radius: var(--r); padding: 30px 32px; display: grid; gap: 10px; position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; height: 100%; background: radial-gradient(120% 140% at 100% 0%, rgba(191, 239, 76, .14), transparent 55%); pointer-events: none; }
.callout-t { font-size: 1.2rem; font-weight: 500; color: var(--lime) !important; }
.callout p { color: #D3E0DA !important; }
.callout a { color: var(--lime) !important; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.mini-cards a { display: grid; gap: 10px; text-decoration: none; color: var(--text) !important; font-weight: 400 !important; }
.mc-img { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mini-cards a:hover .mc-img img { transform: scale(1.06); }
.mc-t { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; margin-top: 6px; }
.mc-d { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.sources { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 14px; }
.sources h2 { font-size: 1rem !important; letter-spacing: 0; color: var(--muted); }
.sources ul { display: grid; gap: 8px; }
.sources a { font-weight: 400 !important; font-size: .95rem; }
.reviewed, .disclaimer { font-size: .88rem !important; color: var(--muted) !important; }
.prose > .reviewed { margin-top: -40px; }
.prose > .disclaimer { margin-top: -56px; }
.related { padding-block: clamp(64px, 9vw, 120px); }
.related h2 { margin-bottom: 36px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; background: #fff; padding: clamp(24px, 4vw, 44px); border-radius: var(--r); box-shadow: 0 1px 2px rgba(14, 26, 25, .06), 0 24px 50px -32px rgba(14, 26, 25, .4); }
.form label { display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1px solid transparent; border-radius: 6px; padding: 14px 16px; transition: border-color .3s, background .3s, box-shadow .3s; caret-color: var(--ink-700); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--line); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; background: #fff; border-color: var(--ink-700); box-shadow: 0 0 0 4px rgba(191, 239, 76, .45); }
.form input:user-invalid, .form textarea:user-invalid { border-color: #B4442F; }
.form textarea { resize: vertical; min-height: 140px; }
.consent { font-size: .86rem; color: var(--muted); }
.consent a { color: var(--ink-700); }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form-msg { font-size: .95rem; }
.form-msg.ok { color: #2F6B1E; }
.form-msg.err { color: #B4442F; }
.contact-aside { display: grid; gap: 26px; }
.addr { color: var(--muted); line-height: 1.8; }
.addr a { color: var(--text); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form { grid-template-columns: minmax(0, 1fr); } }
.ph { unicode-bidi: isolate; text-align: start; display: block; margin-top: 8px; padding: 6px 10px; border: 1px dashed #C9A227; color: #C9A227; font-size: .82rem; border-radius: 4px; }
.contact-aside .ph { color: #8A6A00; border-color: #8A6A00; }

/* ---------- Insights ---------- */
.ins-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 24px; }
.mc-meta { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.post { gap: 22px; }
.post > h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 40px; }
.post > h3 { font-size: 1.3rem; margin-top: 14px; letter-spacing: -.015em; }
.post > p { font-size: 1.08rem; line-height: 1.7; }
.post .num { counter-reset: n; display: grid; gap: 12px; }
.post .num li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; color: #33433F; }
.post .num li::before { content: counter(n) "."; color: var(--muted); font-variant-numeric: tabular-nums; }
.post strong { font-weight: 550; color: var(--text); }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .88rem !important; color: var(--muted) !important; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.alt-lang { font-size: .95rem !important; }
.art-cta { margin-top: 30px; }
.art-cta a { font-size: 1.05rem; }
