
:root {
  --paper: #fbfcfc;
  --background: #eef1f2;
  --ink: #16232c;
  --ink-soft: #55666e;
  --ink-faint: #8a99a0;
  --line: #d7dee1;
  --accent: #9b2226;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--ink);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

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

nav,
footer div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav {
  gap: 24px;
}

.site-nav > a {
  white-space: nowrap;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  overflow: hidden;
  margin-right: 4px;
}

.lang-switcher a {
  min-width: 42px;
  padding: 8px 14px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
}

.lang-switcher a + a {
  border-left: 1px solid var(--line);
}

.lang-switcher a[aria-current="page"] {
  background: var(--ink);
  color: white;
}

.lang-switcher-single {
  min-width: 44px;
}

nav a,
footer a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--ink);
}

.hero {
  padding: 96px 0 80px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.3vw, 24px);
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, #172730, #2d4654);
  box-shadow: 0 12px 28px rgba(20, 38, 48, 0.22);
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.app-store-link:hover {
  background: linear-gradient(135deg, #223944, #3b5b6b);
  box-shadow: 0 16px 34px rgba(20, 38, 48, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.app-store-link:focus-visible {
  outline: 3px solid rgba(75, 127, 151, 0.4);
  outline-offset: 4px;
}

.app-store-link:active {
  transform: translateY(0) scale(0.99);
}

.product-shot {
  margin: 56px auto 0;
  overflow: hidden;
}

.product-shot img {
  display: block;
  width: min(1040px, 92%);
  height: auto;
  margin: 0 auto;
  opacity: 0.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 72px;
}

.feature-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.feature-grid span {
  color: var(--ink-faint);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.feature-grid h2 {
  margin: 48px 0 10px;
  font-size: 25px;
}

.feature-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.info-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  padding: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
}

.info-band h2 {
  margin: 0;
  color: white;
  font-size: 38px;
}

.link-stack {
  display: flex;
  flex-direction: column;
}

.link-stack a {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  color: white;
  text-decoration: none;
}

.document {
  max-width: 820px;
  padding: 80px 0 100px;
}

.document-header {
  margin-bottom: 64px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.document-header > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 18px;
}

.document section {
  margin-bottom: 38px;
}

.document h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.document p,
.document li {
  color: var(--ink-soft);
  font-size: 16px;
}

.document p {
  margin: 0 0 12px;
}

.document a {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

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

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13px;
}

.document-header h1,
.document-header > p:last-child {
  text-wrap: balance;
}

@media (max-width: 760px) {
  .site {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 82px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    padding: 64px 0;
  }

  .feature-grid,
  .info-band {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    margin-top: 48px;
  }

  .info-band {
    gap: 32px;
    padding: 28px;
  }

  .document {
    padding: 56px 0 72px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 0;
  }

  footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
