@font-face {
  font-family: "Switzer";
  src: url("https://awaremate.app/assets/fonts/switzer-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Switzer";
  src: url("https://awaremate.app/assets/fonts/switzer-semibold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: light;
  --canvas: #f3f6f8;
  --paper: #ffffff;
  --ink: #07121d;
  --muted: #485966;
  --rule: #cbd5dc;
  --action: #1769ff;
  --action-dark: #0d45b4;
  --live: #05a696;
  --night: #071b2b;
  --night-soft: #0e2d43;
  --focus: #ffbf2f;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(7, 18, 29, 0.035) 50%, transparent calc(50% + 1px)),
    var(--canvas);
  color: var(--ink);
  font-family: "Switzer", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(243, 246, 248, 0.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  width: min(184px, 48vw);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.share-hero {
  padding: clamp(56px, 8vw, 108px) 0 clamp(70px, 10vw, 132px);
}

.share-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}

.context-label {
  margin: 0 0 22px;
  color: var(--action-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.open-app {
  width: fit-content;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid var(--action);
  background: var(--action);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.open-app:hover {
  border-color: var(--action-dark);
  background: var(--action-dark);
  transform: translateY(-1px);
}

.open-app svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.install-block {
  max-width: 650px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.install-block h2 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.install-block > p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.store-link {
  position: relative;
  display: inline-flex;
  min-width: 170px;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.store-link img {
  display: block;
  width: auto;
  height: 54px;
}

.recommendation {
  display: none;
  margin-top: 7px;
  color: var(--action-dark);
  font-size: 11px;
  font-weight: 600;
}

.store-link[data-recommended="true"] .recommendation {
  display: block;
}

.coverage-note {
  margin-top: 18px;
  font-size: 13px;
}

.map-context {
  min-width: 0;
}

.map-context__field {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid #173a51;
  background:
    linear-gradient(33deg, transparent 49%, rgba(116, 183, 209, 0.11) 50%, transparent 51%) 0 0 / 88px 88px,
    linear-gradient(-24deg, transparent 49%, rgba(116, 183, 209, 0.08) 50%, transparent 51%) 0 0 / 118px 118px,
    radial-gradient(circle at 62% 43%, rgba(5, 166, 150, 0.2), transparent 30%),
    var(--night);
  box-shadow: 22px 24px 0 rgba(7, 18, 29, 0.08);
}

.map-context__field::before,
.map-context__field::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(145, 203, 226, 0.12);
  transform: rotate(-14deg);
}

.map-context__field::before {
  width: 620px;
  height: 210px;
  left: -190px;
  top: 118px;
}

.map-context__field::after {
  width: 510px;
  height: 180px;
  right: -220px;
  bottom: 54px;
}

.map-ring {
  position: absolute;
  border: 1px solid rgba(5, 166, 150, 0.55);
  border-radius: 50%;
}

.map-ring--one {
  width: 220px;
  height: 220px;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
}

.map-ring--two {
  width: 340px;
  height: 340px;
  top: 80px;
  left: 50%;
  opacity: 0.42;
  transform: translateX(-50%);
}

.map-route {
  position: absolute;
  width: 400px;
  height: 3px;
  top: 235px;
  left: 50%;
  background: linear-gradient(90deg, transparent, var(--live), transparent);
  transform: translateX(-50%) rotate(-21deg);
}

.map-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  top: 230px;
  left: 50%;
  border: 7px solid #fff;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 0 9px rgba(23, 105, 255, 0.2), 0 14px 30px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
}

.map-caption {
  position: absolute;
  inset: auto 34px 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.map-caption span {
  display: block;
  margin-bottom: 10px;
  color: #71e5d8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.map-caption strong {
  display: block;
  margin-bottom: 9px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.map-caption p {
  max-width: 340px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.trust-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(36px, 7vw, 100px);
  padding-top: 46px;
  padding-bottom: 46px;
}

.trust-grid h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.trust-grid p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.emergency-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 26px;
  border-left: 3px solid var(--action);
  line-height: 1.45;
}

.emergency-note span {
  margin-top: 5px;
  color: var(--muted);
}

.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 13px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner a {
  color: #fff;
}

@media (max-width: 860px) {
  .share-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .share-grid {
    gap: 58px;
  }

  .map-context__field {
    min-height: 430px;
  }

  .map-ring--one {
    top: 78px;
  }

  .map-ring--two {
    top: 18px;
  }

  .map-route {
    top: 173px;
  }

  .map-pin {
    top: 168px;
  }

  .emergency-note {
    min-height: 86px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    width: 146px;
  }

  .header-link {
    font-size: 13px;
  }

  .share-hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .open-app {
    width: 100%;
  }

  .store-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .store-link {
    min-width: 0;
  }

  .store-link img {
    width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
  }

  .map-context__field {
    min-height: 390px;
    box-shadow: 10px 12px 0 rgba(7, 18, 29, 0.08);
  }

  .map-caption {
    inset: auto 22px 22px;
  }

  .map-caption strong {
    font-size: 24px;
  }

  .footer-inner {
    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
