:root {
  --ink: #0f1012;
  --ink-soft: #3d4046;
  --muted: #6a6e76;
  --paper: #ffffff;
  --surface: #f4f4f1;
  --surface-strong: #e9e9e4;
  --line: #deded8;
  --accent: #f08a24;
  --on-ink: #ffffff;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow: 0 1px 2px rgba(15, 16, 18, 0.06), 0 8px 24px rgba(15, 16, 18, 0.06);
  --mark-filter: none;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2ef;
    --ink-soft: #c9cac6;
    --muted: #9a9c98;
    --paper: #111214;
    --surface: #1a1b1e;
    --surface-strong: #24262a;
    --line: #2e3035;
    --on-ink: #111214;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --mark-filter: invert(1);
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

[id] {
  scroll-margin-top: 64px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-s);
  z-index: 10;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .container {
    padding: 0 32px;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 26px;
  height: auto;
  filter: var(--mark-filter);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  background: var(--surface);
  color: var(--ink);
}

.nav .lang {
  margin-inline-start: 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 719px) {
  .nav a:not(.lang) {
    display: none;
  }
}

/* Hero */

.hero {
  padding: 56px 0 64px;
}

@media (min-width: 900px) {
  .hero {
    padding: 96px 0 104px;
  }

  .hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
}

.hero .lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: 19px;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--ink);
}

.button.primary {
  background: var(--ink);
  color: var(--on-ink);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover {
  opacity: 0.88;
}

/* Company card */

.id-card {
  position: relative;
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

@media (min-width: 900px) {
  .id-card {
    margin-top: 0;
    padding: 36px;
  }
}

.id-card .watermark {
  position: absolute;
  inset-inline-end: -28px;
  bottom: -36px;
  width: 190px;
  opacity: 0.06;
  filter: var(--mark-filter);
  pointer-events: none;
}

.id-card .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.id-card .name {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.id-card .name-alt {
  margin-top: 2px;
  color: var(--muted);
  font-size: 15px;
}

.facts {
  position: relative;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.facts div {
  display: grid;
  gap: 2px;
}

.facts dt {
  font-size: 13px;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Sections */

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }
}

.section.tinted {
  background: var(--surface);
  border-top: 0;
}

.section-head {
  max-width: 44em;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 18px;
}

/* App card */

.app-card {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-l);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .app-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 32px;
    padding: 36px;
  }
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.app-card h3 {
  font-size: 24px;
  font-weight: 800;
}

.app-card .tagline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.app-card .description {
  margin-top: 14px;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
}

.store-links .button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.store-links .soon {
  font-size: 15px;
  color: var(--muted);
}

.app-card .note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 10px;
  font-size: 15px;
}

/* Expertise grid */

.grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

.tile {
  padding: 28px;
  border-radius: var(--radius-m);
  background: var(--paper);
  border: 1px solid var(--line);
}

.tile .index {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.tile h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
}

.tile p {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* Company table */

.legal-table {
  margin: 40px 0 0;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  overflow: hidden;
}

.legal-table div {
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

.legal-table div:first-child {
  border-top: 0;
}

@media (min-width: 720px) {
  .legal-table div {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    padding: 18px 28px;
  }
}

.legal-table dt {
  color: var(--muted);
  font-size: 15px;
}

.legal-table dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.legal-table dd span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 15px;
}

/* Contact */

.contact-grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

.contact-grid .tile a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Legal page */

.page-head {
  padding: 56px 0 8px;
}

.page-head h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
}

.page-head p {
  margin-top: 12px;
  color: var(--muted);
}

.prose {
  max-width: 46em;
  padding-bottom: 88px;
}

.prose h2 {
  margin-top: 48px;
  font-size: 24px;
  font-weight: 700;
}

.prose p,
.prose ul {
  margin-top: 14px;
  color: var(--ink-soft);
}

.prose ul {
  padding-inline-start: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose strong {
  color: var(--ink);
}

/* Footer */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.site-footer .container {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .site-footer .container {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.site-footer a {
  color: var(--ink-soft);
}
