:root {
  --ground: #FBF7F3;
  --panel: #FFFFFF;
  --ink: #2E2E30;
  --muted: #6B655F;
  --rule: #E6DFD7;
  --accent: #D80038;
  --accent-soft: #FCE8EE;
  --amber: #F8A800;
  --orange: #F84000;
  --active: #177A52;
  --active-soft: #E3F1EA;
  --dev: #A84300;
  --dev-soft: #FCEBDB;
  --study: #6F6963;
  --study-soft: #EEEAE5;
  --night: #25262A;
  --on-night: #F3EEE8;
  --on-night-muted: #B9B2AA;
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --inset: 20px;
  --section: 56px;
  --header: 93px;
  --display: "Newsreader", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --arabic: "Amiri", "Noto Naskh Arabic", serif;
  --urdu: "Noto Nastaliq Urdu", serif;
  --bengali: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  color-scheme: light;
}

@media (min-width: 900px) {
  :root { --inset: 120px; --section: 112px; --header: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--panel);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--r-s);
  z-index: 20;
}
.skip:focus { transform: none; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }
h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
p { margin: 0; }
.lead { font-size: 17px; line-height: 1.5; max-width: 40rem; }
.muted { color: var(--muted); }
.eyebrow, .chip, .statute, .mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow { color: var(--muted); margin: 0 0 16px; }
:lang(ar), :lang(ur), :lang(bn), :lang(hi), [lang="ar"], [lang="ur"], [lang="bn"], [lang="hi"] {
  letter-spacing: 0;
  text-transform: none;
  font-style: normal;
}
:lang(ar) { font-family: var(--arabic); line-height: 1.6; }
:lang(ur) { font-family: var(--urdu); line-height: 2.2; }
:lang(bn) { font-family: var(--bengali); line-height: 1.7; }
:lang(hi) { font-family: "Noto Sans Devanagari", sans-serif; }
.ar { font-family: var(--arabic); font-size: 28px; line-height: 1.4; font-weight: 400; letter-spacing: 0; text-transform: none; font-style: normal; }

.shell { width: min(1200px, calc(100% - (var(--inset) * 2))); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--rule); }

.banner {
  background: var(--night);
  color: var(--on-night);
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 16px;
  text-align: center;
}
.banner p {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-night);
}
.banner .full { display: none; }
@media (min-width: 900px) {
  .banner { min-height: 32px; }
  .banner p { font-size: 12px; }
  .banner .short { display: none; }
  .banner .full { display: inline; }
}

.site-header { position: sticky; top: 0; z-index: 30; background: var(--ground); border-bottom: 1px solid var(--rule); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 65px;
  padding-inline: var(--inset);
}
@media (min-width: 900px) { .nav { min-height: 88px; padding-inline: 64px; } }
.logo { height: 38px; width: auto; display: block; }
@media (min-width: 900px) { .logo { height: 44px; } }
.nav-desktop { display: none; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}
.nav-line small {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--study);
}
.nav-line[data-status="attivo"] small { color: var(--active); }
.nav-line[data-status="in_sviluppo"] small { color: var(--dev); }
.nav-line[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-plain {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav-plain[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-rule { width: 1px; height: 34px; background: var(--rule); }
.nav-end { display: flex; align-items: center; gap: 16px; }
.langs { display: flex; gap: 8px; }
.langs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 999px;
}
.langs a[aria-current="page"] { color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule); }
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 10px 14px;
  font: 600 15px/1.2 var(--body);
  color: var(--ink);
  cursor: pointer;
}
@media (max-width: 1179px) {
  .nav-end > .btn { display: none; }
}
@media (min-width: 1180px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}

.nav-sheet {
  position: fixed;
  inset: 0;
  background: var(--ground);
  z-index: 40;
  overflow: auto;
  padding: 20px;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet-top { display: flex; align-items: center; justify-content: space-between; }
.sheet-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 22px 0 8px;
}
.sheet-line, .sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 28px;
  border-bottom: 1px solid var(--rule);
}
.sheet-link { font-family: var(--body); font-weight: 600; font-size: 17px; min-height: 44px; }
.sheet-actions { display: grid; gap: 10px; margin-top: 20px; }
.sheet-actions .btn { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--study-soft);
  color: var(--study);
  white-space: nowrap;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-attivo { background: var(--active-soft); color: var(--active); }
.chip-in_sviluppo { background: var(--dev-soft); color: var(--dev); }
.chip-in_studio { background: var(--study-soft); color: var(--study); }
.chip-in_studio .chip-dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.chip-non_disponibile {
  background: transparent;
  color: var(--study);
  box-shadow: inset 0 0 0 1.5px var(--study);
  border-radius: 999px;
  outline: 1px dashed var(--study);
  outline-offset: 0;
}
.chip-non_disponibile .chip-dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  font: 600 15px/1.3 var(--body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.btn-primary { background: var(--accent); color: var(--panel); }
.btn-secondary { background: var(--panel); color: var(--ink); border-color: var(--ink); }
.btn-whatsapp { background: var(--ink); color: var(--panel); }
.btn-ghost { color: var(--accent); padding-inline: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-grid, .split, .grid-2, .grid-3, .grid-5, .line-grid, .price-grid {
  display: grid;
  gap: 24px;
}
.hero-grid { align-items: start; }
@media (min-width: 900px) {
  h1 { font-size: 76px; }
  h2 { font-size: 56px; }
  h3 { font-size: 28px; }
  .lead { font-size: 20px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .line-top { grid-template-columns: 1fr 1fr; }
  .line-rest { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-channels { grid-template-columns: repeat(4, 1fr); }
}
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.display-s { font-size: 22px; }
@media (min-width: 900px) { .display-s { font-size: 28px; } .display-m { font-size: 40px; } }

.flow {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  padding: 24px;
}
.flow-label { margin-bottom: 16px; }
.flow-track { display: flex; flex-direction: column; gap: 12px; }
.flow-party, .flow-nib {
  background: var(--ground);
  border-radius: var(--r-m);
  padding: 16px 18px;
}
.flow-party strong, .flow-nib strong { display: block; font-size: 17px; }
.flow-party span, .flow-nib span { color: var(--muted); font-size: 15px; }
.flow-move {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--active);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}
.flow-move svg { display: none; }
.flow-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.flow-nib {
  border: 1.5px dashed var(--accent);
  background: var(--panel);
}
.flow-none {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.flow-note { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (min-width: 900px) {
  .flow-track { flex-direction: row; align-items: center; }
  .flow-party { flex: 0 0 auto; }
  .flow-move { flex: 1; }
  .flow-move svg { display: block; }
  .flow-move .down { display: none; }
  .flow-aside { flex-direction: row; align-items: center; }
  .flow-nib { flex: 1; }
}

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.tile {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-m);
  padding: 14px;
}
.tile b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}
.tile span { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.card, .structure, .quote, .form, .entity, .doc {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  padding: 28px;
}
.card h3, .structure h3 { margin-bottom: 12px; }
.structure { display: flex; flex-direction: column; gap: 16px; }
.structure.is-off { outline: 1px dashed var(--study); }
.principle {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 16px;
}
.principle .eyebrow { margin-bottom: 6px; }
.principle .term-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.principle .translit { color: var(--muted); font-size: 16px; }
.caveat {
  background: var(--accent-soft);
  border-radius: var(--r-m);
  padding: 16px 18px;
}
.caveat .eyebrow { color: var(--accent); }
.statute {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--rule);
  border-radius: var(--r-s);
  padding: 6px 10px;
  color: var(--ink);
  background: var(--ground);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.line-card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}
.line-card.featured { background: var(--night); color: var(--on-night); }
.line-card.featured .muted, .line-card.featured .translit { color: var(--on-night-muted); }
.line-card .go { color: var(--accent); font-weight: 600; margin-top: auto; }
.line-card.featured .go { color: var(--amber); }
.head-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-m); background: var(--panel); }
table { border-collapse: collapse; width: 100%; min-width: 720px; }
th, td { text-align: start; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--rule); font-size: 15px; }
th { font-size: 13px; font-weight: 600; color: var(--muted); }
th:first-child, td:first-child { position: sticky; inset-inline-start: 0; background: var(--panel); }
.yes { color: var(--active); font-weight: 600; }
.no { color: var(--accent); font-weight: 600; }

.ledger { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.ledger div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .ledger div { grid-template-columns: 1.2fr 1fr 1.1fr 0.9fr; align-items: center; gap: 16px; }
}
.placeholder, .ph {
  border-bottom: 1px dashed var(--accent);
  color: var(--accent);
}

.band {
  background: var(--night);
  color: var(--on-night);
  padding-block: var(--section);
}
.band h2 { color: var(--on-night); max-width: 18em; }
.band h2 em { color: var(--amber); }
.band p { color: var(--on-night-muted); max-width: 40rem; margin-top: 16px; }
.band .btn-row { margin-top: 28px; }
.band .btn-secondary { background: transparent; color: var(--on-night); border-color: var(--on-night); }

.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { margin-top: 10px; color: var(--muted); }

.form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input, textarea {
  font: 400 16px/1.4 var(--body);
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: var(--r-m);
  padding: 14px 16px;
  width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label {
  font-weight: 600;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--ground);
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--panel); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; }

.entity.is-pending { outline: 1px dashed var(--accent); background: var(--accent-soft); }
.entity .eyebrow { color: var(--accent); }
.footer { padding-block: 56px 28px; border-top: 1px solid var(--rule); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr repeat(4, 1fr); } }
.logo-mark { height: 40px; width: auto; }
.foot-col h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.foot-col a { color: var(--ink); text-decoration: none; display: inline-block; padding-block: 4px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}
.perimeter { color: var(--muted); font-size: 14px; margin-top: 18px; }
.steps { counter-reset: step; }
.step-no { font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: 0.08em; }
.where { display: grid; gap: 10px; }
.where article {
  background: var(--panel);
  border-radius: var(--r-m);
  padding: 14px 16px;
  border: 1px solid var(--rule);
}
.where article.never { border-style: dashed; border-color: var(--accent); background: var(--accent-soft); }
.community-words { background: var(--night); color: var(--on-night); }
.community-words h2, .community-words .eyebrow { color: var(--on-night); }
.word-card {
  background: transparent;
  border: 1px solid rgba(243, 238, 232, 0.2);
  border-radius: var(--r-m);
  padding: 18px;
  color: var(--on-night);
}
.word-card .eyebrow { color: var(--on-night-muted); }
.price { font-family: var(--display); font-size: 40px; line-height: 1; }
.fine { font-size: 13px; color: var(--muted); }
.doc .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.anchor { scroll-margin-top: calc(var(--header) + 16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
