:root {
  --navy: #0e1e2e;
  --navy-2: #132b41;
  --teal: #3d9ea4;
  --teal-2: #78d4d6;
  --sand: #f4e7d2;
  --cream: #fff9ef;
  --ink: #12202f;
  --muted: #617282;
  --line: rgba(14, 30, 46, 0.14);
  --shadow: 0 24px 70px rgba(6, 19, 30, 0.24);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Avenir Next, Avenir, Helvetica Neue, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(120, 212, 214, 0.28), transparent 28rem),
    linear-gradient(160deg, #fffaf1 0%, #eef8f7 48%, #f7efe2 100%);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(14, 30, 46, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 30, 46, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #244b6e, #0e2a40);
  box-shadow: 0 10px 24px rgba(14, 30, 46, 0.22);
}

.logo span,
.mini-logo {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: block;
  background:
    linear-gradient(135deg, transparent 42%, #ffffff 43%, #ffffff 55%, transparent 56%),
    linear-gradient(180deg, #7dd4f0, #2074a8 70%, #c8a264 71%);
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(14, 30, 46, 0.72);
}

.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--teal); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1,
.section h2,
.legal h1 {
  margin: 0;
  font-family: Georgia, Times New Roman, serif;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(48px, 8vw, 98px);
  line-height: 0.92;
}

.lede {
  max-width: 610px;
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
  color: var(--teal);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--navy);
  box-shadow: 0 16px 40px rgba(14, 30, 46, 0.24);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--line);
}

.store-note {
  margin: 18px 0 0;
  color: rgba(14, 30, 46, 0.52);
  font-size: 14px;
}

.product-panel {
  min-height: 560px;
  border-radius: 44px;
  background:
    linear-gradient(150deg, rgba(61, 158, 164, 0.2), rgba(14, 30, 46, 0.04)),
    url("https://images.pexels.com/photos/32599840/pexels-photo-32599840.jpeg?auto=compress&cs=tinysrgb&w=900&h=1300&fit=crop");
  background-size: cover;
  background-position: center;
  padding: 34px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(350px, 100%);
  min-height: 580px;
  border-radius: 42px;
  padding: 22px;
  background: rgba(14, 30, 46, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  backdrop-filter: blur(18px);
}

.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.city-card {
  margin-top: 92px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.city-card h2 {
  margin: 8px 0 20px;
  font-family: Georgia, Times New Roman, serif;
  font-size: 44px;
  letter-spacing: -0.04em;
}

.city-card p {
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.82);
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--teal);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.metric-row div {
  border-radius: 18px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.metric-row strong {
  display: block;
  font-family: Georgia, Times New Roman, serif;
  font-size: 25px;
}

.metric-row span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 96px auto;
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section h2,
.legal h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1; }

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

.grid article,
.support-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(14, 30, 46, 0.08);
}

.grid h3,
.legal h2,
.legal h3 { margin: 0 0 8px; color: var(--navy); }
.grid p,
.legal p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 30px;
  align-items: start;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  display: block;
  text-decoration: none;
  border-radius: 18px;
  padding: 18px 20px;
  background: var(--navy);
  color: white;
  font-weight: 800;
}

.legal {
  width: min(820px, calc(100% - 40px));
  margin: 76px auto 96px;
  position: relative;
  z-index: 1;
  padding: 42px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal h2 { margin-top: 34px; }
.legal h3 { margin-top: 26px; }
.legal a { color: var(--teal); font-weight: 800; }

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(14, 30, 46, 0.58);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

footer a { color: inherit; font-weight: 800; }

@media (max-width: 900px) {
  .site-header { width: min(100% - 28px, 720px); }
  .site-header nav { gap: 14px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; width: min(100% - 28px, 720px); min-height: auto; }
  .product-panel { min-height: 520px; padding: 20px; border-radius: 32px; }
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .section { width: min(100% - 28px, 720px); margin: 70px auto; }
  .legal { width: min(100% - 28px, 720px); padding: 28px 20px; }
  footer { width: min(100% - 28px, 720px); flex-direction: column; }
}
