:root {
    --bg: #F1F4F3;
    --surface: #FFFFFF;
    --surface-2: #E8ECEB;
    --ink: #14201E;
    --ink-2: #4C5C58;
    --line: #D6DDDB;
    --accent: #A9781C;
    --accent-fill: #C89530;
    --on-accent: #171207;
    --accent-soft: #F1E7CE;
    --deep: #0E2B2C;
    --deep-2: #123738;
    --on-deep: #E9F0EE;
    --on-deep-2: #9FB8B5;
    --deep-line: #234A4A;

    --maxw: 1180px;
    --pad: clamp(20px, 5vw, 64px);
    --r: 4px;
    --sans: "IBM Plex Sans", system-ui, sans-serif;
    --disp: "Archivo", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0A1413;
      --surface: #101E1C;
      --surface-2: #172928;
      --ink: #E7EDEB;
      --ink-2: #9EB1AD;
      --line: #22332F;
      --accent: #E6C471;
      --accent-fill: #E6C471;
      --on-accent: #171207;
      --accent-soft: #2A2413;
      --deep: #081E1F;
      --deep-2: #0E2A2B;
      --on-deep: #E9F0EE;
      --on-deep-2: #8FA9A6;
      --deep-line: #1C3B3B;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0A1413;
    --surface: #101E1C;
    --surface-2: #172928;
    --ink: #E7EDEB;
    --ink-2: #9EB1AD;
    --line: #22332F;
    --accent: #E6C471;
    --accent-fill: #E6C471;
    --on-accent: #171207;
    --accent-soft: #2A2413;
    --deep: #081E1F;
    --deep-2: #0E2A2B;
    --on-deep: #E9F0EE;
    --on-deep-2: #8FA9A6;
    --deep-line: #1C3B3B;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

  h1, h2, h3 { font-family: var(--disp); font-weight: 800; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }

  a { color: inherit; }

  .eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 13px; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    padding: 13px 22px; border-radius: var(--r); border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .btn-primary { background: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .btn-ondeep { background: transparent; border-color: var(--deep-line); color: var(--on-deep); }
  .btn-ondeep:hover { border-color: var(--accent); color: var(--accent); }
  .arrow { font-size: 15px; }

  /* ---------- Header ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
  .brandmark { display: flex; align-items: center; gap: 11px; text-decoration: none; }
  .brandmark .mark { width: 40px; height: 40px; flex: none; }
  .bm-text { display: flex; flex-direction: column; font-family: var(--disp); font-weight: 900; font-size: 19px; letter-spacing: 0.02em; line-height: 1; color: var(--ink); }
  .bm-text small { font-family: var(--mono); font-weight: 500; font-size: 9px; letter-spacing: 0.16em; color: var(--ink-2); text-transform: uppercase; margin-top: 4px; }
  .navlinks { display: flex; gap: 30px; align-items: center; }
  .navlinks a { font-size: 14px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
  .navlinks a:hover { color: var(--ink); }
  .nav-right { display: flex; align-items: center; gap: 14px; }
  .themebtn { background: none; border: 1px solid var(--line); border-radius: var(--r); width: 38px; height: 38px; cursor: pointer; color: var(--ink); display: grid; place-items: center; font-size: 15px; }
  .themebtn:hover { border-color: var(--accent); }
  @media (max-width: 860px) { .navlinks { display: none; } }

  /* ---------- Hero ---------- */
  .hero { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--deep-line) 1px, transparent 1px), linear-gradient(90deg, var(--deep-line) 1px, transparent 1px);
    background-size: 54px 54px; opacity: .35;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 75%);
  }
  .hero-inner { position: relative; padding-block: clamp(60px, 11vw, 128px); }
  .hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
  @media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }
  .hero h1 { font-size: clamp(40px, 7vw, 82px); font-weight: 900; letter-spacing: -0.035em; }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero p.lead { color: var(--on-deep-2); font-size: clamp(16px, 2vw, 19px); max-width: 46ch; margin: 26px 0 34px; }
  .hero-eyebrow { color: var(--accent); margin-bottom: 26px; }
  .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

  /* manifest card in hero */
  .manifest {
    border: 1px solid var(--deep-line); border-radius: var(--r);
    background: color-mix(in srgb, var(--deep-2) 70%, transparent);
    font-family: var(--mono); font-size: 13px;
  }
  .manifest-h { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--deep-line); color: var(--on-deep-2); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
  .manifest-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--deep-line); }
  .manifest-row:last-child { border-bottom: 0; }
  .manifest-row span:first-child { color: var(--on-deep); }
  .manifest-row .codes { color: var(--accent); letter-spacing: 0.05em; }
  .manifest-row .n { color: var(--on-deep-2); }

  /* ---------- Stats ---------- */
  .stats { border-bottom: 1px solid var(--line); background: var(--surface); }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
  .stat { padding: 34px var(--pad); border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
  @media (max-width: 760px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
  .stat .num { font-family: var(--disp); font-weight: 800; font-size: clamp(34px, 4.5vw, 50px); letter-spacing: -0.03em; line-height: 1; }
  .stat .num .u { color: var(--accent); }
  .stat .lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-top: 12px; }
  .stat.note .num { font-size: clamp(20px, 2.4vw, 26px); }

  /* ---------- Section scaffolding ---------- */
  section { padding-block: clamp(64px, 10vw, 120px); }
  .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; flex-wrap: wrap; }
  .sec-head h2 { font-size: clamp(28px, 4vw, 46px); max-width: 18ch; }
  .sec-head p { color: var(--ink-2); max-width: 42ch; margin: 0; }
  .sec-label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
  .sec-label .bar { width: 26px; height: 2px; background: var(--accent); }

  /* ---------- Brands ---------- */
  .brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  @media (max-width: 720px) { .brands-grid { grid-template-columns: 1fr; } }
  .brand { background: var(--surface); padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 14px; transition: background .2s ease; }
  .brand:hover { background: var(--surface-2); }
  .brand-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .brand-name { font-family: var(--disp); font-weight: 900; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
  .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 100px; padding: 5px 11px; white-space: nowrap; }
  .brand p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
  .brand .meta { font-family: var(--mono); font-size: 12px; color: var(--ink); margin-top: auto; padding-top: 8px; }
  .brand .meta b { color: var(--accent); font-weight: 500; }

  .brand { cursor: pointer; }
  .brand-more { margin-top: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
  .brand:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

  /* ---------- Brand gallery modal ---------- */
  .modal { position: fixed; inset: 0; z-index: 100; display: none; }
  .modal.open { display: block; }
  .modal-bg { position: absolute; inset: 0; background: rgba(6,14,13,.66); backdrop-filter: blur(4px); }
  .modal-panel { position: relative; max-width: 900px; margin: clamp(20px,5vh,60px) auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; max-height: 88vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
  .modal-x { position: sticky; float: right; top: 14px; right: 14px; margin: 14px 14px 0 0; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 15px; }
  .modal-x:hover { border-color: var(--accent); color: var(--accent); }
  .modal-head { padding: clamp(24px,4vw,40px) clamp(24px,4vw,40px) 6px; }
  .modal-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
  .modal-head h3 { font-family: var(--disp); font-weight: 900; font-size: clamp(26px,4vw,38px); letter-spacing: -0.02em; margin: 10px 0 0; }
  .modal-head p { color: var(--ink-2); margin: 12px 0 0; max-width: 60ch; font-size: 15px; }
  .pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px clamp(24px,4vw,40px); }
  @media (max-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
  .ptile { aspect-ratio: 4/5; border-radius: 6px; border: 1px solid var(--line); background:
      radial-gradient(120% 90% at 20% 12%, color-mix(in srgb, var(--accent-soft) 70%, transparent), transparent 60%),
      linear-gradient(150deg, var(--surface-2), var(--surface)); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; }
  .ptile::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 22px 22px; opacity: .25; }
  .ptile .pn { position: relative; font-family: var(--disp); font-weight: 700; font-size: 14px; color: var(--ink); }
  .ptile .pc { position: relative; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
  .ptile .pidx { position: absolute; top: 10px; left: 12px; font-family: var(--mono); font-size: 11px; color: var(--accent); }
  /* ---------- Cookie notice ---------- */
  .cnotice { position: fixed; left: 16px; bottom: 16px; z-index: 120; max-width: 420px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 20px 22px; box-shadow: 0 18px 40px rgba(0,0,0,.18); display: none; }
  .cnotice.show { display: block; }
  .cnotice h4 { font-family: var(--disp); font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
  .cnotice p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
  .cnotice p a { color: var(--accent); text-decoration: underline; }
  .cnotice .crow { display: flex; gap: 10px; flex-wrap: wrap; }
  .cnotice .btn { font-size: 12px; padding: 9px 16px; }
  @media (max-width: 520px) { .cnotice { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
  .ptile.has-photo { background: var(--surface-2); }
  .ptile.has-photo::before { display: none; }
  .ptile .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .ptile.has-photo .ptxt { position: relative; margin: -12px; padding: 44px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.74)); }
  .ptile.has-photo .pn { color: #fff; }
  .ptile.has-photo .pc { color: rgba(255,255,255,.78); }
  .ptile.has-photo .pidx { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
  .modal-foot { padding: 0 clamp(24px,4vw,40px) clamp(24px,4vw,40px); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .modal-foot .ph { font-family: var(--mono); font-size: 11px; color: var(--ink-2); letter-spacing: 0.06em; }

  /* ---------- Markets ---------- */
  .markets { background: var(--surface); border-block: 1px solid var(--line); }
  .region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  @media (max-width: 900px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .region-grid { grid-template-columns: 1fr; } }
  .region { background: var(--surface); padding: 22px; }
  .region-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .region-h .rn { font-family: var(--disp); font-weight: 700; font-size: 15px; }
  .region-h .rc { font-family: var(--mono); font-size: 12px; color: var(--accent); }
  .country { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; padding: 5px 0; }
  .country .iso { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); width: 26px; flex: none; letter-spacing: 0.04em; }
  .country .cn { color: var(--ink); }

  /* ---------- Services ---------- */
  .svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  @media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }
  .svc { border-top: 2px solid var(--accent); padding-top: 20px; }
  .svc .no { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
  .svc h3 { font-size: 20px; font-weight: 700; margin: 12px 0 10px; }
  .svc p { margin: 0; color: var(--ink-2); font-size: 15px; }

  /* ---------- How we work ---------- */
  .work { background: var(--deep); color: var(--on-deep); border-radius: var(--r); padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
  @media (max-width: 820px) { .work { grid-template-columns: 1fr; } }
  .work h2 { font-size: clamp(26px, 3.6vw, 40px); color: var(--on-deep); }
  .work .lead { color: var(--on-deep-2); margin: 20px 0 0; }
  .work-steps { display: flex; flex-direction: column; gap: 2px; }
  .wstep { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--deep-line); }
  .wstep:last-child { border-bottom: 0; }
  .wstep .wn { font-family: var(--mono); color: var(--accent); font-size: 13px; padding-top: 3px; }
  .wstep h4 { margin: 0 0 5px; font-family: var(--disp); font-size: 17px; font-weight: 700; color: var(--on-deep); }
  .wstep p { margin: 0; color: var(--on-deep-2); font-size: 14.5px; }

  /* ---------- Team ---------- */
  .team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  @media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
  .team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
  .team-card .tk-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
  .team-card h3 { font-size: 19px; font-weight: 700; }
  .team-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

  /* ---------- Partner CTA / form ---------- */
  .partner-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
  @media (max-width: 860px) { .partner-grid { grid-template-columns: 1fr; } }
  .partner h2 { font-size: clamp(30px, 4.4vw, 52px); }
  .partner .lead { color: var(--ink-2); margin: 22px 0 30px; max-width: 40ch; }
  .checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
  .checklist .ck { color: var(--accent); font-family: var(--mono); flex: none; }
  .form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); }
  .form-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 22px; }
  .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
  .field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
  .field input, .field select { font-family: var(--sans); font-size: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); }
  .field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 440px) { .field-row { grid-template-columns: 1fr; } }
  .checks { display: flex; flex-wrap: wrap; gap: 9px; }
  .check { position: relative; }
  .check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
  .check span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s; }
  .check span::before { content: "+"; color: var(--accent); font-weight: 600; }
  .check input:checked + span { border-color: var(--accent-fill); background: var(--accent-soft); color: var(--ink); }
  .check input:checked + span::before { content: "✓"; }
  .check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
  .other-in { margin-top: 9px; display: none; }
  .other-in.show { display: block; }
  .form .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }

  /* ---------- Footer ---------- */
  footer { background: var(--deep); color: var(--on-deep); }
  .foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 7vw, 80px); }
  @media (max-width: 760px) { .foot-top { grid-template-columns: 1fr; gap: 34px; } }
  .foot-brand { display: flex; align-items: center; gap: 12px; }
  .foot-brand .mark { width: 46px; height: 46px; flex: none; }
  .foot-top h3 { display: flex; flex-direction: column; font-family: var(--disp); font-size: 24px; font-weight: 900; letter-spacing: 0.02em; line-height: 1; color: var(--on-deep); }
  .foot-top h3 span { font-family: var(--mono); font-weight: 500; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-deep-2); margin-top: 5px; }
  .foot-top p { color: var(--on-deep-2); margin: 14px 0 0; max-width: 34ch; font-size: 15px; }
  .foot-col .fh { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-2); margin-bottom: 16px; }
  .foot-col a, .foot-col p { display: block; color: var(--on-deep); text-decoration: none; font-size: 15px; margin-bottom: 10px; }
  .foot-col a:hover { color: var(--accent); }
  .foot-bar { border-top: 1px solid var(--deep-line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--on-deep-2); }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Legal / text pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(64px, 9vw, 120px); }
.legal h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.02em; margin: 0 0 10px; color: var(--ink); }
.legal .updated { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 40px; }
.legal h2 { font-family: var(--disp); font-weight: 700; font-size: 20px; margin: 38px 0 12px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .backlink { display: inline-block; margin-bottom: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.legal .backlink:hover { text-decoration: underline; }
.legal .box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: var(--surface); margin: 0 0 14px; }

.form-msg { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.form-msg.ok { color: var(--accent); font-weight: 500; }
.form-msg.err { color: #B3452F; }

/* ---------- Language switch ---------- */
.langsw { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); padding: 3px; }
.langsw a { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 2px; color: var(--ink-2); text-decoration: none; line-height: 1; }
.langsw a:hover { color: var(--ink); }
.langsw a[aria-current="true"] { background: var(--accent-fill); color: var(--on-accent); }
@media (max-width: 560px) { .langsw a { padding: 5px 7px; font-size: 10px; } }
