:root {
  --ink: #121a2b;
  --muted: #445069;
  --blue: #0c4ecf;
  --blue-deep: #071833;
  --blue-soft: #e8f0fc;
  --line: #d7dee8;
  --paper: #f3f5f8;
  --white: #ffffff;
  --ok: #0d7a46;
  --header-h: 4.85rem;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --max: 1120px;
  --shadow: 0 18px 44px rgba(16, 36, 72, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
address {
  margin: 0;
}

address {
  font-style: normal;
}

a:any-link {
  color: var(--blue);
  text-underline-offset: 0.16em;
}

a:hover {
  color: #08348f;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 40;
  background: var(--white);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin-bottom: 0.8rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.kicker-light {
  color: #9dc2ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-accent {
  height: 4px;
  background: linear-gradient(90deg, #04184a 0%, #0c4ecf 42%, #79adff 100%);
}

.header-bar {
  background: rgba(243, 245, 248, 0.92);
  border-bottom: 1px solid rgba(18, 26, 43, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  display: block;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-legal {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  min-height: 44px;
  padding: 0 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--blue);
}

.nav-links a.is-current:not(.nav-cta) {
  box-shadow: inset 0 -2px 0 var(--blue);
}

.nav-cta {
  background: var(--blue-deep);
  color: var(--white);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
}

.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.is-current {
  color: var(--white);
  box-shadow: none;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.is-current {
  background: var(--blue);
}

.hero {
  padding-block: clamp(2.4rem, 5vw, 4.2rem) clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(680px 320px at 92% 0%, rgba(12, 78, 207, 0.09), transparent 70%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-intro {
  border-left: 3px solid var(--blue);
  padding-left: 1.2rem;
}

.product-sigla {
  display: block;
  font-size: clamp(4.6rem, 11vw, 7.6rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.065em;
}

.product-name {
  display: block;
  margin-top: 0.45rem;
  color: var(--blue);
  font-size: clamp(1.7rem, 3.1vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.lede {
  max-width: 22em;
  margin-top: 1.15rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 40rem;
  margin-top: 0.85rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
}

a.button-primary,
a.button-primary:hover,
a.button-primary:visited {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: #083eaa;
}

a.button-ghost,
a.button-ghost:visited {
  background: transparent;
  border-color: #b7c3d4;
  color: var(--ink);
}

a.button-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.suite {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.suite a {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
}

.suite a span {
  margin-right: 0.35rem;
  color: var(--blue);
}

.suite a:hover {
  color: var(--blue);
}

.hero-visual {
  position: relative;
  height: 490px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 78, 207, 0.16), transparent 68%);
  top: 36px;
  left: 24px;
}

.plate {
  position: absolute;
  background: var(--white);
  border: 1px solid rgba(18, 26, 43, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.15rem 1rem;
}

.plate-back {
  z-index: 1;
  width: 268px;
  top: 8px;
  right: 112px;
  transform: rotate(3.5deg);
  background: #f8fafc;
}

.plate-front {
  z-index: 2;
  width: 368px;
  left: 0;
  bottom: 6px;
  transform: rotate(-1.5deg);
}

.plate-back .status {
  margin-top: 0.85rem;
}

.plate-back .plate-title {
  margin-top: 0.55rem;
}

.plate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.example-flag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.plate-code {
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
}

.plate-title {
  margin-top: 0.2rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.plate-back .plate-title {
  margin-top: 0.85rem;
}

.plate-data {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.plate-data div {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  border-top: 1px solid #e6ebf2;
  padding-top: 0.42rem;
}

.plate-data dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.plate-data dd {
  margin: 0;
  font-weight: 600;
}

.plate-data .open {
  color: var(--blue);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-weight: 600;
}

.status i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.status-ok {
  color: var(--ok);
}

.barcode {
  height: 42px;
  margin-top: 1rem;
  background-image: repeating-linear-gradient(
    90deg,
    #12203a 0 1px,
    transparent 1px 4px,
    #12203a 4px 6px,
    transparent 6px 8px,
    #12203a 8px 12px,
    transparent 12px 14px,
    #12203a 14px 15px,
    transparent 15px 19px
  );
  background-size: 76px 100%;
}

.plate-foot {
  margin-top: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.section {
  padding-block: clamp(4.2rem, 8vw, 6.4rem);
  scroll-margin-top: 5.4rem;
}

.section-intro {
  max-width: 40rem;
}

.section-intro h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-intro p,
.principles p,
.flow p,
.return-note p {
  color: var(--muted);
}

.section-intro p {
  margin-top: 0.9rem;
  max-width: 46rem;
}

.cycle,
.custom {
  background: var(--white);
}

.products {
  background: #e9eef4;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 2.7rem;
  right: -1.25rem;
  height: 1px;
  background: #c5d1e0;
}

.step-no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid #c5d1e0;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
}

.flow h3,
.principles h3 {
  margin-top: 0.9rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.flow p,
.principles p {
  margin-top: 0.4rem;
}

.return-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: center;
  margin-top: 2.2rem;
  padding: 1.05rem 1.15rem;
  background: var(--blue-soft);
  border-radius: 12px;
  color: var(--blue-deep);
}

.return-note p {
  color: var(--ink);
}

.return-note strong {
  font-weight: 700;
}

.return-note svg {
  color: var(--blue);
}

.modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.4rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d5deea;
  border-radius: 16px;
}

.module {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 250px;
  padding: 1.5rem 1.45rem 1.35rem;
  border-right: 1px solid #e4ebf3;
  border-bottom: 1px solid #e4ebf3;
  scroll-margin-top: 5.6rem;
}

.module:nth-child(2n) {
  border-right: 0;
}

.module:last-child {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}

.module:last-child .module-copy {
  max-width: 46rem;
}

.module:hover,
.module:target {
  background: #f6f9fc;
}

.module-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.module h3 {
  font-family: var(--mono);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.module-index {
  color: rgba(18, 26, 43, 0.28);
  font-family: var(--mono);
  font-size: 0.95rem;
}

.module-role {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.module-copy {
  color: var(--muted);
  flex: 1;
}

.module a {
  align-self: flex-start;
  font-weight: 600;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.6rem;
}

.principles article {
  padding-top: 0.15rem;
}

.contact {
  background: var(--blue-deep);
  color: var(--white);
  padding-block: clamp(4.2rem, 8vw, 6.2rem) 1.6rem;
  scroll-margin-top: 5.4rem;
}

.contact h2 {
  max-width: 12ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-grid > div > p:last-child {
  max-width: 36rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.signature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: center;
}

.signature img {
  width: 112px;
  height: 112px;
}

.signature address {
  border-left: 2px solid rgba(255, 255, 255, 0.85);
  padding-left: 1.05rem;
}

.who {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.role,
.org {
  color: rgba(255, 255, 255, 0.74);
}

.role {
  margin-top: 0.15rem;
}

.signature a {
  display: block;
  margin-top: 0.7rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.signature a:hover {
  text-decoration: underline;
}

.org {
  margin-top: 0.75rem;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.colophon nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.colophon a {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--mono);
  font-size: 0.82rem;
  text-decoration: none;
}

.colophon a:hover {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .header-bar {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1rem 1rem;
    background: #f7f8fa;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid #e6ebf2;
  }

  .nav-links a.nav-cta {
    margin-top: 0.8rem;
    text-align: center;
    border-bottom: 0;
  }

  .hero-grid,
  .contact-grid,
  .principles,
  .flow {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: auto;
    display: grid;
    gap: 1rem;
  }

  .hero-visual::before {
    display: none;
  }

  .plate,
  .plate-back,
  .plate-front {
    position: static;
    width: 100%;
    transform: none;
  }

  .plate-front {
    order: -1;
  }

  .flow li:not(:last-child)::after {
    display: none;
  }

  .flow li {
    display: grid;
    grid-template-columns: 2.7rem 1fr;
    column-gap: 0.9rem;
    padding-bottom: 1.25rem;
  }

  .flow li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 2.7rem;
    bottom: 0;
    left: 1.32rem;
    width: 1px;
    background: #d5deea;
  }

  .flow .step-no {
    grid-row: 1 / span 2;
  }

  .flow h3,
  .flow p {
    grid-column: 2;
  }

  .flow h3 {
    margin-top: 0.35rem;
  }

  .modules {
    grid-template-columns: 1fr;
  }

  .module,
  .module:nth-child(2n),
  .module:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid #e4ebf3;
  }

  .module:last-child {
    border-bottom: 0;
  }

  .contact h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .brand-legal {
    display: none;
  }

  .signature {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .signature address {
    border-left: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.85);
    padding-left: 0;
    padding-top: 0.9rem;
  }

  .product-sigla {
    letter-spacing: -0.05em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
