:root {
  --ink: #0b1424;
  --ink-2: #13213a;
  --text: #1c2638;
  --muted: #4f5b70;
  --line: #dfe4ec;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --accent: #2f6bff;
  --accent-dark: #1f50d6;
  --teal: #19c3b0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 20, 36, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

a { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, iframe:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.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;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 36, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }

.brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1.55rem;
  color: #fff; text-decoration: none; letter-spacing: -.02em;
}
.brand span { color: var(--teal); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .4rem; }
.site-nav a {
  display: inline-block; padding: .55rem .9rem; border-radius: 999px;
  color: #d5deeb; text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: background .2s, color .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav .nav-cta { background: var(--accent); color: #fff; }
.site-nav .nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: #fff;
  border-radius: 2px; transform: translateX(-50%); transition: transform .25s, opacity .25s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; transform: none; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #d5deeb;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(47, 107, 255, .35), transparent 60%),
    radial-gradient(700px 420px at 5% 100%, rgba(25, 195, 176, .22), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .accent {
  background: linear-gradient(90deg, #6f9bff, var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.18rem; max-width: 36em; color: #c3cee0; }

.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent-dark); margin-bottom: .8rem;
}
.hero .eyebrow { color: var(--teal); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.hero-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.hero-card-bar { display: flex; gap: .45rem; padding: .85rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.hero-card-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; }
.hero-card-bar span:nth-child(2) { background: #ffc94d; }
.hero-card-bar span:nth-child(3) { background: #3ddc84; }
.facts { margin: 0; padding: 1.3rem 1.4rem 1.5rem; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .95rem; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .8rem; padding: .45rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--teal); }
.facts dt::after { content: ":"; }
.facts dd { margin: 0; color: #fff; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head p:last-child { color: var(--muted); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.card {
  grid-column: span 2;
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card::before {
  content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--teal));
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c9d3e3; }
.card-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 12px; background: #eaf0ff; color: var(--accent-dark);
  font-family: var(--font-head); font-weight: 700;
}
.card p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.about-text p { max-width: 38em; }
.about-facts {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .6rem 1.5rem; box-shadow: var(--shadow);
}
.about-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.about-facts div:last-child { border-bottom: 0; }
.about-facts dt { color: var(--muted); }
.about-facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: stretch; }
.contact-card {
  font-style: normal; background: var(--bg-alt); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin: .4rem 0 1.5rem; line-height: 1.75;
}
.contact-label {
  display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 600; margin-bottom: .3rem;
}
.map { min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #b4c0d3; padding: 3rem 0 2rem; font-size: .95rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 1.5rem; }
.footer-top p { margin: 0; }
.legal { font-size: .88rem; color: #9aa8bf; }
.copy { margin: 0; font-size: .88rem; color: #9aa8bf; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about, .contact { grid-template-columns: 1fr; }
  .hero-inner { gap: 2.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .8rem 1.25rem 1.2rem; gap: .3rem; }
  .site-nav a { display: block; padding: .8rem 1rem; border-radius: 10px; }
  .site-nav .nav-cta { text-align: center; margin-top: .3rem; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: span 1; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .about-facts div { flex-direction: column; gap: .15rem; }
  .about-facts dd { text-align: left; }
  .map, .map iframe { min-height: 300px; }
}
