/* Sistema visivo condiviso: palette, componenti, animazioni, responsive. */
:root {
  color-scheme: dark;
  --pink: #e879c5;
  --error: #ff9fbc;
  --max: 1180px;
  --reading: 720px;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --section: clamp(3.5rem, 7vw, 7rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --control-radius: 12px;
  --shadow: 0 16px 40px #0003;
  --motion: 180ms ease;
  --body: "Exo 2", system-ui, sans-serif;
  --heading: var(--body);
  --display: "Orbitron", var(--body);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --bg: #142337;
  --panel: #20344b;
  --line: #3b5068;
  --muted: #b7c5d6;
  --ink: #f2f6fc;
  --cyan: #55c8ee;
  --metal-surface: linear-gradient(145deg,#2a4059,#20344b 55%,#192b41);
  --inset-surface: linear-gradient(145deg,#172b41,#112237);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  color: var(--ink);
  font: 1rem/1.7 var(--body);
  background-color: var(--bg);
  background-image: linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#38bdf807 1px,transparent 1px),radial-gradient(ellipse at 12% 0%,#4b9fbd16,transparent 40%),linear-gradient(155deg,#1b2e44,#18283d 50%,#20283f);
  background-size: 52px 52px,52px 52px,100% 100%,100% 100%;
  background-attachment: fixed;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--motion), background var(--motion), border-color var(--motion);
}
button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--motion), background var(--motion), border-color var(--motion);
  cursor: pointer;
}
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #112338;
  border-color: #617d9477;
  border-radius: 9px;
  box-shadow: inset 0 2px 5px #07132355;
}
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 144px;
  resize: vertical;
  background: #112338;
  border-color: #617d9477;
  border-radius: 9px;
  box-shadow: inset 0 2px 5px #07132355;
}
select {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #112338;
  border-color: #617d9477;
  border-radius: 9px;
  box-shadow: inset 0 2px 5px #07132355;
}
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
h1 {
  font-family: var(--heading);
  font-weight: 700;
  text-wrap: balance;
  font-size: clamp(2.75rem, 5.8vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: var(--space-3) 0;
}
h2 {
  font-weight: 700;
  text-wrap: balance;
  margin: 0 0 var(--space-3);
  font-family: var(--heading);
  font-size: clamp(1.65rem,3vw,2.65rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}
h3 {
  font-family: var(--heading);
  font-weight: 700;
  text-wrap: balance;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -.025em;
  margin: 0 0 var(--space-2);
  color: #e3edf8;
}
.brand-lettering { font-family: var(--display); font-size: 140px; font-weight: 800; }
p { margin: 0 0 var(--space-3); color: var(--muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); }
.eyebrow {
  font: 600 .75rem/1.6 var(--mono);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  font-weight: 500;
  letter-spacing: .13em;
  color: #91d7ef;
}
.case-kicker {
  font: 600 .75rem/1.6 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #91d7ef;
  font-size: .65rem;
  line-height: 1.8;
}
.step b {
  font: 600 .75rem/1.6 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #91d7ef;
  font-weight: 500;
}
.value b {
  font: 600 .75rem/1.6 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #91d7ef;
}
.feature>span {
  color: var(--cyan);
  font: 600 .75rem/1.6 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lead, .intro, .hero-copy>p, .page-hero p { max-width: 58ch; font-size: 1.125rem; }
.skip {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: 1rem;
  background: var(--cyan);
  color: var(--bg);
}
.skip:focus { transform: none; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: .75rem 1.25rem;
  border: 1px solid var(--line);
  font: 600 .875rem/1.5 var(--body);
  white-space: normal;
  border-radius: 9px 4px 9px 4px;
}
.btn-secondary {
  color: var(--ink);
  background: var(--metal-surface);
  border-color: #6c8aa177;
  box-shadow: inset 0 1px #d1eaff12;
}
.btn-secondary:hover { border-color: var(--muted); background: var(--panel); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--panel); }
.btn:active { transform: translateY(1px); }
main>section { padding-block: var(--section); }
.hero { position: relative; border-bottom: 1px solid var(--line); }
.home .hero {
  display: grid;
  justify-items: center;
  align-items: center;
  padding-block: 90px 76px;
  grid-template-columns: minmax(0,1fr);
  gap: 48px;
  padding-top: 36px;
  text-align: center;
}
.home .hero-copy {
  width: 100%;
  max-width: 840px;
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
}
.home .mascot-stage {
  align-self: center;
  padding-inline: 12px;
  border: 1px solid #58738d55;
  border-radius: 20px;
}
.hero h1 span { color: var(--muted); }
.home .hero h1 span { color: var(--cyan); text-shadow: 0 0 50px #38bdf826; display: inline; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.proof {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  color: var(--muted);
  margin-top: var(--space-5);
  font-size: .875rem;
  max-width: 48ch;
}
.proof-line {
  width: 32px;
  height: 1px;
  flex: none;
  background: var(--cyan);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  padding-bottom: 28px;
  border-bottom: 1px solid #63849c40;
}
.story, .content-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-5); }
.section-head>.eyebrow, .story>.eyebrow { display: flex; gap: 12px; align-items: baseline; }
.section-head p { max-width: 58ch; }
.service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.service {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 28px;
  gap: 14px;
  transition: border-color .2s,transform .2s;
  position: relative;
  background: var(--metal-surface);
  border: 1px solid #68859a66;
  border-radius: 18px 8px 18px 8px;
  box-shadow: inset 0 1px #b9dbef14,0 10px 25px #07132326;
}
.service p { grid-column: 2; margin: 0; }
.service-num {
  font: 500 .75rem var(--mono);
  color: #91d7ef;
  display: grid;
  place-items: center;
  width: 36px;
  height: 30px;
  background: var(--inset-surface);
  border: 1px solid #6b8da46b;
  border-radius: 7px;
  letter-spacing: 0;
}
.service h3 { margin: 0; }
.case {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
}
.feature {
  padding: var(--space-4);
  position: relative;
  background: var(--metal-surface);
  border: 1px solid #68859a66;
  border-radius: 18px 8px 18px 8px;
  box-shadow: inset 0 1px #b9dbef14,0 10px 25px #07132326;
}
.form {
  padding: var(--space-4);
  position: relative;
  border: 1px solid #68859a66;
  border-radius: 18px 8px 18px 8px;
  box-shadow: inset 0 1px #b9dbef14,0 10px 25px #07132326;
  background: var(--metal-surface);
}
.box, .quote {
  padding: var(--space-4);
  position: relative;
  background: var(--metal-surface);
  border: 1px solid #68859a66;
  border-radius: 18px 8px 18px 8px;
  box-shadow: inset 0 1px #b9dbef14,0 10px 25px #07132326;
}
.process-wrap {
  padding: clamp(1.5rem,4vw,3rem);
  position: relative;
  background: var(--metal-surface);
  border: 1px solid #68859a66;
  border-radius: 18px 8px 18px 8px;
  box-shadow: inset 0 1px #b9dbef14,0 10px 25px #07132326;
}
.process-wrap>h2 { max-width: 24ch; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-5);
  gap: 22px;
}
.step h3 { margin-top: var(--space-3); }
.step p, .value p { font-size: .9375rem; }
.principle p { font-size: .9375rem; margin-top: var(--space-1); }
.feature p { font-size: .9375rem; }
.cases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.case h3 { margin-top: var(--space-3); font-size: 1.35rem; line-height: 1.5; }
.case .eyebrow { margin: 0; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.principle { border-top: 1px solid var(--line); padding-top: var(--space-3); border-top-color: #63849c88; }
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.value {
  padding: var(--space-3);
  position: relative;
  background: var(--metal-surface);
  border: 1px solid #68859a66;
  border-radius: 18px 8px 18px 8px;
  box-shadow: inset 0 1px #b9dbef14,0 10px 25px #07132326;
}
.value h3 { margin-top: var(--space-3); }
.cta-panel, .cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-left: 3px solid var(--cyan);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #38bdf84d;
  border-color: #7597ae88;
  border-radius: 20px 8px 20px 8px;
  background: url('/assets/circuit-pattern.svg') center/cover,var(--metal-surface);
  box-shadow: inset 0 1px #c8e9fa14,0 15px 35px #07132330;
}
.cta h2, .cta-panel h2 { margin-bottom: 0; }
.cta .btn, .cta-panel .btn { flex: none; }
.about-page .cta { margin-bottom: var(--section); }
.contact-page main { padding-block: var(--section); }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
.contact h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.direct { margin-top: var(--space-5); border-top: 1px solid var(--line); border-top-color: #69859c66; }
.direct a, .direct>span {
  display: block;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
  border-bottom-color: #69859c66;
}
.direct small { display: block; color: var(--muted); margin-bottom: var(--space-1); }
.field { margin-bottom: var(--space-3); }
label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}
input::placeholder, textarea::placeholder { opacity: 1; color: #9fb4c9; }
input:user-invalid, textarea:user-invalid { border-color: var(--error); }
.consent {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: var(--space-3);
}
.consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  flex: none;
  margin: .25rem 0 0;
  accent-color: var(--cyan);
}
.consent a, .reading a { text-decoration: underline; text-underline-offset: 4px; }
.note, .agg { color: var(--muted); font-size: .8125rem; margin-top: var(--space-3); }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.success {
  display: none;
  margin-top: var(--space-3);
  padding: var(--space-2);
  border: 1px solid currentColor;
  border-radius: var(--control-radius);
  color: var(--cyan);
}
.errore {
  display: none;
  margin-top: var(--space-3);
  padding: var(--space-2);
  border: 1px solid currentColor;
  border-radius: var(--control-radius);
  color: var(--error);
}
.success.show, .errore.show { display: block; }
button:disabled { opacity: .6; cursor: wait; }
.reading { max-width: var(--reading); padding-block: var(--section); color: var(--ink); }
.reading h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.reading h2 {
  font-size: 1.5rem;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-family: var(--heading);
  letter-spacing: -.02em;
  border-top-color: #69859c66;
}
.reading li { color: var(--muted); margin-bottom: var(--space-2); }
.reading ul { padding-left: var(--space-3); }
.error-page main { text-align: center; padding-block: var(--section); max-width: 900px; }
.error-page main p { max-width: 52ch; margin: var(--space-3) auto var(--space-4); }
.error-page h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.bot {
  width: 80px;
  height: 64px;
  position: relative;
  margin: 0 auto var(--space-4);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
}
.bot::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 18px;
}
.bot::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 18px;
}
.bot i {
  position: absolute;
  width: 24px;
  height: 3px;
  background: var(--pink);
  bottom: 12px;
  left: 26px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--muted);
  font-size: .875rem;
  margin-bottom: var(--space-4);
  font-family: var(--mono);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.hero-aside { border-left: 1px solid var(--line); padding-left: var(--space-4); }
.hero-aside dl { margin: 0; }
.hero-aside dl>div { padding-block: var(--space-2); }
.hero-aside dt { color: var(--muted); font-size: .875rem; }
.hero-aside dd { margin: 0; }
.feature h3 { margin-top: var(--space-3); }
.quote blockquote { font: 600 1.5rem/1.5 var(--heading); margin: 0 0 var(--space-3); }
.quote cite { color: var(--muted); }
.content .steps { grid-template-columns: 1fr 1fr; }
.site-footer {
  display: grid;
  place-items: center;
  padding: var(--space-6) var(--gutter);
  min-height: 340px;
  position: relative;
  border-top: 1px solid var(--line);
  background: url('/assets/circuit-pattern.svg') center/480px 260px repeat-x;
  border-top-color: #63849c55;
}
.footer-dock {
  position: relative;
  width: min(360px,100%);
  min-height: 240px;
  display: grid;
  place-items: center;
}
.footer-legal {
  max-width: 72ch;
  margin: var(--space-3) 0 0;
  font-size: .875rem;
  text-align: center;
}
.fallback-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-block: var(--space-3);
}
.fallback-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.home main>section:not(.hero) { position: relative; }
.project-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-block: 16px;
}
.project-flow span {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-left: 2px solid #547480;
  padding: 12px;
  font-size: .875rem;
  background: var(--inset-surface);
  border-color: #54788f;
  color: #c7dce9;
}
.editorial-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 16px;
}
.editorial-flow span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  font-size: .875rem;
  background: var(--inset-surface);
  border-color: #54788f;
  color: #c7dce9;
}
.editorial-flow strong {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  font-size: .875rem;
  color: #a9dfef;
  border-color: #6aa1b9;
  background: #244158;
}
.home .hero-copy>p { max-width: 46ch; margin-inline: auto; }
.workshop {
  color: #f5f7ff;
  border-radius: 0;
  border-block: 1px solid var(--line);
  border-block-color: #69859c40;
  background: transparent;
}
.workshop-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}
.workshop-heading h2 { margin: 0; font-size: clamp(1.6rem,3vw,2.55rem); line-height: 1.25; }
.workshop-heading p { max-width: 36ch; color: var(--muted); }
.workbench {
  overflow: hidden;
  border-color: #38bdf833;
  border: 1px solid #66869c77;
  border-radius: 18px;
  background: var(--inset-surface);
  box-shadow: inset 0 1px #b8d9ee14,0 20px 45px #07132340;
}
.bench-controls {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  background: linear-gradient(180deg,#304961,#263c54);
  border-bottom: 1px solid #67859c66;
  padding: 10px;
}
.bench-controls button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  min-height: 60px;
  font-weight: 600;
  text-align: left;
  border-radius: 10px;
  color: #c2d1df;
  border: 1px solid #7894aa26;
  background: #14283c38;
}
.bench-controls button span { font-size: .6875rem; opacity: .75; font-family: var(--mono); }
.bench-controls button b { margin-left: auto; font-size: 1.25rem; }
.bench-controls button[aria-pressed="true"] span { color: var(--cyan); opacity: 1; }
.bench-controls button:hover { border-color: #38bdf8; }
.workshop :focus-visible { outline-color: #38bdf8; outline-offset: -4px; }
.bench-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px;
  font-size: .6875rem;
  font-family: var(--mono);
  color: #a8bdd0;
  border-bottom: 1px solid #57738c26;
  background: #20364c55;
}
.bench-bar>span:first-child { display: flex; gap: 8px; align-items: center; }
.bench-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf880;
}
.demo-panel { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; }
.demo-visual {
  min-width: 0;
  height: 350px;
  padding: 24px 36px 36px;
  display: grid;
  align-items: center;
  background: url('/assets/circuit-pattern.svg') center/cover;
}
.demo-description { padding: 24px 40px 40px 20px; }
.demo-kicker {
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7dd3fc;
  font-family: var(--mono);
}
.demo-description h3 { font-size: clamp(1.75rem,3vw,2.75rem); line-height: 1.12; margin: 14px 0 20px; }
.demo-description p { font-size: .9375rem; color: var(--muted); }
.bench-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0 4px;
  border-top: 1px solid #263251;
  font-weight: 600;
  font-size: .875rem;
  border-color: #63839d55;
  color: #b4e5f3;
}
.bench-link span { font-size: 1.5rem; }
.bench-note {
  font-size: .8125rem;
  text-align: center;
  margin-top: 24px;
  font-family: var(--mono);
  color: var(--muted);
}
.sample-site {
  color: #eef6f6;
  padding: 20px;
  border-radius: 12px;
  transform: rotate(-3deg);
  border: 1px solid #38bdf833;
  background: var(--metal-surface);
  border-color: #68879e99;
  box-shadow: 7px 9px 0 #0c1c2d66,0 18px 30px #06132340;
}
.sample-nav {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff25;
  padding-bottom: 14px;
  font-size: .625rem;
  border-color: #7798b33d;
}
.sample-nav span { color: var(--cyan); }
.sample-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  padding: 24px 0;
}
.sample-content small {
  display: block;
  font-size: .5rem;
  letter-spacing: .15em;
  color: #b6cbdc;
}
.sample-content strong {
  display: block;
  font: 600 clamp(.875rem,1.7vw,1.5rem)/1.18 var(--heading);
  margin: 12px 0 18px;
  color: #f5f7ff;
}
.sample-cta {
  display: inline-block;
  font-size: .5rem;
  padding: 7px 9px;
  background: var(--cyan);
  border-radius: 4px;
  color: #080d1a;
}
.sample-object {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sample-object i {
  height: 100%;
  max-height: 125px;
  width: 32%;
  border-radius: 40px;
  transform: rotate(25deg);
  background: linear-gradient(130deg,#97c5db,#4f849e 50%,#244a66);
}
.sample-object i:nth-child(2) { transform: rotate(25deg) translateY(-8px); }
.sample-object i:last-child { transform: rotate(25deg) translateY(10px); }
.sample-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff25;
  padding-top: 12px;
  font-size: .5625rem;
  border-color: #7798b33d;
  color: #b6cbdc;
}
.sample-request {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #38bdf833;
  background: var(--metal-surface);
  border-color: #68879e99;
  box-shadow: 7px 9px 0 #0c1c2d66,0 18px 30px #06132340;
}
.sample-request>span { font-size: .5625rem; letter-spacing: .12em; color: #b6cbdc; }
.request-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #ffffff20;
  border-color: #7798b33d;
}
.request-row:last-child { border: 0; padding-bottom: 0; }
.request-row i { font-style: normal; color: #9db8bf; font-size: .625rem; }
.request-row b { display: block; color: #f5f7ff; font-size: .8125rem; }
.request-row small { display: block; font-size: .625rem; color: #b6cbdc; }
.request-row em { margin-left: auto; color: var(--cyan); font-style: normal; }
.request-row:last-child em { color: #ff98e0; }
.sample-app {
  padding: 20px;
  border-radius: 14px;
  transform: rotate(2deg);
  border: 1px solid #38bdf833;
  background: var(--metal-surface);
  border-color: #68879e99;
  box-shadow: 7px 9px 0 #0c1c2d66,0 18px 30px #06132340;
}
.app-heading {
  display: flex;
  justify-content: space-between;
  color: #eaf5f5;
  font-size: .8125rem;
  margin-bottom: 24px;
}
.app-heading span { color: var(--cyan); }
.app-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.app-board small {
  display: block;
  font-size: .4375rem;
  letter-spacing: .08em;
  margin-bottom: 10px;
  color: #b6cbdc;
}
.app-board div>span {
  display: block;
  padding: 12px 8px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: .625rem;
  min-height: 66px;
  background: linear-gradient(140deg,#38546e,#2a4159);
  color: #dce9f3;
  border: 1px solid #6c8ca44d;
}
.app-board i {
  display: block;
  height: 3px;
  width: 60%;
  background: currentColor;
  opacity: .3;
  margin-top: 12px;
  border-radius: 3px;
}
.demo-panel.is-playing .sample-site, .demo-panel.is-playing .sample-request, .demo-panel.is-playing .sample-app { animation: bench-arrive .65s cubic-bezier(.2,.7,.2,1) both; }
.demo-panel.is-playing .sample-object i { animation: bench-lift .85s ease both; }
.demo-panel.is-playing .request-row, .demo-panel.is-playing .app-board div { animation: bench-arrive .65s ease both; }
.demo-panel.is-playing .request-row:nth-child(3), .demo-panel.is-playing .app-board div:nth-child(2) { animation-delay: .12s; }
.demo-panel.is-playing .request-row:nth-child(4), .demo-panel.is-playing .app-board div:nth-child(3) { animation-delay: .24s; }
.mascot-nav.bench-response .aura, .mascot-nav.bench-response .status-light { animation: bench-glow .65s ease; }
.case-details { border-top: 1px solid var(--line); padding-top: 16px; }
.case-details summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cyan);
  font-size: .875rem;
}
.case-details summary::-webkit-details-marker { display: none; }
.case-details[open] summary span { transform: rotate(45deg); }
.case-details p { font-size: .875rem; }
.home #metodo .step b { font-size: .6875rem; }
.btn-primary:hover { box-shadow: 0 0 32px #38bdf830; background: #8bdcf5; border-color: #8bdcf5; }
.home .hero h1 {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  font-size: clamp(2.8rem,5.5vw,4.75rem);
}
.home #progetti { border-block: 1px solid var(--line); background: transparent; border-block-color: #63849c40; }
.mascot-stage .menu-caption { position: relative; margin-top: 10px; }
.scan-window {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.home main>section:not(.hero)>.shell { position: relative; z-index: 2; }
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transform: translateY(var(--scan-y,0px));
  background: linear-gradient(90deg,#38bdf877,#38bdf8 18%,#d8f5ff 50%,#38bdf8 82%,#38bdf877);
  transition: opacity .2s;
  box-shadow: 0 0 10px #72cfea66,0 0 28px #55c8ee33;
}
.scan-line::before {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 100px;
  background: linear-gradient(0deg,#8edcff20,#55c8ee09 45%,transparent);
  transform-origin: 50% 100%;
}
.scanning .scan-line { opacity: 1; }
.scan-triggered .aura { animation: scan-response 1.2s ease-out; }
.scan-triggered .eye-left { animation: robot-wink 650ms ease both; }
.scan-triggered .status-light { background: #ecfbff; box-shadow: 0 0 20px #b9eaff,0 0 45px var(--cyan); }
.scan-triggered .pupil { border-color: #b9eaff; box-shadow: 0 0 25px var(--cyan); }
.scan-detected { border-color: #38bdf899!important; }
.home .hero .mascot-stage {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  --hero-scale: .7;
  border-color: #58738d55;
  background: radial-gradient(ellipse at 50% 25%,#6a9bb911,transparent 65%),linear-gradient(145deg,#2a3e55,#22344c);
  box-shadow: 0 22px 50px #07132340,inset 0 1px #b0d5ed0d;
  --brand-top: 70px;
  padding-top: var(--brand-top);
  padding-bottom: 70px;
  min-height: calc(140px + 310px * var(--hero-scale));
  gap: 0;
}
.snodea-wordmark {
  position: absolute;
  top: var(--brand-top);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  height: calc(310px * var(--hero-scale));
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.home .hero .hero-copy { grid-column: 1; grid-row: 2; max-width: 850px; }
.home .proof { margin-inline: auto; }
.home .hero-actions { justify-content: center; }
.home .hero h1 span::before { content: " "; }
.home .hero .eyebrow { margin-bottom: 16px; color: #8bd5ee; }
.home .hero .proof { justify-content: center; margin-top: 26px; }
.home .mascot-stage .menu-caption { margin-top: 20px; max-width: 100%; }
.home .mascot-stage .mascot-nav {
  justify-self: end;
  width: 38%;
  max-width: none;
  margin-right: 2%;
}
.motherboard {
  position: absolute;
  inset: 48px 0 0;
  width: 100%;
  height: calc(100% - 48px);
  pointer-events: none;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}
.motherboard path, .motherboard circle, .motherboard rect { vector-effect: non-scaling-stroke; }
.pcb-track {
  fill: none;
  stroke-width: 1.2;
  transition: stroke .4s;
  stroke: #38bdf84d;
}
.pcb-pulse {
  fill: none;
  stroke: #b5eeff;
  stroke-linecap: round;
  stroke-dasharray: 8 108;
  stroke-dashoffset: 108;
  opacity: 0;
  filter: drop-shadow(0 0 4px #38bdf8);
  stroke-width: 2.2;
}
.pcb-pads { fill: #101d34; stroke: #65cfff88; stroke-width: 1.3; }
.pcb-detail { fill: none; stroke: #6ea4c52e; stroke-width: 1; }
.scan-detected .pcb-pads { fill: #7dd3fc; filter: drop-shadow(0 0 4px #38bdf8); }
.home .mascot-stage .snodea-wordmark {
  position: absolute;
  top: var(--brand-top);
  width: 60%;
  height: calc(310px * var(--hero-scale));
  transform: none;
  max-width: none;
  overflow: visible;
  pointer-events: none;
  left: 9%;
}
.brand-unified-offset {
  position: absolute;
  top: var(--brand-top);
  left: 0;
  width: 100%;
  height: calc(310px * var(--hero-scale));
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 6px 5px #02061188);
}
.offset-character { overflow: visible; }
.offset-union-bridge { y: calc(125px * var(--hero-scale)); height: calc(95px * var(--hero-scale)); }
.scan-detected .brand-unified-offset { filter: drop-shadow(0 0 8px #38bdf866); }
.pcb-route.is-pulsing .pcb-pulse {
  stroke: #effcff;
  filter: drop-shadow(0 0 7px #38bdf8);
  animation: none;
  opacity: 0;
  stroke-dasharray: 5 110;
  stroke-width: 2;
}
.pcb-track-edge {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #62829a;
  filter: drop-shadow(0 2px 2px #07132366);
}
.pcb-route .pcb-track {
  stroke: url(#pcb-metal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .92;
}
.pcb-route.is-powered .pcb-track {
  stroke: url(#pcb-metal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pcb-route .pcb-pulse {
  animation: none;
  opacity: 0;
  stroke-dasharray: 5 110;
  stroke-width: 2;
}
.pcb-route.is-running .pcb-pulse { animation: pcb-delivery 2.6s linear both; animation-duration: var(--delivery-duration,2.6s); }
.pcb-route.is-running.is-pulsing .pcb-pulse { stroke: #effcff; stroke-width: 3; filter: drop-shadow(0 0 7px #38bdf8); }
.letter-lights {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1;
  pointer-events: none;
}
.letter-lights .letter-on {
  fill-opacity: .8;
  animation: letter-impulse 1400ms ease-in-out both;
  fill: #8bc9df;
  stroke: #a6deed;
  filter: drop-shadow(0 0 4px #55c8ee66);
}
.circuit-hit .status-light, .circuit-hit .pupil { animation: robot-circuit-impulse 450ms ease-out both; }
.circuit-hit .aura { animation: robot-circuit-aura 450ms ease-out both; }
.section-head .eyebrow, .workshop .eyebrow { color: #8bd5ee; }
.btn-primary {
  color: #092033;
  background: #55c8ee;
  border-color: #55c8ee;
  box-shadow: 0 6px 20px #07132326;
}
body:not(.home) h1 {
  font-family: var(--heading);
  font-size: clamp(2rem,4.7vw,3.75rem);
  line-height: 1.17;
  letter-spacing: -.035em;
}
.section-head>.eyebrow::before, .story>.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid #91d7ef;
  border-radius: 2px;
  box-shadow: 0 0 0 4px #55c8ee0a;
}
.workshop-heading h2 span { color: #94cde1; }
.bench-controls button[aria-pressed="true"] {
  color: #edfbff;
  border-color: #79cce199;
  background: linear-gradient(145deg,#244860,#19374e);
  box-shadow: inset 0 1px #c1eeff1f,0 0 16px #55c8ee0d;
}
.app-board div>.active-task { background: linear-gradient(140deg,#83cee4,#50a8ca); color: #0d293c; border-color: #a8e5f3; }
.home #progetti .case {
  position: relative;
  background: var(--metal-surface);
  border: 1px solid #68859a66;
  border-radius: 18px 8px 18px 8px;
  box-shadow: inset 0 1px #b9dbef14,0 10px 25px #07132326;
}
.service::after, .case::after, .value::after, .feature::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #16283c;
  border: 1px solid #7595ad88;
  pointer-events: none;
}
.service:hover { transform: translateY(-3px); border-color: #87bfd3; box-shadow: inset 0 1px #b9dbef24,0 12px 28px #07132338; }
.home #metodo .process-wrap { border: 1px solid #68859a66; padding: clamp(24px,4vw,48px); background: url('/assets/circuit-pattern.svg') right top/480px 260px no-repeat; }
.step { position: relative; padding-top: 24px; border-top: 2px solid #55768c; }
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid #8fc7dc;
  border-radius: 50%;
  background: #1a3046;
}
input:focus, textarea:focus, select:focus { border-color: #91d7ef; }
body:not(.home) .hero { background: url('/assets/circuit-pattern.svg') right top/480px 260px no-repeat; }
.home .mascot-stage>.mascot-nav>.menu-caption { display: none; }
.home .mascot-stage .motherboard { inset: 0; height: 100%; }
.scan-up .scan-line::before { top: 2px; bottom: auto; background: linear-gradient(180deg,#8edcff20,#55c8ee09 45%,transparent); }
.scan-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  height: 62px;
  background: linear-gradient(180deg,transparent,#b8eaff0d 30%,#c6f1ff1a 50%,#b8eaff0d 70%,transparent);
  pointer-events: none;
}
@keyframes bench-arrive {
  from { opacity:0; translate:0 12px; }
  to { opacity:1; translate:0 0; }
}
@keyframes bench-lift {
  50% { translate:0 -12px; }
}
@keyframes bench-glow {
  50% { filter:brightness(1.8); }
}
@keyframes scan-response {
  0%,100% { opacity:1; filter:blur(12px); }
  30% { opacity:1; filter:blur(16px) brightness(2.8); }
}
@keyframes pcb-delivery {
  0% { stroke-dashoffset:5; opacity:0; }
  8%, 94% { opacity:1; }
  100% { stroke-dashoffset:-100; opacity:0; }
}
@keyframes letter-impulse {
  0%,100% { fill-opacity:0; stroke-opacity:0; }
  30% { fill-opacity:.38; stroke-opacity:.45; }
  55% { fill-opacity:.22; stroke-opacity:.28; }
}
@keyframes robot-circuit-impulse {
  0%,100% { filter:brightness(1); }
  15% { filter:brightness(2.3) drop-shadow(0 0 6px #b5eeff); }
}
@keyframes robot-circuit-aura {
  0%,100% { opacity:.6; }
  18% { opacity:1; filter:blur(12px) brightness(2); }
}
@media(max-width:1100px) {
  .home .hero .mascot-stage { --hero-scale: .55; }
}
@media(max-width:1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact, .about { gap: var(--space-4); }
  .values { grid-template-columns: 1fr; }
  .section-head, .story, .content-grid { grid-template-columns: 1fr 2fr; gap: var(--space-4); }
}
@media(max-width:760px) {
  .home .hero-copy>.eyebrow { font-size: .625rem; letter-spacing: .18em; margin-bottom: 16px; }
  .home .hero-copy>p { font-size: 1rem; line-height: 1.5; }
  .home .hero-actions { margin-top: 20px; gap: 8px; }
  .home .hero-actions .btn-primary { min-height: 52px; }
  .home .hero-actions .btn-secondary { min-height: 44px; border-color: var(--line); background: #111936; }
  .home .proof { margin-top: 24px; font-size: .8125rem; }
  .section-head { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
  .story, .content-grid, .contact, .about, .page-hero-grid, .cases-grid, .service-list { grid-template-columns: 1fr; }
  .service { grid-template-columns: 28px 1fr; padding: 22px; }
  .service p { grid-column: 2; }
  .cta-panel, .cta { align-items: flex-start; flex-direction: column; }
  .hero-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .home .hero h1 { margin: 8px 0 16px; margin-block: 18px; }
  .workshop { padding-block: 40px; border-radius: 0; }
  .workshop-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .workshop-heading p { font-size: .9375rem; }
  .bench-controls { gap: 4px; padding: 6px; }
  .bench-controls button {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px 3px;
    font-size: .6875rem;
    min-height: 64px;
    text-align: center;
  }
  .bench-controls button b { display: none; }
  .bench-bar { padding: 16px 14px; gap: 8px; font-size: .5625rem; }
  .demo-panel { grid-template-columns: 1fr; }
  .demo-visual { height: auto; min-height: 280px; padding: 12px 24px 36px; }
  .demo-description { padding: 16px 22px 24px; min-height: 272px; }
  .demo-description h3 { font-size: 1.75rem; margin: 10px 0 14px; }
  .demo-description p { font-size: .875rem; }
  .sample-site, .sample-app { padding: 14px; }
  .sample-content { padding: 20px 0; }
  .sample-content strong { font-size: .9375rem; }
  .sample-request { padding: 18px 14px; }
  .request-row { gap: 8px; padding: 15px 0; }
  .request-row b { font-size: .75rem; }
  .request-row small { font-size: .5625rem; }
  .app-heading { font-size: .6875rem; }
  .app-board { gap: 5px; }
  .app-board div>span { font-size: .5625rem; padding: 10px 6px; }
  .app-board small { font-size: .375rem; }
  .sample-object i { max-height: 100px; }
  .home .hero { padding-block: 32px 48px; padding-top: 24px; gap: 32px; }
  .home .hero-copy { grid-column: 1; grid-row: 1; }
  .home .mascot-stage {
    grid-column: 1;
    grid-row: 2;
    width: min(100%,420px);
    --brand-top: 72px;
    padding-top: var(--brand-top);
  }
  .snodea-wordmark { width: calc(100% - 24px); }
  .home .hero h1 span { display: block; }
  .home .hero .mascot-stage {
    --hero-scale: .4;
    --brand-top: 52px;
    padding-bottom: 52px;
    min-height: calc(104px + 310px * var(--hero-scale));
  }
  .service-num { width: 28px; }
  .home #metodo .process-wrap { width: calc(100% - var(--gutter) * 2); }
  .case h3 { font-size: 1.2rem; }
}
@media(max-width:600px) {
  .home .hero .mascot-stage { --hero-scale: .3; }
}
@media(max-width:480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .steps, .principles, .feature-grid, .content .steps { grid-template-columns: 1fr; }
  .form, .case { padding: var(--space-3); }
  .contact .form>.btn { width: 100%; }
  .home .hero .mascot-stage { --hero-scale: .23; }
  .home .mascot-stage .menu-caption { font-size: .55rem; padding: 6px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .demo-panel *, .mascot-nav.bench-response .aura, .mascot-nav.bench-response .status-light { animation: none!important; }
  .scan-window { display: none; }
  .pcb-track { transition: none; }
  .pcb-pulse { display: none; animation: none!important; }
  .pcb-route.is-running .pcb-pulse { animation: none!important; }
  .letter-lights .letter-on { fill: transparent; stroke: transparent; animation: none!important; }
}
