/* Stargenis — foglio di stile unico. Direzione "blu istituzionale" (6c),
   impaginazione presa in parte da marchesani.it: pannelli blu notte
   arrotondati su carta fredda, sezioni numerate, un solo carattere (Geist)
   più Geist Mono per etichette e numeri. */
@import url('fonts.css');

:root {
  --paper: #EEF2F7;
  --sheet: #FFFFFF;
  --navy: #0E1A2B;
  --navy-2: #13223A;
  --ink: #0E1A2B;
  --muted: #4E5D72;
  --faint: #7D8FA8;
  --line: #D3DBE6;
  --on-navy: #E6ECF4;
  --on-navy-muted: #9FB0C6;
  --on-navy-line: #24354F;
  --blue: #3F72FF;
  --blue-soft: #8FB2FF;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --radius: clamp(20px, 2.4vw, 32px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: 1.1875rem;
  --t-h2: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  --t-h1: clamp(2.6rem, 1.6rem + 4vw, 5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--on-navy); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-weight: 600; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.035em; margin: 0; }

/* ── pannelli blu notte ─────────────────────────────────────────────── */
.panel { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); margin: 12px; position: relative; overflow: hidden; }

/* ── testata ─────────────────────────────────────────────────────────── */
.top { display: flex; align-items: center; gap: 24px; padding: 20px var(--gutter); max-width: calc(var(--max) + 24px); margin: 0 auto; position: relative; z-index: 2; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; text-decoration: none; }
.logo .mark { display: grid; flex: none; }
.logo svg { width: 24px; height: 24px; display: block; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 30px); font-size: 0.9375rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--on-navy-muted); transition: color .2s; }
.nav a:hover { color: var(--on-navy); }
.pill, .btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; transition: transform .35s var(--ease), background .25s, color .25s; }
.pill { background: var(--on-navy); color: var(--navy); padding: 9px 16px; font-size: 0.875rem; }
.pill svg, .btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.pill:hover svg, .btn:hover svg { transform: translate(2px, -2px); }
.btn { background: var(--on-navy); color: var(--navy); padding: 14px 24px; }
.btn:hover { background: #fff; }
.btn:active, .pill:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--on-navy-line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--on-navy-muted); }
.btn.solid { background: var(--navy); color: var(--on-navy); }
.btn.solid:hover { background: var(--blue); }

/* ── primo schermo ───────────────────────────────────────────────────── */
.hero { max-width: calc(var(--max) + 24px); margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--gutter) clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; position: relative; z-index: 1; }
.eyebrow { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); margin: 0 0 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-soft); box-shadow: 0 0 12px var(--blue-soft); flex: none; }
.hero h1 { font-weight: 600; font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.045em; margin: 0; }
.hero .lead { color: var(--on-navy-muted); font-size: var(--t-lead); line-height: 1.5; margin: 22px 0 32px; max-width: 34ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* la luce che sale dall'orizzonte, come un'alba blu dietro il telefono */
.horizon { position: absolute; left: 50%; bottom: -440px; width: 140%; height: 540px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(14,26,43,1) 78%, rgba(63,114,255,.0) 100%); box-shadow: 0 -40px 120px -10px rgba(63,114,255,.45), 0 -10px 40px -6px rgba(143,178,255,.5); pointer-events: none; }
.hero-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 75% 45%, rgba(63,114,255,.16), transparent 70%); pointer-events: none; }

/* l'asterisco in 3D: copie sovrapposte in profondità, gira piano su se stesso */
.starvis { position: relative; height: clamp(320px, 34vw, 440px); display: grid; place-items: center; perspective: 1400px; }
.startilt { transform-style: preserve-3d; }
.star3d { width: clamp(190px, 22vw, 290px); aspect-ratio: 1; position: relative; transform-style: preserve-3d; animation: spin 16s linear infinite; }
.star3d svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.star3d svg.front { color: var(--on-navy); filter: drop-shadow(0 0 22px rgba(143,178,255,.4)); }
@keyframes spin { from { transform: rotateX(14deg) rotateY(0); } to { transform: rotateX(14deg) rotateY(360deg); } }
.orbit { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(143,178,255,.2); transform: rotateX(72deg); }
.orbit.o2 { width: 100%; border-color: rgba(143,178,255,.1); }
.chip { position: absolute; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy); background: rgba(19,34,58,.85); border: 1px solid var(--on-navy-line); border-radius: 999px; padding: 6px 12px; }
.chip.c0 { left: 4%; top: 18%; } .chip.c1 { right: 2%; top: 28%; } .chip.c2 { left: 10%; bottom: 18%; } .chip.c3 { right: 8%; bottom: 10%; }

/* ── nastro dei servizi ──────────────────────────────────────────────── */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: 18px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide 40s linear infinite; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.marquee .star svg { width: 16px; height: 16px; color: var(--blue); display: block; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── sezioni ─────────────────────────────────────────────────────────── */
.sec { padding-block: clamp(64px, 9vw, 130px); }
.label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.label span { background: var(--blue); color: #fff; border-radius: 6px; padding: 2px 7px; letter-spacing: 0; }
.panel .label { color: var(--on-navy-muted); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.about-text p, p.about-text { color: var(--muted); margin: 0 0 16px; max-width: 48ch; }
.split h2, .dringo-grid h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.fact { border-top: 2px solid var(--ink); padding-top: 18px; }
.fact h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.fact p { margin: 0; color: var(--muted); font-size: 0.9375rem; max-width: 30ch; }

/* servizi nel pannello blu */
.services { padding-block: clamp(64px, 8vw, 120px); }
.services::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(63,114,255,.22), transparent); pointer-events: none; }
.services h2 { max-width: 16ch; position: relative; }
.rows { margin-top: clamp(40px, 5vw, 64px); position: relative; }
.row { display: grid; grid-template-columns: 56px minmax(0, 5fr) minmax(0, 6fr); gap: 12px 24px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--on-navy-line); transition: padding .4s var(--ease); }
.row:last-child { border-bottom: 1px solid var(--on-navy-line); }
.row .num { font-family: var(--mono); font-size: 0.8125rem; color: var(--on-navy-muted); }
.row h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); font-weight: 500; margin: 0; letter-spacing: -0.02em; }
.row p { margin: 0; color: var(--on-navy-muted); max-width: 50ch; }
.row:hover { padding-left: 10px; }

/* passi: card orizzontali, l'ultima accesa */
.proc { overflow: hidden; }
.cards-viewport { margin-top: clamp(36px, 5vw, 56px); }
.cards { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 18px; width: max-content; }
.card { width: clamp(280px, 30vw, 380px); min-height: 300px; background: var(--navy); color: var(--on-navy); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.card .big { position: absolute; top: 18px; right: 22px; font-size: 3.4rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--on-navy-line); }
.card h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 10px; }
.card p { margin: 0; color: var(--on-navy-muted); font-size: 0.9375rem; }
.card.hot { background: linear-gradient(140deg, #2A57E6 0%, #3F72FF 55%, #8FB2FF 120%); }
.card.hot p { color: #E8EEFF; }
.card.hot .big { -webkit-text-stroke-color: rgba(255,255,255,.5); }

/* Dringo */
.dringo .spec { margin: 24px 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 0.9375rem; border-top: 1px solid var(--line); padding-top: 16px; }
.spec dt { font-family: var(--mono); font-size: 0.75rem; color: var(--faint); padding-top: 3px; text-transform: uppercase; letter-spacing: .06em; }
.spec dd { margin: 0; }
.link { font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.tile { background: var(--sheet); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.tile h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; color: #2A57E6; }
.tile p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.tile.hot { background: linear-gradient(140deg, #2A57E6, #3F72FF 60%, #8FB2FF 130%); border-color: transparent; }
.tile.hot h3, .tile.hot p { color: #fff; }

.dringo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.dringo-grid .about-text { margin-top: 20px; }
.dringo .stage { padding-block: 20px 50px; }

/* contatto, grande e al centro */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta .label { justify-content: center; }
.cta h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); letter-spacing: -0.05em; line-height: .98; }
.cta-sub { color: var(--muted); margin: 22px 0 30px; }
.cta-mail { margin: 18px 0 0; font-family: var(--mono); font-size: 0.875rem; color: var(--muted); }

/* ── piede: pillola blu ──────────────────────────────────────────────── */
.foot { background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius); margin: 12px; padding: 24px clamp(20px, 3vw, 36px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; font-size: 0.8125rem; }
.foot .logo { color: var(--on-navy); font-size: 1rem; }
.foot .logo svg { width: 20px; height: 20px; }
.foot p { margin: 0; max-width: 80ch; }
.foot nav { display: flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot nav a:hover { color: var(--on-navy); }

/* ── pagine di testo (privacy) ───────────────────────────────────────── */
.doc-panel .top { padding-block: 16px; }
.doc { max-width: 68ch; padding-block: clamp(36px, 6vw, 72px) 80px; }
.doc h1 { font-weight: 600; font-size: var(--t-h2); letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 8px; }
.doc h2 { font-size: 1.125rem; letter-spacing: -0.01em; margin: 32px 0 8px; }
.doc p { color: #2B3A4F; }
.doc .meta { color: var(--muted); font-size: var(--t-small); margin-bottom: 28px; }

/* ── telefono in 3D (momento firma) ──────────────────────────────────
   La posa di riposo è già quella finale: senza JavaScript, o con le
   animazioni ridotte, il telefono è di lato e fermo, mai invisibile. */
.stage { perspective: 1600px; position: relative; display: grid; place-items: center; padding-block: 10px 40px; }
.tilt { transform-style: preserve-3d; will-change: transform; }
.phone3d {
  --w: clamp(230px, 24vw, 310px); --r: 42px; --d: 24px;
  width: var(--w); aspect-ratio: 9 / 18.6; position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-36deg) rotateX(8deg) rotateZ(-4deg);
}
.slab, .back, .face { position: absolute; inset: 0; border-radius: var(--r); }
.slab { background: linear-gradient(90deg, var(--a), var(--b)); transform: translateZ(var(--z)); }
.back { transform: translateZ(calc(var(--d) * -1)); background: linear-gradient(150deg, #2B2F34, #121417); box-shadow: 18px 30px 50px -18px rgba(20,22,23,.35); }
.face { transform: translateZ(0.5px); padding: 9px; background: #0B0D10; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1); }
.phone3d .screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--r) - 9px); overflow: hidden; background: #F2F3F5; }
.phone3d img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.glare { position: absolute; inset: -20%; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.38) 45%, rgba(255,255,255,0) 60%); transform: translateX(-30%); pointer-events: none; mix-blend-mode: soft-light; }
.floor { position: absolute; bottom: 4px; width: 70%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,22,23,.28), rgba(20,22,23,0)); filter: blur(6px); }

/* ── la dashboard di Dringo rifatta in HTML dentro il telefono ─────────
   Colori e misure dall'app (theme.ts, pro/dashboard.tsx). 1em = 10 px
   dell'app su uno schermo largo 360: tutto scala con il telefono. */
.screen { container-type: inline-size; }
.app { --bg: #F2F3F5; --fg: #17181C; --mu: #82868F; --ln: #E7E8EC; --ac: #2B2BE8; --ok: #109A5A; --cat-i: #2E5FA3;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Inter, system-ui, sans-serif;
  font-size: calc(100cqw / 36); height: 100%; background: var(--bg); color: var(--fg); display: flex; flex-direction: column; line-height: 1.25; }
.app p { margin: 0; }
.app .fi { width: 1.6em; height: 1.6em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app .ci { width: 1em; height: 1em; display: block; }
.app .sbar { display: flex; justify-content: space-between; align-items: center; padding: 1.4em 2.6em 0.6em; font-size: 1.3em; font-weight: 700; }
.app .ios { display: flex; align-items: center; gap: 0.4em; }
.app .ios svg { fill: currentColor; height: 0.85em; width: auto; }
.app .ahead { display: flex; justify-content: space-between; align-items: flex-start; padding: 1em 1.6em 1.4em; }
.app .h1 { font-size: 2.8em; font-weight: 800; letter-spacing: -0.02em; line-height: 1.14; }
.app .vis { display: flex; align-items: center; gap: 0.4em; margin-top: 0.2em; font-size: 1.5em; font-weight: 500; color: var(--mu); }
.app .vis i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--ok); }
.app .av { position: relative; width: 4.4em; height: 4.4em; border-radius: 50%; background: #DDF0F6; color: #1D6A82; display: grid; place-items: center; font-weight: 800; font-size: 1.3em; }
.app .cb { position: absolute; right: -0.3em; bottom: -0.2em; display: flex; }
.app .cb i { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--cat-i); color: #fff; display: grid; place-items: center; border: 0.12em solid #fff; font-size: 0.75em; }
.app .hero-card { margin: 0 1.6em 1.2em; background: var(--ac); color: #fff; border-radius: 2.4em; padding: 1.5em 1.8em; box-shadow: 0 1em 3em rgba(43,43,232,.28); }
.app .hl { font-size: 1.25em; font-weight: 600; color: rgba(255,255,255,.66); }
.app .amt { font-size: 4.2em; font-weight: 800; letter-spacing: -0.03em; margin: 0.05em 0 0.1em; font-variant-numeric: tabular-nums; }
.app .amt small { font-size: 0.6em; font-weight: 700; }
.app .hmeta { display: flex; align-items: center; gap: 0.9em; }
.app .dots { display: flex; gap: 0.5em; }
.app .dots i { width: 0.5em; height: 0.5em; border-radius: 0.25em; background: rgba(255,255,255,.66); }
.app .dots i.on { width: 1.4em; background: #fff; }
.app .chipw { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5em; background: rgba(255,255,255,.16); border-radius: 99em; padding: 0.4em 0.9em; font-size: 1.2em; font-weight: 700; }
.app .chipw .fi { width: 1em; height: 1em; }
.app .man { margin-left: auto; display: inline-flex; align-items: center; gap: 0.2em; font-size: 1.25em; font-weight: 700; color: rgba(255,255,255,.66); }
.app .man .fi { width: 1.15em; height: 1.15em; }
.app .acard { margin: 0 1.6em 1.2em; background: #fff; border-radius: 2.4em; padding: 1.8em 1.8em 0; border: 1px solid var(--ln); }
.app .clabel { font-size: 1.3em; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: 0.02em; }
.app .nj { display: flex; align-items: center; gap: 1.2em; margin-top: 1em; padding-bottom: 1.4em; }
.app .nj > div { flex: 1; min-width: 0; display: grid; }
.app .nj b { font-size: 1.6em; font-weight: 800; }
.app .nj span:not(.cat) { font-size: 1.3em; color: var(--mu); margin-top: 0.15em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .cat { width: 3.8em; height: 3.8em; border-radius: 50%; background: var(--cat-i); color: #fff; display: grid; place-items: center; font-size: 1.9em; font-size: 1em; }
.app .cat .ci { width: 2em; height: 2em; }
.app .mut { color: var(--mu); }
.app .acc { color: var(--ac); }
.app .ok { color: var(--ok); }
.app .afoot { display: flex; align-items: center; gap: 1em; border-top: 1px solid var(--ln); margin: 0 -1.8em; padding: 1.4em 1.8em; }
.app .afoot b { flex: 1; font-size: 1.4em; font-weight: 700; color: var(--ac); }
.app .dstat { display: flex; gap: 1em; align-items: flex-start; margin-top: 1em; }
.app .dstat > div { display: grid; }
.app .dstat b { font-size: 1.8em; font-weight: 800; }
.app .dstat span { font-size: 1.35em; color: var(--mu); }
.app .days { display: flex; gap: 0.6em; margin: 1.4em 0 1.2em; overflow: hidden; }
.app .dchip { display: grid; justify-items: center; padding: 0.7em 1em; border-radius: 1.2em; background: var(--bg); font-size: 1.2em; color: var(--mu); flex: none; }
.app .dchip b { font-size: 1.25em; color: var(--fg); }
.app .dchip.on { background: var(--fg); color: rgba(255,255,255,.7); }
.app .dchip.on b { color: #fff; }
.app .tl { display: flex; align-items: center; gap: 1em; padding-bottom: 1.8em; }
.app .zn { display: flex; align-items: center; gap: 0.5em; font-size: 1.3em; font-weight: 600; width: 6em; }
.app .zn i { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--ac); }
.app .bar { position: relative; flex: 1; height: 2.6em; background: var(--bg); border-radius: 0.8em; }
.app .slot { position: absolute; left: 8%; right: 10%; top: 0; bottom: 0; background: var(--ac); border-radius: 0.8em; color: #fff; display: grid; place-items: center; font-size: 1.2em; font-weight: 700; }
.app .tabs { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--ln); padding: 1em 0 2.2em; }
.app .tab { display: grid; justify-items: center; gap: 0.3em; font-size: 1.05em; color: var(--mu); font-weight: 500; }
.app .tab .fi { width: 2.1em; height: 2.1em; }
.app .tab.on { color: var(--fg); font-weight: 700; }

/* titolo che sale parola per parola */
.line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }

/* sul blu il telefono ha un'ombra più fonda */
.floor { background: radial-gradient(closest-side, rgba(3,8,16,.75), rgba(3,8,16,0)); }
.back { box-shadow: 18px 30px 60px -18px rgba(3,8,16,.8); }

/* ── tablet e telefono ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .tiles { grid-template-columns: 1fr; }
  .dringo-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .panel, .foot { margin: 8px; }
  .nav .wide { display: none; }
  .nav { margin-left: auto; }
  .pill { display: none; }
  .hero { grid-template-columns: 1fr; }
  .phone3d { --w: min(62vw, 250px); --r: 36px; transform: rotateY(-30deg) rotateX(8deg) rotateZ(-3deg); }
  .row { grid-template-columns: 40px minmax(0, 1fr); }
  .row p { grid-column: 2; }
  .cards { flex-direction: column; width: auto; }
  .card { width: auto; min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .marquee-track, .star3d { animation: none; }
}
