:root {
  color-scheme: light;
  --color-primary: #11d0ef;
  --color-primary-dark: #08abc7;
  --color-ink: #1b1c20;
  --color-muted: #667085;
  --color-bg: #f7fafc;
  --color-card: #ffffff;
  --color-border: #e6eaf0;
  --color-soft: #eaf9fd;
  --color-icon-soft: #dff8fe;
  --color-input: #ffffff;
  --color-hero-copy: #343741;
  --color-detail: #3c424d;
  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-fade-strong: rgba(247, 250, 252, 0.94);
  --hero-fade-mid: rgba(247, 250, 252, 0.62);
  --hero-fade-soft: rgba(247, 250, 252, 0.05);
  --shadow-card: 0 10px 30px rgba(27, 28, 32, 0.08);
  --shadow-float: 0 20px 60px rgba(27, 28, 32, 0.12);
  --radius-card: 16px;
  --radius-lg: 22px;
  --container: 1180px;
  --header-height: 82px;
  --section-space: clamp(56px, 8vw, 88px);
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-primary: #11d0ef;
  --color-primary-dark: #66e8fb;
  --color-ink: #f4f8fb;
  --color-muted: #aab6c8;
  --color-bg: #070b10;
  --color-card: #101721;
  --color-border: rgba(151, 170, 196, 0.18);
  --color-soft: rgba(17, 208, 239, 0.14);
  --color-icon-soft: rgba(17, 208, 239, 0.17);
  --color-input: #0b111a;
  --color-hero-copy: #d3dbe7;
  --color-detail: #c4cfdd;
  --header-bg: rgba(7, 11, 16, 0.9);
  --hero-fade-strong: rgba(7, 11, 16, 0.96);
  --hero-fade-mid: rgba(7, 11, 16, 0.72);
  --hero-fade-soft: rgba(7, 11, 16, 0.08);
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.32);
  --shadow-float: 0 24px 70px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  padding-block: var(--section-space);
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  border-radius: 999px;
  background: var(--color-ink);
  color: #ffffff;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--color-border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  min-width: 0;
  font-weight: 800;
  color: var(--color-ink);
}

.brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 62px;
  overflow: visible;
  flex: 0 0 auto;
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  margin-top: 0;
  object-fit: contain;
}

.brand-logo-dark {
  display: none;
}

[data-theme="dark"] .site-header .brand-logo-light {
  display: none;
}

[data-theme="dark"] .site-header .brand-logo-dark {
  display: block;
}

.brand-word {
  display: none;
  font-size: clamp(1.05rem, 1.6vw, 1.42rem);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.7vw, 42px);
  margin-left: auto;
}

.nav-dropdown {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 30px 0 28px;
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-link svg {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-link svg,
.nav-dropdown:focus-within .nav-link svg {
  transform: rotate(180deg);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after,
.nav-dropdown:hover .nav-link::after,
.nav-dropdown:focus-within .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 12px);
  left: 50%;
  display: grid;
  min-width: 245px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--color-card) 96%, transparent);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-card);
  color: var(--color-ink);
  box-shadow: 0 10px 22px rgba(27, 28, 32, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(17, 208, 239, 0.56);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .theme-icon-moon,
[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: block;
}

.dropdown-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 16px;
  content: "";
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--color-ink);
  font-size: 0.94rem;
  font-weight: 600;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a.is-active {
  background: var(--color-soft);
  color: var(--color-primary-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-card);
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 208, 239, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
  box-shadow: 0 18px 36px rgba(17, 208, 239, 0.28);
}

.btn-outline {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-card) 80%, transparent);
  color: var(--color-primary-dark);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-card);
  box-shadow: 0 14px 28px rgba(17, 208, 239, 0.12);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.icon-bubble {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--color-icon-soft);
  color: var(--color-primary);
}

.icon-bubble svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

.hero-shell {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 53vw, 610px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 590px;
  padding-top: clamp(58px, 8vw, 104px);
}

.hero-copy h1 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.35rem, 6vw, 4.55rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.hero-copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--color-hero-copy);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-image-wrap {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc((100vw - min(100vw, var(--container))) / -2);
  bottom: 0;
  width: min(58vw, 760px);
  overflow: hidden;
}

.hero-image-wrap::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, var(--color-bg) 0%, var(--hero-fade-strong) 16%, var(--hero-fade-mid) 34%, var(--hero-fade-soft) 58%),
    linear-gradient(180deg, color-mix(in srgb, var(--color-bg) 20%, transparent) 0%, color-mix(in srgb, var(--color-bg) 60%, transparent) 100%);
  content: "";
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(17, 208, 239, 0.16), transparent 32%),
    linear-gradient(145deg, #111216, var(--color-ink));
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(28px, 6vw, 82px);
  padding-block: 38px 30px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-grid p {
  max-width: 310px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.footer-grid a,
.footer-grid span {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #ffffff;
}

.footer-grid svg {
  width: 17px;
  height: 17px;
}

.brand-footer {
  color: #ffffff;
}

.brand-footer .brand-logo-light {
  display: none;
}

.brand-footer .brand-logo-dark {
  display: block;
}

.brand-footer .brand-word {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 14px 18px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.reveal {
  animation: fade-up 650ms ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--color-card) 98%, transparent);
    box-shadow: var(--shadow-float);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .is-menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-link {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link.is-active {
    background: var(--color-soft);
  }

  .nav-dropdown .nav-link svg {
    display: none;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: none;
  }

  .dropdown-menu a {
    min-height: 36px;
    padding: 0 12px;
    color: var(--color-muted);
    font-size: 0.9rem;
  }

  .hero-shell {
    min-height: auto;
    padding-bottom: 34px;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: clamp(42px, 8vw, 70px);
  }

  .hero-image-wrap {
    position: relative;
    right: auto;
    width: 100%;
    height: clamp(260px, 48vw, 420px);
    margin-top: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
  }

  .hero-image-wrap::before {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg) 26%, transparent), color-mix(in srgb, var(--color-bg) 5%, transparent));
  }

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

@media (max-width: 680px) {
  :root {
    --header-height: 74px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    gap: 0;
  }

  .brand-symbol {
    width: 64px;
    height: 54px;
  }

  .brand-symbol img {
    width: 100%;
  }

  .brand-word {
    font-size: 1rem;
    letter-spacing: -0.01em;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-actions {
    width: 100%;
  }

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