:root {
  color-scheme: light;
  --navy: #07304a;
  --navy-2: #0d4664;
  --teal: #00a99d;
  --teal-dark: #087b76;
  --orange: #f28c28;
  --ink: #102331;
  --muted: #627487;
  --line: #d9e6ec;
  --soft: #eef7f8;
  --white: #ffffff;
  --warning: #a66a00;
  --warning-bg: #fff6db;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f6fbfc;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

code {
  padding: 2px 5px;
  color: var(--navy);
  background: #eef7f8;
  border: 1px solid #d5e8ed;
  border-radius: 5px;
  font-size: 0.92em;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.2fr) minmax(120px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 46px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 10px 30px rgba(7, 48, 74, 0.16);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  text-decoration: none;
}

.logo-wrap {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.logo-wrap img {
  max-width: 34px;
  max-height: 34px;
}

.brand-word {
  font-size: 20px;
  line-height: 1;
}

.brand-gis {
  color: #42d7d1;
}

.brand-it {
  color: var(--orange);
}

.brand-tools {
  color: #f3fbff;
}

.header-title {
  text-align: center;
}

.header-title strong,
.header-title span {
  display: block;
}

.header-title strong {
  font-size: 20px;
}

.header-title span {
  margin-top: 2px;
  color: #bfeeee;
  font-size: 13px;
}

.tools-menu {
  position: relative;
  justify-self: end;
}

.tools-button,
.button,
.copy-chrome-url {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.tools-button {
  color: var(--navy);
  background: var(--white);
}

.tools-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  width: min(320px, calc(100vw - 32px));
  max-height: 70vh;
  overflow: auto;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 48, 74, 0.2);
}

.tools-dropdown.open {
  display: grid;
}

.tools-dropdown a {
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.tools-dropdown a:hover,
.tools-dropdown a:focus {
  background: var(--soft);
}

.section {
  padding: 48px 0;
}

.section.compact {
  padding: 38px 0;
}

.hero {
  padding: 70px 24px 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 380px;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
}

h2 {
  color: var(--navy);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.14;
}

h3 {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 16px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(90deg, #ff7a00, #00a99d, #006dff, #ff2d75, #ff7a00);
  background-size: 320% 100%;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.16), 0 18px 42px rgba(0, 109, 255, 0.28);
  animation: geopeekCtaPulse 1.05s ease-in-out infinite, geopeekCtaShift 3.2s linear infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

.button.secondary,
.button.quiet {
  color: var(--navy);
  background: var(--white);
  border-color: #b7ced8;
}

.button.quiet {
  background: #f8fcfd;
}

.button:hover,
.copy-chrome-url:hover,
.screenshot-thumb:hover {
  filter: brightness(0.97);
}

@keyframes geopeekCtaPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.16), 0 18px 42px rgba(0, 109, 255, 0.28);
  }

  50% {
    transform: translateY(-1px) scale(1.045);
    box-shadow: 0 0 0 7px rgba(0, 169, 157, 0.22), 0 24px 54px rgba(255, 45, 117, 0.34);
  }
}

@keyframes geopeekCtaShift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 320% 50%;
  }
}

.small-note {
  margin-top: 12px;
  font-size: 13px;
}

.hero-panel,
.info-card,
.warning-box,
.privacy-card,
.download-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(7, 48, 74, 0.12);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--navy);
  font-size: 25px;
}

.hero-preview-media {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #f3f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-preview-media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.quick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-stats span,
.use-list span {
  padding: 9px 10px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid #c7e3e7;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.split p {
  margin-top: 12px;
}

.info-card {
  padding: 22px;
}

.info-card strong {
  color: var(--navy);
  font-size: 20px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

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

.feature-card {
  min-height: 168px;
  padding: 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card span {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 30px;
  margin-bottom: 12px;
  padding: 0 8px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.feature-card p {
  margin-top: 8px;
  font-size: 14px;
}

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

.installation-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 154px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.steps a {
  color: var(--teal-dark);
  font-weight: 800;
}

.copy-chrome-url {
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  padding: 7px 9px;
  color: var(--navy);
  background: #f8fcfd;
  border-color: #b7ced8;
  font-size: 12px;
}

.copy-status {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.warning-box {
  margin-top: 16px;
  padding: 14px 16px;
  color: var(--warning);
  background: var(--warning-bg);
  border-color: #f3d58a;
  line-height: 1.55;
}

.screenshot-card {
  display: grid;
  gap: 10px;
  margin: 0;
  overflow: hidden;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-label {
  justify-self: start;
  padding: 5px 8px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.screenshot-thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #eef7f8;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: zoom-in;
}

.screenshot-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  background: #eef7f8;
}

.screenshot-card p {
  font-size: 14px;
}

.screenshot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.screenshot-actions .button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 13px;
}

.screenshot-actions a {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 28, 43, 0.86);
}

.image-modal[hidden] {
  display: none;
}

.modal-frame {
  display: grid;
  gap: 12px;
  width: min(1100px, 92vw);
  max-height: 92vh;
  margin: 0;
  padding: 16px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.modal-frame img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 6px;
  background: #f3f9fa;
}

.modal-frame figcaption {
  color: var(--navy);
  font-weight: 900;
}

.modal-frame a {
  justify-self: start;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: none;
}

.modal-close {
  position: fixed;
  top: 16px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.privacy-section {
  padding-top: 38px;
}

.privacy-card,
.download-card {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
}

.privacy-card {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  border: 0;
}

.privacy-card h2,
.privacy-card p {
  color: var(--white);
}

.privacy-card p,
.download-card p {
  margin-top: 10px;
}

.back-top {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.faq .container {
  display: grid;
  gap: 10px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 15px 18px;
  color: var(--navy);
  font-weight: 850;
}

details p {
  padding: 0 18px 16px;
}

.download-section {
  padding-top: 34px;
}

.download-card {
  background: linear-gradient(135deg, #ffffff, #edf9fa);
}

.download-card .button {
  flex: 0 0 auto;
}

.site-footer {
  padding: 24px clamp(18px, 4vw, 46px);
  color: #d6edf1;
  text-align: center;
  background: var(--navy);
}

.site-footer p {
  color: #d6edf1;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-title {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  html {
    scroll-padding-top: 0;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .tools-menu {
    justify-self: stretch;
  }

  .tools-button {
    width: 100%;
  }

  .tools-dropdown {
    right: auto;
    left: 0;
    width: 100%;
  }

  .container {
    width: min(100% - 36px, 1180px);
  }

  .hero {
    padding: 44px 18px 32px;
  }

  .section,
  .section.compact {
    padding: 34px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-grid,
  .screenshot-grid,
  .steps,
  .quick-stats {
    grid-template-columns: 1fr;
  }

  .privacy-card,
  .download-card {
    display: grid;
    padding: 22px;
  }

  .image-modal {
    padding: 14px;
  }

  .modal-frame {
    width: min(100%, 92vw);
    padding: 10px;
  }

  .modal-frame img {
    max-height: 70vh;
  }

  .download-card .button {
    width: 100%;
  }
}
