:root {
  --bg: #07111f;
  --bg-deep: #040b14;
  --surface: #0c1929;
  --surface-light: #102238;
  --line: rgba(163, 199, 222, 0.14);
  --text: #f3f8fb;
  --muted: #9bb0c3;
  --accent: #2dd4e8;
  --accent-bright: #67e8f9;
  --accent-dark: #0e7490;
  --max-width: 1160px;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(43, 84, 255, 0.2);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  color: #c4d1dd;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.98)),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.025) 80px),
    repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.025) 80px);
}

.hero-glow {
  position: absolute;
  top: -250px;
  left: 55%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.28);
  filter: blur(100px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  padding-block: 100px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent-bright);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: var(--accent);
}

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

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 8vw, 7rem);
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.05em;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 20px;
  color: #dce8f0;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.4;
}

.hero-description {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.45);
  outline-offset: 3px;
}

.button-primary {
  background: var(--accent);
  color: #03232c;
  box-shadow: 0 12px 35px rgba(45, 212, 232, 0.15);
}

.button-primary:hover {
  background: var(--accent-bright);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(103, 232, 249, 0.35);
  background: rgba(45, 212, 232, 0.06);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(16, 34, 56, 0.88), rgba(7, 17, 31, 0.94));
  box-shadow: var(--shadow);
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 25%, rgba(103, 232, 249, 0.045), transparent 70%);
  content: "";
  pointer-events: none;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: #c6d5e0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.panel-code {
  margin-left: auto;
  color: #6f879a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.core-visual {
  position: relative;
  display: grid;
  height: 310px;
  place-items: center;
}

.hero-brand-logo {
  display: block;
  width: min(100%, 390px);
  height: auto;
  filter: drop-shadow(0 18px 35px rgba(32, 67, 255, 0.16));
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.panel-metrics div {
  padding: 18px 13px;
  text-align: center;
}

.panel-metrics div + div {
  border-left: 1px solid var(--line);
}

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

.panel-metrics strong {
  margin-bottom: 3px;
  color: #e8f2f7;
  font-size: 0.82rem;
}

.panel-metrics span {
  color: #738a9e;
  font-size: 0.68rem;
}

.section {
  padding-block: 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -36px;
}

.section-heading h2 {
  max-width: 690px;
  margin-bottom: 0;
}

.section-heading > p:last-child {
  margin-bottom: 3px;
  color: var(--muted);
}

.services {
  background: var(--bg-deep);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--surface);
  transform: translateY(-4px);
}

.service-number {
  display: block;
  margin-bottom: 38px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.14rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.about {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 80px;
}

.about-label {
  position: relative;
}

.large-index {
  position: absolute;
  top: 45px;
  left: -12px;
  width: 260px;
  height: auto;
  opacity: 0.1;
  user-select: none;
  pointer-events: none;
}

.about-content h2 {
  max-width: 720px;
}

.about-content > p {
  max-width: 750px;
  color: #b5c5d2;
  font-size: 1.12rem;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.value-list span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c9d6df;
  font-size: 0.8rem;
  font-weight: 650;
}

.email-policy {
  background: var(--bg-deep);
}

.policy-card {
  display: grid;
  padding: 55px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.12), rgba(12, 25, 41, 0.5));
  grid-template-columns: auto 1fr;
  gap: 35px;
  box-shadow: var(--shadow);
}

.policy-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.25);
  border-radius: 15px;
  background: rgba(45, 212, 232, 0.08);
  color: var(--accent-bright);
}

.policy-content > p:not(.eyebrow) {
  max-width: 900px;
  color: #b8c8d4;
}

.policy-note {
  display: flex;
  gap: 15px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 12, 21, 0.45);
}

.policy-note > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 212, 232, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.policy-note p {
  margin: 0;
  color: #aebfcb;
  font-size: 0.92rem;
}

.contact {
  background:
    radial-gradient(circle at 15% 50%, rgba(14, 116, 144, 0.12), transparent 32%),
    var(--bg);
}

.contact-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
}

.contact-grid > div:first-child > p:last-child {
  max-width: 570px;
  color: var(--muted);
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-card dl {
  margin: 0 0 27px;
}

.contact-card dl > div {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-card dl > div:first-child {
  padding-top: 0;
}

.contact-card dt {
  margin-bottom: 4px;
  color: #71899c;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0;
  color: #d7e3eb;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.contact-card dd a {
  color: var(--accent-bright);
  text-decoration: none;
}

.contact-card dd a:hover {
  text-decoration: underline;
}

.button-wide {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-inner {
  display: grid;
  min-height: 130px;
  align-items: center;
  grid-template-columns: 0.7fr 1fr 1fr;
  gap: 30px;
}

.footer-inner p {
  margin: 0;
  color: #748b9d;
  font-size: 0.79rem;
}

.footer-inner p:last-child {
  text-align: right;
}

.footer-inner p a {
  color: #a6bac9;
  text-decoration: none;
}

.footer-inner p a:hover {
  color: var(--accent-bright);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-panel {
    width: 100%;
    max-width: 590px;
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

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

  .about-grid,
  .contact-grid {
    gap: 45px;
  }

  .large-index {
    top: -75px;
    right: 0;
    left: auto;
    width: 190px;
  }

  .footer-inner {
    padding-block: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #0a1726;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 11px 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 80px 70px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5rem);
  }

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

  .core-visual {
    height: 250px;
  }

  .hero-brand-logo {
    width: min(100%, 330px);
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .panel-metrics div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: 78px;
  }

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

  .service-card {
    min-height: auto;
  }

  .policy-card {
    padding: 28px 22px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .policy-note {
    padding: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
