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

:root {
  --primary: #0091bc;
  --primary-bright: #1ab3db;
  --primary-deep: #006f92;
  --ink: #0f2a38;
  --ink-soft: #3d5a6a;
  --muted: #5c7380;
  --card: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background: #045a78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* ── Shared stage (landing + demo) ────────────────────── */

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px 28px;
  overflow-x: hidden;
}

.stage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    145deg,
    #045a78 0%,
    #0086b0 40%,
    #0091bc 70%,
    #007fa3 100%
  );
}

.panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(236, 248, 252, 0.96) 55%,
    rgba(220, 242, 250, 0.94) 100%
  );
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 30px 80px rgba(0, 40, 60, 0.35),
    0 8px 24px rgba(0, 40, 60, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

/* Login-style wordmark pinned to card top-left */
.panel-brand {
  position: absolute;
  top: 22px;
  left: 28px;
  z-index: 2;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em;
  line-height: 1.05;
  pointer-events: none;
}

.panel-brand .title-top,
.panel-brand .title-bottom {
  display: inline-block;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.panel-brand .title-top {
  font-weight: 600;
}

.panel-brand .title-bottom {
  font-weight: 400;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 1px;
}

.panel-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: 28px 36px;
  padding: 64px 40px 36px;
  min-height: min(640px, calc(100dvh - 160px));
  align-items: center;
}

.panel-reflection {
  position: relative;
  z-index: 0;
  width: min(980px, 86%);
  height: 28px;
  margin-top: -6px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 30, 50, 0.28), transparent 70%);
  filter: blur(8px);
  opacity: 0.75;
  pointer-events: none;
}

/* ── Left column (landing) ────────────────────────────── */

.panel-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 8px 8px 12px;
  max-width: 420px;
}

/* Landing headline stack under the corner brand */
.hero-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
}

.h1-leadership,
.h1-simplified {
  display: block;
  font-size: clamp(2.4rem, 4.2vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  white-space: nowrap;
}

.panel-left h1,
.panel-heading {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #1ab3db 0%, #0091bc 55%, #007fa3 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 145, 188, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(0, 145, 188, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary-deep);
  border-color: rgba(0, 145, 188, 0.35);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--primary);
}

.access-line {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Right column ─────────────────────────────────────── */

.panel-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 145, 188, 0.12);
  border-radius: 14px;
  padding: 12px 12px 14px;
  box-shadow: 0 4px 14px rgba(0, 60, 90, 0.06);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 145, 188, 0.3);
  box-shadow: 0 10px 22px rgba(0, 60, 90, 0.12);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(0, 145, 188, 0.1);
  color: var(--primary);
  font-size: 0.95rem;
}

.feature-card h3 {
  margin: 0 0 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ── Demo page (same visual language) ─────────────────── */

.panel.panel-demo {
  width: min(980px, 100%);
}

.panel-demo .panel-inner {
  display: block;
  min-height: 0;
  padding: 64px 40px 36px;
}

.demo-heading {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
}

.demo-sub {
  margin: 0 auto 32px;
  max-width: none;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
  white-space: nowrap;
}

.demo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.demo-choice {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px 28px;
  border-radius: 18px;
  border: 1px solid rgba(0, 145, 188, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 18px rgba(0, 60, 90, 0.07);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease),
    background 0.22s var(--ease);
}

.demo-choice:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 145, 188, 0.4);
  box-shadow: 0 14px 28px rgba(0, 60, 90, 0.12);
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.demo-choice.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 145, 188, 0.22), 0 10px 24px rgba(0, 60, 90, 0.1);
  background: #eef8fc;
}

.demo-choice-title {
  display: block;
  margin-bottom: 14px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.demo-choice-desc {
  display: block;
  flex: 1;
  font-size: 1.28rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.demo-home {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  color: var(--muted);
}

.demo-home a {
  color: var(--primary);
  font-weight: 600;
}

.demo-home a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ───────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin-top: 22px;
  padding: 0 4px 8px;
}

.footer-inner {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-logo {
  width: 44px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.3;
  font-size: 0.86rem;
}

.footer-copy strong {
  color: #fff;
  font-weight: 600;
}

.footer-legal {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-legal a,
.footer-disclaimer a {
  color: #b8f0ff;
  font-weight: 500;
}

.footer-legal a:hover,
.footer-disclaimer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  max-width: 52ch;
  margin-inline: auto;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 980px) {
  .panel-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 28px 28px;
    min-height: 0;
  }

  .panel-left {
    max-width: none;
    text-align: center;
    align-items: center;
    padding: 0;
  }

  .hero-titles {
    align-items: center;
  }

  .lead {
    max-width: 42ch;
  }

  .hero-cta {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .stage {
    padding: 20px 14px 18px;
    justify-content: flex-start;
  }

  .panel {
    border-radius: 22px;
  }

  .panel-inner,
  .panel-demo .panel-inner {
    padding: 24px 18px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .h1-leadership,
  .h1-simplified,
  .panel-left h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .panel-brand {
    top: 16px;
    left: 18px;
  }

  .panel-brand .title-top,
  .panel-brand .title-bottom {
    font-size: 1.25rem;
  }

  .demo-sub {
    white-space: normal;
  }

  .demo-actions {
    grid-template-columns: 1fr;
  }

  .demo-choice {
    min-height: 0;
  }

  .demo-choice-title {
    font-size: 1.55rem;
  }

  .demo-choice-desc {
    font-size: 1.15rem;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-copy {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}


