/* FinTax — fintax.cloud
   One family (Readex Pro, self-hosted) for Arabic and Latin.
   Palette comes from the FinTax logo: its blue, its black, and the deep navy
   of the original campaign artwork. Green is reserved for the "cleared" state. */

@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(../fonts/ReadexPro-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(../fonts/ReadexPro-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(../fonts/ReadexPro-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F3F6F9;
  --surface: #FFFFFF;
  --ink: #0A0B0D;
  --ink-2: #47515E;
  --line: #D8E1E9;
  --blue: #1B94D3;
  --blue-text: #0B6CA3;   /* blue that passes AA on white for small text */
  --navy: #04122B;
  --navy-2: #0A2145;
  --navy-line: #1C3560;
  --on-navy: #E6EEF7;
  --on-navy-2: #9FB2CB;
  --cleared: #138A5A;

  --font: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --slant: 31.6deg;          /* the angle of the planes in the FinTax mark */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 350;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
[lang="ar"] body { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-text); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4em;
  font: inherit; font-weight: 500; font-size: 1rem;
  border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #157FB6; }
.btn-ghost { border-color: rgba(230, 238, 247, .35); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--on-navy); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand svg { height: 34px; width: auto; }
.brand .word { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; direction: ltr; }
.brand .fin { color: var(--blue); }
.site-header .brand .tax, .site-footer .brand .tax { color: #fff; }
.site-header .brand .mark-dark, .site-footer .brand .mark-dark { fill: #fff; }

.nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav a { color: var(--on-navy-2); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav .lang { font-weight: 500; color: var(--on-navy); }
.nav .btn { min-height: 40px; padding: 0 1.1em; font-size: .95rem; color: #fff; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 1.5px solid var(--navy-line); color: #fff; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { margin: auto; }

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; inset: 76px 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-2); border-block: 1px solid var(--navy-line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--navy-line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; min-height: 48px; border: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--on-navy);
  padding: 140px 0 96px;
}
/* the logo's slanted planes, very faint, behind the invoice */
.hero::before {
  content: ""; position: absolute; inset-block: -20% -10%; inset-inline-end: -6%; width: 46%;
  background:
    linear-gradient(var(--navy-2), var(--navy-2)) 0 0 / 100% 100% no-repeat;
  clip-path: polygon(0 26%, 100% 0, 100% 74%, 0 100%);
  opacity: .9;
}
[dir="rtl"] .hero::before { clip-path: polygon(0 0, 100% 26%, 100% 100%, 0 74%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); font-weight: 600; color: #fff; max-width: 18ch; text-wrap: balance; }
.hero .lede { margin-top: 22px; font-size: 1.15rem; color: var(--on-navy-2); max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .assurance { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; list-style: none; font-size: .93rem; color: var(--on-navy-2); }
.hero .assurance li { display: flex; align-items: center; gap: 8px; }
.hero .assurance li::before { content: ""; width: 9px; height: 13px; background: var(--blue); clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%); flex: none; }

/* ---------- invoice demo ---------- */
.demo { position: relative; }
.invoice {
  position: relative;
  background: var(--surface); color: var(--ink);
  border-radius: 6px;
  padding: 26px 28px 52px;
  font-size: .84rem; line-height: 1.45;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  direction: ltr; text-align: left;     /* a Saudi tax invoice is bilingual: EN left, AR right */
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.inv-title { font-size: 1.12rem; font-weight: 600; }
.inv-title span { display: block; font-size: .95rem; font-weight: 500; color: var(--ink-2); direction: rtl; }
.inv-no { text-align: right; color: var(--ink-2); }
.inv-no b { display: block; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.inv-parties dt { color: var(--ink-2); font-size: .76rem; }
.inv-parties dd { margin: 1px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.inv-lines { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; }
.inv-lines th { text-align: left; font-weight: 400; color: var(--ink-2); font-size: .76rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.inv-lines td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.inv-lines .num { text-align: right; }
.inv-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-top: 16px; }
.inv-qr { width: 92px; height: 92px; color: var(--ink); flex: none; }
.inv-qr path { stroke: currentColor; }
.inv-totals { min-width: 190px; font-variant-numeric: tabular-nums; }
.inv-totals div { display: flex; justify-content: space-between; gap: 18px; padding: 3px 0; }
.inv-totals .grand { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 8px; font-weight: 600; font-size: .98rem; }

.stamp {
  position: absolute; right: 236px; bottom: 58px;
  border: 2.5px solid var(--cleared); color: var(--cleared);
  border-radius: 8px; padding: 6px 12px 7px;
  text-align: center; line-height: 1.15; font-weight: 600;
  transform: rotate(-9deg);
  background: rgba(255, 255, 255, .86);
}
.stamp strong { display: block; font-size: 1.15rem; letter-spacing: .12em; }
.stamp small { display: block; font-size: .68rem; font-weight: 500; }

.checks {
  position: relative; z-index: 2; margin: -34px 0 0; margin-inline-start: -28px; width: min(380px, 92%);
  background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 10px;
  padding: 16px 18px; list-style: none;
  font-size: .86rem; color: var(--on-navy);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
}
.checks .checks-title { color: var(--on-navy-2); font-size: .78rem; margin-bottom: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; }
.checks li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.5 2.4 5-5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* The one orchestrated moment: checks pass one by one, then the invoice is cleared. */
@media (prefers-reduced-motion: no-preference) {
  .checks li { opacity: 0; animation: check-in .35s ease-out forwards; }
  .checks li:nth-child(2) { animation-delay: .7s; }
  .checks li:nth-child(3) { animation-delay: 1.15s; }
  .checks li:nth-child(4) { animation-delay: 1.6s; }
  .checks li:nth-child(5) { animation-delay: 2.05s; }
  .checks li:nth-child(6) { animation-delay: 2.5s; }
  .stamp { opacity: 0; animation: stamp .45s cubic-bezier(.2, 1.4, .4, 1) 3.05s forwards; }
}
@keyframes check-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-9deg) scale(1.6); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }

@media (max-width: 980px) {
  .hero { padding: 116px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .demo { max-width: 560px; }
  .checks { margin-inline-start: 16px; }
}
@media (max-width: 520px) {
  .invoice { padding: 18px 16px 50px; font-size: .78rem; }
  .inv-parties { grid-template-columns: 1fr; gap: 8px; }
  .inv-qr { width: 72px; height: 72px; }
  .inv-totals { min-width: 0; flex: 1; }
  .stamp { right: 14px; bottom: auto; top: 250px; }
  .checks { width: auto; margin: -30px 12px 0; }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }

/* integrations: a grid of the systems' own logos, so visitors can spot theirs at a glance */
.systems {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line);
}
.systems li {
  display: grid; place-items: center; min-height: 112px; padding: 18px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line);
}
.systems img { max-width: 100%; height: auto; }
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.lockup img { width: 96px; }
.lockup span { font-weight: 700; font-size: 1rem; line-height: 1; color: #312D2A; text-transform: uppercase; letter-spacing: .04em; }
.systems .yours { color: var(--blue-text); font-weight: 500; font-size: 1.02rem; text-align: center; line-height: 1.35; background: var(--paper); }
.systems-note { margin-top: 22px; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 1020px) {
  .systems { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .systems .yours { grid-column: span 2; }
}
@media (max-width: 560px) {
  .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems li { min-height: 96px; }
}

/* how it works — a real sequence, so it is numbered */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.flow { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-inline-end: 28px; }
.steps .marker { display: flex; align-items: center; height: 44px; margin-bottom: 22px; }
.steps .marker b {
  position: relative; z-index: 2;          /* above the travelling invoice */
  display: grid; place-items: center;
  width: 38px; height: 44px; flex: none;
  background: var(--blue); color: #fff; font-weight: 600;
  clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%);
  transition: background-color .35s, color .35s;
}
.steps li:last-child .marker b { background: var(--cleared); }
.steps .marker::after {
  content: ""; flex: 1; height: 2px; margin-inline-start: 12px;
  background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 0 / 100% 100%, var(--line);
}
[dir="rtl"] .steps .marker::after { background-position: 100% 0, 0 0; }
.steps li:last-child .marker::after { display: none; }
.steps h3 { font-size: 1.2rem; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }

/* the invoice that travels along the flow (only shown when animation runs) */
.packet {
  display: none; position: absolute; top: 0; left: 0; z-index: 1;
  width: 26px; height: 32px; padding: 7px 5px 0;
  background: #fff; border: 2px solid var(--blue); border-radius: 3px; color: var(--blue);
  box-shadow: 0 6px 14px -6px rgba(4, 18, 43, .45);
  flex-direction: column; gap: 3px;
  pointer-events: none; will-change: transform;
}
.packet i { display: block; height: 2px; background: currentColor; border-radius: 1px; }
.packet i:nth-child(2) { width: 70%; }

/* animated states, switched on by js/site.js only when motion is allowed */
.flow.anim .packet { display: flex; opacity: 0; }
.flow.anim .marker b { background: #E3F0F8; color: var(--blue-text); }
.flow.anim .marker::after { background-size: 0% 100%, auto; transition: background-size .5s ease-out; }
.flow.anim.live li .marker b { background: var(--blue); color: #fff; }
.flow.anim.live li:last-child .marker b { background: var(--cleared); }
.flow.anim.live .marker::after { background-size: 100% 100%, auto; }
.flow.anim.live li:nth-child(1) .marker b { transition-delay: 0s; }
.flow.anim.live li:nth-child(1) .marker::after { transition-delay: .15s; }
.flow.anim.live li:nth-child(2) .marker b { transition-delay: .55s; }
.flow.anim.live li:nth-child(2) .marker::after { transition-delay: .7s; }
.flow.anim.live li:nth-child(3) .marker b { transition-delay: 1.1s; }
.flow.anim.live li:nth-child(3) .marker::after { transition-delay: 1.25s; }
.flow.anim.live li:nth-child(4) .marker b { transition-delay: 1.65s; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 38px 1fr; column-gap: 18px; padding: 0 0 28px; }
  .steps .marker { grid-row: span 2; flex-direction: column; height: 100%; margin: 0; }
  .steps .marker::after { width: 2px; height: auto; margin: 10px 0 0; }
  .flow.anim .marker::after { background-size: 100% 0%, auto; }
  .flow.anim.live .marker::after { background-size: 100% 100%, auto; }
  .steps li:last-child .marker::after { display: none; }
}

/* features — a ledger, not a card grid */
.ledger { margin: 0; border-top: 2px solid var(--ink); }
.ledger div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-weight: 500; font-size: 1.15rem; }
.ledger dd { margin: 0; color: var(--ink-2); max-width: 58ch; }
@media (max-width: 700px) { .ledger div { grid-template-columns: 1fr; padding: 18px 0; } }

/* app */
.app { background: #E3F0F8; }
.app .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.app img { width: min(420px, 100%); height: auto; margin-inline: auto; }
.app ul { margin: 22px 0 0; padding: 0; list-style: none; }
.app li { padding: 10px 0; border-bottom: 1px solid #C9DDEA; }
@media (max-width: 820px) { .app .wrap { grid-template-columns: 1fr; } .app img { width: min(320px, 100%); } }

/* book a demo */
.book .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { margin: 28px 0 0; }
.contact-list div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .85rem; color: var(--ink-2); }
.contact-list dd { margin: 2px 0 0; font-size: 1.1rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue-text); text-decoration: underline; }
.contact-list bdi { unicode-bidi: isolate; direction: ltr; }

form.demo-form { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3.5vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.wide { grid-column: 1 / -1; }
.fg label { font-size: .92rem; font-weight: 500; }
.fg label .opt { font-weight: 350; color: var(--ink-2); }
.fg input, .fg textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper);
  padding: 11px 13px; min-height: 48px; width: 100%;
}
.fg textarea { min-height: 120px; resize: vertical; }
.fg input:focus, .fg textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(27, 148, 211, .18); }
.fg.is-err input, .fg.is-err textarea { border-color: #C2362B; }
.fg input[type="tel"], .fg input[type="email"] { direction: ltr; }
[dir="rtl"] .fg input[type="tel"], [dir="rtl"] .fg input[type="email"] { text-align: right; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-foot small { color: var(--ink-2); font-size: .85rem; flex: 1 1 240px; }
.form-msg { grid-column: 1 / -1; display: none; padding: 12px 14px; border-radius: 8px; font-size: .95rem; }
.form-msg.ok { background: #E3F4EC; color: #0C5E3D; }
.form-msg.err { background: #FBE9E7; color: #8E2219; }
@media (max-width: 860px) { .book .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form.demo-form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { margin-top: 14px; max-width: 34ch; }
.site-footer .maker { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
.site-footer .maker span { font-size: .82rem; color: var(--on-navy-2); }
.site-footer .maker img { height: 34px; width: auto; }
.site-footer .maker:hover { text-decoration: none; }
.site-footer .maker:hover img { opacity: .85; }
.foot-grid h2 { font-size: .95rem; font-weight: 500; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; }
.foot-grid li { padding: 4px 0; }
.legal-line { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* WhatsApp shortcut (kept from the original site; WhatsApp is how Saudi customers reach out) */
.wa-float {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 30;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FAF54; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- legal page ---------- */
.page-hero { background: var(--navy); color: var(--on-navy); padding: 132px 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.page-hero p { margin-top: 14px; color: var(--on-navy-2); max-width: 60ch; }
.page-hero a { color: #fff; }
.doc { padding-block: 56px 96px; }
.doc > * { max-width: 720px; }
.doc h2 { font-size: 1.8rem; margin: 48px 0 6px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.15rem; margin: 30px 0 8px; }
.doc p, .doc ol { margin: 0 0 12px; color: #2B333D; }
.doc ol { padding-inline-start: 1.6em; }
.doc li { margin-bottom: 6px; }
.doc .updated { color: var(--ink-2); font-size: .92rem; margin-bottom: 20px; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; background: var(--navy); color: var(--on-navy); text-align: center; padding: 120px var(--gutter) 80px; }
.lost h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.lost p { margin: 16px auto 28px; color: var(--on-navy-2); max-width: 44ch; }
.checks .checks-title::before { display: none; }
