@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Foundations */
:root {
  color-scheme: light;
  --ink: #12151a;
  --muted: #3b414d;
  --line: #dcddd6;
  --accent: #1f4fe0;
  --paper: #f6f7f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter',system-ui,sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

a: focus-visible,summary:focus-visible {
  outline: 2px solid #1f4fe0;
  outline-offset: 3px;
}

h1,h2,h3 {
  font-family: 'Space Grotesk','Inter',system-ui,sans-serif;
  line-height: 1.1;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.6rem,6vw,4.7rem);
  margin: .5em 0;
}

h2 {
  font-size: clamp(2rem,4vw,2.75rem);
  margin: 0 0 1em;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header and navigation */
.header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 10px;
  color: white;
}

.nav,.langs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav {
  margin-left: auto;
}

.nav a,.langs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
  font-size: .9rem;
}

.langs [aria-current] {
  font-weight: 700;
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  background: var(--accent);
  color: white;
}

.button.outline {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

/* Home page sections */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: end;
  padding-top: 96px;
  padding-bottom: 72px;
}

.eyebrow,.tag {
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero p {
  font-size: 1.15rem;
  max-width: 650px;
}

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

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.facts {
  margin: 0;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #e8e9e3;
}

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

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

.benefits {
  padding-bottom: 72px;
}

.benefits .card h3 {
  font-size: 1.05rem;
}

.section {
  padding: 96px 0;
}

.white {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-intro {
  max-width: 600px;
}

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

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

.product {
  background: #e9edfa;
  min-height: 270px;
}

.product:nth-child(2) {
  background: #eaece5;
}

.product h3 {
  font-size: 2rem;
}

.step-number {
  color: var(--accent);
  font-weight: 700;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-list span {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 16px;
  background: white;
}

.faq {
  max-width: 800px;
}

.faq details {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  min-height: 64px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.1rem;
}

summary: :marker {
  color: var(--accent);
}

/* Contact and footer */
.dark {
  background: #12151a;
  color: white;
}

.dark p {
  color: #d5d8df;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #252a34;
  border: 1px solid #454b57;
  border-radius: 16px;
  padding: 32px;
}

.contact-card a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-card p {
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: .3em;
}

.footer {
  border-top: 1px solid #454b57;
  padding: 28px 0;
  color: #e4e6eb;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

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

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Legal documents */
.legal {
  max-width: 808px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.legal h1 {
  font-size: clamp(1.75rem,6vw,2.6rem);
}

.legal h2 {
  font-size: clamp(1.35rem,4vw,1.6rem);
  margin: 2em 0 .7em;
}

.legal h3 {
  font-size: 1.25rem;
}

.legal p,.legal li {
  overflow-wrap: anywhere;
}

.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin: 1.5rem 0;
}

table {
  border-collapse: collapse;
  min-width: 580px;
  width: 100%;
  background: white;
}

th,td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.notice {
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: #e9edfa;
  margin-bottom: 32px;
}

.notice p {
  margin: 0;
}

.error-page {
  min-height: 70vh;
  padding-top: 80px;
}

.error-page a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-right: 20px;
}

/* Responsive layouts */
@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .langs {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}

@media (max-width: 760px) {
  .hero,.contact-grid,.product-grid,.grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    padding-top: 56px;
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    gap: 8px;
  }

  .logo {
    font-size: .9rem;
  }

  .langs {
    gap: 0;
  }

  .langs a {
    padding: 0 7px;
  }

  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .legal h1 {
    font-size: clamp(1.75rem,6vw,2.6rem);
  }

}
