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

:root {
  --bg-dark: #050816;
  --bg-light: #0b1020;
  --accent: #3fb7ff;
  --accent-soft: rgba(63, 183, 255, 0.1);
  --text-main: #f5f7fb;
  --text-muted: #a5adc4;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
  --max-width: 1120px;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111936 0, #050816 55%);
  color: var(--text-main);
  line-height: 1.6;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
      to bottom,
      rgba(5, 8, 22, 0.9),
      rgba(5, 8, 22, 0.82),
      transparent
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: conic-gradient(
    from 200deg,
    #3fb7ff,
    #6fffd3,
    #3f6bff,
    #3fb7ff
  );
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(63, 183, 255, 0.65),
    0 12px 28px rgba(0, 0, 0, 0.7);
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 0, #1b243f, #050816);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #e9f5ff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 15px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

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

.nav a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast),
    transform var(--transition-fast);
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.nav a.nav-cta {
  color: #050816;
  background: linear-gradient(135deg, #3fb7ff, #6fffd3);
  font-weight: 600;
  padding: 7px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.nav-toggle {
  display: none;
}

.main {
  flex: 1;
}

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 12px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(14, 24, 52, 0.9);
  border: 1px solid rgba(120, 187, 255, 0.35);
  color: var(--text-muted);
}

.hero-kicker span {
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(63, 183, 255, 0.16);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(30px, 3.1vw, 38px);
  line-height: 1.1;
  margin: 16px 0 10px;
}

.hero-highlight {
  background: linear-gradient(120deg, #3fb7ff, #6fffd3);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #3fb7ff, #6fffd3);
  color: #050816;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.8);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 8, 22, 0.85);
  color: var(--text-main);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #50e0b8;
  box-shadow: 0 0 0 4px rgba(80, 224, 184, 0.16);
}

.hero-panel {
  border-radius: 22px;
  background: radial-gradient(circle at top left, #273055, #050816);
  border: 1px solid rgba(108, 171, 255, 0.3);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-chip {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(6, 21, 46, 0.9);
  border: 1px solid rgba(120, 187, 255, 0.3);
}

.hero-orbit {
  position: relative;
  border-radius: 999px;
  border: 1px dashed rgba(114, 179, 255, 0.45);
  padding: 16px 14px;
  display: grid;
  gap: 10px;
}

.hero-orbit-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hero-orbit-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 23, 58, 0.9);
  border: 1px solid rgba(117, 193, 255, 0.35);
  color: var(--text-muted);
}

.hero-orbit-core {
  font-size: 11px;
  padding: 9px 10px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at top, #3fb7ff, #3f6bff);
  color: #050816;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-panel-footer {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hero-signal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-signal-bars {
  display: inline-flex;
  gap: 3px;
}

.hero-signal-bars span {
  width: 2px;
  border-radius: 999px;
  background: rgba(120, 187, 255, 0.45);
}

.hero-signal-bars span:nth-child(1) {
  height: 7px;
}
.hero-signal-bars span:nth-child(2) {
  height: 10px;
}
.hero-signal-bars span:nth-child(3) {
  height: 13px;
  background: #6fffd3;
}

/* Generic sections */

.section {
  margin-top: 38px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: 20px;
}

.section-lead {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 460px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  padding: 16px 15px;
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 35, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.card-accent {
  border-color: rgba(111, 255, 211, 0.35);
}

.card-title {
  font-size: 15px;
  margin-bottom: 6px;
}

.card-body {
  font-size: 13px;
  color: var(--text-muted);
}

.card-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.list {
  font-size: 13px;
  color: var(--text-muted);
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding-left: 16px;
}

.list li {
  margin-left: 4px;
}

/* Page titles */

.page-compact-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.page-intro {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 620px;
}

.page-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 26px;
}

.page-block {
  margin-top: 22px;
}

.page-block h2 {
  font-size: 16px;
  margin-bottom: 4px;
}

.page-block p {
  font-size: 13px;
  color: var(--text-muted);
}

.page-block ul {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  display: grid;
  gap: 5px;
  margin-top: 4px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 24px;
  margin-top: 24px;
}

.contact-card {
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  background: rgba(7, 12, 35, 0.98);
  border: 1px solid rgba(111, 255, 211, 0.35);
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-fields {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  gap: 4px;
}

.field label {
  font-size: 12px;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 7, 28, 0.96);
  color: var(--text-main);
  font-size: 13px;
  padding: 8px 9px;
  outline: none;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(63, 183, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(63, 183, 255, 0.7);
}

.contact-aside {
  padding: 16px 15px;
  border-radius: var(--radius-lg);
  background: rgba(6, 16, 45, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-muted);
  display: grid;
  gap: 10px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 12px;
  background: radial-gradient(circle at bottom, #111936, #050816);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Responsive */

@media (max-width: 880px) {
  .hero,
  .page-two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    margin-top: 22px;
  }

  .hero-panel {
    order: -1;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 16px;
  }

  .nav {
    position: fixed;
    inset: 54px 0 auto 0;
    background: rgba(5, 8, 22, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 16px 12px;
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(5, 8, 22, 0.9);
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 15px;
    height: 1.6px;
    border-radius: 999px;
    background: #e9f5ff;
    position: relative;
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 15px;
    height: 1.6px;
    border-radius: 999px;
    background: #e9f5ff;
  }

  .nav-toggle span::before {
    top: -4px;
  }

  .nav-toggle span::after {
    top: 4px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .page-wrapper {
    padding-inline: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .card {
    padding: 14px 13px;
  }
}


/* --- Overrides for Grid Outlook branding & header image --- */

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.hero {
  position: relative;
  padding: 26px 24px;
  border-radius: 22px;
  background-image: url('header-grid-na.png');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(5, 15, 35, 0.4), rgba(5, 8, 22, 0.94));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  background: rgba(5, 10, 28, 0.9);
  border-color: rgba(108, 171, 255, 0.4);
}


/* --- Grid Outlook full logo header override --- */

.brand-full {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-logo-full {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .brand-logo-full {
    height: 36px;
  }
}
