:root {
  color-scheme: light;
  --ink: #0b2748;
  --ink-muted: #526173;
  --paper: #ffffff;
  --surface: #f7fafc;
  --border: #e5e7eb;
  --blue: #1f7ae0;
  --blue-ink: #0b4f95;
  --teal: #18b8a8;
  --yellow: #f5b82e;
  --shadow: 0 20px 60px rgba(11, 39, 72, 0.14);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(24, 184, 168, 0.12), transparent 30%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 46%, #f7fafc 100%);
  font-family: Rubik, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

body.document-page {
  background: #f7fafc;
}

button,
a {
  font: inherit;
}

a {
  color: var(--blue-ink);
}

.site-header {
  width: min(100% - 32px, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 112px;
}

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

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

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(11, 39, 72, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 26px rgba(11, 39, 72, 0.08);
}

.language-switch button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-muted);
  background: transparent;
  cursor: default;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--blue);
}

.hero {
  width: min(100% - 32px, var(--max-width));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: 10px 0 20px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 11ch;
  font-size: clamp(2.9rem, 7vw, 5.3rem);
  line-height: 0.96;
}

.lede {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--ink-muted);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(31, 122, 224, 0.16);
  border-radius: 999px;
  color: var(--blue-ink);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.app-shot {
  justify-self: center;
  width: min(100%, 360px);
}

.phone-frame {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 390 / 844;
  margin: 0 auto;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(11, 39, 72, 0.14);
  border-radius: 42px;
  background: #071a30;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: 108px;
  height: 27px;
  border-radius: 0 0 18px 18px;
  transform: translateX(-50%);
  background: #071a30;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
}

.feature-band {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-band article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(11, 39, 72, 0.06);
}

.feature-band img,
.feature-dot {
  width: 44px;
  height: 44px;
  display: inline-flex;
  margin-bottom: 22px;
}

.feature-dot {
  border-radius: 999px;
}

.dot-blue {
  background:
    linear-gradient(135deg, transparent 46%, #ffffff 47% 53%, transparent 54%),
    var(--blue);
}

.dot-teal {
  background:
    linear-gradient(135deg, transparent 46%, #ffffff 47% 53%, transparent 54%),
    var(--teal);
}

.feature-band h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.feature-band p {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.site-footer {
  min-height: 210px;
  padding: 42px 16px 34px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  background: var(--ink);
}

.site-footer img {
  width: 132px;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.58);
}

.legal-document {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 24px auto 72px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(11, 39, 72, 0.06);
}

.document-kicker {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-document h1 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  overflow-wrap: break-word;
}

.document-updated {
  margin-bottom: 26px;
  color: var(--ink-muted);
  font-weight: 700;
}

.document-intro {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.legal-document section {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.legal-document section + section {
  margin-top: 28px;
}

.legal-document h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-document p,
.legal-document li {
  color: var(--ink-muted);
  overflow-wrap: break-word;
}

.legal-document p {
  margin-bottom: 12px;
}

.legal-document ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

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

@media (max-width: 840px) {
  .site-header {
    width: min(100% - 24px, var(--max-width));
    min-height: 68px;
  }

  .brand img {
    width: 118px;
  }

  .language-switch button {
    min-height: 32px;
    padding-inline: 11px;
    font-size: 0.88rem;
  }

  .hero {
    width: min(100% - 24px, var(--max-width));
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 12px 0 22px;
  }

  h1 {
    max-width: 10ch;
    margin-bottom: 14px;
    font-size: clamp(2.35rem, 11.5vw, 3.35rem);
  }

  .lede {
    margin-bottom: 18px;
  }

  .app-shot {
    width: min(100%, 300px);
  }

  .phone-frame {
    width: min(100%, 244px);
    aspect-ratio: 390 / 560;
  }

  .feature-band {
    width: min(100% - 24px, var(--max-width));
    grid-template-columns: 1fr;
  }

  .legal-document {
    width: calc(100% - 24px);
    max-width: 860px;
    margin-top: 14px;
    padding: 28px 20px;
  }

  .legal-document h1 {
    font-size: clamp(1.95rem, 9vw, 2.45rem);
    line-height: 1.08;
  }

  .legal-document h2 {
    font-size: 1.28rem;
    line-height: 1.18;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 12px;
  }

  .brand img {
    width: 104px;
  }

  .language-switch {
    gap: 2px;
    padding: 3px;
  }

  .language-switch button {
    min-width: 43px;
    padding-inline: 9px;
  }

  .proof-row span {
    flex: 1 1 104px;
    min-height: 34px;
    padding-inline: 10px;
    justify-content: center;
    font-size: 0.92rem;
  }

  .phone-frame {
    border-radius: 34px;
  }

  .phone-frame img {
    border-radius: 25px;
  }
}
