@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --ohs-bg: #07111d;
  --ohs-bg-soft: #0c1726;
  --ohs-panel: rgba(12, 23, 38, 0.90);
  --ohs-panel-2: rgba(255, 255, 255, 0.03);

  --ohs-border: rgba(255, 192, 0, 0.24);
  --ohs-border-soft: rgba(255, 255, 255, 0.10);

  --ohs-text: #eaf2fb;
  --ohs-text-soft: rgba(234, 242, 251, 0.82);
  --ohs-text-faint: rgba(180, 198, 219, 0.78);

  --ohs-accent-blue: #0a70c4;
  --ohs-accent-yellow: #ffc000;
  --ohs-accent-blue-soft: rgba(10, 112, 196, 0.22);
  --ohs-accent-yellow-soft: rgba(255, 192, 0, 0.18);

  --ohs-dark: #061014;
  --ohs-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --ohs-radius-xl: 1.5rem;
  --ohs-radius-lg: 1rem;
  --ohs-max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--ohs-bg);
  color: var(--ohs-text);
}

/* Hide Material chrome so the homepage feels like a standalone landing page */
.md-header,
.md-tabs,
.md-sidebar,
.md-footer,
.md-footer-meta {
  display: none !important;
}

.md-main__inner {
  margin: 0 !important;
}

.md-main__inner.md-grid,
.md-grid {
  max-width: none !important;
}

.md-content {
  max-width: none !important;
}

.md-content__inner {
  margin: 0 !important;
  padding: 0 !important;
}

.md-content__inner::before {
  display: none !important;
}

.md-typeset {
  color: var(--ohs-text);
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset p {
  color: inherit;
}

.ohs-shell {
  width: min(var(--ohs-max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.ohs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--ohs-border-soft);
  background: rgba(7, 17, 29, 0.78);
  backdrop-filter: blur(16px);
}

.ohs-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.ohs-brand {
  text-decoration: none;
  color: #ffffff !important; /* openhdemg → white */
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ohs-brand span {
  color: var(--ohs-accent-yellow); /* software → yellow */
}

.ohs-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.ohs-nav a {
  text-decoration: none;
  color: var(--ohs-text-faint) !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.ohs-nav a:hover {
  color: #ffffff !important;
}

.ohs-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--ohs-border-soft);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.ohs-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  border-radius: 999px;
}

.ohs-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.ohs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(10, 112, 196, 0.22), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(255, 192, 0, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.ohs-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.ohs-chip {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(255, 192, 0, 0.35);
  border-radius: 999px;
  background: rgba(255, 192, 0, 0.08);
  color: #ffe08a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ohs-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.ohs-kicker {
  display: inline-block;
  font-size: 0.71em;
  line-height: 1.05;
}

.ohs-gradient {
  background: linear-gradient(90deg, #d7e9ff 0%, #0a70c4 45%, #ffc000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ohs-lead {
  max-width: 42rem;
  margin: 1.45rem 0 0;
  font-size: 1.14rem;
  line-height: 1.72;
  color: var(--ohs-text-soft);
}

.ohs-meta {
  margin-top: 1rem;
  color: var(--ohs-text-faint);
  font-size: 0.95rem;
}

.ohs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

#get .ohs-actions {
  margin-bottom: 5rem;
}

.ohs-actions-centre {
  justify-content: center;
}

.ohs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.25rem;
  border-radius: 1rem;
  text-decoration: none !important;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease,
    box-shadow 0.18s ease;
}

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

.ohs-button-primary {
  border: 6px solid #ffc000;
  background: linear-gradient(180deg, #f1f1f1 0%, #dddddd 100%);
  color: #0a70c4 !important;
  font-weight: 800;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 192, 0, 0.08);
}

.ohs-button-secondary {
  border: 4px solid rgba(255, 192, 0, 0.70);
  background: rgba(255, 255, 255, 0.03);
  color: #eaf2fb !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.ohs-video-link {
  display: inline-flex;
  margin-top: 1rem;
  color: #ffd86b !important;
  text-decoration: none;
  font-weight: 600;
}

.ohs-video-link:hover {
  color: #ffffff !important;
}

.ohs-hero-panel {
  position: relative;
}

.ohs-panel-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 2rem;
  background: linear-gradient(
    135deg,
    rgba(10, 112, 196, 0.24),
    rgba(255, 192, 0, 0.18)
  );
  filter: blur(28px);
}

.ohs-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ohs-border-soft);
  border-radius: var(--ohs-radius-xl);
  background: rgba(12, 23, 38, 0.94);
  box-shadow: var(--ohs-shadow);
}

.ohs-window-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--ohs-border-soft);
  background: rgba(255, 255, 255, 0.04);
}

.ohs-window-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.ohs-window-body {
  padding: 1.15rem;
}

.ohs-placeholder {
  min-height: 355px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border: 1px dashed rgba(255, 192, 0, 0.18);
  border-radius: 1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  overflow: hidden;
}

.ohs-hero-screenshot {
  display: block;
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  opacity: 0.85;
} 

.ohs-placeholder strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.ohs-placeholder p {
  max-width: 24rem;
  margin: 0;
  color: var(--ohs-text-faint);
  line-height: 1.65;
}

.ohs-section {
  padding: 5rem 0;
  border-top: 1px solid var(--ohs-border-soft);
  scroll-margin-top: 90px;
}

.ohs-section-soft {
  background: rgba(255, 255, 255, 0.02);
}

.ohs-section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

#get .ohs-section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.ohs-section-heading p {
  margin: 0.9rem 0 0;
  color: var(--ohs-text-soft);
  font-size: 1.04rem;
  line-height: 1.72;
}

.ohs-video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ohs-border-soft);
  border-radius: var(--ohs-radius-xl);
  background: #000000;
  box-shadow: var(--ohs-shadow);
}

.ohs-video-shell::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.ohs-video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ohs-card-grid,
.ohs-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ohs-card {
  padding: 1.45rem;
  border: 1px solid var(--ohs-border-soft);
  border-radius: var(--ohs-radius-lg);
  background: var(--ohs-panel-2);
  backdrop-filter: blur(10px);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.ohs-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 192, 0, 0.42);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.ohs-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.ohs-card p {
  margin: 0;
  color: var(--ohs-text-soft);
  line-height: 1.68;
  font-size: 0.96rem;
}

.ohs-roadmap-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255, 192, 0, 0.24);
  border-radius: 999px;
  background: rgba(255, 192, 0, 0.06);
  color: #ffd86b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ohs-narrow {
  max-width: 900px;
}

.ohs-large-text {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.75;
  color: var(--ohs-text);
}

.ohs-soft-text {
  margin: 1rem 0 0;
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--ohs-text-soft);
}

.ohs-centre {
  text-align: center;
}

.ohs-footer {
  border-top: 1px solid var(--ohs-border-soft);
  padding: 0.6rem 0 0.6rem;
}

.ohs-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  color: var(--ohs-text-faint);
  font-size: 0.92rem;
}

.ohs-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ohs-footer a {
  color: var(--ohs-text-faint) !important;
  text-decoration: none;
}

.ohs-footer a:hover {
  color: #ffffff !important;
}

@media (max-width: 960px) {
  .ohs-nav-toggle {
    display: inline-block;
  }

  .ohs-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--ohs-border-soft);
    border-radius: 1rem;
    background: rgba(7, 17, 29, 0.96);
    box-shadow: var(--ohs-shadow);
  }

  .ohs-nav[data-open="true"] {
    display: flex;
  }

  .ohs-hero {
    padding: 4.75rem 0 4rem;
  }

  .ohs-hero-grid,
  .ohs-card-grid,
  .ohs-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .ohs-placeholder {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .ohs-shell {
    width: min(var(--ohs-max-width), calc(100% - 1.25rem));
  }

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

  .ohs-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .ohs-button {
    width: 100%;
  }
}

.md-consent {
  color: var(--md-default-fg-color);
}

.md-consent__title,
.md-consent__description {
  color: var(--md-default-fg-color);
}