:root {
  --ink: #090e1a;
  --ink-soft: #111827;
  --paper: #f1efe7;
  --paper-soft: #e8e5dc;
  --acid: #c8ff3d;
  --white: #fffef8;
  --muted: #6e736d;
  --line: rgba(9, 14, 26, 0.18);
  --page: min(1280px, calc(100vw - 56px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Le superfici usano già rapporti di contrasto elevati; evita sostituzioni
   parziali dei colori che renderebbero il testo scuro su fondo scuro. */
.site-header,
.site-nav,
.hero,
.section-dark,
.featured-product,
.section-acid,
.contact,
.site-footer,
.legal-page {
  forced-color-adjust: none;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px; background: var(--acid); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  padding: 0 max(28px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .25s ease, height .25s ease;
}
.site-header.is-scrolled { height: 66px; background: rgba(9,14,26,.92); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: .78rem; font-weight: 850; letter-spacing: .15em; }
.brand img { border-radius: 4px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { text-decoration: none; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: 11px 15px; color: var(--ink); background: var(--acid); }
.nav-cta span { margin-left: 8px; }
.menu-button { display: none; border: 0; background: transparent; color: inherit; }

.hero { min-height: 100svh; padding: 128px max(28px, calc((100vw - 1280px) / 2)) 32px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 7vw; }
.eyebrow, .kicker { margin: 0 0 30px; font-size: .7rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.66); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 18px var(--acid); }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(3.2rem, 6.1vw, 6.3rem); line-height: .94; letter-spacing: -.06em; font-weight: 790; }
.hero h1 em { color: var(--acid); font-family: Georgia, serif; font-weight: 400; }
.hero-intro { max-width: 610px; margin: 35px 0 0; color: rgba(255,255,255,.7); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid rgba(255,255,255,.24); text-decoration: none; font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.hero-mark { position: relative; width: min(500px, 40vw); aspect-ratio: 1; justify-self: end; }
.mark-card { position: absolute; inset: 9%; z-index: 2; padding: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); transform: rotate(2.5deg); box-shadow: 0 32px 100px rgba(0,0,0,.35); }
.mark-card img { width: 100%; height: calc(100% - 32px); object-fit: cover; }
.mark-caption { height: 32px; display: flex; justify-content: space-between; align-items: end; color: rgba(255,255,255,.5); font: 700 .54rem/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.mark-orbit { position: absolute; border: 1px solid rgba(200,255,61,.3); }
.orbit-one { inset: 0 15% 15% 0; animation: drift 7s ease-in-out infinite; }
.orbit-two { inset: 18% 0 0 18%; border-color: rgba(255,255,255,.16); animation: drift 9s ease-in-out infinite reverse; }
.data-tag { position: absolute; z-index: 4; padding: 8px 10px; color: var(--ink); background: var(--acid); font: 800 .54rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.data-tag-a { top: 4%; right: 5%; }.data-tag-b { bottom: 8%; left: 1%; }
@keyframes drift { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(8px,-8px); } }
.hero-foot { width: 100%; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.42); font: 700 .58rem/1 ui-monospace, monospace; letter-spacing: .13em; }

.section { position: relative; padding: 130px max(28px, calc((100vw - 1280px) / 2)); }
.section-index { position: absolute; top: 58px; left: max(28px, calc((100vw - 1280px) / 2)); font: 700 .65rem/1 ui-monospace, monospace; letter-spacing: .1em; opacity: .45; }
.kicker { color: var(--muted); }
.statement { min-height: 720px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 10vw; align-items: center; }
.statement h2, .products-head h2, .capabilities-head h2, .method h2, .contact h2 { margin: 0; font-size: clamp(2.8rem, 5.2vw, 5.7rem); line-height: .98; letter-spacing: -.055em; }
.statement-body { max-width: 470px; padding-top: 42px; border-top: 1px solid var(--line); }
.statement-body p { margin: 0 0 24px; color: #3d433f; font-size: 1.05rem; line-height: 1.75; }

.section-dark { color: var(--white); background: var(--ink-soft); }
.capabilities { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10vw; }
.capabilities .section-index, .capabilities .kicker { color: rgba(255,255,255,.48); }
.capability-list { border-top: 1px solid rgba(255,255,255,.2); }
.capability { min-height: 170px; padding: 32px 8px; display: grid; grid-template-columns: 48px 1fr 50px; gap: 18px; align-items: start; border-bottom: 1px solid rgba(255,255,255,.2); transition: background .2s ease, padding .2s ease; }
.capability:hover { padding-left: 18px; padding-right: 18px; background: rgba(255,255,255,.04); }
.capability-number { color: var(--acid); font: 700 .68rem/1 ui-monospace, monospace; }
.capability h3 { margin: 0 0 10px; font-size: 1.35rem; }
.capability p { max-width: 530px; margin: 0; color: rgba(255,255,255,.58); line-height: 1.6; }
.capability-icon { justify-self: end; color: var(--acid); font-size: 1.8rem; }

.products { background: var(--paper); }
.products-head { margin-bottom: 75px; display: flex; align-items: end; justify-content: space-between; }
.featured-product { min-height: 750px; display: grid; grid-template-columns: .88fr 1.12fr; background: var(--ink); color: var(--white); overflow: hidden; }
.product-copy { padding: clamp(42px, 6vw, 80px); align-self: center; }
.product-status { margin-bottom: 36px; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.55); font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.product-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
.product-brand { display: flex; align-items: center; gap: 15px; }
.product-brand img { width: 54px; height: 54px; object-fit: contain; }
.product-brand h3 { margin: 0; font-size: clamp(2.35rem, 4vw, 4.4rem); letter-spacing: -.055em; }
.product-lead { margin: 28px 0 16px !important; color: var(--white) !important; font-size: 1.25rem !important; font-weight: 700; }
.product-copy > p { max-width: 510px; color: rgba(255,255,255,.62); line-height: 1.65; }
.product-features { margin: 30px 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.product-features li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.78); font-size: .88rem; }
.product-features li::before { content: "↳"; margin-right: 10px; color: var(--acid); }
.text-link { display: inline-flex; gap: 40px; padding-bottom: 6px; border-bottom: 1px solid var(--acid); color: var(--acid); text-decoration: none; font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.product-visual { position: relative; min-height: 750px; background: radial-gradient(circle at 55% 42%, #27344a 0, #141c2b 42%, #0b111d 75%); overflow: hidden; }
.product-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(200,255,61,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,61,.065) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.phone { position: absolute; width: min(43%, 300px); padding: 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 28px; background: #050812; box-shadow: 0 35px 90px rgba(0,0,0,.46); overflow: hidden; }
.phone::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 50%; width: 30%; height: 12px; border-radius: 0 0 10px 10px; background: #050812; transform: translateX(-50%); }
.phone img { width: 100%; border-radius: 20px; }
.phone-front { z-index: 2; top: 9%; right: 14%; transform: rotate(2.5deg); }
.phone-back { top: 27%; left: 10%; transform: rotate(-5deg); }
.visual-note { position: absolute; right: 6%; bottom: 5%; display: flex; gap: 8px; }
.visual-note span { padding: 8px 9px; border: 1px solid rgba(255,255,255,.2); font: 700 .52rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.visual-note span:first-child { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.labs { margin-top: 22px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr 120px; gap: 6vw; align-items: center; border: 1px solid var(--line); }
.labs-label { color: var(--muted); font: 700 .62rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.labs h3 { margin: 12px 0 0; font-size: clamp(1.5rem, 2.4vw, 2.35rem); letter-spacing: -.035em; }
.labs p { color: #555b57; line-height: 1.65; }
.labs-glyph { display: flex; gap: 8px; align-items: center; justify-content: end; }
.labs-glyph span { display: block; width: 22px; height: 64px; border: 2px solid var(--ink); }
.labs-glyph span:nth-child(2) { height: 42px; background: var(--acid); }
.labs-glyph span:nth-child(3) { height: 20px; }

.section-acid { background: var(--acid); }
.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.method .kicker { color: rgba(9,14,26,.58); }
.method-steps { border-top: 1px solid rgba(9,14,26,.35); }
.method-steps article { padding: 30px 0; display: grid; grid-template-columns: 48px 1fr; border-bottom: 1px solid rgba(9,14,26,.35); }
.method-steps span { grid-row: span 2; font: 800 .68rem/1 ui-monospace, monospace; }
.method-steps h3 { margin: 0 0 10px; font-size: 1.25rem; }
.method-steps p { max-width: 520px; margin: 0; color: rgba(9,14,26,.67); line-height: 1.6; }

.contact { min-height: 620px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 9vw; align-items: center; color: var(--white); background: var(--ink); }
.contact .kicker { color: rgba(255,255,255,.45); }
.contact-copy > a { margin-top: 46px; display: inline-flex; gap: 25px; padding-bottom: 7px; color: var(--acid); border-bottom: 1px solid var(--acid); text-decoration: none; font-size: clamp(1rem, 1.8vw, 1.4rem); }
.contact-details { border-top: 1px solid rgba(255,255,255,.2); }
.contact-details div { padding: 24px 0; display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-details span { color: rgba(255,255,255,.42); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-details strong { font-size: .94rem; font-weight: 550; line-height: 1.6; }

.site-footer { min-height: 120px; padding: 32px max(28px, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); background: var(--ink); font-size: .72rem; }
.footer-brand { display: flex; align-items: center; gap: 11px; color: var(--white); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.footer-brand img { border-radius: 4px; }
.footer-brand span { display: flex; flex-direction: column; gap: 4px; }.footer-brand small { color: rgba(255,255,255,.4); font-size: .47rem; }
.footer-links { justify-self: end; display: flex; gap: 22px; }.footer-links a { text-decoration: none; }.footer-links a:hover { color: var(--acid); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  :root { --page: calc(100vw - 40px); }
  .site-header { height: 68px; padding-inline: 20px; }
  .site-header.is-scrolled { backdrop-filter: none; }
  .menu-button { z-index: 2; width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; padding: 10px; }
  .menu-button span:not(.sr-only) { display: block; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; padding: 120px 28px 40px; display: none; flex-direction: column; align-items: stretch; gap: 0; color: var(--white); background: var(--ink); font-size: 1.7rem; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .site-nav .nav-cta { margin-top: 22px; padding: 20px; border: 0; text-align: center; font-size: .9rem; }
  .hero { padding: 110px 20px 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; padding-block: 35px 50px; }
  .hero-mark { width: min(560px, 92vw); justify-self: center; }
  .hero-foot { gap: 12px; }
  .section { padding: 105px 20px; }
  .section-index { top: 38px; left: 20px; }
  .statement, .capabilities, .method, .contact { grid-template-columns: 1fr; gap: 60px; min-height: unset; }
  .featured-product { grid-template-columns: 1fr; }
  .product-visual { min-height: 700px; }
  .labs { grid-template-columns: 1fr 1fr; }.labs-glyph { display: none; }
  .site-footer { grid-template-columns: 1fr auto; }.site-footer > p { display: none; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(3rem, 14.2vw, 4.6rem); }
  .hero-actions { flex-direction: column; }.button { width: 100%; }
  .hero-foot span:nth-child(2) { display: none; }
  .statement h2, .products-head h2, .capabilities-head h2, .method h2, .contact h2 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .products-head { margin-bottom: 42px; }
  .featured-product { margin-inline: -20px; }
  .product-copy { padding: 48px 20px 54px; }
  .product-visual { min-height: 580px; }
  .phone { width: 58%; }.phone-front { right: 5%; }.phone-back { left: 3%; }
  .labs { grid-template-columns: 1fr; margin-inline: -20px; padding: 32px 20px; border-inline: 0; }
  .capability { grid-template-columns: 36px 1fr; }.capability-icon { display: none; }
  .contact-copy > a { font-size: .92rem; gap: 10px; }
  .contact-details div { grid-template-columns: 1fr; gap: 9px; }
  .site-footer { grid-template-columns: 1fr; }.footer-links { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
