@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-gray: #585852;
  --brand-orange: #f26522;
  --carbon: #161614;
  --carbon-soft: #20201d;
  --sand: #f3f0e8;
  --sand-strong: #ebe6db;
  --paper: #ffffff;
  --ink: #1c1c19;
  --ink-soft: #64645f;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(88, 88, 82, 0.16);
  --shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 24px 48px rgba(22, 22, 20, 0.08);
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sand);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(15, 15, 14, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
}

.brand-lockup-logo {
  width: 92px;
  height: auto;
}

.brand-lockup-logo-light {
  display: none;
}

.brand-lockup-logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}

.site-nav a,
.footer-links a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle-label {
  font-weight: 700;
}

.menu-toggle-icon {
  display: inline-grid;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav-legal {
  display: contents;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.language-button:hover {
  transform: translateY(-1px);
}

.flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.flag-de {
  background-image: url("./flags/de.svg");
}

.flag-it {
  background-image: url("./flags/it.svg");
}

.flag-en {
  background-image: url("./flags/uk.svg");
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(242, 101, 34, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.button-large {
  min-height: 56px;
  padding-inline: 26px;
}

.brand-p {
  color: var(--brand-orange);
}

.button-primary .brand-p,
.hero-bubble:nth-child(2) .brand-p,
.capability-card .capability-tag .brand-p {
  color: var(--carbon);
}

.header-cta {
  min-width: 118px;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 132px 0 82px;
  color: #ffffff;
  background: #10100f;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(135deg, rgba(11, 11, 11, 0.82), rgba(11, 11, 11, 0.42)),
    url("./media/digip-hero.jpg") center center / cover no-repeat;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 28%, rgba(242, 101, 34, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.12), rgba(10, 10, 10, 0.52));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 44px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.section-label {
  border-color: var(--line-light);
  background: rgba(88, 88, 82, 0.06);
  color: var(--brand-orange);
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  font-weight: 700;
}

h1 {
  max-width: 10ch;
  margin: 22px 0 18px;
  font-size: clamp(2.64rem, 6.4vw, 5.6rem);
  line-height: 0.9;
}

h2 {
  max-width: 15ch;
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.96;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  line-height: 1.15;
}

.hero-text {
  max-width: 62ch;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.hero-note {
  padding: 20px 0 0;
  border-top: 1px solid var(--line-dark);
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.hero-note span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-brand-rail {
  display: grid;
  gap: 14px;
}

.hero-bubble {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-bubble:nth-child(2) {
  background: linear-gradient(180deg, rgba(242, 101, 34, 0.92), rgba(242, 101, 34, 0.76));
  border-color: rgba(242, 101, 34, 0.3);
}

.hero-bubble small {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-bubble p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.hero-signal {
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 11, 11, 0.38);
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--sand-strong);
}

.section-brands {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.52));
}

.section-flow {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p,
.brand-card-copy p,
.capability-card p,
.flow-card p,
.contact-copy p,
.contact-side p,
.legal-block div,
.footer-brand p {
  color: var(--ink-soft);
}

.brand-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.brand-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 24px;
  padding: 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft);
}

.brand-card-logo {
  width: 132px;
  max-height: 56px;
  object-fit: contain;
  object-position: left top;
}

.brand-card-copy h3 {
  margin-bottom: 10px;
  font-weight: 300;
}

.brand-badge {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand-orange);
  text-transform: uppercase;
  font-size: 0.84rem;
}

.brand-point-list,
.footer-links,
.legal-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.brand-point-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-light);
  color: var(--ink-soft);
}

.brand-point-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  border: 2px solid var(--brand-orange);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  min-height: 100%;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-light);
}

.capability-tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand-orange);
  text-transform: uppercase;
  font-size: 0.82rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft);
}

.flow-step {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(242, 101, 34, 0.12);
  color: var(--brand-orange);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 38px;
  padding: 48px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(242, 101, 34, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(242, 101, 34, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.contact-copy,
.contact-side,
.contact-side h3 {
  color: var(--ink);
}

.contact-copy p,
.contact-side p {
  color: var(--ink-soft);
}

.contact-actions {
  display: grid;
  align-content: start;
  gap: 16px;
}

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

.contact-copy p {
  max-width: 52ch;
}

.contact-highlights,
.contact-proof-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-highlight,
.contact-proof {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.contact-highlight::before,
.contact-proof::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  border: 2px solid var(--brand-orange);
}

.contact-highlight span,
.contact-proof span {
  color: var(--ink-soft);
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(242, 101, 34, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(242, 101, 34, 0.26);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}

.contact-card-label {
  color: var(--brand-orange);
  text-transform: uppercase;
  font-size: 0.82rem;
}

.contact-primary {
  justify-self: start;
}

.contact-side {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.contact-side h3,
.contact-side p {
  margin: 0;
}

.contact-proof {
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-legal {
  position: relative;
  margin-top: -36px;
  padding-top: 78px;
  background:
    radial-gradient(circle at top left, rgba(242, 101, 34, 0.14), transparent 22%),
    linear-gradient(180deg, #191816, #0f0f0e 76%);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.legal-block {
  min-height: 100%;
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.55;
}

.legal-block h3 {
  margin-bottom: 18px;
  font-size: 1.12rem;
}

.legal-block div p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.76);
}

.legal-block strong {
  color: #ffffff;
}

.legal-block a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(242, 101, 34, 0.6);
  text-underline-offset: 3px;
}

.site-footer {
  padding: 32px 0 44px;
  background: #0f0f0e;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.64);
  margin: 6px 0 0;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.44);
  margin-top: 14px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.runtime-error {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: min(560px, calc(100% - 40px));
  padding: 14px 18px;
  border-radius: 18px;
  background: #1d1d1b;
  color: #ffffff;
  box-shadow: var(--shadow-strong);
  display: none;
  z-index: 100;
}

@media (max-width: 1100px) {
  .hero-content,
  .section-head,
  .brand-showcase,
  .capability-grid,
  .flow-grid,
  .contact-band,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    max-width: 480px;
  }

  .section-legal {
    margin-top: -24px;
    padding-top: 58px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    background: rgba(15, 15, 14, 0.88);
  }

  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand actions"
    gap: 12px 16px;
    padding: 14px 0;
  }

  .brand-lockup {
    grid-area: brand;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 10px;
    justify-content: stretch;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(15, 15, 14, 0.96);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .language-switcher {
    max-width: 100%;
    gap: 4px;
    padding: 4px;
  }

  .language-button {
    gap: 6px;
    min-height: 34px;
    padding: 8px 10px;
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
  }

  .site-nav-legal {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav-legal a {
    color: rgba(255, 255, 255, 0.68);
  }

  body.nav-open .menu-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .hero-proof,
  .brand-card {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 28px;
  }

  .hero-copy,
  .hero-side {
    max-width: none;
  }

  .hero-proof {
    gap: 14px;
    margin-top: 36px;
  }

  .hero-note {
    padding-top: 16px;
  }

  .section {
    padding: 78px 0;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 26px;
  }

  .brand-showcase,
  .capability-grid,
  .flow-grid,
  .contact-band,
  .legal-grid {
    gap: 16px;
  }

  .brand-card {
    gap: 16px;
    padding: 22px;
  }

  .brand-card-logo {
    width: 124px;
    max-height: 44px;
  }

  .brand-card-copy h3 {
    display: none;
  }

  .brand-point-list {
    margin-top: 16px;
  }

  .capability-card,
  .flow-card,
  .legal-block {
    padding: 22px;
  }

  .contact-band {
    padding: 24px;
  }

  .contact-card {
    padding: 20px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.16rem, 9.6vw, 3.68rem);
  }
}

@media (max-width: 560px) {
  .header-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "actions";
    justify-items: start;
  }

  .header-actions,
  .language-switcher {
    width: 100%;
  }

  .header-actions {
    justify-self: stretch;
  }

  .language-switcher {
    justify-content: space-between;
    border-radius: 18px;
  }

  .menu-toggle {
    justify-content: space-between;
    width: 100%;
    border-radius: 18px;
  }

  .language-button {
    flex: 1 1 0;
    justify-content: center;
  }

  .brand-lockup-logo {
    width: 78px;
  }

  .hero {
    padding-top: 136px;
  }

  .site-nav {
    top: 132px;
  }

  .hero-actions-bar,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-actions-bar .button,
  .contact-primary {
    width: 100%;
  }

  .hero-bubble,
  .hero-signal {
    padding: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-label,
  .eyebrow {
    font-size: 0.76rem;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.84rem, 9vw, 2.56rem);
  }

  .contact-band,
  .legal-block {
    border-radius: 18px;
  }
}
