:root {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color-scheme: light;
  --primary: #0b566c;
  --accent: #4daa5e;
  --text: #0f2c34;
  --text-light: #42606a;
  --bg: #f4f8f9;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  padding: 64px 20px 80px;
}

.navbar {
  max-width: 1080px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus {
  opacity: 1;
}

.hero {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta {
  display: inline-flex;
  gap: 14px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(12, 45, 56, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(12, 45, 56, 0.26);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.button.primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 14px 28px rgba(12, 45, 56, 0.22);
}

.button.secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.button:hover {
  transform: translateY(-3px);
}

main {
  background: transparent;
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 20px;
}

.section header {
  background: none;
  padding: 0;
  color: inherit;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  text-align: center;
}

.section p.lead {
  text-align: center;
  color: var(--text-light);
  margin: 0 auto 40px;
  max-width: 620px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(11, 86, 108, 0.08);
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
}

.card p {
  color: var(--text-light);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.screenshots-grid img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(11, 86, 108, 0.18);
  border: 6px solid #ffffff;
  background: #ffffff;
}

.get-started {
  text-align: center;
}

.get-started .card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
}

.footer {
  background: #073948;
  color: rgba(255, 255, 255, 0.82);
  padding: 32px 20px;
}

.footer nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 18px;
}

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

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

.legal-page h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 32px;
}

.legal-page h2 {
  margin-top: 36px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: var(--text-light);
}

.legal-page ul {
  padding-left: 20px;
}

@media (max-width: 720px) {
  .navbar {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
