:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.78);
  --bg-muted: #f5f5f7;
  --surface: #ffffff;
  --surface-subtle: rgba(255, 255, 255, 0.64);
  --text: #1d1d1f;
  --text-secondary: #5f6368;
  --text-tertiary: #86868b;
  --accent: #0071e3;
  --accent-strong: #0056b3;
  --green: #34c759;
  --orange: #ff9f0a;
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-glass: 0 12px 38px rgba(0, 0, 0, 0.1);
  --max-w: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-elevated: rgba(28, 28, 30, 0.76);
  --bg-muted: #101012;
  --surface: #1c1c1e;
  --surface-subtle: rgba(44, 44, 46, 0.72);
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #7d7d83;
  --accent: #0a84ff;
  --accent-strong: #409cff;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.46);
  --shadow-glass: 0 16px 44px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.47059;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

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

p {
  color: var(--text-secondary);
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  line-height: 0.96;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.35rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.18;
  font-weight: 650;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 12px max(18px, env(safe-area-inset-left)) 0;
  pointer-events: none;
}

.nav-inner {
  width: min(var(--max-w), calc(100vw - 32px));
  min-height: 58px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  backdrop-filter: saturate(180%) blur(26px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 650;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #007aff, #34c759);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 520;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--surface-subtle);
  color: var(--text);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle span,
.menu-toggle span {
  position: absolute;
  display: block;
}

.theme-sun {
  top: 11px;
  left: 11px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.theme-moon {
  top: 9px;
  left: 10px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  box-shadow: 6px 0 0 currentColor;
  opacity: 0;
}

[data-theme="dark"] .theme-sun {
  opacity: 0;
}

[data-theme="dark"] .theme-moon {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  left: 11px;
  width: 14px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  top: 14px;
}

.menu-toggle span:last-child {
  top: 21px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.88rem;
  font-weight: 650;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--accent-strong);
}

.hero {
  width: min(var(--max-w), calc(100vw - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 152px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.76fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

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

.hero-copy p {
  max-width: 650px;
  margin-top: 28px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.36;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-secondary {
  background: var(--surface-subtle);
  color: var(--accent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.product-preview {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 38px;
  background:
    linear-gradient(180deg, var(--surface-subtle), var(--surface)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 650;
}

.preview-toolbar strong {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.13);
  color: var(--green);
  font-size: 0.78rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-panel,
.activity-panel,
.map-panel {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-muted);
}

.metric-panel span,
.metric-panel small,
.activity-row small {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.8rem;
}

.metric-panel strong {
  display: block;
  margin: 8px 0 2px;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.activity-panel {
  grid-column: span 2;
  display: grid;
  gap: 10px;
  background: var(--surface);
}

.activity-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg-muted);
}

.activity-row strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
}

.status-warning {
  background: var(--orange);
}

.status-blue {
  background: var(--accent);
}

.map-panel {
  grid-column: span 2;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 31px, var(--border) 32px),
    linear-gradient(0deg, transparent 31px, var(--border) 32px),
    var(--bg-muted);
  background-size: 32px 32px;
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(0, 122, 255, 0.24);
  border-radius: 38% 62% 55% 45%;
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid white;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.28);
}

.pin-one {
  top: 62px;
  left: 26%;
}

.pin-two {
  top: 128px;
  right: 26%;
}

.pin-three {
  right: 42%;
  bottom: 42px;
  background: var(--green);
}

.section,
.contact-section {
  width: min(var(--max-w), calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 132px) 0;
}

.section-tight {
  padding-top: 28px;
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max-w)) / 2));
  background: var(--bg-muted);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 46px;
}

.section-heading p,
.split-copy p {
  margin-top: 18px;
  max-width: 660px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.solution-list {
  border-top: 1px solid var(--border);
}

.solution-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.solution-row p {
  max-width: 720px;
  margin-top: 6px;
}

.solution-row a {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 650;
}

.row-number {
  color: var(--text-tertiary);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}

.product-grid article {
  min-height: 245px;
  padding: 30px;
  background: var(--surface);
}

.product-grid p {
  margin-top: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: clamp(34px, 8vw, 94px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.timeline-step span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}

.assurance-grid div {
  min-height: 210px;
  padding: 26px;
  background: var(--surface);
}

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

.assurance-grid strong {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.assurance-grid span {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

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

.resource-columns a {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease;
}

.resource-columns a:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.resource-columns span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 750;
}

.resource-columns strong {
  font-size: 1.22rem;
  line-height: 1.22;
}

.service-band {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 42px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.service-band p {
  margin-top: 18px;
  max-width: 630px;
  font-size: 1.15rem;
}

.service-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-band li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.service-band li:last-child {
  border-bottom: 0;
}

.contact-section {
  padding-top: 36px;
}

.contact-card {
  padding: clamp(34px, 7vw, 74px);
  border-radius: 36px;
  background: linear-gradient(135deg, var(--text), #2d2d32);
  color: var(--bg);
}

.contact-card h2 {
  color: inherit;
}

.contact-card p {
  max-width: 620px;
  margin-top: 18px;
  color: color-mix(in srgb, var(--bg) 76%, transparent);
  font-size: 1.2rem;
}

.contact-card .btn-secondary {
  border-color: color-mix(in srgb, var(--bg) 28%, transparent);
  background: color-mix(in srgb, var(--bg) 12%, transparent);
  color: var(--bg);
}

.footer {
  padding: 54px 20px 34px;
  border-top: 1px solid var(--border);
  background: var(--bg-muted);
}

.footer-inner {
  width: min(var(--max-w), 100%);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-top p {
  max-width: 410px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 0;
}

.footer-links h3 {
  margin-bottom: 12px;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent);
}

.legal-page {
  width: min(820px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 150px 0 90px;
}

.legal-page h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.legal-page section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.legal-page h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-page a {
  color: var(--accent);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
  font-weight: 650;
}

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

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 84px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-glass);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
    backdrop-filter: saturate(180%) blur(26px);
  }

  .menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .menu-toggle {
    display: inline-block;
  }

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

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .product-preview {
    max-width: 620px;
  }

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

  .assurance-grid div {
    min-height: 180px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav {
    padding-top: 8px;
  }

  .nav-inner {
    width: calc(100vw - 20px);
    border-radius: 24px;
  }

  .nav-cta {
    display: none;
  }

  .brand span:last-child {
    max-width: 106px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero,
  .section,
  .contact-section {
    width: min(100% - 28px, var(--max-w));
  }

  .hero {
    padding: 116px 0 58px;
  }

  .hero-copy p {
    margin-top: 20px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .preview-grid,
  .product-grid,
  .assurance-grid,
  .resource-columns,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .metric-panel,
  .activity-panel,
  .map-panel {
    grid-column: auto;
  }

  .map-panel {
    min-height: 170px;
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .solution-row a {
    width: fit-content;
  }

  .muted-section {
    padding-inline: 14px;
  }

  .product-grid article,
  .assurance-grid div,
  .resource-columns a,
  .timeline-step {
    min-height: auto;
    padding: 22px;
  }

  .service-band {
    padding: 24px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
}
