/*
 * fahemny.app marketing site.
 * Colours and fonts come from the brand board on the design canvas and mobile/src/theme.ts.
 * Logical properties (inline-start/end) keep one stylesheet working for Arabic (RTL) and English (LTR).
 */

@font-face { font-family: "Baloo Bhaijaan 2"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/baloo-bhaijaan-2-arabic-800-normal.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: "Baloo Bhaijaan 2"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/baloo-bhaijaan-2-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-400-normal.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: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-600-normal.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: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-arabic-700-normal.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: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --brand: #2447C7;
  --brand-raised: #3B5FE0;
  --brand-deep: #1A3496;
  --button: #2F5BEA;
  --button-shadow: #1E3FB3;
  --orange: #FFB347;
  --orange-shadow: #C67A12;
  --orange-soft: #FFF1E0;
  --orange-text: #A84A00;
  --ink: #1B1F3B;
  --muted: #555B75;
  --ground: #F4F6FA;
  --card: #FFFFFF;
  --line: #D5DBEA;
  --track: #E3E7F2;
  --blue-chip: #E8F0FF;
  --blue-soft: #EEF2FF;
  --blue-ring: #C9D5FB;
  --blue-text: #1E3FB3;
  --green: #17805A;
  --green-text: #0F6B49;
  --green-soft: #E5F5EE;
  --red-text: #A32727;
  --red-soft: #FDECEC;
  --exam-soft: #FFF8E1;
  --exam-text: #7A5200;
  --on-brand-soft: #E8F0FF;

  --font-head: "Baloo Bhaijaan 2", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-lg: 28px;
  --r-xl: clamp(28px, 4vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(en) body, body:lang(en) { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; margin: 0; line-height: 1.2; letter-spacing: 0; }
:lang(en) h1, :lang(en) h2, :lang(en) h3 { letter-spacing: -0.01em; line-height: 1.1; }
p { margin: 0; }
a { color: var(--button); }
a:hover { color: var(--button-shadow); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(244 246 250 / 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; padding-top: 6px; }
:lang(en) .brand span { padding-top: 2px; font-size: 26px; }
/* Links sit right after the logo (on the right in Arabic, the left in English); the language switch goes to the far end. */
.nav { flex: 1; display: flex; align-items: center; gap: 4px; margin-inline-start: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--card); color: var(--ink); }
.nav .lang { border: 2px solid var(--line); margin-inline-start: auto; font-weight: 700; }
.nav .lang:hover { border-color: var(--blue-ring); }
@media (max-width: 760px) { .nav .section-link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 18px; border: 0;
  font: 700 17px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(3px); }
.btn-orange { background: var(--orange); color: var(--ink); box-shadow: 0 4px 0 var(--orange-shadow); }
.btn-orange:hover { color: var(--ink); }
.btn-orange:active { box-shadow: 0 1px 0 var(--orange-shadow); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgb(255 255 255 / .7); }
.btn-ghost:hover { color: #fff; background: rgb(255 255 255 / .08); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */
.hero-shell { padding-top: 8px; }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand); color: #fff;
  border-radius: var(--r-xl);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 32px;
  padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px) 0;
}
.hero::before {
  /* the logo's curve, drawn huge and faint behind the copy */
  content: ""; position: absolute; z-index: -1; inset-inline-end: -8%; top: -18%; width: 70%; aspect-ratio: 1;
  background: url("/img/curve.svg") center / contain no-repeat; opacity: .12;
}
.hero-copy { padding-bottom: clamp(36px, 6vw, 80px); display: flex; flex-direction: column; gap: 22px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-raised); color: #fff; border-radius: 999px; padding: 6px 16px 6px 14px;
  font-size: 14px; font-weight: 700;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); line-height: 1.08; }
:lang(en) .hero h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); font-weight: 600; color: var(--on-brand-soft); max-width: 34ch; line-height: 1.7; }
:lang(en) .hero .lead { line-height: 1.55; max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: var(--on-brand-soft); }
.store {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: 12px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); color: #fff;
}
.store svg { width: 18px; height: 18px; }

/* Phone mock-up (pure HTML/CSS: no screenshots to keep in sync) */
.hero-visual { position: relative; align-self: end; display: flex; justify-content: center; }
.phone {
  width: min(360px, 100%); background: var(--ink); border-radius: 48px 48px 0 0; padding: 12px 12px 0;
  box-shadow: 0 40px 80px -20px rgb(10 20 70 / .55);
}
.screen {
  background: var(--ground); color: var(--ink); border-radius: 38px 38px 0 0; padding: 22px 16px 26px;
  display: flex; flex-direction: column; gap: 12px; direction: rtl; text-align: right; font-family: var(--font-body);
  line-height: 1.6;
}
.screen-top { display: flex; align-items: center; gap: 10px; }
.screen-top .bar { flex: 1; height: 10px; border-radius: 999px; background: var(--track); overflow: hidden; }
.screen-top .bar i { display: block; height: 100%; width: 42%; background: var(--button); border-radius: 999px; }
.screen-top .x { width: 28px; height: 28px; color: var(--muted); }
.tag { align-self: flex-start; background: var(--blue-chip); color: var(--blue-text); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.q { font-size: 17px; font-weight: 700; line-height: 1.6; }
.opt { display: flex; align-items: center; gap: 10px; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 9px 12px; font-size: 14px; font-weight: 600; }
.opt b { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--ground); display: grid; place-items: center; font-size: 13px; }
.opt.wrong { background: var(--red-soft); border-color: #F2B8B8; }
.opt.wrong b { background: #F6C9C9; color: var(--red-text); }
.opt.right { background: var(--green-soft); border-color: #BFE3D3; }
.opt.right b { background: #BFE3D3; color: var(--green-text); }
.explain { background: var(--card); border-radius: 18px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; line-height: 1.75; display: flex; flex-direction: column; gap: 4px; }
.explain .h { color: var(--red-text); font-weight: 700; font-size: 13px; }
.explain .ref { color: var(--muted); font-size: 12px; font-weight: 600; }
.loop-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--orange-soft); color: var(--orange-text); border-radius: 16px; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.pips { display: flex; gap: 5px; }
.pips i { width: 22px; height: 8px; border-radius: 999px; background: #F4D6B4; }
.pips i.on { background: var(--orange-text); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--blue-text); background: var(--blue-chip); border-radius: 999px; padding: 4px 14px; margin-bottom: 16px; }
.section h2 { font-size: clamp(34px, 4.6vw, 54px); max-width: 18ch; }
.section .sub { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 56ch; }

/* The loop */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--card); border-radius: var(--r-lg); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 24px; font-weight: 800; padding-top: 4px;
  background: var(--blue-soft); color: var(--blue-text); box-shadow: 0 0 0 4px var(--blue-chip);
}
:lang(en) .step .num { padding-top: 2px; }
.step:nth-child(2) .num { background: var(--red-soft); color: var(--red-text); box-shadow: 0 0 0 4px #FBE0E0; }
.step:nth-child(3) .num { background: var(--orange-soft); color: var(--orange-text); box-shadow: 0 0 0 4px #FFE6C7; }
.step:nth-child(4) .num { background: var(--green-soft); color: var(--green-text); box-shadow: 0 0 0 4px #D3EEE2; }
.step h3 { font-size: 23px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 16px; }
.loop-note { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: 15px; font-weight: 600; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days span { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 2px 10px; font-weight: 700; color: var(--ink); font-size: 14px; }

/* Features (bento) */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--card); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.tile h3 { font-size: 25px; }
.tile p { color: var(--muted); font-size: 16px; }
.tile .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-chip); color: var(--blue-text); margin-bottom: 6px; }
.tile .ico svg { width: 26px; height: 26px; }
.t-book { grid-column: span 3; }
.t-exam { grid-column: span 3; background: var(--exam-soft); }
.t-exam .ico { background: #FFEDB8; color: var(--exam-text); }
.t-types { grid-column: span 4; }
.t-mist { grid-column: span 2; background: var(--orange-soft); }
.t-mist .ico { background: #FFE0BD; color: var(--orange-text); }
.t-mist .big { font-family: var(--font-head); font-size: 64px; line-height: 1; color: var(--orange-text); margin-top: auto; padding-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { background: var(--ground); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; }
.mini-ref { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 12px; }
.mini-ref .page { flex: none; width: 54px; height: 68px; border-radius: 8px; background: var(--ground); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-size: 22px; color: var(--blue-text); padding-top: 4px; }
.mini-ref span { font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.6; }
.exam-line { margin-top: auto; background: #fff; border: 1px dashed #E3CF8F; border-radius: 16px; padding: 12px 16px; font-size: 15px; font-weight: 600; line-height: 1.7; color: var(--ink); direction: rtl; text-align: right; }
.exam-line b { display: block; color: var(--exam-text); font-size: 13px; }

/* Trust band */
.trust { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.trust .eyebrow { background: rgb(255 255 255 / .1); color: #fff; }
.trust h2 { font-size: clamp(32px, 4.2vw, 50px); }
.trust .sub { color: #C9CDE0; font-size: 18px; margin-top: 14px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust li { display: flex; gap: 16px; align-items: flex-start; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: 22px; padding: 18px 20px; }
.trust li svg { flex: none; width: 26px; height: 26px; color: var(--orange); margin-top: 3px; }
.trust li b { display: block; font-size: 18px; }
.trust li span { color: #C9CDE0; font-size: 15.5px; }

/* Roadmap */
.roadmap { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage { background: var(--card); border-radius: var(--r-lg); padding: 24px 26px; border: 2px solid transparent; display: flex; flex-direction: column; gap: 6px; }
.stage.now { border-color: var(--button); }
.stage small { font-size: 13px; font-weight: 700; color: var(--muted); }
.stage.now small { color: var(--button); }
.stage b { font-size: 20px; line-height: 1.5; }
.stage span { color: var(--muted); font-size: 15px; }

/* Closing CTA */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand); color: #fff; border-radius: var(--r-xl);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 72px); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta::before { content: ""; position: absolute; z-index: -1; inset-inline-start: -10%; bottom: -40%; width: 55%; aspect-ratio: 1; background: url("/img/curve.svg") center / contain no-repeat; opacity: .12; }
.cta h2 { font-size: clamp(36px, 5.4vw, 64px); }
.cta p { color: var(--on-brand-soft); font-size: 19px; font-weight: 600; max-width: 46ch; }
.cta .stores { justify-content: center; margin-top: 6px; }

/* Footer */
.site-footer { padding-block: 48px 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.site-footer .brand svg { width: 32px; height: 32px; }
.site-footer .brand span { font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer nav a { color: var(--muted); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .legal { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-types, .t-mist { grid-column: span 3; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-copy { padding-bottom: 8px; }
  .hero::before { width: 120%; inset-inline-end: -40%; top: -10%; }
  .trust { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t-book, .t-exam, .t-types, .t-mist { grid-column: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .brand span { font-size: 24px; }
}

/* Gentle entrance for the phone; nothing moves for people who ask for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both .1s; }
  .loop-chip .pips i.on { animation: pip 2.4s ease-in-out infinite; }
  @keyframes rise { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes pip { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

@media print {
  .site-header, .hero-visual, .cta .stores { display: none; }
  .hero, .cta, .trust { background: none; color: var(--ink); }
}

/* Utility and 404 (no inline styles: the CSP allows stylesheets from this origin only) */
.flush-top { padding-top: 0; }
.notfound { min-height: 100vh; display: grid; place-items: center; padding-block: 48px; }
.notfound .cta { width: 100%; }
.notfound h1 { font-size: clamp(36px, 6vw, 64px); }
.notfound .hero-cta { justify-content: center; }

/* ---------- Privacy policy and terms (/privacy/, /en/privacy/) ---------- */
.doc { max-width: 820px; padding-block: clamp(32px, 6vw, 64px) 24px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 10px; }
.doc .meta { color: var(--muted); font-size: 15px; font-weight: 600; }
.doc .summary { background: var(--blue-soft); border-radius: var(--r-lg); padding: 22px 26px; margin-block: 24px 8px; }
.doc .summary ul { margin: 8px 0 0; padding-inline-start: 22px; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.doc .toc a { background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.doc section { background: var(--card); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 34px); margin-top: 16px; }
.doc h2 { font-size: clamp(24px, 3.4vw, 30px); margin-bottom: 12px; }
.doc h3 { font-size: 19px; margin-block: 18px 6px; font-family: var(--font-body); font-weight: 700; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 10px; }
.doc ul { margin: 0; padding-inline-start: 22px; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
.doc th { font-weight: 700; }
.doc .contact { background: var(--orange-soft); }
.doc .ltr { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 620px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc thead { display: none; } .doc td { border-top: 0; padding: 2px 0; } .doc tr { border-top: 1px solid var(--line); padding-block: 10px; } .doc td:first-child { font-weight: 700; } }
