/* Hesyno Technology — site styles
   Tokens (light / dark), contrast against their surface:
   --text   #1d1d1f / #f5f5f7   17.0:1 on white, 18.0:1 on black
   --text-2 #6e6e73 / #a1a1a6    5.1:1 on white,  4.7:1 on #f5f5f7, 7.5:1 on #161617
   --link   #2a66de / #5b9bff    5.1:1 on white,  4.75:1 on #f5f5f7, 6.1:1 on #1d1d1f
   --accent #2a66de (button fill, white label 5.1:1) */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --tile: #f5f5f7;
  --tile-dark: #000000;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: #d2d2d7;
  --accent: #2a66de;
  --accent-hover: #1f56c4;
  --link: #2a66de;
  --nav-bg: rgba(255, 255, 255, 0.78);
  --bubble-in: #e9e9eb;
  --bubble-in-text: #1d1d1f;
  --paper: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;

  --t-hero: clamp(2.5rem, 1.4rem + 4.2vw, 5rem);
  --t-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  --t-h2: clamp(2rem, 1.35rem + 2.4vw, 3.5rem);
  --t-h3: clamp(1.25rem, 1.15rem + 0.35vw, 1.5rem);
  --t-lede: clamp(1.1875rem, 1.05rem + 0.5vw, 1.5rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-fine: 0.75rem;

  --gutter: clamp(20px, 4vw, 40px);
  --max: 1200px;
  --section: clamp(4.5rem, 2.5rem + 7vw, 8.5rem);
  --radius: 18px;
  --radius-lg: 28px;
  --nav-h: 52px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-2: #161617;
    --tile: #1d1d1f;
    --tile-dark: #1d1d1f;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --line: #424245;
    --link: #5b9bff;
    --nav-bg: rgba(22, 22, 23, 0.78);
    --bubble-in: #2c2c2e;
    --bubble-in-text: #f5f5f7;
    --paper: #e8e8ed;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:lang(zh) body, body:lang(zh) { letter-spacing: 0; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 980px; background: var(--text); color: var(--bg); }
.skip:focus { top: 8px; }
.center { text-align: center; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); text-align: center; }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }

.lede { font-size: var(--t-lede); line-height: 1.38; color: var(--text-2); letter-spacing: 0.002em; text-wrap: pretty; }
.wrap--narrow .lede { margin-inline: auto; max-width: 36em; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  font: 400 var(--t-body)/1.2 var(--font); letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--link); border-color: var(--link); }
.btn--ghost:hover { background: var(--link); color: var(--bg); }
.btn svg { width: 16px; height: 16px; }
.link { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-size: var(--t-body); color: var(--link); }
.link svg { width: 0.9em; height: 0.9em; }
.link--lg { font-size: var(--t-lede); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 28px; }
.actions--center { justify-content: center; }
.more { margin-top: 28px; text-align: center; }
.more--left { text-align: left; }

/* Navigation (the only translucent layer) */
/* The blur sits on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside the bar. */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.nav-open .nav::before { background: var(--bg); }
@media (prefers-reduced-transparency: reduce) { .nav::before { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav__bar { display: flex; align-items: center; gap: 24px; max-width: var(--max); height: var(--nav-h); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font: 600 1.125rem/1 var(--font-display); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand img { width: 22px; height: 22px; border-radius: 5px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links > a { padding: 8px 12px; color: var(--text); opacity: 0.8; font-size: var(--t-small); border-radius: 8px; }
.nav__links > a:hover { opacity: 1; text-decoration: none; }
.nav__links > a[aria-current='page'] { opacity: 1; font-weight: 600; }
.nav__home { display: none; }
.nav__lang, .footer__lang { display: inline-flex; align-items: center; }
.nav__lang { margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--line); gap: 2px; }
.nav__lang a, .footer__lang a { padding: 6px 7px; font-size: var(--t-small); color: var(--text-2); }
.nav__lang a[aria-current], .footer__lang a[aria-current] { color: var(--text); font-weight: 600; }
.nav__menu { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav__menu-icon, .nav__menu-icon::before { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.nav__menu-icon { position: relative; transform: translateY(-3.5px); }
.nav__menu-icon::before { content: ''; position: absolute; left: 0; top: 7px; }
.nav-open .nav__menu-icon { transform: translateY(0) rotate(45deg); }
.nav-open .nav__menu-icon::before { transform: translateY(-7px) rotate(-90deg); }

/* Small screens without scripting: links wrap under the bar. */
@media (max-width: 833px) {
  .nav__bar { height: auto; min-height: var(--nav-h); flex-wrap: wrap; padding-block: 6px; }
  .nav__links { width: 100%; flex-wrap: wrap; margin: 0; }
}
/* Small screens with scripting: a full-screen menu behind the menu button. */
@media (max-width: 833px) and (scripting: enabled) {
  .nav__bar { height: var(--nav-h); flex-wrap: nowrap; padding-block: 0; }
  .nav__menu { display: inline-flex; margin-left: auto; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 40; width: auto;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    padding: 12px calc(var(--gutter) + 4px) 40px; overflow-y: auto;
    background: var(--bg);
    visibility: hidden; opacity: 0;
  }
  .nav-open .nav__links { visibility: visible; opacity: 1; transition: opacity 0.25s var(--ease); }
  .nav__links > a { padding: 12px 0; font: 600 1.75rem/1.2 var(--font-display); opacity: 1; border-radius: 0; }
  .nav__links > a[aria-current='page'] { color: var(--link); }
  .nav__home { display: block; }
  .nav__lang { margin: 28px 0 0; padding: 0; border: 0; gap: 8px; }
  .nav__lang a { padding: 10px 14px; font-size: var(--t-body); border: 1px solid var(--line); border-radius: 980px; }
  .nav__lang a[aria-current] { border-color: var(--text); }
  .nav-open, .nav-open body { overflow: hidden; }
}

/* Hero */
.hero { padding: clamp(4.5rem, 2rem + 9vw, 9rem) 0 clamp(4rem, 2rem + 6vw, 7rem); text-align: center; }
.hero h1 { font-size: var(--t-hero); line-height: 1.05; letter-spacing: -0.025em; max-width: 14ch; margin: 0 auto 22px; }
:lang(zh) .hero h1 { max-width: 13em; line-height: 1.2; }
:lang(fr) .hero h1 { max-width: 16ch; }
.hero .lede { color: var(--text); }
.hero--404 { padding-block: clamp(6rem, 12vw, 10rem); }
.page-hero { padding: clamp(4rem, 2rem + 7vw, 7.5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-hero h1 { font-size: var(--t-h1); line-height: 1.07; letter-spacing: -0.02em; margin-bottom: 18px; }

/* Sections */
.section { padding-block: var(--section); }
.section--tight { padding-top: 0; }
.section--gray { background: var(--bg-2); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2, .split h2, .stage__main h2, .wrap--text > h2 { font-size: var(--t-h2); line-height: 1.08; }
.section__head .lede { margin-top: 14px; }
.section__head--center .lede { margin-inline: auto; }

/* Product tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 600px; padding: clamp(40px, 5vw, 56px) clamp(24px, 4vw, 40px) 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--tile); text-align: center; }
.tile--dark { background: var(--tile-dark); color: #f5f5f7; --text-2: #a1a1a6; --link: #5b9bff; --bubble-in: #2c2c2e; --bubble-in-text: #f5f5f7; }
.tile h2, .tile h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.tile--dark h2, .tile--dark h3 { color: #f5f5f7; }
.tile__tagline { margin-top: 8px; font-size: var(--t-lede); line-height: 1.3; }
.tile__text > p:not(.tile__tagline) { margin: 12px auto 0; max-width: 30em; color: var(--text-2); }
.tile .actions { margin-top: 14px; gap: 0 24px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 560px; } }

/* Illustration: shipping label */
.art-label { margin-top: auto; padding-top: 40px; width: 100%; display: flex; justify-content: center; }
.art-label__card {
  width: min(280px, 78%); aspect-ratio: 4 / 5; padding: 18px 18px 0; margin-bottom: -28px;
  background: var(--paper); color: #1d1d1f; border-radius: 12px 12px 0 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 20px 40px -18px rgba(0, 0, 0, 0.35);
  transform: rotate(-3deg); text-align: left; display: flex; flex-direction: column; gap: 14px;
}
.art-label__row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 2px solid #1d1d1f; font-size: 0.95rem; }
.art-label__row span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.art-label__to { display: grid; gap: 7px; }
.art-label__to small { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6e6e73; }
.art-label__to i { display: block; height: 9px; width: 85%; border-radius: 3px; background: #d2d2d7; }
.art-label__to i.s { width: 55%; }
.art-label__barcode { height: 64px; margin-top: 4px; background: repeating-linear-gradient(90deg, #1d1d1f 0 2px, transparent 2px 4px, #1d1d1f 4px 5px, transparent 5px 8px, #1d1d1f 8px 11px, transparent 11px 12px, #1d1d1f 12px 13px, transparent 13px 16px); }
.art-label__num { font: 500 0.75rem/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0.12em; text-align: center; }

/* Illustration: phone conversation */
.art-call { margin-top: auto; width: min(360px, 100%); padding: 40px 0 44px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.bubble { max-width: 80%; padding: 9px 14px; border-radius: 20px; font-size: 0.9375rem; line-height: 1.35; }
.bubble--agent { align-self: flex-start; background: var(--bubble-in); color: var(--bubble-in-text); border-bottom-left-radius: 6px; }
.bubble--caller { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }

.note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-top: 24px; color: var(--text-2); font-size: var(--t-small); text-align: left; }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* Grids and cards */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--bg-2); }
.card--white { background: var(--bg); }
.card h3, .grid4--plain h3, .grid2--features h3 { font-size: var(--t-h3); line-height: 1.2; margin-bottom: 8px; }
.card p, .grid4--plain p, .grid2--features p { color: var(--text-2); }
.card .link { margin-top: 8px; }
.icon { display: inline-flex; width: 32px; height: 32px; margin-bottom: 20px; color: var(--text); }
.icon svg { width: 100%; height: 100%; }
.icon--lg { width: 44px; height: 44px; }
.grid4--plain { gap: 40px 32px; }
.grid4--plain li { padding-top: 20px; border-top: 1px solid var(--line); }
.grid2--features { gap: 40px 48px; margin-top: clamp(2.5rem, 5vw, 4rem); }
.grid2--features li { padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid4, .grid2 { grid-template-columns: 1fr; } }

/* Languages band (signature moment) */
.languages { padding-block: var(--section); background: var(--bg-2); text-align: center; }
.languages__words { font: 600 clamp(3rem, 1.5rem + 7vw, 7.5rem)/1.02 var(--font-display); letter-spacing: -0.035em; margin-bottom: 32px; }
.languages__words span { display: inline-block; margin-inline: 0.12em; }
.languages__words span:lang(zh) { letter-spacing: 0; }
@media (max-width: 640px) { .languages__words span { display: block; } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
.split .lede { margin-top: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Approach track on home */
.track { position: relative; display: grid; gap: 0; padding-left: 28px; }
.track::before { content: ''; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.track li { position: relative; padding: 10px 0; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--text-2); }
.track li::before { content: ''; position: absolute; left: -28px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.track li:last-child { color: var(--text); }
.track li:last-child::before { background: var(--accent); border-color: var(--accent); }

/* Facts list */
.facts { border-top: 1px solid var(--line); }
.facts > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 var(--t-h3)/1.25 var(--font-display); letter-spacing: -0.01em; }
.facts dd { margin-top: 4px; color: var(--text-2); }

/* Services page rows */
.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 8px); }
.row__head h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; }
.row__head .lede { margin-top: 12px; }
.row__body { padding-top: 6px; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: 20px; } }
.list { display: grid; gap: 14px; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--text-2); }
.list--lg li { font-size: var(--t-lede); line-height: 1.35; padding-left: 30px; }
.list--lg li::before { top: 0.55em; width: 10px; height: 10px; background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 980px; background: var(--bg-2); font-weight: 500; }

/* Approach page stages */
.stage { display: grid; grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.25rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.stage__n { font: 600 clamp(2.5rem, 2rem + 1.5vw, 3.5rem)/1 var(--font-display); color: var(--accent); }
.stage__main h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 10px; }
.stage__main p { font-size: var(--t-lede); line-height: 1.38; color: var(--text-2); }
.stage__get { padding: 22px 24px; border-radius: var(--radius); background: var(--bg-2); align-self: start; }
.stage__get h3 { font-size: var(--t-small); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; color: var(--text-2); }
@media (max-width: 860px) { .stage { grid-template-columns: 48px minmax(0, 1fr); } .stage__get { grid-column: 2; } }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 var(--t-h3)/1.3 var(--font-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 24px 0; color: var(--text-2); font-size: var(--t-lede); line-height: 1.4; }

/* Products page */
.product { padding-bottom: var(--section); scroll-margin-top: var(--nav-h); }
.product__hero { min-height: 560px; }
.product__body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.product__body .lede { color: var(--text); }
.meta { display: grid; gap: 16px; align-self: start; }
.meta dt { font-size: var(--t-small); color: var(--text-2); }
.meta dd { font-weight: 500; }
.subhead { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: clamp(3rem, 6vw, 4.5rem) 0 24px; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: flow; }
.flow li { padding: 24px; border-radius: var(--radius); background: var(--bg-2); counter-increment: flow; }
.flow li::before { content: counter(flow); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: #fff; font-size: var(--t-small); font-weight: 600; }
.flow h4 { font-size: 1.1875rem; margin-bottom: 6px; }
.flow p { color: var(--text-2); }
.product .note { justify-content: flex-start; }
@media (max-width: 960px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product__body { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* Contact */
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--radius-lg); background: var(--bg-2); text-align: center; }
.contact-card .icon { margin-bottom: 8px; }
.contact-card__label { color: var(--text-2); }
.contact-card__email { font: 600 clamp(1.75rem, 1.2rem + 2vw, 3rem)/1.15 var(--font-display); letter-spacing: -0.02em; margin-bottom: 18px; overflow-wrap: anywhere; }
.contact-card__note { margin-top: 12px; color: var(--text-2); font-size: var(--t-small); }

/* Closing call to action */
.cta { padding-block: var(--section); text-align: center; border-top: 1px solid var(--line); }
.section--gray + .cta, .languages + .cta { border-top: 0; }
.cta h2 { font-size: var(--t-h2); line-height: 1.08; margin-bottom: 16px; }

/* Footer */
.footer { background: var(--bg-2); color: var(--text-2); font-size: var(--t-fine); line-height: 1.5; letter-spacing: -0.01em; }
.footer .wrap { padding-block: 40px 28px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer h2 { margin-bottom: 10px; font: 600 var(--t-fine)/1.4 var(--font); letter-spacing: -0.01em; color: var(--text); }
.footer ul { display: grid; gap: 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer address { padding-top: 18px; font-style: normal; }
.footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.footer__lang { gap: 2px; margin-left: -7px; }
.footer__lang a { font-size: var(--t-fine); padding: 8px 7px; }
.br-sm { display: none; }
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer address span[aria-hidden] { display: none; }
  .br-sm { display: inline; }
}

/* Legal pages */
.legal { padding-block: clamp(3rem, 6vw, 5rem) var(--section); }
.legal__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.legal__head h1 { font-size: var(--t-h1); line-height: 1.07; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal__date { color: var(--text-2); font-size: var(--t-small); }
.legal__intro { margin-top: 24px; font-size: var(--t-lede); line-height: 1.45; color: var(--text); }
.legal__intro p + p { margin-top: 12px; }
.legal__prevails { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--bg-2); font-size: var(--t-small); color: var(--text-2); }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); font-size: var(--t-small); }
.legal__toc h2 { font: 600 var(--t-small)/1.4 var(--font); letter-spacing: 0; margin-bottom: 10px; }
.legal__toc ol { display: grid; gap: 8px; }
.legal__toc a { color: var(--text-2); }
.legal__toc a:hover { color: var(--text); }
.legal__body { max-width: 720px; }
.legal__section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal__section:last-child { border-bottom: 0; }
.legal__section h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.2; margin-bottom: 14px; }
.legal__section p, .legal__section ul, .legal__section ol, .legal__section table { margin-bottom: 14px; }
.legal__section ul { list-style: disc; padding-left: 1.3em; }
.legal__section ol { list-style: decimal; padding-left: 1.3em; }
.legal__section li { margin-bottom: 6px; }
.legal__section table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.legal__section th, .legal__section td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__section th { font-weight: 600; }
.legal__section .callout { padding: 20px 22px; margin-bottom: 16px; border-radius: var(--radius); background: var(--bg-2); }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; padding: 20px; border-radius: var(--radius); background: var(--bg-2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .nav, .footer, .legal__toc { display: none; }
}
