/* RenegadeOS - single stylesheet, mobile first. Same clean style as the other Comiteg sites;
   the four blocks of the method keep the colours of the original page (green, gold, red, ink). */

:root {
  --bg: #FFFFFF;
  --soft: #F7F7F7;
  --soft-2: #F0F0F0;
  --ink: #0D0D0D;
  --muted: #5D5D5D;
  --subtle: #6E6E6E;
  --line: #E5E5E5;
  --field: #D4D4D4;

  --green: #1F7A4D;   --green-tint: #EEF6F1;  --green-line: #A9D3BC;
  --gold: #D9A21B;    --gold-ink: #8F5C08;    --gold-tint: #FBF4E4;  --gold-line: #EBCB86;
  --red: #B83227;     --red-tint: #FBEDEB;    --red-line: #E8B1AB;
  --ink-tint: #F1F1EF;
  /* theme tokens (26/10/2026): light here, dark below when the device asks for it */
  --surface: #FFFFFF;
  --soft-3: #E4E4E4;
  --text2: #2B2B2B;
  --on: #FFFFFF;
  --ink-line: #CFCFCF;
  --mark: #FCE9A8;
  --brand: #EB8C0D;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 24px rgba(16,24,40,.08);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 128px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; }
h1 em, h2 em { font-style: normal; color: var(--green); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--subtle); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on); }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  font: 500 1rem/1.2 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .875rem; }
.btn-primary { background: var(--ink); color: var(--on); }
.btn-primary:hover { background: var(--green); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--field); }
.btn-ghost:hover { background: var(--soft-2); }
.btn-light-solid { background: #FFFFFF; color: var(--ink); }
.btn-light-solid:hover { background: var(--soft-2); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; text-decoration: none; }
.wordmark b { font-weight: 700; color: var(--green); }
.wm-dot { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--green) 0 33%, var(--gold) 0 66%, var(--red) 0); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.scroll-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green), var(--gold), var(--red), var(--ink)); }

/* ---------- hero ---------- */

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: linear-gradient(180deg, var(--bg), var(--soft)); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 5.4vw, 3.1rem); line-height: 1.08; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; color: var(--muted); }
.eyebrow { margin-bottom: 14px; font-size: .9375rem; font-weight: 600; color: var(--green); }

/* ---------- how to ---------- */

/* ---------- glossary ---------- */
.glossary { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .glossary { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.gl-item { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.gl-item dt { font-weight: 600; }
.gl-item dd { margin: 0; color: var(--muted); font-size: .9688rem; }

/* ---------- footer ---------- */
.site-footer { padding: 44px 0 52px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--subtle); }
.site-footer p + p { margin-top: 10px; }
.footer-claim { font-size: 1rem; font-weight: 500; color: var(--ink); }
.footer-legal span { white-space: nowrap; }
.site-footer a { color: var(--ink); }

/* ---------- legal page ---------- */
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1.1; }
.legal h2 { margin: 40px 0 10px; font-size: 1.375rem; }
.legal p + p { margin-top: 12px; }
.legal p, .legal li { color: var(--text2); }
@media (max-width: 1019px) { .hide-sm { display: none; } }

/* =====================================================================
   UX v2: position, reading progress, clickable tags, back to the map
   ===================================================================== */
.map-section { padding-top: clamp(40px, 6vw, 72px); }


/* =====================================================================
   Deep dives in a popup (with JavaScript)
   ===================================================================== */
.popup {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: var(--surface); color: var(--ink);
  display: none; flex-direction: column;
}
.popup[open] { display: flex; }
.popup::backdrop { background: rgba(13,13,13,.45); backdrop-filter: blur(2px); }
@media (min-width: 860px) {
  .popup { width: min(880px, calc(100vw - 64px)); height: auto; max-height: calc(100vh - 64px); margin: auto; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
}
.popup-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 22px; border-bottom: 1px solid var(--line); }
.popup-pos { font-size: .875rem; font-weight: 600; color: var(--subtle); }
.popup-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft-2); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.popup-close:hover { background: var(--soft-3); }
.popup-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.popup-content { --c: var(--ink); --tint: var(--ink-tint); --cl: var(--ink-line); padding: 22px 22px 8px; }
.popup-content.sc-green { --c: var(--green); --tint: var(--green-tint); --cl: var(--green-line); }
.popup-content.sc-gold  { --c: var(--gold-ink); --tint: var(--gold-tint); --cl: var(--gold-line); }
.popup-content.sc-red   { --c: var(--red); --tint: var(--red-tint); --cl: var(--red-line); }
.popup-content.sc-ink   { --c: var(--ink); --tint: var(--ink-tint); --cl: var(--ink-line); }
.popup-head { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 4px solid var(--c); }
.popup-head h2 { margin-top: 4px; font-size: clamp(1.7rem, 5vw, 2.2rem); line-height: 1.12; }
.popup-head .sc-what { margin-top: 10px; font-size: 1.125rem; }
.popup-content .sc-body { display: grid; padding: 0; }
.popup-content .sc-next { margin: 22px -22px 0; padding: 16px 22px 20px; }
.popup-content .sc-parallel { margin: 0 0 16px; }
.popup-nav { flex: none; display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.popup-nav .btn { max-width: 48%; }
.popup-nav .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popup-nav [data-popup-next] { margin-left: auto; }
@media (min-width: 860px) { .popup-content { padding: 28px 36px 8px; } .popup-content .sc-next { margin: 24px -36px 0; padding: 18px 36px 22px; } .popup-bar { padding-left: 36px; } .popup-nav { padding: 14px 36px; } }

/* ---------- popup v2: smaller than the screen, light animation ---------- */
.popup {
  width: calc(100vw - 24px); max-width: calc(100vw - 24px);
  height: calc(100vh - 56px); height: calc(100dvh - 56px); max-height: calc(100dvh - 56px);
  margin: auto; border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}
@media (min-width: 860px) {
  .popup { width: min(880px, calc(100vw - 96px)); max-width: min(880px, calc(100vw - 96px)); height: auto; max-height: calc(100dvh - 96px); border-radius: 26px; }
}
.popup[open] { animation: popup-in .32s cubic-bezier(.2,.8,.2,1); }
.popup[open]::backdrop { animation: backdrop-in .32s ease; }
.popup.closing { animation: popup-out .2s ease forwards; }
.popup.closing::backdrop { animation: backdrop-out .2s ease forwards; }
.popup-content.swap { animation: content-in .25s ease; }
@keyframes popup-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes popup-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes content-in { from { opacity: 0; transform: translateX(var(--swap-x, 12px)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .popup[open], .popup[open]::backdrop, .popup.closing, .popup.closing::backdrop, .popup-content.swap { animation: none; }
}

.popup-glossary .glossary { border-top: 0; padding-bottom: 20px; }
@media (min-width: 860px) { .popup-glossary .glossary { grid-template-columns: 1fr 1fr; column-gap: 36px; } }

/* ---------- Footer in the style of the new comiteg.it (dark, mono column titles, a Comiteg product) ---------- */
.site-footer { background: #08090A; color: #A9B0BA; padding: 64px 0 28px; border-top: 0; font-size: .88rem; }
.site-footer p + p { margin-top: 0; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-about { display: grid; gap: 18px; align-content: start; justify-items: start; }
.site-footer .footer-claim { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; color: #fff; }
.footer-claim em { font-style: normal; color: #EBCB86; }
.footer-h { margin: 0 0 14px; font: 500 .72rem/1.3 "Geist Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: #E6E8EB; }
.footer-items { display: grid; gap: 6px 28px; }
.footer-item { display: block; padding: 4px 0; }
.footer-item strong { display: block; color: #fff; font-weight: 500; font-size: .9rem; }
.footer-item > span { display: block; font-size: .8rem; color: #8E949C; }
.footer-item:hover strong { color: #EBCB86; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; margin-top: 40px; }
.footer-col { display: grid; gap: 9px; align-content: start; justify-items: start; }
.footer-col a, .footer-col .link-button { color: #A9B0BA; font-size: .88rem; text-decoration: none; text-align: left; }
.footer-col a:hover, .footer-col .link-button:hover { color: #fff; }
.footer-col .footer-named { display: grid; gap: 1px; }
.footer-col .footer-named strong { color: #fff; font-weight: 500; }
.footer-col .footer-named span { font-size: .78rem; color: #8E949C; }
/* the Comiteg group line, with the C mark of comiteg.it */
.footer-group { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; transition: border-color .2s, background .2s; }
.footer-group:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.03); }
.footer-group > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.footer-group strong { color: #fff; font-weight: 500; }
.footer-group > span:nth-child(2) > span { font-size: .82rem; color: #8E949C; }
.footer-group .bi { color: #8E949C; }
.footer-group:hover .bi { color: #EBCB86; }
.footer-mark { flex: none; width: 34px; height: 34px; background: #fff; -webkit-mask: url(/assets/comiteg-mark.png) center / contain no-repeat; mask: url(/assets/comiteg-mark.png) center / contain no-repeat; }
.footer-bottom { margin-top: 28px; display: grid; gap: 14px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-size: .8rem; color: #8E949C; }
.footer-guide { color: #A9B0BA !important; }
.footer-guide .bi { font-size: .7rem; }
.site-footer .footer-legal { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal span span { white-space: nowrap; }
@media (min-width: 640px) { .footer-items { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 36px; } }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.site-footer .btn-light-solid, .site-footer .btn-light-solid:hover { color: var(--ink); gap: 8px; }
.footer-count { font-weight: 400; font-size: .78rem; color: #8E949C; }
.footer-col .footer-named:hover strong { color: #EBCB86; }

/* ---------- call to action and contact form (24/10/2026) ---------- */
.contact { scroll-margin-top: 90px; }
.contact-grid { display: grid; gap: 36px; align-items: start; }
.contact-lead { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); max-width: 520px; }
.contact-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.contact-points li { position: relative; padding-left: 28px; }
.contact-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-size: .75rem; font-weight: 600; display: grid; place-items: center; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--surface); font: 400 1rem/1.4 var(--sans); color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--green-tint); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field-error { font-size: .8125rem; color: var(--red); }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.field .check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--green); }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: grid; gap: 10px; }
.form-actions .btn { width: 100%; }
.form-note { font-size: .8125rem; color: var(--subtle); }
.form-alert { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius); background: var(--red-tint); color: var(--red); font-size: .9rem; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { margin-top: 8px; color: var(--muted); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } .form-actions { grid-template-columns: auto 1fr; align-items: center; } .form-actions .btn { width: auto; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.contact-head h2 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; }

/* "Come usarlo": three cards, swipe on phones, side by side on wider screens (24/10/2026) */

/* ---------- colours of the four steps, icons ---------- */
.tone-green { --c: var(--green); --tint: var(--green-tint); --cl: var(--green-line); }
.tone-gold  { --c: var(--gold-ink); --tint: var(--gold-tint); --cl: var(--gold-line); }
.tone-red   { --c: var(--red); --tint: var(--red-tint); --cl: var(--red-line); }
.tone-ink   { --c: var(--ink); --tint: var(--ink-tint); --cl: var(--ink-line); }
.ico { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- header: the wordmark and one call, no menu ---------- */
.header-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--on); font-size: .9063rem; font-weight: 500; text-decoration: none; transition: background-color .15s; }
.header-cta:hover { background: var(--green); }

/* ---------- hero: it opens with a statement ---------- */
.hero { padding: clamp(56px, 11vw, 140px) 0 clamp(48px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1040px; }
.hero-kicker { margin-bottom: 22px; font-size: .9063rem; font-weight: 500; color: var(--subtle); }
.hero h1 { max-width: 15ch; font-size: clamp(2.7rem, 8.4vw, 6.2rem); line-height: .98; letter-spacing: -0.05em; }
.hero-lead { max-width: 640px; margin-top: 28px; font-size: clamp(1.0625rem, 2.1vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.hero-read { font-weight: 500; text-decoration: none; color: var(--ink); }
.hero-read span { display: inline-block; transition: transform .2s; }
.hero-read:hover span { transform: translateY(3px); }

.dots, .crosses { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dots li, .crosses li { position: relative; padding-left: 22px; color: var(--text2); line-height: 1.5; }
.dots li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.crosses li::before { content: "×"; position: absolute; left: 3px; top: -.05em; font-weight: 600; color: var(--red); }

/* =====================================================================
   THE TREE (26/10/2026): step > modulo > attività. One short view; everything else opens inside, one level at a time.
   ===================================================================== */

/* ---------- the trunk: the steps ---------- */
.percorso { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 104px); }
.tree { --x: 17px; --pad: 52px; position: relative; max-width: 1040px; margin: 0 auto; }
@media (min-width: 860px) { .tree { --x: 23px; --pad: 76px; } }
.tree::before { content: ""; position: absolute; left: calc(var(--x) - 1px); top: 56px; bottom: 60px; width: 2px; border-radius: 2px; background: var(--line); }
.tree-fill { position: absolute; left: calc(var(--x) - 1px); top: 56px; width: 2px; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--green), var(--gold) 30%, var(--red) 58%, var(--ink)); }
html:not(.js) .tree-fill { display: none; }
.ts { padding-top: clamp(44px, 7vw, 80px); }
.ts-head { position: relative; max-width: calc(720px + var(--pad)); padding-left: var(--pad); scroll-margin-top: 80px; }
.ts-node {
  position: absolute; left: calc(var(--x) - 17px); top: -2px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--c); color: var(--on); box-shadow: 0 0 0 6px var(--bg);
}
.ts-node .ico { width: 18px; height: 18px; }
@media (min-width: 860px) { .ts-node { left: calc(var(--x) - 23px); width: 46px; height: 46px; border-radius: 14px; top: -10px; } .ts-node .ico { width: 22px; height: 22px; } }
.ts-kicker { font-size: .875rem; font-weight: 600; color: var(--c); }
.ts-head h2 { margin-top: 8px; font-size: clamp(1.9rem, 5.6vw, 3.2rem); line-height: 1.04; letter-spacing: -0.045em; }
.ts-line { margin-top: 8px; font-size: clamp(1.0625rem, 2vw, 1.1875rem); color: var(--muted); }

/* the + that opens and closes; it becomes a − when open */
.tg { position: relative; flex: none; width: 28px; height: 28px; margin-left: auto; border-radius: 50%; background: var(--soft-2); transition: background-color .2s; }
.tg::before, .tg::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .25s, background-color .2s; }
.tg::after { transform: rotate(90deg); }
details[open] > summary > .tg { background: var(--c, var(--ink)); }
details[open] > summary > .tg::before, details[open] > summary > .tg::after { background: var(--surface); }
details[open] > summary > .tg::after { transform: rotate(0deg); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.ts-info { margin-top: 14px; }
.ts-info > summary { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--tint); font-size: .9063rem; font-weight: 600; color: var(--c); cursor: pointer; }
.ts-info > summary .tg { width: 24px; height: 24px; background: var(--surface); }
.ts-info-body { display: grid; gap: 14px; max-width: 680px; padding-top: 14px; }
.ts-info-body > p { color: var(--text2); line-height: 1.65; }

/* label of the step while you read its modules */
.tree-stick { position: sticky; top: 64px; z-index: 20; height: 0; padding-left: var(--pad); pointer-events: none; }
.tree-stick span {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(16,24,40,.08);
  font-size: .8125rem; font-weight: 600; color: var(--c); white-space: nowrap;
  opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s;
}
.tree-stick i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tree-stick.is-on span { opacity: 1; transform: none; }

/* ---------- the modules: points on the trunk ---------- */
.tree-mods { margin: 22px 0 0; padding: 0; list-style: none; }
.tm-phase { padding-left: var(--pad); margin: 18px 0 4px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.tm-phase:first-child { margin-top: 0; }
.tm { position: relative; scroll-margin-top: 110px; }
.tm-row {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px;
  margin-left: calc(var(--pad) - 12px); padding: 10px 10px 10px 12px; border-radius: 14px; cursor: pointer;
  transition: background-color .2s;
}
.tm-row:hover { background: var(--tint); }
.tm-dot {
  position: absolute; left: calc(var(--x) - var(--pad) + 12px - 15px); top: 50%; margin-top: -15px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); color: var(--c); box-shadow: inset 0 0 0 1.5px var(--cl), 0 0 0 5px var(--bg);
  transition: background-color .25s, color .25s;
}
.tm-dot .ico { width: 15px; height: 15px; }
@media (min-width: 860px) { .tm-dot { left: calc(var(--x) - var(--pad) + 12px - 18px); width: 36px; height: 36px; margin-top: -18px; } .tm-dot .ico { width: 17px; height: 17px; } }
.tm-d[open] > .tm-row .tm-dot { background: var(--c); color: var(--on); box-shadow: inset 0 0 0 1.5px var(--c), 0 0 0 5px var(--bg); }
.tm-name { display: grid; min-width: 0; }
.tm-name b { font-size: 1.0938rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.tm-name small { font-size: .9063rem; line-height: 1.35; color: var(--subtle); }
@media (min-width: 720px) { .tm-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; } .tm-name b { font-size: 1.1875rem; } .tm-name small { font-size: 1rem; } }

/* ---------- the branch of an open module ---------- */
.tm-body { position: relative; display: grid; gap: 16px; margin: 6px 0 22px calc(var(--pad) + 2px); padding: 8px 0 10px 22px; border-left: 2px solid var(--cl); }
.tm-body::after { content: ""; position: absolute; left: -6px; bottom: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--cl); }
.tm-claim { font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.tm-what { color: var(--muted); line-height: 1.6; }
.tm-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: -8px; font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--c); }
.tm-h .ico { width: 17px; height: 17px; }
.tm-h span { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .8125rem; color: var(--subtle); }

/* the activities: leaves on the branch */
.tree-acts { margin: 0; padding: 0; list-style: none; }
.tree-acts > li { position: relative; }
.tree-acts > li::before { content: ""; position: absolute; left: -24px; top: 22px; width: 34px; height: 2px; background: var(--cl); }
.ta-row { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 8px 8px 32px; border-radius: 12px; cursor: pointer; transition: background-color .2s; }
.ta-row:hover { background: var(--soft); }
.ta-leaf { position: absolute; left: 10px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--c); transition: background-color .2s; }
.ta[open] .ta-leaf { background: var(--c); }
.ta-row b { font-weight: 600; font-size: 1rem; }
.ta-row .tg { width: 24px; height: 24px; }
.ta-row .tg::before, .ta-row .tg::after { width: 10px; margin-left: -5px; }
.ta-text { max-width: 720px; padding: 0 8px 12px 32px; font-size: .9688rem; line-height: 1.6; color: var(--muted); }

/* the other parts of the module */
.tm-facts { display: grid; gap: 12px; }
@media (min-width: 860px) { .tm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tm-fact { padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.tm-fact h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--subtle); }
.tm-fact h4 .ico { width: 17px; height: 17px; color: var(--c); }
.tm-fact p, .tm-fact li { font-size: .9688rem; line-height: 1.55; color: var(--text2); }
.tm-example { background: var(--tint); }
.tm-example h4, .tm-next h4 { color: var(--c); }
.tm-next { background: none; border: 1.5px dashed var(--cl); }
.tm-note { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; color: var(--muted); }
.tm-note .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--c); }
.tm-note a { color: var(--ink); font-weight: 500; }

/* ---------- between the steps, and the end ---------- */
.tree-gate { position: relative; margin-top: 30px; padding-left: var(--pad); font-style: italic; color: var(--subtle); }
.tree-gate a { color: var(--ink); font-weight: 500; }
.tg-arrow { position: absolute; left: calc(var(--x) - 10px); width: 20px; text-align: center; font-style: normal; background: var(--bg); }
.tree-end { position: relative; margin-top: clamp(48px, 8vw, 88px); padding-left: var(--pad); }
.tree-end .ts-node { --c: var(--ink); }
.tree-end-text { max-width: 620px; margin: 8px 0 18px; font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; }
.tree-end .ts-kicker { color: var(--ink); }
.tree-fill { background: var(--ink); opacity: .75; }
.tm-row { max-width: 820px; }
.ts-info > summary { max-width: max-content; }

/* =====================================================================
   Tree v2 (26/10/2026): the opening explains it with numbers; every part of a module opens on its own,
   one at a time
   ===================================================================== */
.hero-nums { display: grid; gap: 12px; max-width: 760px; margin: 30px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .hero-nums { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.hero-nums li { display: flex; align-items: baseline; gap: 12px; }
@media (min-width: 720px) { .hero-nums li { display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--ink); } }
.hero-nums b { flex: none; min-width: 2.2ch; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.hero-nums span { font-size: .9688rem; line-height: 1.45; color: var(--muted); }
.hero-nums strong { color: var(--ink); font-weight: 600; }
.hero-lead { margin-top: 24px; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
mark { padding: 0 4px; border-radius: 4px; background: var(--mark); color: var(--ink); box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* how many activities a module has, next to its +  */
.tm-count { flex: none; margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--soft); font-size: .8125rem; font-weight: 500; color: var(--subtle); white-space: nowrap; }
.tm-count + .tg { margin-left: 8px; }
@media (max-width: 479px) { .tm-count { display: none; } }
.tm-d[open] > .tm-row .tm-count { background: var(--tint); color: var(--c); }

/* parts of a module that are not activities: an icon instead of the leaf */
.tm-h { margin-bottom: -6px; }
.tm-h + .tree-acts { margin-top: 0; }
.ta-ico { position: absolute; left: 6px; top: 12px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface); color: var(--c); }
.ta-ico .ico { width: 16px; height: 16px; }
.ta-text { padding: 0 8px 14px 32px; }
.ta-text p { font-size: .9688rem; line-height: 1.6; color: var(--text2); }
.ta-text .dots li, .ta-text .crosses li { font-size: .9688rem; }
.ta[open] > .ta-row { font-weight: 600; }
.ta-example[open] > .ta-text { margin: 0 0 10px 32px; padding: 12px 14px; border-radius: 12px; background: var(--tint); }
.ta-next[open] > .ta-text { margin: 0 0 10px 32px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--cl); }
.tm-body > .tm-note { margin-top: -4px; }
.tree-acts { max-width: 796px; }

/* =====================================================================
   Tree v3 (26/10/2026): opening in the voice of the offer, results apart from the activities,
   the page keeps its place when a card opens and another closes
   ===================================================================== */
/* the browser must not move the page on its own: the script keeps the tapped row in place (Safari has no scroll anchoring) */
.tree { overflow-anchor: none; }

.hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.02; }
.hero h1 em { display: block; }
.hero-lead { margin-top: 24px; max-width: 680px; }
.hero-stack { display: grid; gap: 10px; max-width: 680px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-stack li { position: relative; padding-left: 30px; font-size: 1.0313rem; line-height: 1.5; color: var(--muted); }
.hero-stack li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero-stack b { color: var(--ink); font-weight: 700; }
.hero-stack strong { color: var(--ink); font-weight: 600; }
.hero-nums { display: none; }

/* results and checks: apart from the branch, quieter */
.tm-open { display: grid; }
.tm-body { margin-bottom: 14px; }
.tm-extra { margin: 0 0 24px calc(var(--pad) + 2px); padding: 10px 6px 6px; border-radius: 16px; background: var(--soft); max-width: 820px; }
.tm-extra-h { padding: 4px 12px 6px; font-size: .75rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--subtle); }
.tree-more { margin: 0; padding: 0; list-style: none; }
.tree-more > li::before { content: none; }
.tree-more .ta-row { min-height: 42px; padding: 8px 10px 8px 40px; }
.tree-more .ta-row:hover { background: var(--surface); }
.tree-more .ta-row b { font-weight: 400; font-size: .9688rem; color: var(--muted); }
.tree-more .ta[open] > .ta-row b { font-weight: 500; color: var(--ink); }
.tree-more .ta-ico { left: 12px; top: 11px; background: none; color: var(--subtle); }
.tree-more .ta[open] .ta-ico { color: var(--c); }
.tree-more .ta-row .tg { background: var(--surface); }
.tree-more .ta-text { padding: 0 12px 12px 40px; }
.tree-more .ta-example[open] > .ta-text, .tree-more .ta-next[open] > .ta-text { margin: 0 8px 10px 40px; }
.tree-more .ta-example[open] > .ta-text { background: var(--surface); }
.tree-more .ta[open] > .ta-row .tg { background: var(--c); }

/* =====================================================================
   Languages (26/10/2026): IT / EN / 中文 in the header, the call to book small on the right
   ===================================================================== */
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft-2); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 30px; padding: 0 9px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: background-color .15s, color .15s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.header-cta { min-height: 36px; padding: 6px 14px; font-size: .8438rem; }
.cta-short { display: none; }
@media (max-width: 479px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-tools { gap: 6px; }
  .lang a { min-width: 32px; padding: 0 7px; }
  .header-cta { padding: 6px 12px; }
}

/* Chinese: system fonts with Chinese characters, no tight letter spacing, no capitals */
:lang(zh) body, html:lang(zh) { font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif; }
html:lang(zh) * { letter-spacing: 0 !important; }
html:lang(zh) .hero h1, html:lang(zh) .ts-head h2 { line-height: 1.2; }
html:lang(zh) body { line-height: 1.75; }
.lang a, .header-cta { white-space: nowrap; }
@media (max-width: 374px) {
  .wordmark { font-size: 1.0625rem; gap: 6px; }
  .header-inner { gap: 8px; }
  .header-tools { gap: 4px; }
  .lang { padding: 2px; }
  .lang a { min-width: 28px; min-height: 28px; padding: 0 5px; font-size: .75rem; }
  .header-cta { min-height: 32px; padding: 5px 10px; font-size: .78rem; }
}
.tree-stick span { max-width: calc(100vw - var(--pad) - 28px); overflow: hidden; text-overflow: ellipsis; }

/* =====================================================================
   Dark or light like the device, as on comiteg.it (26/10/2026). The switch in the menu can force one
   (data-theme on <html>, remembered in the browser).
   ===================================================================== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08090A; --surface: #0F1011; --soft: #141516; --soft-2: #1C1D1F; --soft-3: #26272A;
    --ink: #F7F8F8; --text2: #D0D6E0; --muted: #A3A9B2; --subtle: #8A8F98; --line: #1F2022; --field: #2E2F33;
    --on: #08090A; --ink-line: #3A3B3F; --ink-tint: #141516; --mark: rgba(235,140,13,.32);
    --green: #4CC38A; --green-tint: rgba(76,195,138,.12); --green-line: rgba(76,195,138,.40);
    --gold: #E9B04A; --gold-ink: #E9B04A; --gold-tint: rgba(233,176,74,.12); --gold-line: rgba(233,176,74,.40);
    --red: #F2705F; --red-tint: rgba(242,112,95,.12); --red-line: rgba(242,112,95,.40);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08090A; --surface: #0F1011; --soft: #141516; --soft-2: #1C1D1F; --soft-3: #26272A;
  --ink: #F7F8F8; --text2: #D0D6E0; --muted: #A3A9B2; --subtle: #8A8F98; --line: #1F2022; --field: #2E2F33;
  --on: #08090A; --ink-line: #3A3B3F; --ink-tint: #141516; --mark: rgba(235,140,13,.32);
  --green: #4CC38A; --green-tint: rgba(76,195,138,.12); --green-line: rgba(76,195,138,.40);
  --gold: #E9B04A; --gold-ink: #E9B04A; --gold-tint: rgba(233,176,74,.12); --gold-line: rgba(233,176,74,.40);
  --red: #F2705F; --red-tint: rgba(242,112,95,.12); --red-line: rgba(242,112,95,.40);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); transition: background-color .3s, color .3s; }
.site-footer { border-top: 1px solid var(--line); }

/* ---------- type and labels as on comiteg.it: Inter, Geist Mono capitals for small labels ---------- */
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--subtle); }
.hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-weight: 500; letter-spacing: -0.035em; }
.hero h1 em { color: var(--subtle); }
.ts-kicker, .tm-h, .tm-extra-h, .tm-phase, .eyebrow, .tree-end .ts-kicker {
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.ts-head h2, .contact-head h2, .tree-end-text { font-weight: 500; letter-spacing: -0.035em; }
.btn { font-size: .9375rem; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--ink); opacity: .88; }
html:lang(zh) .ts-kicker, html:lang(zh) .tm-h, html:lang(zh) .tm-extra-h, html:lang(zh) .tm-phase, html:lang(zh) .eyebrow { font-family: inherit; }

/* ---------- header: the same as comiteg.it ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 86%, transparent); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 64px; gap: 16px; }
.nav { display: none; align-items: center; gap: 28px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); text-decoration: none;
  transition: color .15s;
}
.nav-link:hover, .nav-steps[aria-expanded="true"] { color: var(--ink); }
.nav-steps svg { transition: transform .2s; }
.nav-steps[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-contact { font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.nav-contact:hover { color: var(--brand); opacity: .8; }
html:lang(zh) .nav-link { font-family: inherit; font-size: 13px; letter-spacing: .04em !important; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.thm-group, .lang { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: none; }
.thm { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--subtle); cursor: pointer; transition: color .15s, background-color .15s; }
.thm:hover { color: var(--ink); }
.thm[aria-pressed="true"], .thm[aria-pressed="true"]:hover { background: var(--ink); color: var(--bg); }
.lang a { min-width: 32px; min-height: 28px; padding: 0 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--subtle); }
.lang a[lang="zh-Hans"] { font-family: inherit; font-size: 12px; letter-spacing: 0; }
.lang a[aria-current] { background: var(--ink); color: var(--bg); box-shadow: none; }
.header-tools .thm-group, .header-tools .lang { display: none; }
@media (min-width: 1020px) {
  .nav { display: flex; }
  .header-tools { margin-left: 12px; }
  .header-tools .thm-group, .header-tools .lang { display: inline-flex; }
}

/* the 4 steps open under the header */
.steps-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 55; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(0,0,0,.5); animation: np-in .2s ease; }
.steps-panel[hidden] { display: none; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 28px; padding-bottom: 32px; }
.sp-link { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.sp-link:hover { background: var(--soft); }
.sp-link small { font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--subtle)); }
.sp-link b { font-size: 15px; font-weight: 500; }
.sp-link span { font-size: 13px; line-height: 1.4; color: var(--subtle); }
[data-tone="green"] { --c: var(--green); } [data-tone="gold"] { --c: var(--gold-ink); } [data-tone="red"] { --c: var(--red); } [data-tone="ink"] { --c: var(--ink); }
.nav-shade { position: fixed; inset: 64px 0 0; z-index: 40; background: rgba(0,0,0,.4); }
.nav-shade[hidden] { display: none; }
@keyframes np-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* menu button on phones: two lines, an X when the menu is open */
.burger { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.burger span { grid-area: 1 / 1; display: block; width: 22px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s ease; }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
@media (min-width: 1020px) { .burger { display: none; } }

/* ---------- full screen menu on phones, as on comiteg.it ---------- */
.mob { position: fixed; inset: 64px 0 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); animation: np-in .2s ease; }
.mob[hidden] { display: none; }
.mob-inner { min-height: 100%; display: flex; flex-direction: column; padding: 24px 24px calc(32px + env(safe-area-inset-bottom)); }
.mob-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font: 500 20px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
html:lang(zh) .mob-item { font-family: inherit; letter-spacing: .04em !important; }
.mob-plus { position: relative; width: 14px; height: 14px; transition: transform .25s; }
.mob-plus::before, .mob-plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; background: currentColor; }
.mob-plus::after { transform: rotate(90deg); }
.mob-steps[open] .mob-plus { transform: rotate(45deg); }
.mob-sub { display: grid; gap: 2px; padding: 4px 0 16px 4px; }
.mob-sub-link { display: grid; gap: 2px; padding: 10px 0 10px 16px; border-left: 2px solid var(--c, var(--line)); text-decoration: none; color: var(--text2); }
.mob-sub-link small { font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--subtle)); }
.mob-sub-link b { font-size: 16px; font-weight: 500; color: var(--ink); }
.mob-sub-link span { font-size: 13px; color: var(--subtle); }
.mob-space { flex: 1; min-height: 96px; display: flex; align-items: center; }
.mob-contact { font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mob-foot { display: grid; gap: 16px; }
.mob-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mob-row > span { min-width: 52px; font-size: 12px; color: var(--subtle); }
.mob-row .lang a { min-height: 30px; padding: 0 12px; }
.thm-labels .thm { width: auto; gap: 6px; padding: 0 12px; height: 30px; display: inline-flex; font-size: 12px; }
html.mob-open { overflow: hidden; }
html.mob-open body { overflow: visible; }
html.mob-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (prefers-reduced-motion: reduce) { .mob, .steps-panel { animation: none; } .burger span { transition: none; } }
.ts-kicker { font-size: .6875rem; letter-spacing: .08em; }
