/* ==========================================================================
   Zelin Trading Co., Limited — Global Design System
   Style direction: bold automotive performance. Angled geometry, wide
   uppercase display type, speed-line textures, high-contrast colour blocks.
   All colour / spacing / motion tokens are owned here and nowhere else.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Core neutrals — deep graphite to ice */
  --c-ink: #080D18;
  --c-ink-2: #0F1729;
  --c-graphite: #1A2438;
  --c-steel: #33425E;
  --c-slate: #6B7C99;
  --c-mist: #AFBBD0;
  --c-line: #DCE3EE;
  --c-line-soft: #EAEFF7;
  --c-paper: #F3F6FB;
  --c-white: #FFFFFF;

  /* Brand accents — original values, automotive-performance mood */
  --c-accent: #FF5A1F;
  --c-accent-hot: #FF8244;
  --c-accent-deep: #C93F00;
  --c-azure: #2E6BFF;
  --c-azure-deep: #1743C4;
  --c-sun: #FFC53D;
  --c-good: #12B76A;

  /* Gradients */
  --grad-accent: linear-gradient(120deg, var(--c-accent) 0%, var(--c-accent-hot) 100%);
  --grad-azure: linear-gradient(135deg, var(--c-azure) 0%, #6B9BFF 100%);
  --grad-dark: linear-gradient(158deg, var(--c-ink) 0%, var(--c-graphite) 62%, #223050 100%);
  --grad-steel: linear-gradient(180deg, var(--c-graphite) 0%, var(--c-ink) 100%);

  /* Typography */
  --font-display: "Segoe UI Black", "Arial Black", "Helvetica Neue", Impact, Arial, sans-serif;
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --fs-display: clamp(2.75rem, 7.2vw, 6rem);
  --fs-h1: clamp(2.25rem, 5.2vw, 4rem);
  --fs-h2: clamp(1.85rem, 3.6vw, 2.85rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --fs-lead: clamp(1.02rem, 1.35vw, 1.2rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --section-y: clamp(3.5rem, 7vw, 7rem);
  --gutter: clamp(1.15rem, 3.6vw, 2.75rem);
  --container: 1240px;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(8, 13, 24, 0.06), 0 2px 8px rgba(8, 13, 24, 0.05);
  --sh-2: 0 4px 14px rgba(8, 13, 24, 0.08), 0 12px 30px rgba(8, 13, 24, 0.07);
  --sh-3: 0 12px 30px rgba(8, 13, 24, 0.12), 0 30px 70px rgba(8, 13, 24, 0.12);
  --sh-accent: 0 10px 26px rgba(255, 90, 31, 0.32);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Motion */
  --t-fast: 160ms;
  --t-base: 320ms;
  --t-slow: 620ms;
  --t-lazy: 1100ms;
  --ease-out: cubic-bezier(0.22, 0.9, 0.28, 1);
  --ease-spring: cubic-bezier(0.34, 1.46, 0.64, 1);

  /* Horizontal slide distance. Kept below the narrow-screen gutter so the
     pre-reveal offset can never push the page into horizontal overflow. */
  --slide-x: 42px;

  /* Layers */
  --z-base: 1;
  --z-decor: 2;
  --z-header: 100;
  --z-menu: 150;
  --z-backtop: 200;
}

/* --------------------------------------------------------------------------
   2. RESET + BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--c-graphite);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
}

img,
svg,
video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--c-azure);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--c-accent);
  color: var(--c-white);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.18; }

p { text-wrap: pretty; }

strong { font-weight: 700; color: var(--c-ink); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--c-steel);
}

.text-muted { color: var(--c-slate); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--sp-4);
  z-index: 999;
  padding: 0.7rem 1.2rem;
  background: var(--c-accent);
  color: var(--c-white);
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 900px; }
.container--wide { max-width: 1420px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 4.6vw, 4rem); }
.section--paper { background: var(--c-paper); }
.section--dark {
  background: var(--grad-dark);
  color: var(--c-mist);
}
.section--dark h2,
.section--dark h3,
.section--dark strong { color: var(--c-white); }
.section--dark .lead { color: var(--c-mist); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.items-center { align-items: center; }

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { display: flex; flex-wrap: wrap; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }

/* --------------------------------------------------------------------------
   5. SECTION FURNITURE
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--grad-accent);
  transform: skewX(-24deg);
}

.section--dark .eyebrow { color: var(--c-accent-hot); }

.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow::before { display: none; }
.section-head h2 { margin-block: var(--sp-3) var(--sp-4); }
.section-head p { color: var(--c-steel); font-size: var(--fs-lead); }
.section--dark .section-head p { color: var(--c-mist); }

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: end;
  max-width: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-line-soft);
  color: var(--c-steel);
}

.badge--accent { background: rgba(255, 90, 31, 0.12); color: var(--c-accent-deep); }
.badge--azure { background: rgba(46, 107, 255, 0.12); color: var(--c-azure-deep); }
.badge--good { background: rgba(18, 183, 106, 0.13); color: #067647; }
.badge--dark { background: rgba(255, 255, 255, 0.1); color: var(--c-white); }

.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-steel);
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
}

.chip:hover { border-color: var(--c-accent); color: var(--c-accent-deep); }
.chip.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-white);
}

/* Speed-line texture used on dark blocks */
.speedlines {
  position: absolute;
  inset: 0;
  z-index: var(--z-decor);
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(
      102deg,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 2px,
      transparent 2px,
      transparent 22px
    );
}

.speedlines--accent {
  background-image:
    repeating-linear-gradient(
      102deg,
      rgba(255, 90, 31, 0.16) 0px,
      rgba(255, 90, 31, 0.16) 3px,
      transparent 3px,
      transparent 26px
    );
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-white);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    background-color var(--t-base) var(--ease-out);
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.26) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform var(--t-slow) var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--c-accent);
  box-shadow: var(--sh-accent);
}
.btn--primary:hover { --btn-bg: var(--c-accent-hot); }

.btn--azure { --btn-bg: var(--c-azure); box-shadow: 0 10px 26px rgba(46, 107, 255, 0.32); }
.btn--azure:hover { --btn-bg: #1F58E8; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  clip-path: none;
  border-radius: var(--r-sm);
}
.btn--ghost:hover { border-color: var(--c-white); background: rgba(255, 255, 255, 0.08); }

.btn--light {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-ink);
  box-shadow: var(--sh-2);
}

.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--c-accent-deep);
  transition: gap var(--t-base) var(--ease-out);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 0.8rem; }
.section--dark .link-arrow { color: var(--c-accent-hot); }

/* --------------------------------------------------------------------------
   7. CARDS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: var(--c-accent);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--c-accent); color: var(--c-white); }

.card__title { margin-bottom: var(--sp-3); }
.card__text { color: var(--c-slate); font-size: 0.96rem; }
.card__index {
  position: absolute;
  top: var(--sp-4); right: var(--sp-5);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--c-line-soft);
  transition: color var(--t-base) var(--ease-out);
}
.card:hover .card__index { color: rgba(255, 90, 31, 0.22); }

.section--dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.section--dark .card:hover { background: rgba(255, 255, 255, 0.085); }
.section--dark .card__text { color: var(--c-mist); }
.section--dark .card__icon { background: var(--c-accent); color: var(--c-white); }

/* --------------------------------------------------------------------------
   8. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: var(--sh-2);
  background: rgba(255, 255, 255, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand__mark {
  width: 40px; height: 40px;
  display: block;
  color: var(--c-ink);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--c-ink);
}
.brand__name span { display: block; }
.brand__sub {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-slate);
}

.site-nav { display: flex; align-items: center; gap: var(--sp-2); }

.site-nav__link {
  position: relative;
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-steel);
  border-radius: var(--r-xs);
  transition: color var(--t-fast) var(--ease-out);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.95rem; bottom: 0.25rem;
  width: 0; height: 3px;
  background: var(--grad-accent);
  transform: skewX(-24deg);
  transition: width var(--t-base) var(--ease-out);
}

.site-nav__link:hover { color: var(--c-ink); }
.site-nav__link:hover::after { width: calc(100% - 1.9rem); }
.site-nav__link.is-active { color: var(--c-ink); }
.site-nav__link.is-active::after { width: calc(100% - 1.9rem); }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out);
}
.nav-toggle:hover { border-color: var(--c-ink); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-close { display: block; }
.nav-toggle.is-open .icon-menu { display: none; }

.mobile-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: var(--z-menu);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--sh-3);
  padding: var(--sp-4) var(--gutter) var(--sp-6);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-base) var(--ease-out),
    opacity var(--t-base) var(--ease-out),
    visibility var(--t-base);
}

.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--c-line-soft);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--c-ink);
}
.mobile-nav__link.is-active { color: var(--c-accent-deep); }
.mobile-nav__link svg { width: 18px; height: 18px; color: var(--c-mist); }

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-ink);
  color: var(--c-mist);
  padding-block: var(--sp-8) var(--sp-5);
  position: relative;
  overflow: hidden;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand__name { color: var(--c-white); }
.footer-brand .brand__sub { color: var(--c-slate); }
.footer-brand .brand__mark { color: var(--c-white); }
.footer-brand p { margin-top: var(--sp-4); font-size: 0.94rem; max-width: 40ch; }

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: var(--sp-4);
}

.footer-col li + li { margin-top: 0.6rem; }

.footer-col a {
  font-size: 0.94rem;
  color: var(--c-mist);
  transition: color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
  display: inline-block;
}
.footer-col a:hover { color: var(--c-accent-hot); transform: translateX(3px); }

.footer-info { font-size: 0.9rem; line-height: 1.8; }
.footer-info dt {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-top: var(--sp-3);
}
.footer-info dd { margin: 0; color: var(--c-white); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  font-size: 0.85rem;
  color: var(--c-slate);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.footer-legal a { color: var(--c-mist); }
.footer-legal a:hover { color: var(--c-accent-hot); }

/* --------------------------------------------------------------------------
   10. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(3rem, 6vw, 6rem);
  background: var(--grad-dark);
  color: var(--c-white);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: var(--z-decor);
  top: -30%; right: -10%;
  width: 62%; height: 160%;
  background: radial-gradient(
    ellipse at center,
    rgba(46, 107, 255, 0.4) 0%,
    rgba(46, 107, 255, 0) 66%
  );
  transform: rotate(-14deg);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: var(--z-decor);
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: var(--grad-accent);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-white);
}

.hero__eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.22);
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin-block: var(--sp-5) var(--sp-5);
  text-transform: uppercase;
}

.hero__title .accent {
  display: inline-block;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: skewX(-6deg);
}

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--c-mist);
  max-width: 54ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1;
  color: var(--c-white);
}
.hero__stat span {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate);
}

.hero__media { position: relative; }

/* the rocket mascot is anchored inside the media frame so it never collides
   with the floating info plate and is clipped by the frame corners */
.hero__figure > .mascot--xl {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 5;
  width: 150px;
}

.hero__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: skewX(-2deg);
}

.hero__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 24, 0) 45%, rgba(8, 13, 24, 0.7) 100%);
}

.hero__plate {
  position: absolute;
  z-index: 4;
  left: -18px; bottom: -26px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.3rem;
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-3);
  transform: skewX(2deg);
}
.hero__plate svg { width: 26px; height: 26px; color: var(--c-accent); }
.hero__plate b { display: block; font-size: 0.92rem; }
.hero__plate span { font-size: 0.76rem; color: var(--c-slate); }

/* --------------------------------------------------------------------------
   11. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background: var(--grad-dark);
  color: var(--c-white);
  overflow: hidden;
}

.page-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 880px;
}

.page-hero h1 {
  color: var(--c-white);
  font-size: var(--fs-h1);
  text-transform: uppercase;
  margin-block: var(--sp-3) var(--sp-4);
}

.page-hero p {
  color: var(--c-mist);
  font-size: var(--fs-lead);
  max-width: 62ch;
}

.page-hero .eyebrow { color: var(--c-accent-hot); }
.page-hero .eyebrow::before { background: var(--grad-accent); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--c-slate);
}
.breadcrumb a { color: var(--c-mist); }
.breadcrumb a:hover { color: var(--c-accent-hot); }
.breadcrumb svg { width: 13px; height: 13px; opacity: 0.6; }

/* --------------------------------------------------------------------------
   12. SCOPE BAND
   -------------------------------------------------------------------------- */
.scope-band {
  position: relative;
  background: var(--c-ink);
  color: var(--c-white);
  padding-block: var(--sp-7);
  overflow: hidden;
}

.scope-band__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

.scope-band h2 {
  color: var(--c-white);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.scope-band p {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.85;
  color: var(--c-mist);
}

.scope-band p mark {
  background: rgba(255, 90, 31, 0.22);
  color: var(--c-white);
  padding: 0 0.3rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   13. SERVICES GRID
   -------------------------------------------------------------------------- */
.service-card { display: flex; flex-direction: column; gap: var(--sp-2); }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--sp-3); }

.service-card .tag {
  padding: 0.22rem 0.62rem;
  border-radius: var(--r-xs);
  background: var(--c-paper);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--c-slate);
}
.section--dark .service-card .tag { background: rgba(255, 255, 255, 0.08); color: var(--c-mist); }

.service-card__cta {
  margin-top: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--c-accent-deep);
}
.service-card__cta svg { width: 15px; height: 15px; }
.section--dark .service-card__cta { color: var(--c-accent-hot); }

/* --------------------------------------------------------------------------
   14. APP HIGHLIGHT
   -------------------------------------------------------------------------- */
.app-showcase {
  position: relative;
  background: var(--c-paper);
  overflow: hidden;
}

.app-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.app-phone {
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--sp-6) 0;
}

.app-phone__device {
  position: relative;
  width: min(300px, 78vw);
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(160deg, #26324A, #0B111E 60%);
  box-shadow: var(--sh-3), var(--sh-inset);
}

.app-phone__device img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.app-phone__notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 8px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.app-phone__glow {
  position: absolute;
  inset: 8% 6% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 107, 255, 0.32), transparent 68%);
  filter: blur(14px);
  z-index: 0;
}

.app-feats { list-style: none; margin-top: var(--sp-5); }

.app-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.98rem;
  color: var(--c-steel);
}

.app-feats li:last-child { border-bottom: 0; }
.app-feats svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--c-accent); }
.app-feats b { color: var(--c-ink); }

/* dark-surface variants */
.section--dark .app-feats li {
  color: var(--c-mist);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.section--dark .app-feats b { color: var(--c-white); }
.section--dark .app-feats svg { color: var(--c-accent-hot); }
.section--dark .store-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.section--dark .store-badge:hover { background: rgba(255, 255, 255, 0.14); }
.section--dark .stat { background: rgba(255, 255, 255, 0.05); }
.section--dark .stat:hover { background: rgba(255, 255, 255, 0.09); }

.store-badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: var(--c-white);
  box-shadow: var(--sh-2);
  transition: transform var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
}
.store-badge:hover { transform: translateY(-3px); background: var(--c-graphite); }
.store-badge svg { width: 26px; height: 26px; color: var(--c-accent); }
.store-badge small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-mist);
  line-height: 1.2;
}
.store-badge b { font-size: 0.98rem; line-height: 1.2; }

.app-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.app-screens figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
  background: var(--c-white);
}
.app-screens img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.app-screens figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-steel);
  border-top: 1px solid var(--c-line-soft);
}

/* --------------------------------------------------------------------------
   15. STATS
   -------------------------------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat {
  padding: var(--sp-6) var(--sp-5);
  background: var(--c-ink-2);
  text-align: center;
  transition: background var(--t-base) var(--ease-out);
}
.stat:hover { background: var(--c-graphite); }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--c-accent);
}
.stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.section--paper .stat-band { background: var(--c-line); border-color: var(--c-line); }
.section--paper .stat { background: var(--c-white); }
.section--paper .stat:hover { background: var(--c-paper); }
.section--paper .stat span { color: var(--c-slate); }

/* --------------------------------------------------------------------------
   16. TIMELINE
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 34px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent), var(--c-azure));
}

.timeline__item { position: relative; padding-bottom: var(--sp-6); }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-white);
  border: 3px solid var(--c-accent);
  box-shadow: 0 0 0 5px rgba(255, 90, 31, 0.12);
}

.timeline__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--c-accent-deep);
  margin-bottom: 0.35rem;
}

.timeline__item h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.timeline__item p { color: var(--c-slate); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   17. NEWS
   -------------------------------------------------------------------------- */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--sp-6);
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.news-card__media {
  position: relative;
  overflow: hidden;
  background: var(--c-graphite);
}
.news-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.news-card:hover .news-card__media img { transform: scale(1.07); }

.news-card__media .badge {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--c-ink);
  color: var(--c-white);
  backdrop-filter: blur(6px);
}

.news-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.news-card__date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-bottom: 0.6rem;
}
.news-card__title { font-size: 1.12rem; margin-bottom: 0.6rem; }
.news-card__text { font-size: 0.92rem; color: var(--c-slate); flex: 1; }

.news-card.is-hidden { display: none; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}

.pagination button {
  min-width: 42px; height: 42px;
  padding-inline: 0.6rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-xs);
  background: var(--c-white);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--c-steel);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
}
.pagination button:hover { border-color: var(--c-ink); color: var(--c-ink); }
.pagination button.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-white);
}
.pagination button[disabled] { opacity: 0.4; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   18. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--sh-2);
}

.form-row { margin-bottom: var(--sp-4); }

.form-row label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-steel);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-paper);
  font-size: 0.96rem;
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}

.form-row textarea { min-height: 140px; resize: vertical; }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--c-azure);
  background: var(--c-white);
}

.form-row.has-error input,
.form-row.has-error textarea { border-color: var(--c-accent); background: rgba(255, 90, 31, 0.05); }

.form-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-accent-deep);
}
.form-row.has-error .form-error { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--c-slate);
  cursor: pointer;
}
.checkbox input {
  width: 18px; height: 18px;
  margin-top: 3px;
  accent-color: var(--c-accent);
  flex: none;
}
.checkbox a { color: var(--c-azure-deep); text-decoration: underline; }
.form-row.has-error .checkbox input { outline: 2px solid var(--c-accent); }

.form-status {
  margin-top: var(--sp-4);
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  border-left: 4px solid var(--c-good);
  background: rgba(18, 183, 106, 0.1);
  color: #05603A;
  font-size: 0.92rem;
  font-weight: 700;
}
.form-status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   19. CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.info-list { display: grid; gap: var(--sp-3); }

.info-item {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  transition: border-color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.info-item:hover { border-color: var(--c-accent); transform: translateX(4px); }

.info-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: var(--r-xs);
  background: var(--c-ink);
  color: var(--c-accent);
}
.info-item__icon svg { width: 21px; height: 21px; }
.info-item b {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-bottom: 0.25rem;
}
.info-item a { font-weight: 700; color: var(--c-ink); word-break: break-word; }
.info-item a:hover { color: var(--c-accent-deep); }
.info-item p { font-size: 0.94rem; color: var(--c-steel); }

.map-frame {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
}
.map-frame img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.map-frame__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: var(--sh-2);
}
.map-frame__pin svg { width: 16px; height: 16px; color: var(--c-accent); }

/* --------------------------------------------------------------------------
   20. FAQ / ACCORDION
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }

.faq {
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-white);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-out);
}
.faq:hover { border-color: var(--c-azure); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: var(--c-ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: 18px; height: 18px;
  flex: none;
  color: var(--c-accent);
  transition: transform var(--t-base) var(--ease-out);
}
.faq[open] summary svg { transform: rotate(90deg); }

.faq__body {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.94rem;
  color: var(--c-slate);
}

/* --------------------------------------------------------------------------
   21. PROCESS STEPS
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }

.step {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }

.step__num {
  position: absolute;
  left: -14px; top: -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: var(--sh-accent);
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--c-slate); }

/* --------------------------------------------------------------------------
   22. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--grad-accent);
  color: var(--c-white);
  overflow: hidden;
}

/* the inner container sits inside an already-constrained outer container */
.cta-band .container {
  max-width: none;
  padding-inline: 0;
}

.cta-band__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.cta-band h2 { color: var(--c-white); font-size: clamp(1.5rem, 3vw, 2.3rem); text-transform: uppercase; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 52ch; margin-top: 0.5rem; }
.cta-band .btn--light:hover { background: var(--c-ink); color: var(--c-white); }

/* --------------------------------------------------------------------------
   23. LEGAL
   -------------------------------------------------------------------------- */
.legal {
  max-width: 880px;
  margin-inline: auto;
}

.legal h2 {
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 4px solid var(--c-accent);
  scroll-margin-top: 110px;
}

.legal h2:first-child { margin-top: 0; }

.legal h3 {
  font-size: 1.08rem;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-3);
  color: var(--c-graphite);
}

.legal p {
  margin-bottom: var(--sp-4);
  color: var(--c-steel);
  font-size: 0.98rem;
}

.legal ul,
.legal ol {
  margin: 0 0 var(--sp-4) var(--sp-5);
  list-style: disc;
}
.legal ol { list-style: decimal; }

.legal li {
  margin-bottom: 0.55rem;
  color: var(--c-steel);
  font-size: 0.97rem;
}
.legal li strong { color: var(--c-ink); }

.legal a { color: var(--c-azure-deep); text-decoration: underline; }
.legal a:hover { color: var(--c-accent-deep); }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--sp-5);
  font-size: 0.9rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.legal thead th {
  background: var(--c-ink);
  color: var(--c-white);
  text-align: left;
  padding: 0.8rem 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.legal tbody td {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--c-line);
  vertical-align: top;
  color: var(--c-steel);
}
.legal tbody tr:nth-child(even) { background: var(--c-paper); }
.legal tbody td:first-child { font-weight: 700; color: var(--c-ink); }

.legal__meta {
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-paper);
  font-size: 0.9rem;
  color: var(--c-slate);
}

.legal__toc {
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  border-radius: var(--r-sm);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
}
.legal__toc h2 { margin: 0 0 var(--sp-3); border: 0; padding: 0; font-size: 1rem; }
.legal__toc ol { margin-left: 1.1rem; list-style: decimal; }
.legal__toc li { font-size: 0.9rem; margin-bottom: 0.3rem; }
.legal__toc a { color: var(--c-steel); text-decoration: none; }
.legal__toc a:hover { color: var(--c-accent-deep); text-decoration: underline; }

/* --------------------------------------------------------------------------
   24. MASCOTS
   -------------------------------------------------------------------------- */
[data-mascot] {
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
}

.mascot-svg { width: 100%; height: auto; overflow: visible; }

.mascot {
  position: relative;
  display: inline-block;
  width: 88px;
  transition: transform var(--t-base) var(--ease-spring);
}

.mascot--sm { width: 56px; }
.mascot--lg { width: 132px; }
.mascot--xl { width: 190px; }

.mascot:hover { transform: translateY(-8px) rotate(-4deg) scale(1.06); }

.mascot--float { animation: float 5.5s var(--ease-out) infinite; }
.mascot--float-slow { animation: float 8s var(--ease-out) infinite; }
.mascot--bounce { animation: bounce 2.6s var(--ease-out) infinite; }
.mascot--pulse { animation: pulse 2.4s var(--ease-out) infinite; }
.mascot--wiggle { animation: wiggle 3.2s var(--ease-out) infinite; }

.mascot-bubble {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-ink);
}
.mascot-bubble::after {
  content: "";
  position: absolute;
  left: 22px; bottom: -9px;
  width: 16px; height: 16px;
  background: var(--c-white);
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  transform: rotate(45deg);
}

.mascot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

/* --------------------------------------------------------------------------
   24b. DEGRADED MODE — SVG sprite unavailable
   Triggered when the sprite file cannot be read (typically a file:// preview,
   where the browser refuses to fetch a local sibling file). Placeholders keep
   the layout intact so nothing is left as an invisible hole.
   -------------------------------------------------------------------------- */
html.sprite-missing .brand__mark {
  background: currentColor;
  clip-path: polygon(
    0 0, 100% 0, 100% 22%, 30% 22%,
    70% 78%, 100% 78%,
    100% 100%, 0 100%, 0 78%, 30% 78%,
    70% 22%, 0 22%
  );
}

html.sprite-missing .mascot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-line-soft);
  border: 2px solid var(--c-line);
  color: var(--c-slate);
  font-size: 2rem;
  line-height: 1;
  font-family: var(--font-body);
}

html.sprite-missing .mascot--sm { width: 56px; height: 56px; font-size: 1.3rem; }
html.sprite-missing .mascot--lg { width: 132px; height: 132px; font-size: 3rem; }
html.sprite-missing .mascot--xl { width: 190px; height: 190px; font-size: 4.2rem; }

/* --------------------------------------------------------------------------
   25. BACK TO TOP
   -------------------------------------------------------------------------- */
.back-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: var(--z-backtop);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: var(--c-white);
  cursor: pointer;
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--t-base) var(--ease-out),
    transform var(--t-base) var(--ease-out),
    visibility var(--t-base),
    background var(--t-base) var(--ease-out);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--c-accent); }
.back-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   26. ANIMATIONS — utility classes only
   The hidden state is gated behind `html.reveal-ready` (added by main.js).
   If the script never runs, the page renders fully visible instead of blank.
   -------------------------------------------------------------------------- */
html.reveal-ready .reveal,
html.reveal-ready .fade-up,
html.reveal-ready .fade-in,
html.reveal-ready .slide-left,
html.reveal-ready .slide-right,
html.reveal-ready .zoom-in {
  opacity: 0;
  will-change: opacity, transform;
}

html.reveal-ready .reveal.in,
html.reveal-ready .fade-up.in,
html.reveal-ready .fade-in.in,
html.reveal-ready .slide-left.in,
html.reveal-ready .slide-right.in,
html.reveal-ready .zoom-in.in {
  opacity: 1;
  will-change: auto;
}

html.reveal-ready .fade-up { transform: translateY(34px); }
html.reveal-ready .fade-up.in { transform: translateY(0); transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }

html.reveal-ready .fade-in { transform: none; }
html.reveal-ready .fade-in.in { transition: opacity 640ms var(--ease-out); }

html.reveal-ready .slide-left { transform: translateX(calc(var(--slide-x) * -1)); }
html.reveal-ready .slide-left.in { transform: translateX(0); transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }

html.reveal-ready .slide-right { transform: translateX(var(--slide-x)); }
html.reveal-ready .slide-right.in { transform: translateX(0); transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }

html.reveal-ready .zoom-in { transform: scale(0.9); }
html.reveal-ready .zoom-in.in { transform: scale(1); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-spring); }

html.reveal-ready .reveal.in { transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); }

html.reveal-ready .stagger > * { opacity: 0; transform: translateY(26px); }
html.reveal-ready .stagger.in > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}
html.reveal-ready .stagger.in > *:nth-child(1) { transition-delay: 40ms; }
html.reveal-ready .stagger.in > *:nth-child(2) { transition-delay: 110ms; }
html.reveal-ready .stagger.in > *:nth-child(3) { transition-delay: 180ms; }
html.reveal-ready .stagger.in > *:nth-child(4) { transition-delay: 250ms; }
html.reveal-ready .stagger.in > *:nth-child(5) { transition-delay: 320ms; }
html.reveal-ready .stagger.in > *:nth-child(6) { transition-delay: 390ms; }
html.reveal-ready .stagger.in > *:nth-child(7) { transition-delay: 460ms; }
html.reveal-ready .stagger.in > *:nth-child(8) { transition-delay: 530ms; }

.float { animation: float 6s var(--ease-out) infinite; }
.bounce { animation: bounce 2.6s var(--ease-out) infinite; }
.pulse { animation: pulse 2.4s var(--ease-out) infinite; }
.wiggle { animation: wiggle 3.2s var(--ease-out) infinite; }
.spin-slow { animation: spin-slow 18s linear infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bounce {
  0%, 20%, 55%, 100% { transform: translateY(0); }
  40% { transform: translateY(-13px); }
  70% { transform: translateY(-7px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.07); opacity: 0.86; }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-7deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(7deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --------------------------------------------------------------------------
   27. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__figure { transform: none; }
  .hero__plate { left: 12px; bottom: 12px; transform: none; }
  .app-showcase__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .scope-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --fs-display: clamp(2.3rem, 10vw, 3.6rem); --slide-x: 14px; }
  html { scroll-padding-top: 84px; }

  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }

  .hero__figure > .mascot--xl {
    top: 10px;
    bottom: auto;
    right: 8px;
    width: 96px;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .app-screens { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .legal table { display: block; overflow-x: auto; white-space: normal; }
  .mascot { width: 68px; }
  .mascot--lg { width: 104px; }
  .mascot--xl { width: 140px; }
}

@media (max-width: 480px) {
  :root { --gutter: 1.05rem; }
  .hero__stats { grid-template-columns: 1fr; }
  .card { padding: var(--sp-5); }
  .pagination button { min-width: 36px; height: 36px; font-size: 0.82rem; }
  .news-filters .chip { font-size: 0.8rem; padding: 0.5rem 0.85rem; }
}

/* --------------------------------------------------------------------------
   28. REDUCED MOTION GUARD
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .fade-up,
  .fade-in,
  .slide-left,
  .slide-right,
  .zoom-in,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .btn:hover,
  .step:hover,
  .mascot:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   29. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .back-top, .mobile-nav, .hero__media { display: none !important; }
  body { color: #000; }
  .section--dark { background: #fff !important; color: #000 !important; }
  .legal h2 { break-after: avoid; }
}
