﻿/* ===== entry.css ===== */
:root {
  color-scheme: light;
  --brand: #0ac;
  --brand-hover: #0fb7d9;
  --brand-pressed: #0096b4;
  --success: #00cc84;
  --warning: #ffa621;
  --error: #ef5350;
  --ad: #7860be;
  --text: #333842;
  --text-soft: #667085;
  --text-muted: #8c94a6;
  --text-inverted: #fff;
  --bg: #fff;
  --bg-soft: #f6f7f8;
  --bg-muted: #f1f2f4;
  --surface: hsla(0, 0%, 100%, 0.84);
  --surface-strong: #fff;
  --border: #e2e4e9;
  --border-hover: #d9dce2;
  --shadow: 0 24px 70px rgba(51, 56, 66, 0.1);
  --shadow-soft: 0 16px 40px rgba(51, 56, 66, 0.08);
  --ring: 0 0 0 3px rgba(0, 170, 204, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 40px));
  --header-top: max(16px, env(safe-area-inset-top, 0px));
  --header-bar: 68px;
  --header-gap: 12px;
  --header-offset: calc(
    var(--header-top) + var(--header-bar) + var(--header-gap)
  );
  --hero-art-space: 80px;
}
:root.theme-dark {
  color-scheme: dark;
  --text: #fff;
  --text-soft: #c5cad3;
  --text-muted: #8c94a6;
  --bg: #10151b;
  --bg-soft: #151b22;
  --bg-muted: #1d252e;
  --surface: rgba(29, 37, 46, 0.82);
  --surface-strong: #1b232c;
  --border: hsla(0, 0%, 100%, 0.1);
  --border-hover: hsla(0, 0%, 100%, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.22);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 8px);
}
body {
  background:
    radial-gradient(circle at 15% 8%, rgba(0, 170, 204, 0.16), transparent 34%),
    radial-gradient(
      circle at 92% 18%,
      rgba(120, 96, 190, 0.16),
      transparent 30%
    ),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  color: var(--text);
  font-family:
    Roboto,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    sans-serif;
  line-height: 1.5;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
a {
  color: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  box-shadow: var(--ring);
  outline: none;
}
.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: space-between;
  left: 50%;
  margin: 0 auto;
  padding: 12px 14px 14px 18px;
  position: fixed;
  top: var(--header-top);
  transform: translateX(-50%);
  transition: border-radius 0.25s ease;
  width: var(--container);
  z-index: 20;
}
.site-header--open {
  border-radius: 24px;
  flex-wrap: wrap;
}
.logo-link {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: -moz-max-content;
  min-width: max-content;
  text-decoration: none;
}
.logo {
  display: block;
  height: auto;
  width: 105px;
}
.main-nav {
  align-items: center;
  color: var(--text-soft);
  display: flex;
  font-size: 14px;
  gap: 24px;
  justify-content: center;
}
.main-nav a,
.main-nav-trigger {
  color: inherit;
  font: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.main-nav-dropdown {
  align-items: center;
  display: inline-flex;
  position: relative;
}
.main-nav-dropdown:after {
  content: "";
  height: 12px;
  left: -12px;
  position: absolute;
  right: -12px;
  top: 100%;
}
.main-nav-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  padding: 0;
}
.main-nav-trigger svg {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.2s ease;
  width: 14px;
}
.main-nav-trigger-icon-open {
  transform: rotate(180deg);
}
.main-nav-dropdown-menu {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 2px;
  left: 50%;
  min-width: 280px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  visibility: hidden;
  z-index: 30;
}
.main-nav-dropdown-menu a {
  border-radius: 10px;
  padding: 8px 10px;
}
.main-nav-dropdown-menu a:hover {
  background: var(--bg-soft);
}
.main-nav-dropdown-open .main-nav-dropdown-menu,
.main-nav-dropdown:hover .main-nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.main-nav a:hover,
.main-nav-trigger:hover {
  color: var(--brand);
}
.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}
.burger-btn {
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}
.burger-line {
  background: var(--text);
  border-radius: 2px;
  display: block;
  height: 1.5px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  width: 18px;
}
.burger-btn[aria-expanded="true"] .burger-line:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.mobile-nav {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 2px;
  padding-bottom: 4px;
  padding-top: 14px;
  width: 100%;
}
.mobile-nav-link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  min-height: 48px;
  padding: 0 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mobile-nav-link:hover {
  background: var(--bg-soft);
}
.mobile-nav-toggle {
  justify-content: space-between;
  width: 100%;
}
.mobile-nav-toggle svg {
  fill: none;
  flex-shrink: 0;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.2s ease;
  width: 16px;
}
.mobile-nav-toggle-open {
  transform: rotate(180deg);
}
.mobile-nav-section,
.mobile-nav-submenu {
  display: grid;
  gap: 2px;
}
.mobile-nav-submenu {
  border-left: 2px solid var(--border);
  margin-left: 10px;
  padding: 4px 0 4px 14px;
}
.mobile-nav-sub-link {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 400;
  min-height: 42px;
}
.mobile-nav-cta-link {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
  margin-top: 6px;
  min-height: 48px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.mobile-nav-cta-link:hover {
  opacity: 0.9;
}
.btn,
.header-cta,
.theme-toggle {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  text-decoration: none;
}
.theme-toggle {
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  justify-content: center;
  padding: 0;
  width: 44px;
}
.theme-toggle svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}
.header-cta {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  color: #fff;
  display: inline-flex;
  justify-content: center;
  padding: 0 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  margin: 48px auto 32px;
  overflow: hidden;
  padding: 36px 36px 0;
  width: var(--container);
}
.footer-inner {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr;
  padding-bottom: 32px;
}
.footer-brand > a {
  display: inline-block;
  text-decoration: none;
}
.footer-logo {
  display: block;
  height: auto;
  margin-bottom: 12px;
  width: 110px;
}
.footer-tagline {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-social-link {
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-soft);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
  width: 36px;
}
.footer-social-link:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-color: var(--brand);
  color: var(--brand);
}
.footer-social-link svg {
  flex-shrink: 0;
  height: 15px;
  width: 15px;
}
.footer-col-label {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.footer-nav-col {
  display: grid;
  gap: 4px;
}
.footer-nav-col a {
  color: var(--text-soft);
  display: block;
  font-size: 14px;
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-col a:hover {
  color: var(--brand);
}
.footer-contacts-col {
  display: grid;
  gap: 8px;
}
.footer-contacts-col a {
  color: var(--text);
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contacts-col a:hover {
  color: var(--brand);
}
.footer-phone-item {
  display: grid;
  gap: 2px;
}
.footer-phone-note {
  color: var(--text-muted);
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.footer-address {
  font-style: normal;
}
.footer-address-text {
  color: var(--text);
}
.footer-address {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom-text {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media (min-width: 641px) {
  .burger-btn,
  .mobile-nav {
    display: none !important;
  }
}
@media (max-width: 640px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: inline-flex;
  }
}
@media (max-width: 720px) {
  :root {
    --container: min(100vw - 24px, 1180px);
    --mobile-hero-gap: 36px;
  }
  .site-header {
    align-items: center;
    border-radius: 24px;
    gap: 12px;
    padding: 10px 12px 10px 16px;
  }
  .logo-link span {
    display: none;
  }
  .theme-toggle {
    padding: 0;
    width: 44px;
  }
  .site-footer {
    border-radius: 24px;
    padding: 24px 24px 0;
  }
  .footer-inner {
    gap: 20px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 810px) {
  .header-cta {
    display: none;
  }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.main-nav a.active {
  color: var(--brand);
  font-weight: 600;
}
.section {
  margin: 0 auto;
  padding: 36px 0;
  width: var(--container);
}
.eyebrow,
p.eyebrow {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.eyebrow--kicker {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
}
.heading-1,
.heading-2,
.heading-3,
.text-body {
  margin-top: 0;
}
.heading-1 {
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 1.04;
  margin-bottom: 24px;
  max-width: 820px;
}
.heading-2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.heading-3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 10px;
}
.text-body {
  color: var(--text-soft);
  font-size: 16px;
}
@media (min-width: 721px) {
  .heading-1 {
    font-size: 50px;
  }
  .heading-2 {
    font-size: 35px;
  }
}
@media (min-width: 961px) {
  .heading-1 {
    font-size: 67px;
  }
  .heading-2 {
    font-size: 46px;
  }
}
@media (min-width: 1081px) {
  .heading-1 {
    font-size: 82px;
  }
  .heading-2 {
    font-size: 56px;
  }
}
.hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  min-height: auto;
  padding-bottom: 48px;
  padding-top: 88px;
}
.btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  padding: 0 22px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  width: -moz-fit-content;
  width: fit-content;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  box-shadow: 0 16px 34px rgba(0, 170, 204, 0.24);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-hover), var(--brand-pressed));
}
.btn-secondary {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
}
.insights-visual {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.insights-visual img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}
.insights-visual:after {
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.45);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.theme-dark .insights-visual:after {
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.08);
}
