/* yufuair.com - the whole design system in one file.
   Brand tokens (from the logo README): Deep Lagoon #0B3036, Citron #CFE04A,
   Terracotta #E25F3C, Linen #F4F1E6. System font stack only - no web fonts.
   Light by default, dark from prefers-color-scheme. Logical properties throughout
   so the Arabic pages (dir="rtl") mirror without a second stylesheet. */

:root {
  --lagoon: #0B3036;
  --lagoon-2: #0F3E45;
  --lagoon-3: #145059;
  --citron: #CFE04A;
  --citron-soft: #E6EF9C;
  --terra: #E25F3C;
  --linen: #F4F1E6;

  --bg: #FBFAF5;
  --bg-alt: #F4F1E6;
  --surface: #FFFFFF;
  --surface-2: #F7F5EC;
  --ink: #0B3036;
  --ink-2: #3E5A5E;
  --ink-3: #5C7477;
  --line: rgba(11, 48, 54, .12);
  --line-2: rgba(11, 48, 54, .2);
  --signal-text: #B23F22;      /* terracotta darkened for text: 5.3:1 on white */
  --focus: #E25F3C;
  --btn-bg: var(--lagoon);
  --btn-ink: var(--linen);
  --btn-bg-hover: #134a53;
  --chip-bg: rgba(11, 48, 54, .06);
  --shadow-1: 0 1px 2px rgba(11, 48, 54, .06), 0 4px 14px rgba(11, 48, 54, .06);
  --shadow-2: 0 2px 6px rgba(11, 48, 54, .06), 0 18px 48px rgba(11, 48, 54, .12);

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --gutter: 24px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --font-ar: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, "Arial", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #061A1E;
    --bg-alt: #0A2429;
    --surface: #0D2D33;
    --surface-2: #10353C;
    --ink: #F4F1E6;
    --ink-2: #B5C6C3;
    --ink-3: #8FA5A3;
    --line: rgba(244, 241, 230, .11);
    --line-2: rgba(244, 241, 230, .2);
    --signal-text: #F2896B;
    --focus: #CFE04A;
    --btn-bg: var(--citron);
    --btn-ink: var(--lagoon);
    --btn-bg-hover: #dbe96b;
    --chip-bg: rgba(244, 241, 230, .07);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 60px rgba(0, 0, 0, .45);
  }
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[dir="rtl"] body, [lang="ar"] body { font-family: var(--font-ar); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.022em; font-weight: 750; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
address { font-style: normal; }
ul, ol { padding-inline-start: 1.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: var(--citron); color: var(--lagoon); }

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

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.i-arr { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.16em; transition: transform .2s ease; }
[dir="rtl"] .i-arr { transform: scaleX(-1); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover .i-arr { transform: translateX(3px); }
[dir="rtl"] .btn:hover .i-arr { transform: scaleX(-1) translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-citron { background: var(--citron); color: var(--lagoon); }
.btn-citron:hover { background: #dbe96b; box-shadow: 0 0 0 6px rgba(207, 224, 74, .18); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--linen); border-color: rgba(244, 241, 230, .35); }
.btn-ghost-dark:hover { border-color: var(--linen); }
.btn-lagoon { background: var(--lagoon); color: var(--linen); }
.btn-lagoon:hover { background: #134a53; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; flex: none; border-radius: 10px; }
.brand-logo { width: 144px; height: 32px; }
.nav { display: flex; align-items: center; flex: 1; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links a, .signin, .lang {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  text-decoration: none; color: var(--ink-2); font-weight: 560; font-size: .96rem; transition: color .15s, background-color .15s;
}
.nav-links a:hover, .signin:hover, .lang:hover { color: var(--ink); background: var(--chip-bg); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--chip-bg); }
.nav-links a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.lang svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang[lang="ar"] { font-family: var(--font-ar); }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .bar { min-height: 64px; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto;
    min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2);
    background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
  }
  .js .nav-toggle .sr { position: static !important; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; }
  .nav-toggle-box { position: relative; width: 18px; height: 12px; }
  .nav-toggle-box::before, .nav-toggle-box::after, .nav-toggle-box span { content: ""; position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle-box::before { top: 0; } .nav-toggle-box span { top: 5px; } .nav-toggle-box::after { top: 10px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-box::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-box span { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-box::after { transform: translateY(-5px) rotate(-45deg); }
  .js .nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 14px var(--gutter) 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    max-height: calc(100vh - 64px); overflow: auto;
  }
  .nav[hidden] { display: none; }
  .js .nav-links { flex-direction: column; align-items: stretch; margin: 0; }
  .js .nav-links a { min-height: 48px; font-size: 1.06rem; padding: 0 14px; }
  .js .nav-actions { flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
  .js .nav-actions .btn { flex: 1 1 100%; min-height: 48px; }
  /* without JavaScript the menu simply wraps under the logo, always visible */
  html:not(.js) .bar { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav { flex-basis: 100%; flex-wrap: wrap; }
  html:not(.js) .nav-links { flex-wrap: wrap; margin: 0; }
}
@media (min-width: 1061px) { .nav[hidden] { display: flex; } }
@media (max-width: 1180px) and (min-width: 1061px) { .nav-links a { padding: 0 9px; } .lang { padding: 0 8px; } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section.pt0 { padding-top: 0; }
.mt-grid { margin-top: 20px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--ink-2); max-width: 62ch; }
.center .lede { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px color-mix(in srgb, var(--terra) 22%, transparent); }
.hl { color: var(--signal-text); }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* ── Cards ────────────────────────────────────────────────────────────── */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-1);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); margin: 0; }
.card p + p { margin-top: .7em; }
a.card { display: block; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
a.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; color: var(--ink); }
a.card:hover .i-arr { transform: translateX(3px); }
[dir="rtl"] a.card:hover .i-arr { transform: scaleX(-1) translateX(3px); }
.ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--citron) 42%, var(--surface)); color: var(--lagoon);
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .ico { background: rgba(207, 224, 74, .14); color: var(--citron); } }
.ico.t { background: color-mix(in srgb, var(--terra) 16%, var(--surface)); color: var(--signal-text); }

.tag-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--chip-bg); color: var(--ink-2); }

/* Bento module grid on the home page */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento > .wide { grid-column: span 3; }
.bento > .xl { grid-column: span 4; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > *, .bento > .wide, .bento > .xl { grid-column: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } }
.card-dark { background: var(--lagoon); color: var(--linen); border-color: rgba(244, 241, 230, .08); }
.card-dark p { color: #C3D2CF; }
.card-dark .ico { background: rgba(207, 224, 74, .16); color: var(--citron); }
a.card-dark .more { color: var(--citron); }
.card-citron { background: var(--citron); color: var(--lagoon); border-color: transparent; }
.card-citron p { color: #24474C; }
.card-citron .ico { background: rgba(11, 48, 54, .1); color: var(--lagoon); }
a.card-citron .more { color: var(--lagoon); }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 30px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 19px; height: 19px; border-radius: 50%;
  background: color-mix(in srgb, var(--citron) 55%, var(--surface)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230B3036' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checks li b { color: var(--ink); font-weight: 650; }
.cols-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 640px) { .cols-checks { grid-template-columns: minmax(0, 1fr); } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-block: 22px clamp(40px, 6vw, 72px); }
.hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); background: var(--lagoon); color: var(--linen);
  padding: clamp(36px, 6vw, 84px) clamp(24px, 5vw, 72px);
  box-shadow: var(--shadow-2);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 82% 40%, rgba(207, 224, 74, .16), transparent 62%),
    radial-gradient(40% 50% at 8% 100%, rgba(226, 95, 60, .16), transparent 70%),
    linear-gradient(160deg, #0E3A41 0%, #0B3036 45%, #082529 100%);
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(244, 241, 230, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
[dir="rtl"] .hero-card::after { -webkit-mask-image: linear-gradient(270deg, transparent, #000 60%); mask-image: linear-gradient(270deg, transparent, #000 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero .eyebrow { color: #C3D2CF; }
.hero h1 { color: var(--linen); margin-bottom: .35em; }
.hero h1 .c { color: var(--citron); }
.hero .lede { color: #C9D6D3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #DCE6E3; background: rgba(244, 241, 230, .07); border: 1px solid rgba(244, 241, 230, .1); }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--citron); }

/* Page hero (inner pages): lighter, still with the wave motif */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-top: 6px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); max-width: 18ch; }
.page-hero .waves-bg { position: absolute; inset-inline-end: -120px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); z-index: -1; opacity: .9; pointer-events: none; }
[dir="rtl"] .page-hero .waves-bg { transform: translateY(-50%) scaleX(-1); }
.page-hero { isolation: isolate; }
.waves-bg circle { fill: none; stroke: var(--line-2); }
.waves-bg circle.c1 { stroke: color-mix(in srgb, var(--terra) 45%, transparent); }
@media (max-width: 760px) { .page-hero .waves-bg { width: 420px; height: 420px; inset-inline-end: -220px; opacity: .55; } }

/* ── Signal stage: the animated hero art ──────────────────────────────── */
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; margin-inline: auto; }
.stage svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings .ring { fill: none; stroke: var(--citron); stroke-width: 1.4; transform-origin: 270px 270px; transform-box: view-box; opacity: 0; animation: ring 4.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.rings .ring:nth-of-type(2) { animation-delay: 1.2s; }
.rings .ring:nth-of-type(3) { animation-delay: 2.4s; }
.rings .ring:nth-of-type(4) { animation-delay: 3.6s; }
.rings .guide { fill: none; stroke: rgba(244, 241, 230, .09); stroke-dasharray: 2 7; }
@keyframes ring { 0% { transform: scale(.24); opacity: 0; } 12% { opacity: .85; } 100% { transform: scale(1); opacity: 0; } }
.stage .mark { position: absolute; left: 50%; top: 50%; width: 27%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .35)); border-radius: 24%; }
.stage .mark img { width: 100%; height: auto; }
.stage .mark::after { content: ""; position: absolute; inset: -9%; border-radius: 30%; border: 1.5px solid rgba(207, 224, 74, .5); animation: halo 2.4s ease-in-out infinite; }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: .2; } 50% { transform: scale(1.06); opacity: .8; } }
/* small garment tags that "answer" when the wave passes them */
.rings .t { fill: rgba(244, 241, 230, .16); animation: ping 4.8s ease-in-out infinite; }
.rings .t.d1 { animation-delay: .6s; } .rings .t.d2 { animation-delay: 1.4s; } .rings .t.d3 { animation-delay: 2.1s; } .rings .t.d4 { animation-delay: 2.9s; } .rings .t.d5 { animation-delay: 3.6s; } .rings .t.d6 { animation-delay: 4.2s; }
@keyframes ping { 0%, 70%, 100% { fill: rgba(244, 241, 230, .16); } 78% { fill: #CFE04A; } 88% { fill: rgba(207, 224, 74, .5); } }

.float {
  position: absolute; z-index: 2; min-width: 190px; max-width: 250px;
  padding: 13px 15px; border-radius: 16px;
  background: rgba(244, 241, 230, .96); color: var(--lagoon);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3); font-size: .84rem; line-height: 1.35;
  animation: bob 7s ease-in-out infinite;
}
.float b { display: block; font-size: .98rem; letter-spacing: -.01em; }
.float .k { display: flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4A6569; margin-bottom: 4px; }
[dir="rtl"] .float .k { letter-spacing: 0; font-size: .8rem; }
.float .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); flex: none; }
.float .k i.ok { background: #6E8F1C; }
.float .bar-p { height: 6px; border-radius: 6px; background: rgba(11, 48, 54, .1); margin-top: 9px; overflow: hidden; }
.float .bar-p span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lagoon), #2C6B72); animation: fill 4.8s ease-out infinite; }
@keyframes fill { 0% { width: 8%; } 70%, 100% { width: 99%; } }
.float .row { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.float.f1 { inset-inline-start: -2%; top: 8%; }
.float.f2 { inset-inline-end: -4%; top: 40%; animation-delay: -2.3s; }
.float.f3 { inset-inline-start: 4%; bottom: 4%; animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 560px) {
  .stage { aspect-ratio: 4 / 5; }
  .stage .mark { width: 34%; }
  .float { min-width: 0; max-width: 64%; font-size: .76rem; padding: 10px 12px; }
  .float b { font-size: .86rem; }
  .float.f1 { inset-inline-start: 0; top: 0; } .float.f2 { display: none; } .float.f3 { inset-inline-start: auto; inset-inline-end: 0; bottom: 0; }
}

/* ── Journey (factory -> sale) ───────────────────────────────────────── */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: j; }
.journey::before { content: ""; position: absolute; inset-inline: 7%; top: 38px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.journey .pulse { position: absolute; top: 33px; inset-inline-start: 7%; width: 12px; height: 12px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 6px color-mix(in srgb, var(--terra) 22%, transparent); animation: travel 7s linear infinite; }
@keyframes travel { 0% { inset-inline-start: 7%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { inset-inline-start: 92%; opacity: 0; } }
.jstep { position: relative; text-align: center; padding: 0 6px; }
.jstep .node { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: var(--ink); }
.jstep .node svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.jstep h3 { font-size: 1.04rem; margin-bottom: .3em; }
.jstep p { font-size: .93rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey::before { inset-inline: auto; inset-inline-start: 37px; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .journey .pulse { display: none; }
  .jstep { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; text-align: start; padding: 10px 0; align-items: center; }
  .jstep .node { margin: 0; }
}

/* ── App window mock-ups (illustrative, invented data) ───────────────── */
.window {
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden;
  font-size: .86rem; line-height: 1.4;
}
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-bar .url { margin-inline-start: 10px; flex: 1; max-width: 280px; padding: 4px 12px; border-radius: 8px; background: var(--chip-bg); color: var(--ink-3); font-size: .76rem; direction: ltr; text-align: start; }
.win-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 340px; }
.win-side { border-inline-end: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 3px; background: var(--surface-2); }
.win-side span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; color: var(--ink-3); font-size: .8rem; font-weight: 560; }
.win-side span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--line-2); }
.win-side span.on { background: var(--chip-bg); color: var(--ink); }
.win-side span.on::before { background: var(--terra); }
.win-main { padding: 16px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.win-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.win-title b { font-size: 1rem; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.kpi small { display: block; color: var(--ink-3); font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; font-size: 1.12rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .72rem; font-weight: 650; color: #557516; }
@media (prefers-color-scheme: dark) { .kpi em { color: var(--citron); } }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.chart svg { width: 100%; height: 110px; display: block; }
.chart .bars rect { fill: color-mix(in srgb, var(--ink) 16%, transparent); }
.chart .bars rect.hi { fill: var(--terra); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2; }
.chart .area { fill: color-mix(in srgb, var(--citron) 45%, transparent); }
.chart-h { display: flex; justify-content: space-between; color: var(--ink-3); font-size: .74rem; font-weight: 600; margin-bottom: 6px; }
.mtable { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mtable th { text-align: start; font-weight: 650; color: var(--ink-3); font-size: .72rem; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mtable td { padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mtable tr:last-child td { border-bottom: 0; }
.mtable td.num, .mtable th.num { text-align: end; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--chip-bg); color: var(--ink-2); }
.pill.ok { background: color-mix(in srgb, var(--citron) 55%, transparent); color: var(--lagoon); }
.pill.wait { background: color-mix(in srgb, var(--terra) 18%, transparent); color: var(--signal-text); }
@media (prefers-color-scheme: dark) { .pill.ok { color: var(--citron); background: rgba(207, 224, 74, .16); } }
.tscroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 720px) { .win-body { grid-template-columns: minmax(0, 1fr); } .win-side { display: none; } .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Device mock-ups: handheld + till */
.devices { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: end; }
@media (max-width: 560px) { .devices { grid-template-columns: minmax(0, 1fr); } }
.phone { border-radius: 30px; padding: 10px; background: #0A2125; box-shadow: var(--shadow-2); max-width: 260px; width: 100%; margin-inline: auto; }
.phone-screen { border-radius: 22px; background: var(--linen); color: var(--lagoon); padding: 16px 14px 18px; min-height: 380px; display: grid; align-content: start; gap: 12px; font-size: .82rem; }
.phone-top { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; color: #4A6569; }
.gauge { position: relative; width: 150px; height: 150px; margin: 4px auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge .bg { stroke: rgba(11, 48, 54, .1); }
.gauge .fg { stroke: var(--lagoon); stroke-linecap: round; stroke-dasharray: 402; stroke-dashoffset: 402; animation: gauge 5s ease-out infinite; }
@keyframes gauge { 0% { stroke-dashoffset: 402; } 70%, 100% { stroke-dashoffset: 6; } }
.gauge .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1.1; }
.gauge .val b { font-size: 1.6rem; display: block; font-variant-numeric: tabular-nums; }
.gauge .val small { font-size: .7rem; color: #4A6569; font-weight: 600; }
.plist { display: grid; gap: 6px; }
.plist div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; font-variant-numeric: tabular-nums; }
.plist div span:last-child { font-weight: 700; }
.plist .warn { background: #FBE3DA; color: #8A2F17; }
.phone .pbtn { display: block; text-align: center; padding: 10px; border-radius: 12px; background: var(--lagoon); color: var(--linen); font-weight: 700; }

.till { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; font-size: .82rem; }
.till-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: var(--lagoon); color: var(--linen); font-weight: 650; }
.till-head .pill { background: rgba(207, 224, 74, .2); color: var(--citron); }
.till-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.till-lines { padding: 10px 14px; display: grid; gap: 2px; align-content: start; border-inline-end: 1px solid var(--line); }
.till-lines div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.till-lines div small { display: block; color: var(--ink-3); font-size: .7rem; }
.till-pay { padding: 12px 14px; display: grid; gap: 8px; align-content: start; }
.till-pay .tot { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.till-pay .k { display: block; padding: 8px 10px; border-radius: 10px; background: var(--chip-bg); font-weight: 650; text-align: center; }
.till-pay .k.go { background: var(--citron); color: var(--lagoon); }
@media (max-width: 420px) { .till-body { grid-template-columns: minmax(0, 1fr); } .till-lines { border-inline-end: 0; border-bottom: 1px solid var(--line); } }

/* AI proposal card */
.proposal { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.proposal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.proposal-h b { display: flex; align-items: center; gap: 10px; }
.spark { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--lagoon); color: var(--citron); flex: none; }
.spark svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.proposal-why { padding: 14px 18px; background: var(--surface-2); color: var(--ink-2); font-size: .88rem; border-top: 1px solid var(--line); }
.proposal-why b { color: var(--ink); }
.proposal-act { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.proposal-act span { padding: 8px 14px; border-radius: 999px; font-weight: 650; font-size: .84rem; border: 1px solid var(--line-2); }
.proposal-act span.go { background: var(--btn-bg); color: var(--btn-ink); border-color: transparent; }
.size-curve { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.size-curve span { flex: 1; border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--ink) 18%, transparent); position: relative; }
.size-curve span.hi { background: var(--terra); }

/* ── Steps / timeline ─────────────────────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.timeline > li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; padding-bottom: 38px; counter-increment: s; }
.timeline > li::before {
  content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: var(--lagoon); color: var(--citron); font-weight: 750; font-size: 1.15rem; font-variant-numeric: tabular-nums; z-index: 1;
}
@media (prefers-color-scheme: dark) { .timeline > li::before { background: var(--citron); color: var(--lagoon); } }
.timeline > li::after { content: ""; position: absolute; inset-inline-start: 31px; top: 64px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
.timeline > li:last-child::after { display: none; }
.timeline h3 { font-size: 1.3rem; margin: 14px 0 .35em; }
.timeline p { color: var(--ink-2); margin: 0; max-width: 66ch; }
.timeline .tl-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
@media (max-width: 560px) { .timeline > li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; } .timeline > li::before { width: 48px; height: 48px; border-radius: 15px; font-size: 1rem; } .timeline > li::after { inset-inline-start: 23px; top: 48px; } .timeline h3 { margin-top: 8px; } }

/* Module sections on /platform/ */
.mod { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.mod:first-of-type { border-top: 0; }
.mod-num { font: 700 .8rem/1 var(--mono); color: var(--signal-text); letter-spacing: .08em; margin-bottom: 14px; display: block; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-2); background: var(--surface); }
.toc a:hover { color: var(--ink); border-color: var(--ink); }
.panel { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 22px; box-shadow: var(--shadow-1); }
.panel h3 { font-size: 1.02rem; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mini { padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.mini b { display: block; font-size: .95rem; margin-bottom: 2px; }
.mini span { color: var(--ink-2); font-size: .86rem; }
@media (max-width: 480px) { .mini-grid { grid-template-columns: minmax(0, 1fr); } }

/* Big statement band */
.statement { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; max-width: 30ch; text-wrap: balance; }
[dir="rtl"] .statement { letter-spacing: 0; line-height: 1.5; }
.statement .hl { color: var(--signal-text); }

/* Language badges */
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.langs span { padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 1.05rem; }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); background: var(--citron); color: var(--lagoon);
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -140px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(11, 48, 54, .1) 34px 36px);
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: #24474C; max-width: 54ch; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: var(--lagoon); border-color: rgba(11, 48, 54, .35); }
.cta-band .btn-ghost:hover { border-color: var(--lagoon); }
@media (max-width: 820px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ── Contact ──────────────────────────────────────────────────────────── */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .94rem; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--citron) 55%, transparent); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.form-note { font-size: .88rem; color: var(--ink-3); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-list .ico { margin: 0; }
.contact-list b { display: block; margin-bottom: 2px; }
.contact-list span, .contact-list address { color: var(--ink-2); overflow-wrap: anywhere; }

/* ── Prose (legal pages) ──────────────────────────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose .updated { font-size: .92rem; color: var(--ink-3); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding-block: 56px 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 36px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.foot-logo { width: 132px; height: 29px; }
.foot-brand p { color: var(--ink-2); max-width: 36ch; margin: 16px 0 0; }
.foot-brand .foot-langs { font-size: .88rem; color: var(--ink-3); margin-top: 10px; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 14px; font-weight: 700; }
[dir="rtl"] .foot-h { letter-spacing: 0; font-size: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; color: var(--ink-2); }
.site-footer ul a:hover { color: var(--ink); text-decoration: underline; }
.site-footer address { color: var(--ink-2); line-height: 1.7; text-align: start; }
[dir="rtl"] .site-footer address { text-align: right; }
.site-footer address strong { color: var(--ink); }
.site-footer address a { color: var(--ink-2); }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .86rem; }
.foot-app { color: var(--ink-3); }

/* ── Reveal on scroll (only once main.js has marked the page) ─────────── */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .reveal.d1 { transition-delay: .08s; } .js-reveal .reveal.d2 { transition-delay: .16s; } .js-reveal .reveal.d3 { transition-delay: .24s; }

/* ── Reduced motion: everything still, nothing hidden ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .rings .ring { opacity: .5; }
  .rings .ring:nth-of-type(1) { transform: scale(.45); }
  .rings .ring:nth-of-type(2) { transform: scale(.65); opacity: .35; }
  .rings .ring:nth-of-type(3) { transform: scale(.85); opacity: .2; }
  .rings .ring:nth-of-type(4) { transform: scale(1); opacity: .1; }
  .float .bar-p span { width: 99%; }
  .gauge .fg { stroke-dashoffset: 6; }
  .journey .pulse { display: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .stage { display: none; }
  body { background: #fff; color: #000; }
}

/* ── Utilities (no inline styles anywhere: the CSP allows none) ────────── */
.fig { margin: 0; }
.cap { margin-top: 12px; font-size: .86rem; color: var(--ink-3); }
.mt-l { margin-top: 26px; }
.mt-m { margin-top: 16px; }
.tscroll.flat { border: 0; border-radius: 0; }
.timeline.sm > li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.timeline.sm > li::before { width: 40px; height: 40px; border-radius: 12px; font-size: .86rem; }
.timeline.sm > li::after { inset-inline-start: 19px; top: 40px; }
.timeline.sm h3 { font-size: 1rem; margin: 2px 0 .15em; }
.timeline.sm p { font-size: .9rem; }
.center-text { text-align: center; }

/* FAQ (native details/summary: keyboard and screen-reader friendly for free) */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }
.split.sticky { align-items: start; }
@media (min-width: 901px) { .split.sticky > :last-child { position: sticky; top: 110px; } }
.flat-panel { border: 0; border-radius: 0; box-shadow: none; }
.size-curve { height: 120px; }
.size-curve .s10 { height: 22%; } .size-curve .s12 { height: 28%; } .size-curve .s22 { height: 58%; } .size-curve .s22b { height: 62%; } .size-curve .s34 { height: 96%; }
.size-labels { display: flex; gap: 6px; margin-top: 8px; }
.size-labels span { flex: 1; text-align: center; font-size: .76rem; font-weight: 700; color: var(--ink-3); }
.h-sm { font-size: 1.45rem; margin-bottom: 20px; }
.contact-list address[dir="ltr"] { text-align: left; }
/* numbers with signs/percent keep their order inside RTL mock-ups */
.kpi b, .kpi em, .mtable td.num, .till-lines span:last-child { unicode-bidi: plaintext; }
.btn-primary[aria-current="page"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--terra) 45%, transparent); }
@media (prefers-color-scheme: dark) {
  .card-dark { background: linear-gradient(150deg, #155560 0%, #0B3036 70%); border-color: rgba(207, 224, 74, .22); }
  .hero-card { box-shadow: 0 0 0 1px rgba(244, 241, 230, .06), var(--shadow-2); }
}
.en-badge { font-size: .62rem; font-weight: 700; letter-spacing: .04em; padding: 1px 5px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--ink-3); line-height: 1.4; }
.nav-links a, .signin, .lang { white-space: nowrap; }
.nav-links .en-badge { display: none; }
@media (max-width: 1060px) { .nav-links .en-badge { display: inline; } }
.nw { white-space: nowrap; }
