/* منصة تيرا — الصفحة الرئيسية كموقع، بهوية البروفايل لا كورقة A4. */
@font-face {
  font-family: Alexandria;
  src: url("/platform/fonts/Alexandria.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Alexandria;
  src: url("/platform/fonts/Alexandria-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Alexandria;
  src: url("/platform/fonts/Alexandria-ExtraBold.ttf") format("truetype");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/platform/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/platform/fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/platform/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/platform/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --brand: #0A1F44;
  --ink: #0A1F44;
  --ink2: #132E5E;
  --paper: #F4F7FA;
  --surface: #fff;
  --line: #D4DEEA;
  --teal: #0AA5AD;
  --teal-d: #067A82;
  --wash: #E2F4F5;
  --amber: #F0962A;
  --amber-d: #8A4E08;
  --amber-wash: #FFF1DC;
  --gold: #FFC861;
  --text: #0B2349;
  --muted: #566A88;
  --header: 92px;
  --nav: 260px;
  --shadow: 0 10px 28px rgba(10, 31, 68, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; }
body {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.9;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 8px; inset-inline-start: 12px; z-index: 200;
  width: auto; height: auto; margin: 0; padding: 8px 14px; overflow: visible;
  clip: auto; clip-path: none; white-space: normal;
  background: var(--gold); color: #3D2403; border-radius: 999px; font-weight: 700; text-decoration: none;
}

.site-header {
  position: relative; z-index: 40; height: var(--header);
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px; background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; flex: none;
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: .92rem;
}
.nav-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.nav-head strong { font-family: Alexandria, sans-serif; color: var(--ink); font-size: .95rem; }
.nav-close {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand .logo-full { height: 64px; width: auto; }
.logo-mark { display: none; }
.nav-brand { display: none; text-decoration: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name strong { font-family: Alexandria, sans-serif; font-size: .98rem; font-weight: 700; color: var(--ink); }
.brand-name span { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.head-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.head-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 4px 14px 4px 6px; border-radius: 16px; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: .92rem; white-space: nowrap;
}
.head-link .tile { width: 34px; height: 38px; }
.head-link.solid { border-color: rgba(240, 150, 42, .5); }
.head-link.ghost { border-color: rgba(10, 165, 173, .45); }
.head-link:hover { background: var(--wash); }
.head-link:focus-visible, .nav-toggle:focus-visible, .site-nav a:focus-visible, .btn:focus-visible, .whatsapp-float:focus-visible {
  outline: 3px solid rgba(10, 165, 173, .45); outline-offset: 2px;
}

.site-shell {
  display: grid; grid-template-columns: var(--nav) minmax(0, 1fr); align-items: start;
  transition: grid-template-columns .2s ease;
}
.site-col { min-width: 0; }
.site-nav {
  position: sticky; top: 0; z-index: 30; align-self: start;
  height: 100dvh; width: 100%; min-width: 0; overflow: auto;
  background: var(--surface); border-inline-end: 1px solid var(--line); padding: 12px 12px 28px;
  font-family: Alexandria, sans-serif; font-synthesis: none;
}
@media (min-width: 768px) {
  html.nav-collapsed .site-shell { grid-template-columns: 0 minmax(0, 1fr); }
  html.nav-collapsed .site-nav {
    width: 0; overflow: hidden; visibility: hidden; pointer-events: none; padding: 0; border: 0;
  }
  .site-nav { height: calc(100dvh - var(--header)); max-height: calc(100dvh - var(--header)); }
}
.nav-direct {
  display: flex; align-items: center; min-height: 42px; padding: 6px 10px; border-radius: 12px;
  text-decoration: none; color: var(--ink); font-family: Alexandria, sans-serif; font-weight: 700; font-size: .95rem;
}
.nav-direct.quotes {
  justify-content: center; margin: 6px 0 10px; border-radius: 999px; background: var(--gold); color: #3D2403;
}
.nav-direct.is-on, .nav-direct:hover { background: var(--wash); }
.nav-direct.quotes:hover { background: var(--amber); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 46px; margin-top: 4px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent;
  color: var(--ink); cursor: pointer; text-align: start;
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: .95rem;
}
.acc-title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.acc-ico { width: 30px; height: 34px; flex: none; display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.acc-btn:hover, .acc-item.is-open > .acc-btn { background: var(--wash); }
.chev { flex: none; transition: transform .2s ease; }
.acc-item.is-open > .acc-btn .chev { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.acc-item.is-open > .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; min-height: 0; }
.acc-link {
  display: flex; align-items: baseline; gap: 8px; min-height: 38px; margin: 1px 4px 1px 8px; padding: 6px 10px;
  border-radius: 10px; text-decoration: none; color: var(--text);
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: .92rem; line-height: 1.45;
}
.acc-link .n {
  font-family: Alexandria, sans-serif; font-weight: 700; color: var(--amber); font-size: .75rem;
  width: 1.5rem; flex: none; direction: ltr; text-align: end;
}
.acc-link.is-on, .acc-link:hover { background: var(--wash); }
.nav-backdrop { display: none; pointer-events: none; }
.nav-backdrop[hidden] { display: none !important; }
.site-main, .site-footer { margin-inline-start: 0; min-width: 0; }
.site-main { padding-top: 20px; }
main section[id] { scroll-margin-top: 84px; }
.wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.band { padding: 16px 0 0; background: transparent; }
.band .wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 26px 28px 30px;
}
.band.ink { background: transparent; color: #EEF3FA; }
.band.ink .wrap { background: linear-gradient(165deg, #0A1F44, #132E5E 72%); border-color: transparent; color: #EEF3FA; }
.band.alt { background: transparent; }
.band.ink .muted, .band.ink .lead, .band.ink .prose { color: #C9D6EC; }
.band.alt { background: var(--surface); }

.site-main:has(> .hero) { padding-top: 0; }
.hero {
  position: relative; z-index: 0; isolation: isolate; overflow: hidden;
  width: 100%; height: auto; min-height: 0; margin: 0; padding: 0;
  background: transparent;
  color: #EEF3FA; line-height: 0;
}
.hero-video {
  position: relative; inset: auto; z-index: 0; display: block;
  width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center center;
  pointer-events: none; background: transparent;
}
.hero-shade { display: none; }
.hero-copy { position: relative; z-index: 2; max-width: 40rem; padding-block: 12px; }
.hero-logo { height: 64px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); }
.kicker {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid #2F4F8A; color: #C9D6EC; font-size: .92rem; margin-bottom: 16px;
}
.hero h1, .block-head h2, .endmark b, .slogan {
  font-family: Alexandria, sans-serif;
}
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.45rem); line-height: 1.4; }
.en { margin: 10px 0 0; color: #D5E0F0; font-family: Alexandria, sans-serif; font-weight: 500; font-size: 1rem; }
.slogan { margin: 16px 0 0; font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--gold); line-height: 1.55; }
.hero .desc { margin: 10px 0 0; max-width: 36rem; color: #E4ECF6; font-size: 1.05rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
  border-radius: 999px; text-decoration: none; font-family: Alexandria, sans-serif; font-weight: 700; font-size: .98rem;
}
.btn.solid { background: var(--gold); color: #3D2403; }
.btn.ghost { border: 1px solid #3A5C9A; color: #EEF3FA; }
.btn.ink { background: var(--brand); color: #fff; }

.block-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; }
.num {
  font-family: Alexandria, sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--amber); direction: ltr;
}
.band.ink .num { -webkit-text-stroke-color: var(--gold); }
.block-head h2 { margin: 0; font-weight: 700; font-size: 1.45rem; line-height: 1.45; }
.lead { margin: 0 0 14px; font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; font-weight: 400; font-size: 1.05rem; line-height: 1.95; }
.prose p, .body { margin: 0 0 12px; font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; font-size: 1.05rem; line-height: 1.9; }
.pre { margin: 0 0 14px; color: var(--muted); font-weight: 600; }
.band.ink .pre { color: #A9B9D3; }
.foot-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.band.ink .foot-note { border-color: #22407A; color: #A9B9D3; }
.inlink { color: var(--teal-d); font-weight: 700; }
.band.ink .inlink { color: #63E2E0; }

.split { display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: center; }
.hero-mark { width: 108px; height: 121px; justify-self: center; background: none; box-shadow: none; }
.hero-mark .tile { width: 108px; height: 121px; }
.tile { width: 44px; height: 49px; flex: none; display: block; }
.stack .tile { width: 52px; height: 58px; }
.wide .tile { width: 56px; height: 63px; }
.note .tile, .portal .tile { width: 52px; height: 58px; }
.summary-tile .tile { width: 52px; height: 58px; margin-bottom: 10px; }
.vm-row { display: flex; align-items: center; gap: 22px; }
.vm-row .tile { width: 78px; height: 87px; }
.vm-row .lead { flex: 1; margin: 0; }
.vs .tile { width: 64px; height: 72px; margin: 8px auto; }
.path .tile, .path .puck-svg { width: 42px; height: 47px; }
.path em { font-style: normal; font-weight: 700; font-size: .92rem; }
.puck-svg { width: 46px; height: 52px; display: block; }
.rows, .stack, .wide, .cards { list-style: none; margin: 0; padding: 0; }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.rows li, .wide li {
  display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.rows li:nth-child(-n+2), .wide li:first-child { border-top: 1px solid var(--line); }
.mark {
  width: 14px; height: 14px; margin-top: .55rem; border-radius: 5px; flex: none;
  box-shadow: 0 4px 0 rgba(10, 31, 68, .18);
}
.mark.teal { background: linear-gradient(160deg, #63E2E0, #0AA5AD); }
.mark.saffron { background: linear-gradient(160deg, #FFD27A, #F0962A); }
.mark.navy { background: linear-gradient(160deg, #6C8FDC, #1D3F86); }
.mark.sky { background: linear-gradient(160deg, #A4E0F8, #2E8FD0); }
.stack .mark { margin-top: 4px; }
.rows b, .stack b, .wide b, .cards b { display: block; font-family: Alexandria, sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.55; }
.rows p, .stack p, .wide p, .cards p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stack li, .cards li {
  background: var(--surface); border-radius: 18px; padding: 18px 16px; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0;
}
.stack.c4 { grid-template-columns: repeat(4, 1fr); }
.wide { display: flex; flex-direction: column; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-jump { display: flex; align-items: flex-start; gap: 10px; color: inherit; text-decoration: none; }
.offer-sub { margin: 8px 0 12px; font-family: Alexandria, sans-serif; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.offer-grid .offer-price { margin: 0; font-family: Alexandria, sans-serif; font-weight: 700; color: var(--amber-d); }
.offer-photo, .product-photo { width: 100%; height: auto; border-radius: 16px; background: #fff; }
.offer-off, .product-was { color: var(--muted); font-weight: 600; font-size: .92rem; }
.offer-price s, .product-was s { margin-inline-start: 8px; color: var(--muted); font-weight: 500; }
.catalog-search { display: grid; gap: 6px; margin: 0 0 16px; font-family: Alexandria, sans-serif; font-weight: 700; }
.catalog-search input { font: inherit; font-weight: 500; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.product-layout { display: grid; grid-template-columns: minmax(280px, 1.08fr) minmax(280px, .92fr); gap: 28px; align-items: start; }
.product-price { margin: 0; font-family: Alexandria, sans-serif; font-weight: 800; font-size: 1.45rem; color: var(--amber-d); }
.crumb { margin: 0 0 8px; color: var(--muted); }
.product-form { display: grid; gap: 12px; margin-top: 12px; }
.opt-set { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 0; display: grid; gap: 8px; }
.opt-set legend { font-family: Alexandria, sans-serif; font-weight: 700; padding: 0 6px; }
.opt-choice { display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.opt-line { display: grid; gap: 6px; font-family: Alexandria, sans-serif; font-weight: 700; }
.phone-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.phone-row .country-code, .phone-row select.country-code {
  flex: 1 1 16rem;
  max-width: 100%;
  min-width: 12rem;
  min-height: 48px;
  width: auto;
  padding: 10px 40px 10px 14px;
  border: 1.5px solid #D4DEEA;
  border-radius: 16px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%230A1F44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  color: #0A1F44;
  font-family: Alexandria, "IBM Plex Sans Arabic", Tahoma, sans-serif;
  font-weight: 650;
  appearance: none;
  -webkit-appearance: none;
}
.phone-row .country-dial { flex: 0 0 6.4rem; min-height: 48px; text-align: center; border-radius: 16px; }
.phone-row .country-dial[hidden],
.phone-row .country-dial.hidden { display: none; }
.phone-row input { flex: 1 1 10rem; min-width: 0; width: auto; }
.opt-line input, .opt-line textarea, .opt-set input[type="text"], .opt-set textarea {
  font: inherit; font-weight: 500; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; width: 100%;
}
.req { color: #9a3412; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.product-actions .more { margin-top: 0; }
.special-box { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: var(--wash); }
.budget-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order-result { min-height: 1.4em; font-weight: 700; }
.pricing-note { color: var(--muted); }
.offer-grid .more { margin-top: auto; }
.offer-detail { width: 100%; border-top: 1px solid var(--line); padding-top: 8px; }
.offer-detail summary {
  font-family: Alexandria, sans-serif; font-weight: 700; color: var(--teal-d);
  cursor: pointer; min-height: 36px; list-style: none;
}
.offer-detail summary::-webkit-details-marker { display: none; }
.offer-copy h4 {
  margin: 12px 0 6px; font-family: Alexandria, sans-serif; font-weight: 700;
  color: var(--ink); font-size: 1rem;
}
.offer-copy p { margin: 0 0 8px; }
.offer-points { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.offer-grid .offer-points li {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  display: block; min-height: 0; padding: 0; padding-inline-start: 16px;
  position: relative; line-height: 1.75;
}
.offer-grid .offer-points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.cards li:nth-child(4n+1), .cards li:nth-child(4n) { background: var(--wash); border-color: transparent; }

.path {
  margin-top: 22px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px;
  background: var(--wash); border-radius: 18px; padding: 16px;
}
.path span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-weight: 700; font-size: .92rem; }
.path .end { color: var(--amber-d); }
.flow {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 8px; margin-top: 18px;
  background: var(--ink2); border-radius: 22px; padding: 22px 14px; text-decoration: none;
}
.flow span {
  position: relative; min-height: 0; padding: 0; background: none; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
  text-align: center; color: #EEF3FA; font-weight: 700;
}
.flow .tile { width: 56px; height: 63px; }
.flow em { font-style: normal; font-weight: 700; font-size: .92rem; line-height: 1.45; }
.flow span:not(:nth-child(4n))::after {
  content: ""; position: absolute; top: 28px; left: -8px; width: 16px; border-top: 2px dotted #5C7DB8;
}
.hint { margin: 12px 0 0; text-align: center; color: #A9B9D3; font-size: .92rem; }
.quote {
  margin: 8px 0 16px; font-family: Alexandria, sans-serif; font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.45; color: var(--gold);
}
.quote.mint { color: #63E2E0; }
.note {
  margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; background: var(--wash);
  border-radius: 18px; padding: 18px;
}
.band.ink .note { background: var(--ink2); }
.note b { display: block; font-family: Alexandria, sans-serif; color: var(--teal-d); font-size: 1.05rem; }
.band.ink .note b { color: #63E2E0; }
.note p { margin: 6px 0 0; }
.portal {
  display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--brand); color: #fff;
  border-radius: 18px; padding: 18px; margin: 8px 0 16px;
}
.portal b { display: block; font-family: Alexandria, sans-serif; font-size: 1.15rem; }
.portal i, .contacts i { font-style: normal; overflow-wrap: anywhere; }
.portal i { color: #9FE3E6; }
.portal em {
  font-style: normal; margin-inline-start: auto; background: var(--gold); color: #3D2403;
  font-weight: 700; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px;
  white-space: nowrap;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--wash); color: var(--teal-d); font-weight: 700; }
.chips li:nth-child(3n) { background: var(--amber-wash); color: var(--amber-d); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 0 0 16px; }
.puck {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-family: Alexandria, sans-serif; font-weight: 800; background: linear-gradient(160deg, #63E2E0, #067A82);
  box-shadow: 0 8px 0 rgba(6, 122, 130, .35);
}
.puck.saffron { background: linear-gradient(160deg, #FFD27A, #C26F12); box-shadow: 0 8px 0 rgba(194, 111, 18, .28); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 16px; }
.vs { border-radius: 18px; padding: 28px 16px; text-align: center; background: var(--ink2); }
.vs span { display: block; color: #A9B9D3; margin-bottom: 10px; }
.vs q { font-family: Alexandria, sans-serif; font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.55rem); color: #B7C8F2; }
.vs.new { background: #0F3B55; outline: 1.5px solid var(--gold); }
.vs.new q { color: var(--gold); }
.legal { margin: 0; }
.legal div { display: flex; justify-content: space-between; gap: 12px 16px; align-items: center; flex-wrap: wrap; min-height: 56px; border-bottom: 1px solid var(--line); }
.legal div:first-child { border-top: 1px solid var(--line); }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; font-family: Alexandria, sans-serif; font-weight: 600; text-align: start; min-width: 0; overflow-wrap: anywhere; }
.endmark { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #22407A; }
.endmark b { font-size: 1.4rem; color: #63E2E0; }
.endmark span { font-family: Alexandria, sans-serif; font-weight: 600; color: var(--gold); }
.contacts { display: grid; gap: 10px; }
.contacts a, .contacts .static {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px; border-radius: 18px;
  background: var(--ink2); text-decoration: none;
}
.contacts b { display: block; font-weight: 500; color: #A9B9D3; font-size: .92rem; }
.contacts i { font-style: normal; font-family: Alexandria, sans-serif; font-weight: 600; font-size: 1.05rem; }
.contacts em { margin-inline-start: auto; font-style: normal; background: var(--gold); color: #3D2403; font-weight: 700; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.signoff { text-align: center; margin-top: 28px; }
.signoff img { height: 64px; width: auto; margin: 0 auto 8px; }
.signoff p { margin: 4px 0 0; color: #C9D6EC; }

.site-footer {
  background:
    radial-gradient(circle at 8% 0%, rgba(10, 165, 173, .28), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(240, 150, 42, .2), transparent 30%),
    linear-gradient(165deg, #0A1F44, #132E5E 72%);
  color: #EEF3FA; padding: 42px 0 96px;
}
.footer-board { width: min(1120px, calc(100% - 48px)); }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 22px; }
.footer-logo {
  height: clamp(112px, 16vw, 168px); width: auto; margin: 0 auto 8px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .28));
  animation: logo-float 3.2s ease-in-out infinite;
  transform-origin: center;
}
.footer-name, .site-footer h2, .policy-nav-title { font-family: Alexandria, sans-serif; font-synthesis: none; }
.footer-name {
  margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 800; color: #fff; line-height: 1.45;
}
.footer-split { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.footer-card {
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 20px 20px 16px; min-width: 0;
}
.footer-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.footer-card-head .tile { width: 64px; height: 72px; }
.footer-kicker {
  margin: 0 0 2px; color: var(--teal-d); font-family: Alexandria, sans-serif; font-weight: 700; font-size: .92rem;
}
.footer-card h2 { margin: 0; color: var(--ink); font-weight: 800; font-size: 1.28rem; line-height: 1.45; }
.footer-card p { margin: 0 0 10px; color: var(--muted); line-height: 1.95; }
.footer-card .prose p:last-child { margin-bottom: 0; }
.footer-card .endmark {
  border-top: 1px solid var(--line); margin: 14px 0 0; padding-top: 12px; justify-content: flex-start;
}
.footer-card .endmark b { color: var(--teal-d); font-size: 1.35rem; }
.footer-card .endmark span { color: var(--amber-d); }
.footer-contacts { display: grid; gap: 10px; margin-top: 4px; }
.footer-contacts a {
  display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 8px 12px;
  border-radius: 18px; background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); min-width: 0;
}
.footer-contacts a:hover { border-color: var(--teal); background: var(--wash); }
.footer-contacts .tile { width: 42px; height: 47px; }
.footer-contacts a > span { flex: 1; min-width: 0; }
.footer-contacts strong {
  display: block; font-family: Alexandria, sans-serif; font-weight: 700; font-size: .95rem; color: var(--ink);
}
.footer-contacts span span, .footer-contacts a > span > span {
  display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere;
}
.policy-nav {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px;
}
.policy-nav-title {
  grid-column: 1 / -1; margin: 6px 0 2px; color: #fff; font-weight: 800; font-size: 1.2rem;
}
.policy-nav a .tile { width: 36px; height: 40px; flex: none; }
.policy-nav a:has(.tile) .mark { display: none; }
.policy-mast-title { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.policy-mast-title .tile { width: 56px; height: 63px; flex: none; }
.policy-mast-title h1 { margin: 0; }
.policy-nav a {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px;
  border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; text-decoration: none; font-family: Alexandria, sans-serif; font-weight: 700;
  font-size: .92rem; line-height: 1.5;
}
.policy-nav a:hover { background: rgba(255, 200, 97, .16); border-color: rgba(255, 200, 97, .45); color: var(--gold); }
.policy-nav .mark { margin-top: 0; width: 16px; height: 16px; }
.footer-copy { margin: 22px 0 0 !important; text-align: center; color: #A9B9D3 !important; font-size: .9rem; }
.float-item.is-alive {
  animation-name: rise-bounce, float-bob;
  animation-duration: .7s, 2.8s;
  animation-timing-function: cubic-bezier(.2, 1.4, .36, 1), ease-in-out;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-delay: 0s, calc(.7s + var(--float-delay, 0s));
}
@keyframes rise-bounce {
  0% { transform: translateY(16px); }
  62% { transform: translateY(-7px); }
  100% { transform: translateY(0); }
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(-8px + var(--scroll-nudge, 0px))); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .28)); }
  50% { transform: translateY(calc(-14px + var(--scroll-nudge, 0px))); filter: drop-shadow(0 26px 22px rgba(10, 165, 173, .35)); }
}
@keyframes icon-lift {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-10px) scale(1.14); }
  100% { transform: translateY(-6px) scale(1.08); }
}
.tile, .acc-ico, .puck-svg { transform-origin: 50% 42%; }
:is(a, button, .acc-btn, .summary, .footer-card, .stack li, .cards li, .rows li, .wide li, .flow span, .path span, .faq-card, .faq-item, .policy-nav a, .nav-direct, .desk-choice, .desk-who-card, .promo-card, .theme-toggle):is(:hover, :active) :is(.tile, .acc-ico, .puck-svg),
.footer-logo:is(:hover, :active),
.float-item.is-alive:is(.tile, .acc-ico, .puck-svg):is(:hover, :active) {
  animation: icon-lift .48s cubic-bezier(.2, 1.4, .36, 1) forwards;
  filter: drop-shadow(0 14px 10px rgba(10, 165, 173, .4));
}
.acc-btn:is(:hover, :active),
.nav-direct:is(:hover, :active) {
  background: var(--wash);
}
.policy-page { padding: 22px 0 56px; }
.policy-page .policy-doc {
  width: min(920px, calc(100% - 36px));
  background: transparent; border: 0; box-shadow: none; padding: 0;
}
.policy-mast {
  background: linear-gradient(165deg, #0A1F44, #16356e 72%);
  color: #EEF3FA; border-radius: 28px; padding: 22px 26px 24px; margin-bottom: 16px;
}
.policy-mast .back-home { background: rgba(255,255,255,.14); color: #fff; margin-bottom: 14px; }
.policy-kicker {
  margin: 0 0 6px; color: #FFC861; font-family: Alexandria, sans-serif; font-weight: 700; font-size: .92rem;
}
.policy-mast h1, .policy-page h1 {
  margin: 0 0 8px; font-family: Alexandria, sans-serif; color: #fff;
  font-size: 1.85rem; line-height: 1.45;
}
.policy-mast .policy-updated { margin: 0 0 12px; color: #7EE0E4; font-family: Alexandria, sans-serif; font-weight: 700; font-size: .92rem; }
.policy-mast .lead { margin: 0 0 10px; color: #fff; }
.policy-mast .policy-scope { margin: 0; color: #C9D6EC; }
.back-home {
  display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 18px; padding: 0 16px;
  border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none;
  font-family: Alexandria, sans-serif; font-weight: 700;
}
.home-grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 28px 0 18px; }
.summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 22px 22px 18px;
}
.summary h2 { margin: 0 0 10px; font-family: Alexandria, sans-serif; color: var(--ink); font-size: 1.28rem; line-height: 1.45; }
.summary .desc { margin: 0 0 14px; color: var(--muted); font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; font-size: 1.05rem; line-height: 1.9; }
.summary ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.summary li { position: relative; padding-inline-start: 16px; line-height: 1.6; }
.summary li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.more {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px;
  border-radius: 999px; background: var(--teal); color: #fff; text-decoration: none;
  font-family: Alexandria, sans-serif; font-weight: 700;
}
.more:hover { background: var(--teal-d); }
button.more { border: 0; cursor: pointer; }
.faq-home { padding: 0 0 56px; }
.faq-lead {
  background: linear-gradient(165deg, #0A1F44, #132E5E 72%);
  color: #EEF3FA; border-radius: 28px; padding: 26px 24px 22px; margin-bottom: 16px;
}
.faq-lead-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.faq-lead h2, .faq-group-head h2, .faq-note h2 {
  margin: 0; font-family: Alexandria, sans-serif; font-weight: 700; line-height: 1.45;
}
.faq-lead h2 { color: #fff; font-size: 1.7rem; }
.faq-lead .sub { margin: 4px 0 0; color: #FFC861; font-family: Alexandria, sans-serif; font-weight: 700; }
.faq-lead p { margin: 0 0 10px; color: #C9D6EC; line-height: 1.95; }
.faq-lead .hello { color: #fff; font-weight: 700; }
.faq-sign { margin: 8px 0 0 !important; color: #FFC861 !important; font-family: Alexandria, sans-serif; font-weight: 700; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: start; }
.faq-set { display: grid; gap: 12px; align-content: start; min-width: 0; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); min-width: 0;
}
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: start;
  background: transparent; border: 0; padding: 12px 12px; cursor: pointer; color: var(--ink);
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: .98rem; line-height: 1.55;
}
.faq-q .tile { width: 44px; height: 49px; }
.faq-q .qtext { flex: 1; min-width: 0; }
.qn { display: inline-block; min-width: 2.2em; margin-inline-end: 4px; color: var(--teal-d); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.faq-item.is-open > .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open > .faq-q .chev { transform: rotate(180deg); }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0; padding: 0 16px 14px; padding-inline-start: 66px; color: var(--muted); line-height: 1.9; }
.faq-a-inner a { color: var(--teal-d); font-weight: 700; }
.faq-actions { display: flex; justify-content: center; margin-top: 16px; }
.faq-page { padding-top: 22px; padding-bottom: 48px; }
.faq-page .wrap { width: min(1280px, calc(100% - 36px)); }
.faq-board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; align-items: stretch; margin-top: 6px;
}
.faq-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-height: 196px; padding: 18px 16px 16px; border-radius: 22px; text-align: start;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink); cursor: pointer; font-family: Alexandria, sans-serif;
}
.faq-card .tile { width: 52px; height: 58px; }
.faq-card .ord { color: var(--teal-d); font-weight: 700; font-size: .82rem; }
.faq-card strong { font-weight: 700; font-size: 1.05rem; line-height: 1.55; }
.faq-card em { margin-top: auto; font-style: normal; color: var(--muted); font-weight: 600; font-size: .86rem; }
.faq-card:hover, .faq-card.is-on { border-color: #0AA5AD; }
.faq-card.is-on { background: var(--wash); }
.faq-board > .faq-stage { grid-column: 1 / -1; }
.faq-stages { margin-top: 16px; }
.faq-stage {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 20px 18px 16px;
}
.faq-stage[hidden] { display: none; }
.faq-item { scroll-margin-top: 88px; }
.faq-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.faq-group-head .tile { width: 56px; height: 63px; flex: none; }
.faq-group-head .ord { margin: 0 0 2px; color: var(--teal-d); font-weight: 700; font-size: .84rem; }
.faq-group-head h2 { color: var(--ink); font-size: 1.28rem; }
.faq-note {
  margin-top: 22px; background: linear-gradient(165deg, #0A1F44, #132E5E 72%);
  color: #EEF3FA; border-radius: 28px; padding: 26px 24px 18px;
}
.faq-note h2 { color: #FFC861; font-size: 1.35rem; margin-bottom: 10px; }
.faq-note p { margin: 0; color: #C9D6EC; line-height: 1.95; font-size: 1.02rem; }
.faq-note .endmark { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 16px; }
.faq-note .endmark b { color: #fff; font-size: 1.25rem; }
.faq-note .endmark span { color: #FFC861; font-size: 1.05rem; }
.more.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.page-intro { padding: 28px 0 6px; }
.page-intro h1 { margin: 0; font-family: Alexandria, sans-serif; color: var(--ink); font-size: 1.85rem; line-height: 1.45; }
.page-intro .back-home { margin-bottom: 10px; }
.detail-end { height: 28px; }
.policy-clauses {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.policy-clauses > li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 16px 16px 14px; min-width: 0;
}
.policy-clauses > li > div { flex: 1; min-width: 0; }
.policy-clauses .tile { width: 64px; height: 72px; margin-top: 2px; flex: none; }
.policy-clauses b {
  display: block; font-family: Alexandria, sans-serif; font-weight: 700;
  color: var(--ink); font-size: 1.05rem; line-height: 1.5;
}
.policy-clauses p, .policy-body li { font-size: 1.02rem; line-height: 1.9; }
.policy-clauses p { margin: 6px 0 0; color: var(--muted); }
.policy-clauses .pn {
  display: inline-grid; place-items: center; min-width: 2.15em; height: 1.7em;
  margin-inline-end: 8px; padding: 0 6px; border-radius: 999px;
  background: #E7F7F8; color: var(--teal-d); font-size: .82rem; vertical-align: middle;
}
.policy-body .policy-points { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.policy-body .policy-points li {
  display: block; border: 0; padding: 2px 0; padding-inline-start: 16px; position: relative; color: var(--muted);
}
.policy-body .policy-points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.policy-close {
  margin-top: 16px; background: var(--surface); border: 1px solid var(--line);
  border-inline-start: 4px solid var(--teal); border-radius: 22px;
  box-shadow: var(--shadow); padding: 18px 20px 16px;
}
.policy-close .policy-contact { margin: 0; padding: 0; border: 0; color: var(--text); }
.policy-contact a, .policy-clauses a { color: var(--teal-d); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.policy-close .policy-sign { margin: 8px 0 0; font-family: Alexandria, sans-serif; font-weight: 700; color: var(--ink); }

.whatsapp-float {
  position: fixed; z-index: 55; bottom: 22px; left: 20px; width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
}
.dialog-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 31, 68, .5);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.dialog-overlay.hidden { display: none; }
.dialog-box {
  width: min(380px, 100%); background: var(--surface); color: var(--text); border-radius: 22px; padding: 28px 22px 22px; text-align: center;
  box-shadow: 0 24px 60px rgba(10, 31, 68, .3);
}
.dialog-box h2 { margin: 0 0 8px; font-family: Alexandria, sans-serif; color: var(--ink); font-size: 1.15rem; }
.dialog-box p { margin: 0 0 16px; color: var(--muted); }
.wa-mark {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #2fe07a, #1fae5b);
}
.dialog-actions { display: flex; flex-direction: column; gap: 8px; }
.dialog-actions button, .dialog-box .text-btn {
  font-family: inherit; border: 0; border-radius: 12px; min-height: 46px; cursor: pointer; font-weight: 700;
}
.dialog-actions .yes { background: #25D366; color: #fff; }
.dialog-box .text-btn { background: none; color: var(--muted); text-decoration: underline; }
.countdown {
  width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--teal);
  display: grid; place-items: center; font-family: Alexandria, sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--teal-d);
}
.fine { font-size: .82rem !important; }

@media (min-width: 980px) {
  .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
}
@media (max-width: 1279px) and (min-width: 768px) {
  .site-shell { grid-template-columns: 220px minmax(0, 1fr); }
  html.nav-collapsed .site-shell { grid-template-columns: 0 minmax(0, 1fr); }
}
@media (max-width: 1180px) {
  .faq-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) and (min-width: 768px) {
  .policy-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .site-header { z-index: 40; }
  .site-shell { display: block; }
  .site-nav {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 95;
    height: 100vh; height: 100dvh; max-height: 100dvh; min-height: 100dvh;
    width: min(86vw, 300px); padding: 14px 12px 28px; border: 0;
    box-shadow: -12px 0 32px rgba(10,31,68,.16);
    transform: translateX(110%);
    visibility: hidden; pointer-events: none;
    transition: transform .2s ease;
  }
  html.nav-collapsed .site-nav { width: min(86vw, 300px); padding: 14px 12px 28px; }
  html.nav-collapsed .site-nav { visibility: hidden; pointer-events: none; transform: translateX(110%); }
  html.nav-open .site-nav { transform: translateX(0); visibility: visible; pointer-events: auto; }
  html.nav-open .nav-backdrop {
    display: block; pointer-events: auto; position: fixed; inset: 0; z-index: 90;
    background: rgba(10,31,68,.45);
  }
  html.nav-open, html.nav-open body { overflow: hidden; }
  .policy-nav { grid-template-columns: 1fr; gap: 10px; }
  .home-grid, .faq-grid, .faq-board, .desk-choices, .desk-home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split, .rows, .versus, .cards, .footer-grid, .footer-split { grid-template-columns: 1fr; }
  .stack, .stack.c4, .flow { grid-template-columns: 1fr 1fr; }
  .flow span:not(:nth-child(4n))::after { display: none; }
  .flow span:not(:nth-child(2n))::after { content: ""; display: block; }
  .path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal, .contacts a, .contacts .static { flex-wrap: wrap; }
  .portal em, .contacts em { margin-inline-start: 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(1040px, calc(100% - 28px)); }
  .band { padding: 14px 0 0; }
  .band .wrap { padding: 22px 16px 26px; border-radius: 22px; }
  .policy-mast, .policy-close { padding: 18px 16px; border-radius: 22px; }
  .policy-clauses > li { padding: 14px 12px; gap: 10px; }
  .policy-clauses .tile { width: 52px; height: 58px; }
  .hero { min-height: 0; padding: 0; }
  .stack, .stack.c4, .flow, .path { grid-template-columns: 1fr; }
  .flow span::after,
  .flow span:not(:nth-child(2n))::after,
  .flow span:not(:nth-child(4n))::after { display: none; }
  .brand-name { display: none; }
  .nav-toggle { width: 44px; padding: 0; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; left: 14px; }
}
@media (min-width: 1440px) {
  .wrap { width: min(1120px, calc(100% - 64px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-shell, .site-nav, .acc-panel, .chev, .opening.is-done, .faq-a { transition: none; }
  .hero-video { display: none; }
  .opening-glow, .opening-ring { display: none; }
  .opening img, .opening p, .float-item.is-alive, .footer-logo { animation: none; }
  .opening p { background: none; color: #FFC861; -webkit-text-fill-color: #FFC861; }
}
.desk-page .faq-lead h1 {
  margin: 0; color: #fff; font-family: Alexandria, sans-serif; font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.45;
}
.desk-home { padding: 8px 0 48px; }
.desk-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.desk-page { padding: 22px 0 56px; }
.desk-page .wrap { width: min(980px, calc(100% - 36px)); }
.desk-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px; align-items: start; }
.desk-who { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.desk-who-card {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 12px; cursor: pointer; font: inherit; color: var(--ink);
}
.desk-who-card .tile { width: 52px; height: 58px; margin-bottom: 4px; }
.desk-who-card strong { font-family: Alexandria, sans-serif; font-size: 1.05rem; }
.desk-who-card span { color: var(--muted); line-height: 1.6; }
.desk-who-card.is-on { border-color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.desk-choice .card-actions { margin: 8px 0 10px; }
.desk-sample-logo { width: 72px; height: auto; display: block; margin: 0; }
.desk-board {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 18px 16px; margin: 14px 0;
}
.desk-board-head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.desk-board-head h2 { margin: 0; font-family: Alexandria, sans-serif; color: var(--ink); }
.desk-board-head .desc { margin: 4px 0 0; }
.desk-toolbar { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 8px; align-items: end; }
.desk-toolbar .desk-field { margin: 0; }
.desk-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; background: var(--surface); }
.desk-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.desk-table th {
  background: var(--paper); color: var(--ink); font-family: Alexandria, sans-serif; font-weight: 700;
  text-align: start; padding: 10px 12px; white-space: nowrap; font-size: .92rem;
}
.desk-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.desk-table tbody tr:hover { background: var(--paper); }
.desk-table .desk-status { margin-top: 0; }
.desk-sum { display: flex; align-items: center; gap: 10px; }
.desk-sum .tile { width: 42px; height: 47px; }
.desk-sum strong { display: block; font-family: Alexandria, sans-serif; }
.desk-sum span { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.desk-go { width: 1%; white-space: nowrap; text-align: end; }
.desk-go .more { min-height: 36px; padding: 0 14px; }
.desk-clip { display: block; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.desk-pager .desk-actions { margin: 0; align-items: center; }
.desk-page-no { font-weight: 700; color: var(--ink); }
.desk-path {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
  list-style: none; margin: 4px 0 16px; padding: 16px 8px 12px;
  background: var(--wash); border-radius: 18px;
}
.desk-path li {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  margin: 0; padding: 0; background: none; border-radius: 0;
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: .82rem; color: var(--ink);
}
.desk-path .tile { width: 42px; height: 47px; }
.desk-path em { font-style: normal; line-height: 1.35; }
.desk-path-note { font-size: .75rem; font-weight: 700; color: var(--teal-d); }
.desk-path li.is-stop .desk-path-note { color: #9a3412; }
.desk-path li.is-wait { opacity: .38; }
.desk-path li.is-now em { color: var(--teal-d); }
.desk-path li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: -6px; width: 12px; border-top: 2px dotted #8aa4c4;
}
.desk-reason, .desk-reply, .desk-close {
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 8px 0;
}
.desk-reason h3, .desk-reply h3, .desk-close h3 {
  margin: 0 0 6px; font-family: Alexandria, sans-serif; font-size: 1.02rem; color: var(--ink);
}
.desk-reason p, .desk-reply p, .desk-close p { margin: 0 0 6px; line-height: 1.8; }
.desk-reply { background: #e7f7f8; }
.desk-close { background: var(--paper); }
.desk-reply time, .desk-close time { color: var(--muted); font-size: .85rem; }
.desk-status { display: inline-flex; align-items: center; min-height: 28px; margin-top: 8px; padding: 0 10px; border-radius: 999px; font-weight: 700; }
.desk-status.ok { background: #e7f7f8; color: var(--teal-d); }
.desk-status.bad { background: #fff1e8; color: #9a3412; }
.desk-status.wait { background: #eef2fb; color: #1b5f93; }
.desk-status.reply { background: #e7f7f8; color: #0b2349; }
.desk-status.closed { background: #eef2f6; color: #34465a; }
.desk-card, .desk-form, .desk-lookup {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 18px 16px; margin: 14px 0;
}
.desk-form h2, .desk-card h2, .desk-lookup h3 { margin: 0 0 10px; font-family: Alexandria, sans-serif; color: var(--ink); }
.desk-field { display: grid; gap: 6px; margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.desk-field input, .desk-field textarea, .desk-field select, .desk-card textarea, .desk-card select, .desk-file {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 12px; font: inherit; background: var(--surface); color: var(--ink);
}
.desk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.desk-note { margin: 8px 0; line-height: 1.8; color: var(--muted); }
.desk-note.ok { color: var(--teal-d); }
.desk-note.bad { color: #9a3412; }
.desk-note.warn { color: #9a6700; }
.desk-ref { font-family: Alexandria, sans-serif; font-weight: 700; color: var(--ink); font-size: 1.2rem; }
.desk-kicker { margin: 0 0 6px; color: var(--teal-d); font-weight: 700; }
.desk-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.desk-list { display: grid; gap: 8px; margin-top: 12px; }
.desk-row {
  display: grid; grid-template-columns: 1.1fr .6fr 1.4fr .8fr .9fr 1fr .8fr; gap: 8px;
  width: 100%; text-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 12px; cursor: pointer; font: inherit; color: var(--ink);
}
.desk-meta { display: grid; grid-template-columns: 9rem 1fr; gap: 6px 10px; margin: 0 0 14px; }
.desk-meta dt { color: var(--muted); }
.desk-meta dd { margin: 0; font-weight: 700; }
.desk-msg { border-radius: 16px; padding: 12px; margin: 8px 0; background: #f4f7fa; }
.desk-msg.staff { background: #e7f7f8; }
.desk-msg time { display: block; color: var(--muted); font-size: .85rem; }
.desk-modal { position: fixed; inset: 0; background: rgba(10,31,68,.45); display: grid; place-items: center; z-index: 80; padding: 16px; }
.desk-modal-box { width: min(460px, 100%); background: var(--surface); border-radius: 22px; padding: 18px; }
.desk-static { display: grid; gap: 14px; margin-top: 8px; }
.desk-static article.summary { margin: 0; }
.desk-static h2 { margin: 0; font-family: Alexandria, sans-serif; font-size: 1.15rem; }
.desk-static ul { list-style: none; margin: 8px 0 0; padding: 0; line-height: 1.9; }
.desk-form.summary { max-width: 640px; margin: 0 auto; }
.desk-form-title { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.desk-form-title h2 { margin: 0; }
.desk-form-title .desc { margin: 2px 0 0; }
.desk-switch, .desk-follow-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.desk-tab {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; font: inherit;
  font-family: Alexandria, sans-serif; font-weight: 700;
}
.desk-tab.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.desk-grid .span-2 { grid-column: 1 / -1; }
.desk-verify {
  background: var(--paper); border: 0; box-shadow: none; border-radius: 16px;
  padding: 10px 12px 2px; margin: 0 0 10px;
}
.desk-verify.is-done { box-shadow: inset 0 0 0 2px var(--teal); }
.desk-step-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.desk-step-head .tile, .desk-info-head .tile { width: 52px; height: 58px; }
.desk-step-head h2, .desk-step-head h3 { margin: 0; font-family: Alexandria, sans-serif; color: var(--ink); font-size: 1.15rem; line-height: 1.45; }
.desk-step-head p { margin: 4px 0 0; color: var(--muted); line-height: 1.7; font-weight: 500; }
.desk-choice { cursor: pointer; height: auto; }
.desk-choice:hover { border-color: #8fd4d8; }
.desk-info-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.desk-static article.summary { padding: 16px 16px 12px; }
.digit-row {
  display: grid; grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px; direction: ltr; width: 100%; position: relative;
}
.digit-row.code {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: calc(6 * ((100% - 54px) / 10) + 30px);
  margin-inline: auto;
}
.digit-row > input.digit-cell {
  width: 100%; height: auto; aspect-ratio: 1; min-width: 0; padding: 0; text-align: center; box-sizing: border-box;
  font-family: Alexandria, "IBM Plex Sans Arabic", sans-serif; font-weight: 700;
  font-size: clamp(.95rem, 2.2vw, 1.2rem); line-height: 1; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
}
.digit-row > input.digit-store {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0;
  opacity: 0; pointer-events: none; flex: none;
}
.digit-cell:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10, 165, 173, .22); }
.digit-row.is-full > input.digit-cell { border-color: var(--teal); }
.digit-row.is-locked > input.digit-cell { background: var(--paper); }
/* auth_50: رقمٌ دوليٌّ بديلٌ لخانات الجوال السعودي */
.digit-row.is-intl > input.digit-cell { display: none; }
.digit-row > input.digit-intl {
  grid-column: 1 / -1; width: 100%; box-sizing: border-box; direction: ltr; text-align: left;
  font-family: Alexandria, "IBM Plex Sans Arabic", sans-serif; font-weight: 700; letter-spacing: .04em;
}
.digit-row > button.digit-switch {
  grid-column: 1 / -1; justify-self: end; background: none; border: 0; padding: 2px 0; cursor: pointer;
  font: inherit; font-size: .85rem; color: var(--teal); text-decoration: underline;
}
.digit-row > button.digit-switch:disabled { opacity: .5; cursor: default; }
.digit-row.is-locked > input.digit-intl { background: var(--paper); }
button.more { border: 0; cursor: pointer; font: inherit; }
button.more.ghost { border: 1px solid var(--line); }
@media (max-width: 860px) {
  .desk-home-grid, .desk-choices, .desk-meta, .desk-toolbar { grid-template-columns: 1fr 1fr; }
  .desk-row { grid-template-columns: 1fr 1fr; }
  .desk-path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .desk-path li::after { display: none; }
}
@media (max-width: 767px) {
  .desk-home-grid, .desk-choices, .desk-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .desk-meta, .desk-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .desk-grid { grid-template-columns: 1fr; }
  .desk-grid .span-2 { grid-column: auto; }
  .digit-row.phone { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .digit-row.code { width: 100%; margin-inline: 0; }
}

/* مقاس الجوال فقط: صفّان في كل صف، دون المساس بعرض الحاسوب. */
@media (max-width: 767px) {
  .home-grid,
  .faq-board,
  .desk-home-grid,
  .desk-choices,
  .desk-static,
  .stack,
  .stack.c4,
  .cards,
  .rows,
  .flow,
  .path,
  .desk-path,
  .policy-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .policy-nav-title { grid-column: 1 / -1; }
  .home-grid > :last-child:nth-child(odd),
  .faq-board > .faq-card:nth-last-child(1 of .faq-card):nth-child(odd of .faq-card),
  .desk-home-grid > :last-child:nth-child(odd),
  .desk-static > :last-child:nth-child(odd),
  .stack > :last-child:nth-child(odd),
  .cards > :last-child:nth-child(odd),
  .rows > :last-child:nth-child(odd),
  .flow > :last-child:nth-child(odd),
  .path > :last-child:nth-child(odd),
  .desk-path > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .home-grid > *,
  .faq-board > *,
  .desk-home-grid > *,
  .desk-choices > *,
  .desk-static > *,
  .footer-split > *,
  .stack > li,
  .cards > li,
  .rows > li,
  .flow > span,
  .path > span,
  .policy-nav a,
  .rows li > div,
  .stack li > div,
  .cards li > div {
    min-width: 0;
  }
  .flow span::after,
  .path span::after,
  .desk-path li::after { display: none; }
  .footer-card { padding: 16px 14px; border-radius: 18px; }
  .footer-card-head { gap: 10px; align-items: flex-start; }
  .footer-card-head .tile { width: 44px; height: 50px; }
  .footer-card h2, .summary h2, .faq-card strong, .stack b, .rows b, .cards b,
  .faq-q, .policy-clauses b { font-size: 1.02rem; }
  .footer-kicker, .faq-card em, .faq-card .ord { font-size: .86rem; }
  .footer-card p, .summary .desc, .summary li, .stack p, .cards p, .rows p,
  .faq-a-inner p, .policy-clauses li, .acc-link, .nav-direct { font-size: .95rem; line-height: 1.75; }
  .footer-contacts a { min-height: 64px; padding: 10px; gap: 10px; }
  .footer-contacts .tile { width: 36px; height: 40px; }
  .footer-contacts strong { font-size: .95rem; }
  .footer-contacts a > span > span { font-size: .88rem; }
  .footer-logo { height: clamp(96px, 28vw, 128px); }
  .summary { padding: 14px 12px; }
  .stack li, .cards li, .rows li { padding: 12px 10px; }
  .rows .tile, .stack .tile, .cards .tile, .faq-card .tile, .faq-q .tile { width: 44px; height: 50px; }
  .faq-card { min-height: 0; padding: 14px 12px; }
  .path, .flow, .desk-path { gap: 8px; padding: 10px; }
  .site-nav {
    width: min(92vw, 340px);
    max-width: 92vw;
    height: 100vh; height: 100dvh; max-height: 100dvh; min-height: 100dvh;
    padding: 8px 10px calc(16px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html.nav-collapsed .site-nav {
    width: min(92vw, 340px);
    max-width: 92vw;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 10px calc(16px + env(safe-area-inset-bottom));
  }
  html.nav-open .site-nav {
    top: 0; bottom: 0;
    height: 100vh; height: 100dvh; max-height: 100dvh; min-height: 100dvh;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }
  html.nav-open .nav-backdrop { background: rgba(10, 31, 68, .62); }
  .nav-head {
    position: sticky; top: 0; z-index: 2; justify-content: flex-start;
    margin: 0 0 4px; padding: 2px 0 8px; background: var(--surface);
  }
  .acc-btn, .nav-direct, .acc-link { max-width: 100%; }
  .acc-title { min-width: 0; }
  .acc-link { margin-inline: 0; align-items: center; }
  .acc-title > span:last-child { overflow-wrap: anywhere; }
}
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 48px; padding: 0; border: 0; border-radius: 14px;
  background: transparent; color: var(--ink); cursor: pointer; flex: none;
}
.theme-toggle .tile { width: 36px; height: 40px; }
.promo {
  position: relative; z-index: 25;
  background:
    radial-gradient(circle at 8% 0%, rgba(10, 165, 173, .28), transparent 34%),
    radial-gradient(circle at 96% 100%, rgba(240, 150, 42, .2), transparent 32%),
    linear-gradient(165deg, #0A1F44, #132E5E 72%);
  color: #EEF3FA;
  padding: 14px 0 12px;
}
.site-main > .promo { margin: 48px 0 56px; }
.site-main > .promo + .home-grid { padding-top: 0; }
.promo-stage.is-in { animation: promo-in .28s ease; }
@keyframes promo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.promo .tile, .promo strong, .promo-card span, .promo-card p { animation: none; }
.promo-board { width: min(1120px, calc(100% - 28px)); margin-inline: auto; }
.promo-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.promo-top .tile { width: 48px; height: 54px; flex: none; }
.promo-kicker {
  margin: 0; color: #FFC861; font-family: Alexandria, sans-serif; font-weight: 700; font-size: .88rem;
}
.promo h2 {
  margin: 0; color: #fff; font-family: Alexandria, sans-serif; font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4;
}
.promo-lead { margin: 0 0 10px; color: #C9D6EC; font-size: .98rem; line-height: 1.75; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promo-grid.cols-3 { grid-template-columns: 1fr 1fr; }
.promo-grid.cols-4 { grid-template-columns: 1fr 1fr; }
.promo-card {
  display: flex; align-items: flex-start; gap: 10px; min-width: 0;
  min-height: 72px; padding: 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.promo-card .tile { width: 40px; height: 45px; flex: none; }
.promo-card strong {
  display: block; font-family: Alexandria, sans-serif; font-weight: 800; color: #fff;
  font-size: 1.02rem; line-height: 1.35;
}
.promo-card span, .promo-card p { margin: 0; color: #C9D6EC; font-size: .9rem; line-height: 1.55; }
.promo-quote {
  margin: 10px 0 0; font-family: Alexandria, sans-serif; font-weight: 700; color: #FFC861; font-size: .98rem;
}
.promo-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.promo-bar { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.promo-bar > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0AA5AD, #FFC861); }
.promo.is-run .promo-bar > span { animation: promo-run 7s linear; }
@keyframes promo-run { from { width: 0; } to { width: 100%; } }
.promo-nav { display: flex; align-items: center; gap: 6px; }
.promo-nav button {
  width: 36px; height: 36px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
}
.promo-count { font-family: Alexandria, sans-serif; font-weight: 700; color: #FFC861; font-size: .86rem; min-width: 2.4rem; text-align: center; }
@media (min-width: 980px) {
  .promo { padding: 18px 0 14px; }
  .promo-board { width: min(1120px, calc(100% - 48px)); }
  .promo-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .promo-card .tile { width: 44px; height: 50px; }
}
@media (min-width: 980px) {
  .site-header { padding-inline: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-bar > span, .promo-stage.is-in { animation: none; }
  .promo-bar > span { width: 100%; }
}
h1, h2, h3, .summary h2, .block-head h2, .faq-card strong, .policy-clauses b, .footer-card h2, .promo h2 {
  font-family: Alexandria, sans-serif;
  font-synthesis: none;
}
.lead, .prose p, .body, .summary .desc, .summary li, .stack p, .cards p, .rows p,
.faq-a-inner p, .faq-lead p, .policy-clauses p, .promo-card p, .promo-lead {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
.faq-sign, .promo-kicker, .promo-quote, .endmark b, .endmark span, .policy-close .policy-sign {
  font-family: Alexandria, sans-serif;
}
@media (max-width: 767px) {
  .site-header {
    display: flex; flex-wrap: nowrap; align-items: center;
    height: 56px; min-height: 56px; padding: 0 8px; gap: 4px;
  }
  .site-header .brand { display: none; }
  .nav-toggle { width: 40px; min-height: 40px; padding: 0; }
  .nav-head {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center; justify-items: center; justify-content: center;
    position: relative; padding: 6px 0 14px;
  }
  .nav-close { grid-column: 1; justify-self: center; margin: 0; }
  .nav-brand {
    grid-column: 2; display: flex; align-items: center; justify-content: center;
    width: 100%; margin: 0; min-width: 0;
  }
  .nav-brand .logo-full { display: block; height: 48px; width: auto; max-width: 100%; }
  .head-actions {
    flex: 1 1 auto; display: flex; flex-wrap: nowrap; align-items: center;
    justify-content: flex-end; gap: 4px; margin: 0; min-width: 0;
  }
  .theme-toggle { width: 32px; height: 36px; }
  .theme-toggle .tile { width: 24px; height: 28px; }
  .head-link span {
    position: static; width: auto; height: auto; margin: 0; overflow: visible;
    clip: auto; clip-path: none; white-space: nowrap; line-height: 1;
  }
  .head-link {
    flex: 0 1 auto; width: auto; height: auto; min-height: 36px; min-width: 0;
    padding: 2px 6px; gap: 3px; font-size: .68rem; justify-content: center; white-space: nowrap;
  }
  .head-link .tile { width: 20px; height: 24px; }
  body { font-size: 1rem; }
  h1, .page-intro h1, .policy-mast h1, .policy-page h1, .faq-lead h2, .desk-page .faq-lead h1 {
    font-size: 1.12rem; line-height: 1.4;
  }
  h2, .summary h2, .block-head h2, .faq-group-head h2, .footer-card h2, .faq-card strong,
  .promo h2, .promo-card strong, .policy-clauses b, .faq-note h2, .stack b, .rows b, .cards b, .faq-q {
    font-size: .98rem; line-height: 1.4;
  }
  .lead, .prose p, .body, .summary .desc, .summary li, .stack p, .cards p, .rows p,
  .faq-a-inner p, .faq-lead p, .policy-clauses p, .policy-clauses li, .promo-lead, .promo-card p,
  .footer-card p, .nav-direct, .acc-link {
    font-size: 1rem; line-height: 1.8;
  }
  .offer-grid, .product-layout, .budget-row { grid-template-columns: 1fr; }
  .offer-sub, .offer-copy h4 { font-size: .98rem; }
  .acc-btn { font-size: .95rem; }
  .head-link { font-size: .68rem; }
  .kicker, .promo-kicker, .footer-kicker, .policy-kicker, .faq-card em, .faq-card .ord { font-size: .88rem; }
}
html.theme {
  --ink: #E8EEF8;
  --paper: #07142A;
  --surface: #102444;
  --line: #2A446E;
  --text: #E8EEF8;
  --muted: #B7C6DE;
  --wash: #16324A;
  --teal-d: #7EE0E4;
  --amber-d: #FFC861;
  --header-bg: rgba(7, 20, 42, .94);
  --shadow: 0 10px 28px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
html.theme .desk-status.bad { background: #3a2418; color: #ffc8a8; }

.dept-nav { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dept-jump {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
  min-height: 168px; padding: 14px 10px 12px; text-align: center; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 20px; background: var(--paper);
}
.dept-jump .tile { width: 62px; height: 70px; }
.dept-jump b { font-family: Alexandria, sans-serif; font-weight: 700; font-size: .98rem; line-height: 1.45; }
.dept-jump span { color: var(--muted); font-size: .88rem; }
.dept-jump.tone-1 { box-shadow: inset 0 -4px 0 #F0962A; }
.dept-jump.tone-2 { box-shadow: inset 0 -4px 0 #2E8FD0; }
.dept-jump.tone-3 { box-shadow: inset 0 -4px 0 #0AA5AD; }
.dept-jump.tone-4 { box-shadow: inset 0 -4px 0 #1D3F86; }
.dept-jump:hover { background: var(--surface); }
.catalog-search { margin-bottom: 0; }
.catalog-search input { min-height: 48px; }
.band.dept { padding-top: 18px; }
.band.dept .wrap { padding: 0; overflow: hidden; }
.dept-head {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 20px;
}
.dept-head h2 { margin: 0; font-size: 1.35rem; }
.dept-count, .subcat-count {
  margin-inline-start: auto; border-radius: 999px; padding: 4px 12px;
  background: var(--surface); color: var(--muted); font-size: .88rem; white-space: nowrap;
}
.tone-1 .dept-head { background: linear-gradient(90deg, #FFF1DC, #fff 70%); border-bottom: 3px solid #F0962A; }
.tone-2 .dept-head { background: linear-gradient(90deg, #E7F3FB, #fff 70%); border-bottom: 3px solid #2E8FD0; }
.tone-3 .dept-head { background: linear-gradient(90deg, #E2F4F5, #fff 70%); border-bottom: 3px solid #0AA5AD; }
.tone-4 .dept-head { background: linear-gradient(90deg, #E7EEF8, #fff 70%); border-bottom: 3px solid #1D3F86; }
.dept-body { padding: 8px 18px 22px; }
.subcat + .subcat { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.subcat-head { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.subcat-head h3 { margin: 0; font-family: Alexandria, sans-serif; font-weight: 700; font-size: 1.05rem; }
.catalog-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.cat-card {
  display: flex; flex-direction: column; gap: 8px; height: 100%; min-width: 0;
  padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper);
  color: inherit; text-decoration: none; overflow: hidden;
}
.cat-card.tone-1 { border-top: 3px solid #F0962A; }
.cat-card.tone-2 { border-top: 3px solid #2E8FD0; }
.cat-card.tone-3 { border-top: 3px solid #0AA5AD; }
.cat-card.tone-4 { border-top: 3px solid #1D3F86; }
.cat-kicker {
  color: var(--teal-d); font-family: Alexandria, sans-serif; font-size: .75rem; font-weight: 700; line-height: 1.4;
}
.cat-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-card:hover { border-color: var(--teal); background: var(--surface); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-visual-wrap {
  position: relative; display: grid; place-items: center; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); aspect-ratio: 5 / 4; height: auto;
}
.cat-visual {
  display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center; background: #fff; padding: 6px;
  transition: transform .25s ease;
}
.cat-card:hover .cat-visual { transform: scale(1.04); }
.cat-visual-empty {
  display: flex; align-items: center; justify-content: center; color: var(--teal-d);
  background: linear-gradient(180deg, var(--wash), var(--surface));
}
.cat-card b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 3.1em; font-family: Alexandria, sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.55;
}
.cat-card .blurb {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 3.2em; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6;
}
.cat-foot {
  margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
}
.cat-foot .offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; }
.offer-off {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px;
  background: var(--amber-wash); color: var(--amber-d); font-size: .78rem;
}
.cat-go {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-family: Alexandria, sans-serif; font-weight: 700; font-size: .82rem; white-space: nowrap;
}
.cat-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.sku-chip {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  margin: 0; min-height: 30px; padding: 2px 10px 2px 4px; border-radius: 999px;
  background: var(--wash); color: var(--ink);
}
.sku-chip span {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700;
}
.sku-chip b { font-weight: 800; letter-spacing: .04em; font-size: .86rem; white-space: nowrap; }
.cat-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.cat-badge, .option-flag {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px;
  background: var(--wash); color: var(--teal-d); font-size: .75rem; font-weight: 700;
}
.cat-badge.sale, .option-flag { background: var(--amber-wash); color: var(--amber-d); }
.cat-badge.once { background: var(--ink); color: #fff; }
.cat-meta, .buy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .82rem; }
.meta-rate { display: inline-flex; align-items: center; gap: 4px; }
.stars { display: inline-flex; gap: 1px; }
.stars .on { color: #F0962A; }
.stars .off { color: #D4DEEA; }
.meta-score { color: var(--ink); font-size: .82rem; }
.meta-buy { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: var(--paper); }
.catalog-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.catalog-tools .catalog-search { flex: 1 1 220px; margin: 0; }
.view-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.view-btn, .cart-open, .qty-btn, .zoom-btn, .zoom-close, .cart-sheet header button {
  min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
  font-family: Alexandria, sans-serif; font-weight: 700;
}
.view-btn { padding: 0 12px; }
.view-btn.is-on, .cart-open { background: var(--ink); color: #fff; }
.cart-open { padding: 0 14px; }
.custom-once { margin: 0 0 16px; padding: 12px; border: 1px dashed var(--line); border-radius: 18px; }
.custom-once h2 { margin: 0 0 4px; font-size: 1.05rem; }
.custom-once p { margin: 0 0 10px; color: var(--muted); }
.custom-once .catalog-grid { grid-template-columns: minmax(0, 420px); }
.catalog-grid.is-list { grid-template-columns: 1fr; }
.catalog-grid.is-list .cat-card {
  display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 14px;
}
.catalog-grid.is-list .cat-visual-wrap { width: 128px; height: 128px; aspect-ratio: 1; }
.catalog-grid.is-list .cat-visual { width: 100%; height: 100%; }
.catalog-grid.is-list .cat-card b, .catalog-grid.is-list .cat-card .blurb { min-height: 0; }
.dept-filter {
  display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 10px 16px;
  position: sticky; top: 0; z-index: 8;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.dept-chip {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer;
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: .92rem;
}
.dept-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-mark { display: grid; place-items: center; min-height: 280px; }
.product-mark .cat-visual-empty { width: 140px; height: 140px; border-radius: 28px; }
.qty-set { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0; }
.qty-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.qty-btn { width: 42px; border-radius: 0; font-size: 1.3rem; }
.qty-step input { width: 56px; height: 42px; border: 0; text-align: center; font: inherit; background: transparent; color: inherit; }
.field-hint { margin: 0 0 8px; color: var(--muted); font-size: .85rem; }
.time-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.time-row .opt-line { min-width: 0; }
.ship-set { display: grid; gap: 8px; }
.ship-open { width: 100%; }
.opt-label { font-family: Alexandria, sans-serif; font-weight: 700; }
.party-set { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0 0 8px; padding: 0; }
.party-set legend { width: 100%; margin-bottom: 6px; font-weight: 700; }
.buy-panel h1 { margin: 0 0 6px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.gallery-stage { position: relative; }
.zoom-bar { display: flex; justify-content: center; margin-top: 10px; }
.zoom-btn {
  position: static; margin: 0; padding: 0 16px;
  background: var(--ink); color: #fff;
}
.product-photo { cursor: zoom-in; }
.photo-dialog { width: min(920px, calc(100% - 24px)); border: 0; border-radius: 20px; padding: 12px; background: var(--surface); }
.photo-dialog img { width: 100%; height: auto; }
.photo-dialog::backdrop { background: rgba(10, 31, 68, .72); }
.cart-drawer { position: fixed; inset: 0; z-index: 120; background: rgba(10, 31, 68, .45); display: grid; justify-items: end; }
.cart-drawer[hidden] { display: none; }
.cart-sheet { width: min(420px, 100%); height: 100%; overflow: auto; background: var(--surface); padding: 16px; }
.cart-sheet header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cart-sheet header button, .zoom-close { padding: 0 12px; border: 1px solid var(--line); }
.cart-lines, #cart-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
#cart-lines li { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.cart-contact { display: grid; gap: 8px; margin-bottom: 12px; }
.cart-contact input, .cart-contact select, .opt-line select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: inherit; font: inherit; }
select.country-code,
.phone-row select.country-code,
select.country-code:focus,
select.country-code:active {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%230A1F44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}
.product-frame {
  margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(180deg, var(--wash), var(--surface)); position: sticky; top: 92px;
}
.product-photo { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: #fff; height: auto; max-height: 420px; }
.product-slide[hidden] { display: none; }
.product-gallery { position: relative; overflow: hidden; }
.gallery-stage { overflow: hidden; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(10, 31, 68, .82); color: #fff; cursor: pointer;
}
.gal-prev { inset-inline-start: 12px; }
.gal-next { inset-inline-end: 12px; }
.gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.gal-dot { width: 8px; height: 8px; min-height: 8px; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; }
.gal-dot.is-on { background: var(--teal); }
.detail-acc { display: grid; gap: 10px; }
.detail-acc-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.detail-acc-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px;
  border: 0; background: transparent; color: inherit; cursor: pointer; text-align: start;
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: 1rem;
}
.detail-acc-btn .chev { margin-inline-start: auto; transition: transform .2s ease; }
.detail-acc-item.is-open .chev { transform: rotate(180deg); }
.detail-acc-panel { display: none; padding: 0 14px 12px 46px; }
.detail-acc-item.is-open .detail-acc-panel { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .will-rise { opacity: 0; transform: translateY(12px); }
  .will-rise.is-shown { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
  .cat-card.will-rise.is-shown:hover { transform: translateY(-3px); }
}
.buy-panel { min-width: 0; }
.sku { margin: 0 0 6px; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.crumb a { color: inherit; }
.opt-block h2, .copy-title { margin: 0 0 8px; font-family: Alexandria, sans-serif; font-size: 1.15rem; }
.opt-choice {
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.55;
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: var(--paper); cursor: pointer;
}
.opt-choice:has(input:checked) { border-color: var(--teal); background: var(--wash); }
.opt-choice input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.contact-set { background: var(--paper); }
.copy-title { margin-bottom: 12px; }
html.theme .tone-1 .dept-head { background: #2a2118; }
html.theme .tone-2 .dept-head { background: #152433; }
html.theme .tone-3 .dept-head { background: #102828; }
html.theme .tone-4 .dept-head { background: #152038; }
html.theme .dept-jump, html.theme .cat-card, html.theme .opt-choice { background: var(--surface); }
html.theme .product-photo, html.theme .cat-visual { background: #0d1b33; }
@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .dept-nav, .catalog-grid, .product-layout, .budget-row { grid-template-columns: 1fr; }
  .dept-nav { grid-template-columns: 1fr 1fr; }
  .dept-jump { min-height: 0; }
  .product-frame { position: static; }
  .product-photo { max-height: 280px; aspect-ratio: auto; }
  .cat-card b, .cat-card .blurb { min-height: 0; }
}
.detail-lead, .detail-prose {
  margin: 0 0 14px; max-width: 78ch; font-size: 1.02rem; line-height: 1.9;
}
.detail-prose { margin: 0; color: var(--ink); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-block {
  margin: 0; padding: 14px 14px 8px; border: 1px solid var(--line); border-top: 3px solid var(--teal);
  border-radius: 18px; background: var(--surface);
}
.detail-block.wide { grid-column: 1 / -1; }
.detail-block.is-note, .detail-block.is-time { border-top-color: var(--amber); }
.detail-block.is-star, .detail-block.is-spark { border-top-color: var(--amber); }
.detail-block.is-legal { border-top-color: var(--ink); }
.detail-block h3 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
  font-family: Alexandria, sans-serif; font-size: 1rem; line-height: 1.45;
}
.detail-topics { display: grid; gap: 12px; }
.detail-topic {
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 12px 14px 8px;
}
.detail-topic.tone-1 { border-inline-start: 4px solid #F0962A; }
.detail-topic.tone-2 { border-inline-start: 4px solid #2E8FD0; }
.detail-topic.tone-3 { border-inline-start: 4px solid #0AA5AD; }
.detail-topic.tone-4 { border-inline-start: 4px solid #1D3F86; }
.detail-topic-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.detail-topic-head h3 { margin: 0; font-family: Alexandria, sans-serif; font-size: 1.05rem; }
.detail-topic .tile { width: 44px; height: 49px; }
.copy-card {
  margin: 0; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(180deg, var(--wash), var(--surface)); border: 1px solid var(--line);
}
.detail-lead.copy-card { margin-bottom: 12px; }
.detail-list { margin: 0; padding: 0 1.15em 4px 0; }
.detail-list li { margin: 0 0 6px; line-height: 1.75; }
html.theme .detail-block, html.theme .detail-topic { background: var(--surface); }
.product-sheet { max-width: none; }
.product-sheet .product-frame { position: relative; top: auto; max-width: none; }
.product-form.product-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 20px 28px; align-items: start; margin-top: 0;
}
.product-identity { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; }
.product-identity .nameplate { margin: 0; }
.identity-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.identity-row .option-flag, .identity-row .buy-meta { margin: 0; }
.product-identity .product-price { margin: 0; }
.product-identity .pricing-note { margin: 0; }
.media-col { display: grid; gap: 12px; min-width: 0; align-content: start; }
.media-col .product-gallery { position: relative; }
.buy-panel .lead { margin: 0; }
.visual-opts { display: grid; gap: 10px; }
.visual-opts .opt-set { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
.visual-opts .opt-set legend { grid-column: 1 / -1; }
.nameplate { margin: 0 0 8px; }
.nameplate h1 { margin: 0; color: var(--ink); font-family: Alexandria, sans-serif; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.nameplate-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.pill-brand, .pill-cat {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px;
  font-family: Alexandria, sans-serif; font-weight: 700;
}
.pill-brand { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.pill-cat { background: var(--ink); color: #fff; }
.product-top { padding: 4px 0 0; }
.product-top .back-home { min-height: 32px; margin-bottom: 4px; padding: 0 12px; font-size: .9rem; }
.detail-rail { padding: 8px 0 0; }
.detail-rail .wrap { padding: 12px 16px 10px; }
.detail-rail + .band { padding-top: 8px; }
.detail-rail + .band > .wrap { padding-top: 14px; }
.detail-rail .copy-title { margin: 0 0 6px; font-size: 1rem; }
.detail-titles { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-open {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 14px 6px 8px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit;
  cursor: pointer; font-family: Alexandria, sans-serif; font-weight: 700; text-align: start;
}
.detail-open .tile { width: 36px; height: 40px; flex: none; }
.detail-dialog, .ship-dialog { border: 0; padding: 0; background: transparent; }
.detail-dialog[open], .ship-dialog[open] {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 18px;
  background: transparent; display: grid; place-items: center;
}
.detail-dialog::backdrop, .ship-dialog::backdrop, .photo-dialog::backdrop { background: rgba(10, 31, 68, .72); }
.detail-sheet { position: relative; width: min(560px, 100%); }
.detail-dialog .detail-topic {
  width: 100%; max-height: min(70vh, 640px); overflow: auto; margin: 0;
  box-shadow: var(--shadow);
}
.detail-dialog .detail-topic[hidden] { display: none; }
.detail-x {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  min-height: 36px; padding: 0 12px; border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
  border: 1px solid var(--line);
}
.nameplate h1 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.25; }
.nameplate-pills { margin-bottom: 4px; }
.buy-panel .opt-block h2 { margin-bottom: 4px; }
.pay-card {
  margin: 16px 0 4px; padding: 16px 18px 14px; border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f3f7fb); color: var(--ink);
  border: 1px solid rgba(240, 150, 42, .55); box-shadow: var(--shadow);
}
.pay-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.pay-card-head .tile { width: 64px; height: 72px; }
.pay-card .tile { animation: pay-icon 2.8s ease-in-out infinite; }
@keyframes pay-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.pay-card-head h2, .pay-title {
  margin: 0; flex: 1; min-width: 0; overflow: hidden; container-type: inline-size;
  font-family: Alexandria, sans-serif; font-weight: 800;
  font-size: 18px; line-height: 1.45;
}
.pay-title-18 { font-size: 18px; }
.pay-title-14 { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.pay-title-track { display: flex; width: max-content; direction: ltr; animation: pay-roll 18s linear infinite; }
.pay-title-track > span {
  box-sizing: border-box; min-width: 100cqi; direction: rtl; text-align: start;
  padding-inline-end: 1.5rem; white-space: nowrap;
}
.pay-card-head.pay-sign { margin: 2px 0 0; }
.pay-card p { margin: 0 0 8px; line-height: 1.85; }
.pay-sign { margin: 4px 0 0; }
.site-footer .pay-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  color: #fff; border-color: rgba(255, 200, 97, .55); box-shadow: none;
}
.site-footer .pay-card p, .site-footer .pay-card h2 { color: #fff; }
.pay-marquee {
  overflow: hidden; margin: 8px 0 10px; direction: ltr;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pay-track { display: flex; width: max-content; animation: pay-roll 28s linear infinite; }
.pay-marks { display: flex; gap: 12px; list-style: none; margin: 0; padding: 8px 6px; }
.pay-marks li {
  flex: none; height: 54px; min-width: 124px; display: grid; place-items: center;
  padding: 6px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
}
.pay-marks img { height: 36px; width: auto; max-width: 116px; max-height: 36px; object-fit: contain; display: block; }
@keyframes pay-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.site-footer .pay-marquee { margin: 8px 0 10px; }
.swatch {
  width: 16px; height: 16px; border-radius: 999px; border: 1px solid rgba(11, 35, 73, .28);
  display: inline-block; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.opt-choice span { display: inline-flex; align-items: center; gap: 8px; }
.ship-open { justify-self: start; }
.ship-summary { margin: 0; line-height: 1.7; }
.tgm-box {
  width: min(820px, 100%); max-height: min(92vh, 760px); overflow: auto; background: #fff; color: #0f172a;
  border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column;
}
.tgm-head, .tgm-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.tgm-head { border-bottom: 1px solid #e5e7eb; }
.tgm-head h2 { margin: 0; font-family: Alexandria, sans-serif; font-size: 1.05rem; }
.tgm-x, .tgm-cancel {
  border: 0; background: #f1f5f9; color: #0f172a; border-radius: 10px; cursor: pointer; min-height: 36px; padding: 0 12px;
}
.tgm-x { width: 36px; padding: 0; font-size: 18px; }
.tgm-short { display: grid; gap: 6px; padding: 10px 14px 0; }
.tgm-shint { margin: 0; color: #64748b; font-size: .85rem; }
.tgm-map { position: relative; }
.tgm-stage {
  position: relative; margin: 10px 14px 0; border-radius: 14px; overflow: hidden; background: #d5e6f3;
  height: 38vh; min-height: 200px; cursor: grab; touch-action: none;
}
.tgm-layer { position: absolute; inset: 0; }
.tgm-layer img {
  position: absolute; left: 0; top: 0; width: 512px; height: 512px; max-width: none;
  user-select: none; -webkit-user-drag: none;
}
.tgm-traffic { z-index: 2; pointer-events: none; }
.tgm-pin {
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; z-index: 6; margin: 0; padding: 0;
  border: 0; background: transparent; cursor: grab; pointer-events: auto; touch-action: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45));
}
.tgm-pin svg { width: 30px; height: 30px; display: block; }
.tgm-zoom { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 7; display: flex; flex-direction: column; gap: 6px; }
.tgm-zoom button, .tgm-lay button {
  border: 0; background: rgba(255, 255, 255, .96); color: #0f172a; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.tgm-zoom button { width: 34px; height: 34px; border-radius: 10px; font-weight: 700; }
.tgm-short-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.tgm-go, .tgm-acts button {
  min-height: 44px; border: 1px solid #d5e0ea; border-radius: 12px; background: #f4f8fb; color: #0B2349;
  font-family: Alexandria, sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; padding: 0 12px;
}
.tgm-go { white-space: nowrap; }
.tgm-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tgm-lay {
  position: static; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 8px 14px 0; border-radius: 12px; overflow: hidden; max-width: none;
  border: 1px solid #e5e7eb;
}
.tgm-lay button { min-height: 40px; padding: 6px 4px; font-weight: 700; font-size: 12px; border-radius: 0; box-shadow: none; }
.tgm-lay button + button { border-inline-start: 1px solid #e5e7eb; }
.tgm-lay button.on { background: #0AA5AD; color: #fff; }
.tgm-suggest {
  display: grid; max-height: 180px; overflow: auto; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
}
.tgm-suggest[hidden] { display: none; }
.tgm-suggest button {
  text-align: start; border: 0; border-bottom: 1px solid #f1f5f9; background: #fff; color: #0f172a;
  padding: 8px 10px; cursor: pointer; font: 600 13px/1.5 Alexandria, sans-serif;
}
.tgm-status { margin: 0; color: #92400e; font-size: .85rem; }
.tgm-status[hidden] { display: none; }
.tgm-foot { border-top: 1px solid #e5e7eb; margin-top: 10px; flex-wrap: wrap; align-items: end; }
.tgm-foot .opt-line { flex: 1 1 160px; }
.tgm-ok { background: #0AA5AD; color: #fff; border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 700; cursor: pointer; }
.tgm-btns { display: flex; gap: 8px; align-items: center; }
@media (prefers-reduced-motion: reduce) {
  .pay-track, .pay-title-track, .pay-card .tile { animation: none; }
  .pay-track { flex-wrap: wrap; width: auto; }
  .pay-marquee { mask-image: none; }
  .pay-marks[aria-hidden="true"], .pay-title-track > span[aria-hidden="true"] { display: none; }
}
@media (max-width: 767px) {
  .product-form.product-layout { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-block.wide { grid-column: auto; }
  .catalog-grid:not(.is-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .catalog-grid.is-list { grid-template-columns: 1fr; }
  .catalog-grid.is-list .cat-card { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 8px; }
  .catalog-grid.is-list .cat-visual-wrap { width: 104px; height: 104px; }
  .catalog-grid:not(.is-list) .cat-card { padding: 8px; gap: 6px; }
  .catalog-grid:not(.is-list) .sku-chip span { display: none; }
  .catalog-grid:not(.is-list) .sku-chip { padding: 0; background: transparent; }
  .catalog-grid:not(.is-list) .sku-chip b { font-size: .75rem; }
  .catalog-grid:not(.is-list) .blurb { -webkit-line-clamp: 2; min-height: 0; }
  .catalog-grid:not(.is-list) .cat-visual-wrap { aspect-ratio: 1; }
  .catalog-grid:not(.is-list) .cat-card b { font-size: .9rem; line-height: 1.4; min-height: 2.8em; }
  .catalog-grid:not(.is-list) .cat-foot { align-items: flex-start; }
  .dept-filter { top: 0; padding-inline: 12px; }
  .view-switch { width: 100%; }
  .view-btn { flex: 1; }
}
body.home .promo h2,
body.home .summary h2,
body.home .faq-lead h2,
body.home .footer-card h2,
body.home .dialog-box h2,
body.home .promo-card strong,
body.home .endmark b,
body.home .pay-title-18,
body.home .faq-q {
  font-size: 18px;
  line-height: 1.45;
}
body.home .promo-kicker,
body.home .faq-lead .sub,
body.home .faq-lead .hello,
body.home .faq-sign,
body.home .footer-kicker,
body.home .footer-name,
body.home .endmark span,
body.home .policy-nav-title,
body.home .promo-card span,
body.home .summary li,
body.home .footer-contacts strong {
  font-size: 14px;
  line-height: 1.6;
}
body.home .summary .desc,
body.home .faq-lead p,
body.home .faq-a-inner p,
body.home .prose p,
body.home .footer-card > p,
body.home .footer-contacts a > span > span,
body.home .footer-copy,
body.home .promo-lead,
body.home .promo-quote,
body.home .promo-card p,
body.home .dialog-box p,
body.home .pay-title-14,
body.home .fine {
  font-size: 14px;
  line-height: 1.7;
}
