/* Spoontaneous — sito. Stessi colori e caratteri dell'app: carta calda, inchiostro, lime acceso. Niente gradienti. */
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/InterTight_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/InstrumentSerif_400Regular_Italic.ttf') format('truetype'); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #FAF9F5; --paper: #F3F2EC; --surface: #FFFFFF; --alt: #EEEDE6;
  --ink: #1B1F1C; --ink-soft: #474E49; --muted: #5F6762;
  --line: rgba(27,31,28,.09); --line-strong: rgba(27,31,28,.22);
  --lime: #D4FF1F; --lime-2: #C4F000; --olive: #4A6100; --lime-soft: #F5FFD6;
  --carbs: #EDB044; --fat: #56B7AE; --tomato: #E5553D;
  --r-sm: 12px; --r-md: 18px; --r-lg: 28px; --r-xl: 40px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter Tight', system-ui, sans-serif; font-weight: 500; font-size: 17px; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.dot { color: var(--lime-2); }
.kicker { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.04em; line-height: .98; }
p { margin: 0; }

/* Barra di avanzamento della pagina */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* Grana leggera della carta (texture, non gradiente) */
.grain { pointer-events: none; position: fixed; inset: 0; z-index: 70; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Navigazione */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; transition: transform .5s var(--ease); }
.nav.hide { transform: translateY(-120%); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(250,249,245,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 22px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.05em; text-decoration: none; }
.nav-links { display: flex; gap: 26px; font-weight: 600; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { font-weight: 700; font-size: 13px; text-decoration: none; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 15px 24px; transition: transform .25s var(--ease), box-shadow .25s; will-change: transform; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 1px rgba(27,31,28,.08) inset; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink) inset; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn:hover { box-shadow: 0 14px 30px -14px rgba(27,31,28,.45); }
.btn svg { width: 18px; height: 18px; }

/* HERO */
.hero { position: relative; min-height: 100svh; padding: 140px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(400px, .85fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(46px, 5.6vw, 92px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 .serif { font-size: 1.06em; letter-spacing: -0.01em; }
.mark { position: relative; white-space: nowrap; }
.mark::after { content: ''; position: absolute; left: -.06em; right: -.06em; bottom: .08em; height: .32em; background: var(--lime); z-index: -1; transform: scaleX(0); transform-origin: 0 50%; animation: grow .9s .7s var(--ease) forwards; }
.hero-sub { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 520px; opacity: 0; animation: fade .9s .45s var(--ease) forwards; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade .9s .6s var(--ease) forwards; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); opacity: 0; animation: fade .9s .75s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.stage { position: relative; height: 680px; }
.phone { position: relative; width: 300px; aspect-ratio: 393/852; border-radius: 46px; background: var(--ink); padding: 10px; box-shadow: 0 50px 90px -40px rgba(27,31,28,.55), 0 0 0 1px rgba(27,31,28,.12); }
/* In alto una fascia come la barra di stato del telefono: la Dynamic Island non copre l'app. */
.phone img, .phone .screens { width: 100%; height: 100%; border-radius: 37px; object-fit: cover; object-position: top; background: var(--bg); border-top: 46px solid var(--bg); box-sizing: border-box; }
.phone .screens img { border-top: 0; border-radius: 0; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: var(--ink); transform: translateX(-50%); z-index: 2; }
.stage .phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.float { position: absolute; will-change: transform; }
.food { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 50px -28px rgba(27,31,28,.5); border: 6px solid #fff; }
.food img { width: 100%; height: 100%; object-fit: cover; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px 18px; box-shadow: 0 24px 40px -26px rgba(27,31,28,.4); font-weight: 700; font-size: 14px; white-space: nowrap; }
.chip b { font-size: 30px; letter-spacing: -0.04em; display: block; line-height: 1; }
.chip.lime { background: var(--lime); border-color: transparent; }
.badge-spin { width: 132px; height: 132px; }
.badge-spin svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin svg { background: #fff; border-radius: 50%; box-shadow: 0 24px 40px -26px rgba(27,31,28,.4); }
.badge-spin text { font-family: 'Inter Tight'; font-weight: 800; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint i { width: 1.5px; height: 40px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* Nastro di foto */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--paper); }
.track { display: flex; gap: 18px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track .tile { width: 210px; flex: none; }
.track .tile img { width: 210px; height: 210px; object-fit: cover; border-radius: 26px; }
.track .tile span { display: block; margin-top: 10px; font-weight: 700; font-size: 14px; }
.track .word { align-self: center; font-weight: 800; font-size: 64px; letter-spacing: -0.05em; padding: 0 14px; }
.track .word .serif { font-size: 1.1em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sezioni */
section { position: relative; }
.sec { padding: 140px 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(42px, 6vw, 84px); margin-top: 14px; }
.sec-head p { margin-top: 22px; font-size: 20px; color: var(--ink-soft); max-width: 600px; }

/* Testo che si accende scorrendo */
.statement { padding: 150px 0; }
.statement p { font-size: clamp(34px, 4.9vw, 70px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; max-width: 1050px; }
.statement .w { opacity: .14; transition: opacity .25s; }
.statement .w.on { opacity: 1; }
.statement .serif { font-weight: 400; }

/* Come funziona: telefono fisso e passi */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; margin-top: 60px; }
.steps { display: flex; flex-direction: column; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step .n { font-weight: 800; font-size: 15px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--alt); margin-bottom: 22px; transition: background .4s; }
.step.on .n { background: var(--lime); }
.step h3 { font-size: clamp(34px, 3.6vw, 52px); }
.step p { margin-top: 16px; font-size: 19px; color: var(--ink-soft); max-width: 470px; }
.sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.sticky .phone { width: 320px; }
.screens { position: relative; overflow: hidden; }
.screens img { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.screens img.on { opacity: 1; transform: none; }
.ring { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1.5px dashed var(--line-strong); animation: spin 60s linear infinite; }
.ring.r2 { width: 380px; height: 380px; animation-direction: reverse; animation-duration: 40s; }
.sticky .blob { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--lime); filter: blur(0); opacity: .9; transform: translate(40px, 60px); }

/* Funzioni */
.feat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 64px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; overflow: hidden; transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { box-shadow: 0 40px 60px -40px rgba(27,31,28,.4); }
.card h3 { font-size: 30px; letter-spacing: -0.035em; line-height: 1.02; }
.card p { margin-top: 12px; color: var(--ink-soft); }
.card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--lime); display: grid; place-items: center; margin-bottom: 22px; }
.card .ico svg { width: 26px; height: 26px; }
.c-7 { grid-column: span 7; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; }
.card.lime { background: var(--lime); border-color: transparent; }
.card.ink { background: var(--ink); color: #fff; border-color: transparent; }
.card.ink p { color: rgba(255,255,255,.72); }
.card .peek { margin: 26px -30px -30px; height: 250px; overflow: hidden; }
.card .peek img { width: 100%; object-fit: cover; object-position: top; transform: translateY(0); transition: transform 1.2s var(--ease); }
.card:hover .peek img { transform: translateY(-14%); }
.hatch { background-image: repeating-linear-gradient(135deg, rgba(27,31,28,.07) 0 2px, transparent 2px 10px); }

/* Numeri */
.numbers { background: var(--ink); color: #fff; padding: 120px 0; overflow: hidden; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.num b { font-size: clamp(56px, 7vw, 104px); letter-spacing: -0.06em; line-height: 1; display: block; color: var(--lime); }
.num span { display: block; margin-top: 10px; color: rgba(255,255,255,.75); font-weight: 600; }
.numbers .src { margin-top: 56px; color: rgba(255,255,255,.55); font-size: 14px; max-width: 760px; }

/* Per due */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.duo-stage { position: relative; height: 640px; }
.duo-stage .phone { position: absolute; width: 270px; }
.duo-stage .p1 { left: 4%; top: 40px; transform: rotate(-7deg); }
.duo-stage .p2 { right: 4%; top: 0; transform: rotate(6deg); }
.heart { position: absolute; left: 50%; top: 46%; width: 96px; height: 96px; margin-left: -48px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; z-index: 3; box-shadow: 0 20px 40px -20px rgba(27,31,28,.5); animation: beat 2.4s var(--ease) infinite; }
.heart svg { width: 40px; height: 40px; }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; font-size: 18px; font-weight: 600; }
.ticks li::before { content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%231B1F1C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/16px no-repeat; margin-top: 1px; }

/* Domande */
.faq { max-width: 860px; margin: 56px auto 0; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--alt); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--lime); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 0 26px; color: var(--ink-soft); font-size: 18px; max-width: 720px; }

/* Chiusura */
.final { padding: 40px 0 120px; }
.final-box { position: relative; overflow: hidden; background: var(--lime); border-radius: var(--r-xl); padding: 100px 60px; text-align: center; }
.final-box h2 { font-size: clamp(48px, 7.6vw, 116px); }
.final-box p { margin: 22px auto 0; font-size: 20px; max-width: 560px; color: var(--ink-soft); }
.final-box .hero-cta { justify-content: center; opacity: 1; animation: none; }
.final-box .float { width: 120px; height: 120px; }
.final-box .f1 { left: 5%; top: 14%; } .final-box .f2 { right: 6%; top: 10%; } .final-box .f3 { left: 12%; bottom: 8%; } .final-box .f4 { right: 12%; bottom: 10%; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; font-size: 15px; color: var(--ink-soft); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot a { display: block; text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot small { display: block; margin-top: 40px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.giant { font-weight: 800; letter-spacing: -0.07em; font-size: min(12.4vw, 158px); line-height: .82; margin-top: 50px; color: var(--ink); user-select: none; white-space: nowrap; overflow: hidden; padding-bottom: .04em; }

/* Comparsa allo scorrimento */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Pagine legali e supporto */
.doc { padding: 150px 0 100px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(44px, 6vw, 76px); }
.doc .updated { margin-top: 14px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 28px; letter-spacing: -0.03em; margin: 48px 0 12px; line-height: 1.1; }
.doc p, .doc li { color: var(--ink-soft); font-size: 17.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; } .doc li { margin: 6px 0; }
.doc .todo { background: #FBF0DA; color: #9A5B00; padding: 2px 6px; border-radius: 6px; font-weight: 700; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; margin-top: 26px; }
.doc .box.lime { background: var(--lime-soft); border-color: rgba(74,97,0,.2); }

/* Telefono */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding-top: 120px; }
  .hero-grid, .how-grid, .duo { grid-template-columns: minmax(0, 1fr); }
  .stage { height: 560px; margin-top: 10px; }
  .stage .phone { width: 250px; }
  .food { width: 110px; height: 110px; border-width: 4px; }
  .chip b { font-size: 24px; }
  .badge-spin { width: 104px; height: 104px; }
  .how-grid { display: flex; flex-direction: column; }
  .how-grid .sticky { order: -1; }
  .sticky { position: sticky; top: 70px; height: 62vh; z-index: 1; }
  .sticky .phone { width: 230px; }
  .ring { width: 360px; height: 360px; } .ring.r2 { width: 270px; height: 270px; }
  .sticky .blob { width: 230px; height: 230px; }
  .step { min-height: 56vh; position: relative; z-index: 2; background: rgba(250,249,245,.92); border-radius: 24px; padding: 24px; margin: 0 0 30vh; justify-content: flex-start; min-height: auto; }
  .feat-grid { grid-template-columns: 1fr; }
  .c-7, .c-5, .c-4, .c-6 { grid-column: auto; }
  .num-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .duo-stage { height: 520px; }
  .duo-stage .phone { width: 210px; }
  .final-box { padding: 70px 24px; }
  .final-box .float { width: 74px; height: 74px; }
  .final-box .f3, .final-box .f4 { display: none; }
  .final-box .f1 { left: -14px; top: -10px; } .final-box .f2 { right: -14px; top: -10px; }
  .foot { grid-template-columns: 1fr; }
  .sec { padding: 100px 0; }
  .track .word { font-size: 44px; }
  .track .tile, .track .tile img { width: 150px; } .track .tile img { height: 150px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav-bar { padding-left: 16px; }
  .nav .btn-sm { display: none; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .stage { height: 500px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* Menu delle lingue */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; user-select: none; }
.langs summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px; box-shadow: 0 30px 50px -30px rgba(27,31,28,.45); display: grid; }
.lang-menu a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 12px; border-radius: 12px; }
.lang-menu a:hover { background: var(--paper); }
.lang-menu a[aria-current] { background: var(--lime); }

/* Lingue con altri alfabeti: caratteri di sistema per i glifi che Inter Tight non ha, niente spaziatura negativa */
body { font-family: 'Inter Tight', system-ui, -apple-system, 'Hiragino Sans', 'PingFang SC', 'Noto Sans JP', 'Noto Sans SC', 'Geeza Pro', 'Noto Sans Arabic', sans-serif; }
html[lang=ja] *, html[lang=zh] *, html[lang=ar] * { letter-spacing: 0 !important; }
html[lang=ja] .serif, html[lang=zh] .serif, html[lang=ar] .serif { font-family: inherit; font-style: normal; font-weight: 800; color: var(--olive); }
html[lang=ja] h1, html[lang=zh] h1, html[lang=ja] h2, html[lang=zh] h2 { line-height: 1.14; }
html[lang=ar] h1, html[lang=ar] h2, html[lang=ar] h3 { line-height: 1.3; }
html[lang=ja] .hero h1, html[lang=zh] .hero h1 { font-size: clamp(42px, 5vw, 80px); }
html[lang=ar] body, html[lang=ar] p, html[lang=ar] li { line-height: 1.75; }

/* Destra a sinistra (arabo) */
html[dir=rtl] .progress { transform-origin: 100% 50%; }
html[dir=rtl] .track { direction: ltr; }
html[dir=rtl] .btn svg:last-child { transform: scaleX(-1); }
html[dir=rtl] .ticks li::before { margin-top: 4px; }
html[dir=rtl] .doc ul { padding-left: 0; padding-right: 20px; }
