:root {
  color-scheme: dark;
  --bg-top: #313c47;
  --bg-mid: #252d36;
  --bg-bottom: #1c232b;
  --mist: #eef1f3;
  --accent: #5c7a96;
  --accent-soft: #87a4bc;
  --ink: #1f252d;
  --shadow: 0 24px 60px rgba(5, 9, 14, 0.26);
  --border: rgba(255, 255, 255, 0.12);
  --title-font: "Cormorant Garamond", "Times New Roman", serif;
  --body-font: "Open Sans", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(112, 138, 160, 0.18), transparent 32%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--mist);
  font-family: var(--body-font);
  background: transparent;
}

@media (min-width: 921px) {
  body {
    overflow: hidden;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(1320px, calc(100% - 20px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 10px 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.site-header,
.hero-actions,
.privacy-toolbar,
.preview-topbar {
  display: flex;
  align-items: center;
}

.site-header {
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(180deg, #7ea3bf 0%, #5a7894 100%);
  color: #f8f5ef;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(24, 36, 46, 0.35);
}

.brand-text {
  font-family: var(--title-font);
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.language-picker {
  display: inline-flex;
}

.language-picker-header {
  visibility: hidden;
  pointer-events: none;
}

.language-picker select,
.cta-button {
  border-radius: 999px;
}

.language-picker select {
  min-height: 40px;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  color-scheme: light;
}

.language-picker select option {
  color: #1f252d;
  background: #ffffff;
}

.site-main {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.panel,
.panel-soft {
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel {
  padding: clamp(16px, 1.6vw, 22px);
  background: linear-gradient(180deg, rgba(47, 57, 68, 0.92), rgba(29, 36, 45, 0.96));
  border: 1px solid var(--border);
}

.panel-soft {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(244,248,250,0.98));
  border: 1px solid rgba(31, 37, 45, 0.08);
  color: var(--ink);
}

.hero-card {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

.hero-copy {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.privacy-heading h1 {
  margin: 0;
  font-family: var(--title-font);
  font-style: italic;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(1.95rem, 3.8vw, 3.4rem);
}

.privacy-heading h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.hero-description,
.privacy-description,
.feature-list p {
  line-height: 1.6;
}

.hero-description {
  max-width: 60ch;
  margin: 12px 0 0;
  color: rgba(238, 241, 243, 0.82);
  font-size: 0.94rem;
}

.feature-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  align-content: start;
}

.feature-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.feature-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(135, 164, 188, 0.12);
  color: var(--accent-soft);
  font-size: 1rem;
}

.feature-list h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.feature-list p {
  margin: 0;
  color: rgba(238, 241, 243, 0.74);
  font-size: 0.9rem;
}

.hero-actions {
  gap: 14px;
  margin-top: 10px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  background: linear-gradient(180deg, #7ea3bf 0%, #5a7894 100%);
  color: #f8f5ef;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(38, 62, 82, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.android-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.android-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero-preview {
  display: grid;
  align-content: start;
  gap: 10px;
}

.preview-topbar {
  justify-content: center;
  gap: 12px;
}

.hero-preview-label {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-picker-preview {
  width: min(100%, 380px);
  display: flex;
  justify-content: flex-end;
}

.language-picker-preview select {
  min-width: 168px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 37, 45, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.phone-card {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
}

.phone-glow {
  position: absolute;
  inset: 16px 14px -8px;
  background: radial-gradient(circle, rgba(92, 122, 150, 0.32), transparent 62%);
  filter: blur(24px);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  height: 470px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #313c47 0%, #252d36 48%, #1c232b 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

.phone-map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 24%, rgba(138, 182, 214, 0.25), transparent 18%),
    radial-gradient(circle at 72% 64%, rgba(109, 134, 121, 0.22), transparent 20%),
    linear-gradient(115deg, rgba(255,255,255,0.12) 0 1px, transparent 1px),
    linear-gradient(26deg, rgba(255,255,255,0.08) 0 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 72px 72px;
  opacity: 0.58;
}

.phone-route-pill {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 0 14px;
  backdrop-filter: blur(12px);
}

.phone-card-preview {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(244,248,250,0.98));
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(24, 36, 46, 0.18);
}

.phone-city,
.phone-route-title,
.phone-route-copy {
  margin: 0;
}

.phone-city {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-route-title {
  margin-top: 8px;
  font-family: var(--title-font);
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1;
}

.phone-route-copy {
  margin-top: 10px;
  color: rgba(31, 37, 45, 0.72);
  line-height: 1.55;
}

.privacy-shell {
  min-height: calc(100dvh - 92px);
  display: grid;
  gap: 18px;
}

.privacy-description {
  max-width: 66ch;
  margin: 12px 0 0;
  color: rgba(238, 241, 243, 0.82);
}

.privacy-toolbar {
  justify-content: flex-start;
}

.privacy-language-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--mist);
  font-weight: 600;
}

.privacy-content {
  overflow: auto;
}

.privacy-content .loading-state,
.privacy-content .error-state {
  margin: 0;
  color: rgba(31, 37, 45, 0.72);
  line-height: 1.7;
}

.privacy-content article {
  max-width: 78ch;
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3 {
  color: var(--ink);
}

.privacy-content h1 {
  margin-top: 0;
  font-family: var(--title-font);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.privacy-content h2 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.privacy-content h3 {
  margin-top: 20px;
  font-size: 1rem;
}

.privacy-content p,
.privacy-content li {
  color: rgba(31, 37, 45, 0.78);
  line-height: 1.8;
}

.privacy-content ul {
  padding-left: 22px;
}

@media (max-width: 1080px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  body {
    overflow: auto;
  }

  .page-shell {
    min-height: auto;
    padding: 14px 0 20px;
  }

  .hero-card,
  .privacy-shell {
    min-height: 0;
  }

  .hero-card {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .hero-preview {
    order: -1;
  }

  .phone-screen {
    height: 430px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 12px, 1320px);
  }

  .site-header {
    justify-content: center;
  }

  .brand-text {
    font-size: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 10vw, 2.6rem);
  }

  .panel,
  .panel-soft {
    border-radius: 24px;
  }

  .panel {
    padding: 20px;
  }

  .preview-topbar {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .language-picker-preview,
  .language-picker-preview select {
    width: auto;
    min-width: 144px;
  }

  .phone-screen {
    height: 390px;
  }
}
