@font-face { font-family: Carlito; src: url(carlito-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Carlito; src: url(carlito-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0f2437;
  --deep: #0c293b;
  --accent: #0a718f;
  --cyan: #01abdc;
  --tint: #f2fbfd;
  --pale: #e6f7fc;
  --border: #d4d8db;
  --text: #4e5460;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--text); font: 18px/1.6 Carlito, Calibri, Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.dark :focus-visible, .hero :focus-visible, .video :focus-visible { outline-color: var(--cyan); }
h1, h2, h3 { color: var(--navy); line-height: 1.1; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5.25vw, 3.375rem); max-width: 28ch; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); max-width: 36ch; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100%, 1248px); padding-inline: 24px; margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 8px; left: 8px; background: white; padding: 8px 12px; z-index: 10; }
.header, .navigation { display: flex; align-items: center; }
.header { min-height: 80px; gap: 24px; justify-content: space-between; padding-block: 12px; }
.brand { width: clamp(126px, 22vw, 185px); }
.navigation { gap: 18px; flex-wrap: wrap; font-size: 16px; }
.navigation a:not(.button) { color: var(--navy); text-decoration: none; }
.navigation a:not(.button):is(:hover, [aria-current]) { color: var(--accent); text-decoration: underline; }
.nav-group { display: flex; align-items: center; gap: 2px; position: relative; }
.nav-group summary { cursor: pointer; padding-inline: 5px; color: var(--navy); }
.submenu { position: absolute; z-index: 2; top: 100%; left: 0; min-width: 175px; background: white; border: 1px solid var(--border); border-radius: 8px; padding: 8px; box-shadow: 0 10px 24px #0f243722; }
.submenu a { display: block; padding: 6px 8px; }
.crumb { margin-bottom: 22px; font-size: .95rem; }
.columns { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 6vw, 72px); }
.story { grid-template-columns: 2fr 1fr; align-items: start; }
.section { padding-block: clamp(48px, 8vw, 80px); }
.compact { padding-block: 0 28px; }
.hero { background: var(--navy); color: white; overflow: hidden; }
.page-hero { background: var(--pale); }
.page-hero + .tint.compact { background: var(--pale); }
.page-hero h1::after, .section h2::after { content: ""; display: block; width: 64px; height: 3px; background: var(--cyan); margin-top: 16px; }
.hero h1, .dark h2, .dark h3 { color: inherit; }
.label { color: var(--accent); font-size: .9375rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero .label, .dark .label, .tagline { color: #76def8; }
.intro { font-size: clamp(1.125rem, 2vw, 1.3125rem); max-width: 60ch; }
.logo-stage { position: relative; isolation: isolate; }
.logo-stage::before, .logo-stage::after { content: ""; position: absolute; z-index: -1; border: 14px solid #01abdc45; border-radius: 42px; inline-size: 45%; aspect-ratio: 1; }
.logo-stage::before { top: -40%; left: 12%; }
.logo-stage::after { bottom: -42%; right: 8%; }
.logo-panel { background: white; border-radius: 24px; padding: clamp(24px, 5vw, 64px); }
.actions, .jumps, .badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions { margin-top: 24px; }
.badges { margin-top: 18px; }
.badges img { width: auto; max-width: 100%; height: 48px; }
.badges .google-play img { height: 60px; }
.button { display: inline-block; border: 2px solid transparent; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { text-decoration: underline; }
.button-accent { background: var(--cyan); color: var(--navy); }
.button-dark { background: var(--navy); color: white; }
.button-outline { border-color: white; background: transparent; color: white; }
.button-light { border-color: var(--border); background: white; color: var(--navy); }
.tint { background: var(--tint); }
.dark { background: var(--deep); color: #f4faff; }
.dark a:not(.button) { color: inherit; }
.grid, .values { display: grid; gap: 16px; }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr)); }
.values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--border); border-radius: 8px; background: white; }
.values .card { background: var(--tint); }
.card.dark { background: var(--navy); border-color: #2b475a; }
.dark .card:not(.dark) { border-color: #2b475a; background: #143348; }
.grid + .callout, .grid + .actions { margin-top: 28px; }
.callout { padding: clamp(18px, 3vw, 30px); margin-top: 16px; border-radius: 8px; background: var(--pale); }
.callout h2 { font-size: 1.55rem; }
.callout h2::after { display: none; }
.cta { padding-block: 38px; }
.cta + footer { border-top: 1px solid #355063; }
.ecosystem { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); align-items: center; }
.ecosystem .card { position: relative; margin-bottom: 8px; padding: 12px 16px; }
.ecosystem .card p { font-size: 16px; }
.ecosystem > :first-child .card::after, .ecosystem > :last-child .card::before { content: ""; position: absolute; top: 50%; width: clamp(16px, 3vw, 40px); border-top: 2px solid #b0e7f1; }
.ecosystem > :first-child .card::after { left: 100%; }
.ecosystem > :last-child .card::before { right: 100%; }
.eco-center { text-align: center; }
.eco-center .footer-brand { margin: 8px auto 12px; }
.timeline { list-style: none; margin: 24px 0 0 8px; padding-left: 24px; border-left: 2px solid var(--cyan); max-width: 920px; }
.timeline li { position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.timeline .label { margin-bottom: 4px; }
.profile header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile header h2 { margin-bottom: 4px; }
.profile header h2::after { display: none; }
.monogram { flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; border: 3px solid var(--accent); box-shadow: 4px 4px 0 var(--cyan); border-radius: 18px; background: var(--navy); color: white; font-size: 1.6rem; }
.tier { display: flex; flex-direction: column; border-top: 4px solid var(--cyan); }
.tier .tier-label { order: -1; margin-bottom: .65rem; color: var(--accent); font-size: .95rem; font-weight: bold; }
.tier-pro { border-top-color: var(--accent); }
.tier-premium { border-top-color: var(--navy); background: var(--navy); color: white; }
.tier-premium h3 { color: white; }
.tier-premium .tier-label { color: #76def8; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; }
table { width: 100%; min-width: 640px; border-collapse: collapse; }
caption { text-align: left; padding: 8px 14px; }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
thead th { color: white; background: var(--navy); }
thead th:nth-child(2) { color: var(--navy); background: var(--cyan); }
thead th:nth-child(3) { background: var(--accent); }
th:first-child { text-align: left; }
td { text-align: center; }
td:last-child, .table-group { background: var(--tint); }
.table-group th { color: var(--accent); }
.note { font-size: 15px; margin-bottom: .4rem; }
.download-list { padding: 0; margin: 0 0 16px; list-style: none; }
.download-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.download-list h3 { margin: 0 0 4px; font-size: 1.16rem; }
.download-list p { font-size: .95rem; }
.status { border-radius: 16px; background: var(--pale); color: var(--navy); padding: 2px 9px; font-size: .85rem; }
.video { border-radius: 8px; background: var(--navy); color: white; min-height: 200px; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 20px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video a { color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; padding-block: 40px; }
.footer-brand { display: block; width: 160px; max-width: 100%; }
.footer-brand { background: white; border-radius: 8px; padding: 10px; }
.tagline { font-weight: 700; margin-top: 8px; }
.footer-grid nav a { display: block; }
.footer-end { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 14px; border-top: 1px solid #355063; font-size: 15px; }
.footer-end nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
address { font-style: normal; }

@media (max-width: 960px) {
  .header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 760px) {
  .columns, .story, .ecosystem { grid-template-columns: 1fr; }
  .ecosystem > :first-child .card::after, .ecosystem > :last-child .card::before { display: none; }
  .logo-stage { max-width: 480px; }
  .wrap { padding-inline: 18px; }
  .download-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .download-list li .button { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .values, .footer-grid { grid-template-columns: 1fr; }
  .navigation { gap: 8px 12px; }
  .submenu { left: auto; right: 0; min-width: 148px; }
  .nav-group:first-of-type .submenu { left: 0; right: auto; }
}

.language-picker { display: flex; align-items: center; gap: 6px; color: var(--navy); }
.language-picker label { font-weight: 700; }
.language-picker select {
  max-width: 100%;
  padding: 5px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  color: inherit;
  font: inherit;
}
.language-picker select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.language-picker {
  --flag-nl: url("flags/nl.png");
  --flag-en: url("flags/gb.png");
  --flag-it: url("flags/it.png");
  --flag-de: url("flags/de.png");
  --selected-flag: var(--flag-nl);
}

.language-picker:has(option[value="en"]:checked) { --selected-flag: var(--flag-en); }
.language-picker:has(option[value="it"]:checked) { --selected-flag: var(--flag-it); }
.language-picker:has(option[value="de"]:checked) { --selected-flag: var(--flag-de); }
.language-picker label { display: flex; align-items: center; gap: 6px; }
.language-picker label::after {
  content: "";
  flex: 0 0 20px;
  height: 14px;
  background: var(--selected-flag) center / contain no-repeat;
}

@supports (appearance: base-select) {
  .language-picker select,
  .language-picker select::picker(select) { appearance: base-select; }
  .language-picker select::picker(select) {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    color: var(--navy);
  }
  .language-picker option {
    padding: 6px 10px 6px 32px;
    background-image: var(--option-flag);
    background-position: left 6px center;
    background-size: 20px auto;
    background-repeat: no-repeat;
  }
  .language-picker option[value="nl"] { --option-flag: var(--flag-nl); }
  .language-picker option[value="en"] { --option-flag: var(--flag-en); }
  .language-picker option[value="it"] { --option-flag: var(--flag-it); }
  .language-picker option[value="de"] { --option-flag: var(--flag-de); }
  .language-picker option:hover,
  .language-picker option:focus-visible { background-color: var(--pale); }
  .language-picker option::checkmark { order: 1; margin-inline-start: auto; }
}
