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

:root {
  --sg-bg: #05070a;
  --sg-bg-alt: #0b1016;
  --sg-surface: #121822;
  --sg-border-subtle: #202838;
  --sg-accent: #3fe0a8;
  --sg-accent-soft: rgba(63, 224, 168, 0.1);
  --sg-text: #f5f7fb;
  --sg-text-muted: #a5afc4;
  --sg-radius-lg: 18px;
  --sg-radius-xl: 28px;
  --sg-shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.45);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #0a0a0a 0, #0a0a0a 50%, #0a0a0a 100%);
  color: var(--sg-text);
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

.sg-container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.sg-section {
  padding: 4.5rem 0;
}

.sg-section-alt {
  background: linear-gradient(to bottom, #0a0a0a 0, #0a0a0a 100%);
}

.sg-grid {
  display: grid;
  gap: 1.75rem;
}

.sg-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.sg-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Header & Nav */

.sg-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 10, 0.96),
    rgba(5, 7, 10, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.sg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.75rem 0;
}

.sg-logo-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sg-logo-img {
  height: 90px;
  width: auto;
  display: block;
}

.sg-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sg-brand-glow {
  color: var(--sg-text);   /* keeps it silver/white */
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35),
               0 0 18px rgba(255, 255, 255, 0.20);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sg-logo-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sg-logo-tagline {
  font-size: 1rem;
  color: var(--sg-text-muted);
}

/* Nav */

.sg-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.sg-nav a {
  text-decoration: none;
  color: var(--sg-text-muted);
  font-size: 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.sg-nav a:hover {
  color: var(--sg-text);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 20, 0.9);
  transform: translateY(-1px);
}

.sg-nav-active {
  color: var(--sg-accent) !important;
  border-color: rgba(63, 224, 168, 0.35) !important;
  background: rgba(63, 224, 168, 0.06) !important;
}

/* Hero */

.sg-hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: transparent !important;
}

.sg-hero-logo-img {
  height: 500px;
  width: auto;
  opacity: 1;
  filter: none
}

.sg-status-wordmark {
  display: block;
  width: min(100%, 432px);
  height: auto;
}

.sg-feature-image {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 2rem auto;
  border-radius: 1rem;
}

.sg-hero {
  padding: 5rem 0 4rem;
}

.sg-hero-compact {
  padding-top: 4rem;
}
.sg-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.8fr);
  gap: 2.5rem;
  align-items: center;
  background: transparent !important;
}

.sg-status-hero-inner {
  grid-template-columns: minmax(0, 1fr);
}

.sg-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.sg-hero-text p {
  font-size: 1.3rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  color: var(--sg-text-muted);
  max-width: 34rem;
}

.sg-hero-status {
  margin-top: 1rem;
}

.sg-hero-status h2 {
  margin: 0 0 0.85rem;
  font-size: 1.5rem;
}

.sg-wordmark-heading {
  line-height: 0;
}

.sg-hero-status p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--sg-text-muted);
  max-width: 42rem;
}

.sg-hero-status .sg-list {
  margin-bottom: 1rem;
}

.sg-status-summary {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  max-width: 42rem !important;
}

.sg-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--sg-accent);
  margin-bottom: 0.5rem;
}

.sg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Cards & Surfaces */

.sg-hero-card {
  background: radial-gradient(circle at top left, #0a0a0a 0, #0a0a0a 50%, #0a0a0a 100%);
  border-radius: var(--sg-radius-xl);
  padding: 1.75rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--sg-shadow-soft);
}

.sg-hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.sg-hero-card p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  color: var(--sg-text-muted);
}

.sg-hero-card-center {
  text-align: center;
}

.sg-card {
  background: rgba (255, 255, 255, 0.03);
  border-radius: var(--sg-radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.sg-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.5rem;
}

.sg-card p {
  margin: 0;
  color: var(--sg-text-muted);
}

.sg-mini-card {
  background: #0b1018;
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sg-mini-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.sg-mini-card p {
  margin: 0;
  font-size: 1.25rem;
  color: var(--sg-text-muted);
}

/* Buttons */

.sg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  border: 1px solid transparent;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.sg-button + .sg-button {
  margin-left: 16px;
}

.sg-button-primary {
  background: linear-gradient(135deg, #45f0b5, #00a777);
  color: #020305;
  box-shadow: 0 16px 38px rgba(63, 224, 168, 0.42);
}

.sg-button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(63, 224, 168, 0.6);
}

.sg-button-ghost {
  background: transparent;
  color: var(--sg-text);
  border-color: rgba(255, 255, 255, 0.18);
}

.sg-button-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sg-button-outline {
  background: transparent;
  color: var(--sg-accent);
  border-color: rgba(63, 224, 168, 0.7);
}

.sg-button-outline:hover {
  background: rgba(63, 224, 168, 0.12);
}

/* Lists */

.sg-pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.sg-pill-list li {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(4, 10, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--sg-text-muted);
}

.sg-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--sg-text-muted);
}

.sg-list li + li {
  margin-top: 0.4rem;
}

.sg-neon-link,
.sg-neon-link:visited {
  color: #39ff14;
  text-shadow:
    0 0 5px rgba(57, 255, 20, 0.65),
    0 0 12px rgba(57, 255, 20, 0.35);
}

.sg-neon-link:hover {
  color: #7dff66;
  text-shadow:
    0 0 7px rgba(125, 255, 102, 0.8),
    0 0 16px rgba(125, 255, 102, 0.5);
}

/* Manifesto Page */

.manifesto-page {
    padding-top: 60px;
    padding-bottom: 100px;
}

.manifesto-container {
    max-width: 900px;
    margin: 0 auto;
}

.sg-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #ddd;
}

.manifesto-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.manifesto-list li {
    margin-bottom: 40px;
}

.manifesto-list h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.manifesto-list p {
    font-size: 1.55rem;
    line-height: 1.6;
    color: #ddd;
}

/* Signature */

.manifesto-signature {
    margin-top: 80px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 14px rgba(0,255,180,0.6);
}

.manifesto-signature span {
    color: #00ffcc;
    text-shadow: 0 0 18px rgba(0,255,180,0.9);
    font-size: 2.1rem;
}


/* HexLocT Logo */

.hexloct-logo-img {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 0.9rem;
}

.hexloct-caption,
.hexloct-note {
  font-size: 1.15rem;
  color: var(--sg-text-muted);
  margin-top: 0.4rem;
  text-align: center;
}

/* Main page wrapper used on Overview + Design pages */
.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Generic content sections */
.content-section {
  max-width: 900px;
}

.hexloct-heading {
  color: #3df0a8; /* Intelligent Systems green */
  text-shadow:
    0 0 6px rgba(61, 240, 168, 0.7),
    0 0 14px rgba(61, 240, 168, 0.5),
    0 0 24px rgba(61, 240, 168, 0.35);
}

.content-section h1,
.content-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.content-section h1 {
  font-size: 2.5rem;
}

.content-section h2 {
  font-size: 2.5rem;
}

.content-section p,
.content-section li {
  font-size: 1.12rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

.content-section ul {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.content-section li {
  margin-bottom: 6px;
}


/* Footer */
.sg-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 0 1.4rem;
  background: #0a0a0a !important;
}

.sg-footer-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--sg-text-muted);
}

.sg-footer-mark {
  height: 60px;           /* if you liked 100px, set this to 60–80 instead */
  width: auto;
  opacity: 0.45;          /* nice and subtle */
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.15));
}

.sg-footer-copy {
  opacity: 0.4;
}

.sg-footer-inner a:hover {
  text-decoration: underline;
}


/* Responsive */

@media (max-width: 768px) {
  .sg-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .sg-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .sg-hero-inner,
  .sg-approach {
    grid-template-columns: minmax(0, 1fr);
  }

  .sg-hero-card {
    order: -1;
  }

  .sg-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
