:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #526070;
  --line: #d8e0ea;
  --surface: #f5f7fa;
  --panel: #ffffff;
  --navy: #0d1b2f;
  --blue: #0f8bdc;
  --green: #1aa778;
  --yellow: #e6b840;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.language-switch button {
  display: inline-flex;
  gap: 7px;
  min-height: 32px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 12px 0 9px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

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

.language-switch .flag {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1;
}

[hidden] {
  display: none !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 128px);
  margin: 0 auto;
  padding: 42px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.lead,
.section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.lead {
  max-width: 640px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  background: #fff;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge img {
  display: block;
  height: 50px;
  width: auto;
}

.contact-card .app-store-badge {
  margin-top: 12px;
}

.button.disabled {
  width: 100%;
  margin-top: 12px;
  color: var(--muted);
  background: #eef3f8;
  cursor: not-allowed;
}

.product-panel {
  display: flex;
  justify-content: center;
}

.phone-shell {
  position: relative;
  width: min(360px, 100%);
  min-height: 590px;
  border: 12px solid #172033;
  border-radius: 42px;
  padding: 64px 22px 28px;
  background:
    linear-gradient(180deg, rgba(15, 139, 220, 0.08), rgba(26, 167, 120, 0.08)),
    #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
}

.phone-top {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 112px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 24px;
  background: #172033;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.app-title {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.coverage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin-top: 10px;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--navy);
  background: #eef3f8;
}

.coverage-row strong {
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

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

.faq-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: start;
}

.contact-card .button {
  width: 100%;
  margin-top: 12px;
}

.jp-note {
  padding-top: 12px;
}

.site-footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .header-tools {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 28px;
  }

  .phone-shell {
    min-height: 520px;
  }
}
