:root {
  /*
    Travel Scout app palette.
    Pulled from TravelScoutTheme.kt:
    primary    = #1565C0
    secondary  = #546E7A
    background = #F7F9FC
    surface    = #FFFFFF

    Typography direction:
    Roboto/system-first to echo Android/Material clarity.
    Calm, readable, trustworthy, and app-like rather than decorative.
  */

  --color-background: #f7f9fc;
  --color-surface: #ffffff;
  --color-surface-muted: #eef3f8;

  --color-primary: #1565c0;
  --color-primary-dark: #0d47a1;
  --color-primary-soft: #e3f2fd;

  --color-text: #132033;
  --color-text-muted: #546e7a;
  --color-border: #d9e1ea;

  --color-green: #2e7d32;
  --color-green-soft: #e8f5e9;

  --color-amber: #ed6c02;
  --color-amber-soft: #fff3e0;

  --color-red: #d32f2f;
  --color-red-soft: #ffebee;

  --shadow-soft: 0 18px 45px rgba(21, 101, 192, 0.12);
  --shadow-card: 0 10px 26px rgba(19, 32, 51, 0.08);

  --radius-small: 0.75rem;
  --radius-medium: 1rem;
  --radius-large: 1.5rem;

  --container: 1120px;
  --space-section: clamp(4rem, 7vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  letter-spacing: -0.006em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--color-primary-dark); }
:focus-visible { outline: 3px solid var(--color-amber); outline-offset: 4px; }

.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 2rem)); }
.section { padding-block: var(--space-section); }
.section-muted { background: var(--color-surface-muted); }

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  transform: translateY(-150%);
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-text);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 0.7rem;
  box-shadow: var(--shadow-card);
}
.brand-text { white-space: nowrap; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--color-text-muted);
  font-weight: 650;
  text-decoration: none;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.18rem;
  font-weight: 750;
  letter-spacing: 0.002em;
  text-decoration: none;
  line-height: 1.15;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary, .button-small {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.button-primary:hover, .button-small:hover { background: var(--color-primary-dark); color: #fff; }
.button-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}
.button-secondary:hover { background: var(--color-primary-soft); }
.button-small { padding-inline: 1rem; font-size: 0.92rem; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(15, 76, 129, 0.14), transparent 34rem),
    linear-gradient(180deg, var(--color-background), #fff);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 5.5rem);
}
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.85rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 850;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h3 {
  margin-bottom: 0.55rem;
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 800;
}
.hero-text {
  max-width: 62ch;
  color: var(--color-text-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  line-height: 1.68;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-block: 1.7rem 1rem; }
.trust-line { color: var(--color-text-muted); font-weight: 650; }

.status-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.4rem; }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.52rem 0.78rem;
  font-weight: 750;
  font-size: 0.9rem;
  letter-spacing: 0.004em;
  border: 1px solid transparent;
}
.status-green { background: var(--color-green-soft); color: var(--color-green); }
.status-amber { background: var(--color-amber-soft); color: var(--color-amber); }
.status-red { background: var(--color-red-soft); color: var(--color-red); }

.phone-card { display: flex; justify-content: center; }
.phone-frame {
  width: min(100%, 360px);
  border: 10px solid var(--color-primary-dark);
  border-radius: 2.2rem;
  background: var(--color-background);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  transform: rotate(1.5deg);
}
.phone-top-bar {
  width: 42%;
  height: 0.35rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: var(--color-border);
}
.app-preview-card {
  border-radius: 1.25rem;
  background: var(--color-surface);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
}
.app-preview-card + .app-preview-card { margin-top: 1rem; }
.app-preview-card h2 { margin-bottom: 0.35rem; font-size: 1.85rem; }
.preview-label {
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.preview-result {
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.preview-green { background: var(--color-green-soft); color: var(--color-green); }
.app-preview-card.small { background: var(--color-primary-dark); color: #fff; }
.app-preview-card.small p { color: rgba(255, 255, 255, 0.78); }

.section-heading { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
.section-heading p { color: var(--color-text-muted); }
.card-grid { display: grid; gap: 1rem; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .step-card, .insight-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-surface);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
}
.feature-card-offset { transform: translateY(0.85rem); }
.feature-card p, .step-card p, .insight-card p { color: var(--color-text-muted); }
.insight-card { align-self: center; border-top: 6px solid var(--color-primary); }
.insight-card h3 { font-size: clamp(1.55rem, 3vw, 2.3rem); letter-spacing: -0.035em; }

.icon-pill {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  font-weight: 950;
}
.icon-pill.green { background: var(--color-green-soft); color: var(--color-green); }
.icon-pill.amber { background: var(--color-amber-soft); color: var(--color-amber); }
.icon-pill.red { background: var(--color-red-soft); color: var(--color-red); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.step-number {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
}

.split-grid, .privacy-grid, .faq-layout, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.tick-list { display: grid; gap: 0.65rem; padding-left: 0; list-style: none; }
.tick-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--color-text-muted);
  font-weight: 650;
}
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-green);
  font-weight: 950;
}
.screenshot-strip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-real {
  width: 180px;
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease;
}

.screenshot-real:hover {
  transform: translateY(-4px);
}

.screenshot-real img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.screenshot-placeholder {
  width: 180px;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 2px dashed var(--color-border);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.62);
  color: var(--color-text-muted);
  text-align: center;
  padding: 1rem;
  font-weight: 700;
}

.comparison {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 1rem; border-bottom: 1px solid var(--color-border); text-align: left; }
thead th { background: var(--color-primary-dark); color: #fff; }
tbody th { font-weight: 850; }
tbody td { color: var(--color-text-muted); font-weight: 750; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.center-cta { margin-top: 1.5rem; text-align: center; }
.center-cta p { color: var(--color-text-muted); }

.privacy-panel {
  background:
    radial-gradient(circle at left top, rgba(31, 143, 77, 0.12), transparent 28rem),
    var(--color-primary-dark);
  color: #fff;
}
.privacy-panel .eyebrow { color: var(--color-amber-soft); }
.privacy-panel p { color: rgba(255, 255, 255, 0.78); }
.privacy-points { display: grid; gap: 1rem; }
.privacy-points article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
}

.download-section { background: #fff; }
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--radius-large);
  background: var(--color-primary);
  color: #fff;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}
.download-card .eyebrow, .download-card p { color: rgba(255, 255, 255, 0.82); }
.download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.play-badge {
  min-width: 210px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.9rem;
  background: #0b0d12;
  color: #fff;
  padding: 0.75rem 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}
.play-badge:hover { color: #fff; background: #000; }
.play-badge small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  line-height: 1;
}
.play-icon { font-size: 1.4rem; }
.text-link { color: #fff; font-weight: 800; }

.faq-list { display: grid; gap: 0.85rem; }
details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
summary { cursor: pointer; padding: 1rem 1.15rem; font-weight: 850; }
details p { margin: 0; padding: 0 1.15rem 1.15rem; color: var(--color-text-muted); }

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(15, 76, 129, 0.12), transparent 30rem),
    #fff;
}
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.small-text { color: var(--color-text-muted); font-size: 0.92rem; }
.policy { max-width: 820px; }
.policy h2 { margin-top: 2.2rem; font-size: 1.55rem; }
.policy h2:first-child { margin-top: 0; }
.policy p { color: var(--color-text-muted); }
.policy-note {
  margin-top: 2rem;
  border-left: 5px solid var(--color-amber);
  border-radius: var(--radius-small);
  background: var(--color-amber-soft);
  padding: 1rem;
  color: var(--color-text);
}

.site-footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding-block: 3rem 1.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(180px, 0.5fr));
  gap: 2rem;
}
.footer-brand { color: #fff; }
.footer-note, .site-footer p { color: rgba(255, 255, 255, 0.72); }
.footer-heading { margin-bottom: 0.8rem; font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255, 255, 255, 0.8); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 920px) {
  .nav { flex-wrap: wrap; padding-block: 0.8rem; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 0.35rem; }
  .hero-grid, .split-grid, .privacy-grid, .faq-layout { grid-template-columns: 1fr; }
  .phone-frame { transform: none; }
  .card-grid.three, .steps, .contact-grid { grid-template-columns: 1fr; }
  .feature-card-offset { transform: none; }
  .screenshot-strip { grid-template-columns: 1fr; }
  .screenshot-placeholder { min-height: 220px; }
  .download-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  h1 {
    font-size: clamp(2.65rem, 13.5vw, 3.75rem);
    line-height: 1.02;
  }

  .site-header {
    position: sticky;
  }

  .nav {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding-block: 0.85rem;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-text {
    white-space: nowrap;
    font-size: 1.55rem;
  }

  .nav-links {
    display: none;
  }

  .button-small {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
  }

  .hero-actions,
  .download-actions {
    width: 100%;
  }

  .hero-actions .button,
  .download-actions .play-badge {
    width: 100%;
    justify-content: center;
  }

  .play-badge {
    min-width: unset;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
