:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #5f6775;
  --line: rgba(17, 24, 39, 0.12);
  --gold: #d88a24;
  --gold-deep: #9b5514;
  --green: #2f8f63;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(31, 41, 55, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(216, 138, 36, 0.16), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(47, 143, 99, 0.1), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #eef3f8 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.hero-copy {
  max-width: 620px;
}

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

h1 {
  max-width: 10em;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  font-weight: 820;
}

.hero-copy p {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 392px);
  padding: 16px;
  border: 1px solid rgba(82, 59, 36, 0.2);
  border-radius: 34px;
  background: linear-gradient(180deg, #17120d 0%, #2c1f13 100%);
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px 14px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.app-card,
.metric-grid > div {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
}

.tracking-card {
  display: grid;
  grid-template-columns: 56px 1fr 12px;
  gap: 13px;
  align-items: center;
  padding: 14px;
}

.tracking-card img {
  border-radius: 8px;
}

.tracking-card h2 {
  font-size: 20px;
  line-height: 1.15;
}

.tracking-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 143, 99, 0.14);
}

.map-card {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: #251a11;
}

.map-card svg {
  display: block;
  width: 100%;
}

.map-card rect {
  fill: #2a2118;
}

.grid-line {
  fill: none;
  stroke: rgba(255, 250, 242, 0.11);
  stroke-width: 1;
}

.route-glow {
  fill: none;
  stroke: rgba(216, 138, 36, 0.3);
  stroke-width: 18;
  stroke-linecap: round;
}

.route {
  fill: none;
  stroke: #f2a23b;
  stroke-width: 6;
  stroke-linecap: round;
}

.route-start {
  fill: #42ad7a;
}

.route-end {
  fill: #ef5d37;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.metric-grid > div {
  padding: 14px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-size: 21px;
  line-height: 1.2;
}

.metric-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.feature-band,
.privacy-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-band {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 46px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.privacy-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
}

.section-heading p,
.privacy-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.features article {
  min-height: 238px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.features h3 {
  margin-top: 48px;
  font-size: 21px;
}

.features p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.privacy-section {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 64px;
  align-items: center;
  padding: 76px 0 92px;
  border-top: 1px solid var(--line);
}

.privacy-section p {
  margin-top: 18px;
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero,
  .section-heading,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 44px;
    padding-top: 34px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, 1120px);
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .feature-band,
  .privacy-section,
  footer {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .phone-shell {
    max-width: 320px;
    border-radius: 26px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .features article {
    min-height: auto;
  }

  .features h3 {
    margin-top: 32px;
  }

  footer {
    flex-direction: column;
  }
}
