:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d6a7d;
  --line: #d9e2ef;
  --brand: #0f6fde;
  --brand-dark: #0a54aa;
  --bg: #f7fbff;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--brand);
}

main {
  min-height: calc(100vh - 84px);
}

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

.eyebrow,
.updated,
.small {
  color: var(--muted);
  font-size: 0.92rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
}

.doc h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}

h2,
h3,
p {
  margin-top: 0;
}

.lede {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: #2d3b50;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.phone {
  position: relative;
  overflow: hidden;
  width: min(100%, 340px);
  min-height: 620px;
  margin: 0 auto;
  padding: 18px;
  border: 10px solid #101827;
  border-radius: 36px;
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(23, 32, 51, 0.22);
}

.phone-top {
  width: 96px;
  height: 6px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #101827;
}

.map {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 111, 222, 0.12), transparent 50%),
    linear-gradient(45deg, transparent 24%, rgba(15, 111, 222, 0.12) 25%, transparent 26%),
    #e8f2ff;
  background-size: auto, 42px 42px, auto;
}

.route {
  position: absolute;
  left: 44px;
  top: 238px;
  width: 245px;
  height: 118px;
  border-top: 4px solid var(--brand);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid white;
  border-radius: 50%;
  background: #ff8a00;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pin-a {
  left: 64px;
  top: 229px;
}

.pin-b {
  left: 154px;
  top: 194px;
}

.pin-c {
  left: 248px;
  top: 148px;
}

.panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.panel p {
  margin-bottom: 8px;
}

.content,
.doc {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

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

article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.doc {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.doc h2 {
  margin-top: 34px;
}

footer {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  min-height: 84px;
  padding: 20px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

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

  .phone {
    min-height: 540px;
  }
}
