/* Coming-soon pages for ogdsys.com and lds.ogdsys.com (D-711).
   No external fonts, scripts or images: the CSP allows 'self' only. */

:root {
  --bg: #0b1220;
  --bg-2: #101a2e;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.10);
  --text: #e8edf6;
  --muted: #9aa8bf;
  --accent: #f5a524;
  --accent-2: #2dd4bf;
  --pipe: #3a4a66;
  --glow: rgba(245, 165, 36, 0.18);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fb;
    --bg-2: #e9eef6;
    --panel: rgba(11, 18, 32, 0.035);
    --line: rgba(11, 18, 32, 0.12);
    --text: #0e1626;
    --muted: #4d5b72;
    --accent: #c77700;
    --accent-2: #0f8f80;
    --pipe: #b9c4d6;
    --glow: rgba(199, 119, 0, 0.12);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--glow), transparent 60%),
    radial-gradient(50rem 30rem at -10% 110%, rgba(45, 212, 191, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
}

/* Header */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 28px;
  padding-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.brand svg { width: 34px; height: 34px; flex: none; }

.back {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.back:hover, .back:focus-visible { color: var(--text); }

/* Hero */

main { flex: 1; }

.hero { padding: 6vh 0 4vh; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.lede {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* Pipeline illustration: a leak in the middle sends a pressure wave to both stations. */

.pipeline {
  display: block;
  width: 100%;
  height: auto;
  margin: 3.5rem 0 1rem;
}

.pipeline .pipe { stroke: var(--pipe); }
.pipeline .station { fill: var(--bg); stroke: var(--accent-2); }
.pipeline .leak { fill: var(--accent); }
.pipeline .wave { fill: var(--accent); }
.pipeline .label { fill: var(--muted); font: 600 14px ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.12em; }

.pipeline .wave-l { animation: wave-l 3.2s cubic-bezier(0.3, 0, 0.6, 1) infinite; }
.pipeline .wave-r { animation: wave-r 3.2s cubic-bezier(0.3, 0, 0.6, 1) infinite; }
.pipeline .leak-ring { fill: none; stroke: var(--accent); transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-out infinite; }

@keyframes wave-l {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(-330px); opacity: 0; }
}

@keyframes wave-r {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(330px); opacity: 0; }
}

@keyframes ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

/* Cards */

.section-title {
  margin: 3rem 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product:hover, .product:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

@media (min-width: 720px) {
  .product { grid-template-columns: 1fr auto; align-items: center; padding: 2rem 2.25rem; }
}

.product h2 { margin: 0.35rem 0 0.5rem; font-size: 1.5rem; line-height: 1.2; }
.product p { margin: 0; color: var(--muted); max-width: 40rem; }
.product .host { color: var(--accent-2); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  white-space: nowrap;
}

.features {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

.features li {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.features h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Footer */

footer {
  margin-top: 4rem;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }

footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--text); }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .dot, .pipeline .wave-l, .pipeline .wave-r, .pipeline .leak-ring { animation: none; }
  .product { transition: none; }
}
