/* ==========================================================================
   RoleGrep Dark Mode Stylesheet (from danielmtzbarba.com & Brand Kit Final)
   ========================================================================== */
:root {
  --font: 'DM Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bg-base: hsl(240 6% 10%);          /* #18181b */
  --bg-surface: hsl(240 5% 13%);       /* #1f1f23 */
  --bg-card: hsl(240 5% 15%);          /* #242429 */
  --ink: hsl(0 0% 93%);                /* #ededed */
  --muted: hsl(240 5% 65%);            /* #a1a1aa */
  --muted-dark: hsl(240 5% 45%);

  --primary: hsl(187 86% 53%);         /* #20d3ee */
  --accent: hsl(270 91% 70%);          /* #b86cfc */
  --gradient-from: hsl(187 86% 53%);
  --gradient-to: hsl(270 91% 78%);

  --border: hsl(240 4% 20%);           /* #313135 */
  --border-subtle: hsl(240 4% 16%);

  --success: hsl(142 71% 45%);
  --warning: hsl(45 97% 49%);
  --danger: hsl(4 88% 68%);
  --danger-bg: hsl(4 45% 14%);
  --danger-border: hsl(4 50% 25%);

  --hero-orb-primary: hsl(187 86% 53% / 0.12);
  --hero-orb-accent: hsl(270 91% 56% / 0.18);
  --dot-grid: hsl(240 5% 65% / 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 769px) {
  html, body {
    overflow: hidden; /* Strict: single viewport, no vertical or horizontal scroll on desktop */
  }
}

/* ==========================================================================
   CLIENT LOGIN LAYOUT (Asymmetric Two-Panel, Viewport-Fitted)
   ========================================================================== */
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.82fr);
  height: 100vh;
  width: 100%;
}

/* RIGHT PANEL: Sign-In Form */
.signin-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 38px 20px;
  background: var(--bg-base);
  border-left: 1px solid var(--border);
  position: relative;
  z-index: 2;
  min-width: 0;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  text-decoration: none;
}
.brand-center {
  align-self: center;
}
.brand-svg {
  height: 32px;
  width: auto;
  display: block;
}
.signin-body {
  margin: auto 0;
  max-width: 330px;
  width: 100%;
  align-self: center;
}
.signin-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  white-space: nowrap;
}
.signin-description {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.signin-error {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: 7px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.signin-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* High-contrast Google Sign-In Button */
.google-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 240px;
  height: 44px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: 7px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 120ms ease;
  cursor: pointer;
}
.google-signin:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 10px rgba(32, 211, 238, 0.3);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.google-signin[aria-disabled="true"] {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}
.access-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}
.signin-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11.5px;
}
.signin-detail svg {
  flex: none;
  color: var(--primary);
}
.signin-footer {
  color: var(--muted-dark);
  font-size: 11.5px;
  padding-top: 12px;
}

/* LEFT PANEL: Story & Developer Evidence */
.story-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 44px 20px;
  background: hsl(240 6% 9%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 0;
}
.story-panel::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, var(--hero-orb-accent), transparent 38%),
    radial-gradient(circle at 75% 15%, var(--hero-orb-primary), transparent 45%),
    radial-gradient(circle at 0% 100%, var(--hero-orb-accent), transparent 45%),
    linear-gradient(to bottom right, hsl(187 86% 53% / 0.08), hsl(270 91% 70% / 0.04) 50%, transparent);
}
.story-panel::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot-grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.story-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.story-badge-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: hsl(240 5% 13%);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}
.story-topline-tag {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.story-content {
  margin: auto 0;
  max-width: 520px;
}
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}
.gradient-text {
  background-image: linear-gradient(90deg, hsl(187 86% 53% / 0.98), hsl(270 91% 78% / 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.font-black {
  font-weight: 900 !important;
}
.accent-role {
  color: #cbd5e1;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: hsl(187 86% 53% / 0.7);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.back-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.back-link:hover {
  color: var(--ink);
}
.story-description {
  max-width: 480px;
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  letter-spacing: -0.005em;
}

/* Centered Story Content & Three Color Feature Cards */
.story-content-centered {
  margin: auto 0;
  max-width: 520px;
  width: 100%;
}
.story-header-wrap {
  margin-bottom: 20px;
}
.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  background: hsl(240 5% 12% / 0.88);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 120ms ease, border-color 140ms ease;
}
.feature-card:hover {
  transform: translateY(-1px);
}
.feature-cyan {
  border-color: hsl(187 86% 53% / 0.35);
  background: hsl(200 25% 10% / 0.7);
}
.feature-purple {
  border-color: hsl(270 91% 70% / 0.35);
  background: hsl(270 20% 11% / 0.7);
}
.feature-emerald {
  border-color: hsl(142 71% 45% / 0.35);
  background: hsl(150 20% 10% / 0.7);
}
.feature-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.num-cyan {
  background: hsl(187 86% 53% / 0.15);
  color: var(--primary);
  border: 1px solid hsl(187 86% 53% / 0.35);
}
.num-purple {
  background: hsl(270 91% 70% / 0.15);
  color: var(--accent);
  border: 1px solid hsl(270 91% 70% / 0.35);
}
.num-emerald {
  background: hsl(142 71% 45% / 0.15);
  color: hsl(142 71% 55%);
  border: 1px solid hsl(142 71% 45% / 0.35);
}
.feature-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.feature-text p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Compact Dark Role Review Card */
.role-review {
  background: hsl(240 5% 12% / 0.88);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px hsl(240 5% 22% / 0.5) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  max-width: 480px;
}
.review-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.review-caption-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
}
.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}
.review-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
}
.review-company {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.review-role h3 {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.review-location {
  font-size: 11.5px;
  color: var(--muted);
}
.review-fit {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 9.5px;
  color: var(--muted);
}
.review-fit svg {
  width: 46px;
  height: 46px;
  overflow: visible;
}
.review-fit circle {
  fill: none;
  stroke-width: 3.5;
}
.review-fit-track { stroke: hsl(240 4% 20%); }
.review-fit-value {
  stroke: var(--primary);
  stroke-linecap: round;
}
.review-fit text {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  fill: var(--ink);
}
.review-evidence {
  margin: 0 18px;
  border-top: 1px solid var(--border);
  padding: 11px 0 13px;
}
.evidence-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.review-evidence > p {
  font-size: 12.5px;
  line-height: 1.48;
  margin: 4px 0 9px;
  color: var(--ink);
  font-style: italic;
}
.evidence-match {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: hsl(240 5% 10% / 0.6);
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid hsl(240 4% 18%);
}
.evidence-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: hsl(187 86% 53% / 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 9.5px;
  font-weight: 700;
  border: 1px solid hsl(187 86% 53% / 0.3);
}
.evidence-match strong {
  display: block;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}
.evidence-match div > span {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 1px;
}
.review-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: hsl(240 6% 10%);
  border-top: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  font-size: 11px;
  color: var(--muted);
}
.review-next > span:last-child {
  margin-left: auto;
  color: var(--primary);
}
.next-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}
.story-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 13px;
}

/* ==========================================================================
   ADMIN (OPERATIONS) LOGIN LAYOUT — MINIMAL & FOCUSED
   ========================================================================== */
.admin-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  position: relative;
  isolation: isolate;
  background: hsl(240 7% 9%);
  padding: 24px;
}
.admin-layout::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%, hsl(270 91% 56% / 0.12), transparent 45%),
    radial-gradient(circle at 50% 70%, hsl(187 86% 53% / 0.08), transparent 45%);
}
.admin-layout::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot-grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.admin-console-card {
  width: 100%;
  max-width: 420px;
  background: hsl(240 5% 12% / 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px hsl(240 5% 22% / 0.5) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 34px 34px 28px;
  text-align: center;
}
.admin-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: hsl(270 91% 70% / 0.16);
  color: var(--accent);
  border: 1px solid hsl(270 91% 70% / 0.35);
  margin-bottom: 18px;
}
.admin-console-card h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.admin-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ==========================================================================
   MINIMAL SYSTEM STATES LAYOUT (404, 500, Maintenance)
   ========================================================================== */
.state-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
  isolation: isolate;
  background: hsl(240 7% 9%);
  padding: 24px;
}
.state-shell::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 35%, var(--hero-orb-accent), transparent 45%),
    radial-gradient(circle at 50% 65%, var(--hero-orb-primary), transparent 45%),
    linear-gradient(to bottom right, hsl(187 86% 53% / 0.04), hsl(270 91% 70% / 0.03) 50%, transparent);
}
.state-shell::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot-grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
.state-card {
  width: 100%;
  max-width: 400px;
  background: hsl(240 5% 12% / 0.94);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px hsl(240 5% 22% / 0.5) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 38px 34px 34px;
  text-align: center;
  position: relative;
  animation: fadeIn 160ms ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.state-card .brand-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.state-card h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.state-card .btn-wrap {
  display: flex;
  justify-content: center;
}
.state-card .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 220px;
  height: 42px;
  background: linear-gradient(90deg, hsl(187 86% 53%), hsl(270 91% 78%));
  color: #09090b;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 14px hsl(187 86% 53% / 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}
.state-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px hsl(187 86% 53% / 0.4);
  opacity: 0.96;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    overflow: auto;
    height: auto;
  }
  .login-layout {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }
  .signin-panel {
    padding: 24px 20px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .story-panel {
    padding: 24px 20px;
  }
  .story-description {
    text-align: left;
  }
  .hide-mobile {
    display: none !important;
  }
}

/* ==========================================================================
   PUBLIC LANDING PAGE (Dedicated Marketing & Architecture Showcase)
   ========================================================================== */
.landing-body {
  background: hsl(240 7% 5%);
  color: var(--ink);
  min-height: 100vh;
  height: auto;
  overflow: visible;
}
html:has(.landing-body) { height: auto; overflow: auto; }
.landing-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  background: hsl(240 7% 5%);
  min-height: 100svh;
}
.landing-shell::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, var(--hero-orb-accent), transparent 45%),
    radial-gradient(circle at 18% 28%, var(--hero-orb-primary), transparent 48%),
    radial-gradient(circle at 50% 90%, hsl(270 91% 56% / 0.09), transparent 50%),
    linear-gradient(to bottom right, hsl(187 86% 53% / 0.05), hsl(270 91% 70% / 0.03) 50%, transparent);
}
.landing-shell::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot-grid) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Landing Navigation */
.landing-nav-bar {
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.landing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: hsl(240 5% 12%);
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, transform 120ms ease;
}
.btn-outline-sm:hover {
  border-color: var(--primary);
  background: hsl(240 5% 15%);
  transform: translateY(-1px);
}

/* Landing Hero Wrap */
.landing-hero-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 48px 24px;
}
.landing-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  width: 100%;
}
.landing-grep { color: var(--primary); font-weight: 700; }
.landing-body a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 5px;
}
.landing-body .brand-link,
.landing-body .btn-outline-sm,
.landing-body .btn-primary,
.landing-body .footer-link { min-height: 44px; }
.landing-body .footer-link { display: inline-flex; align-items: center; }
.landing-body .brand-link { align-items: center; }

/* Left Pitch Column */
.landing-pitch-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.landing-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}
.landing-description {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  max-width: 500px;
}
.landing-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, hsl(187 86% 53%), hsl(270 91% 78%));
  color: #09090b;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 16px hsl(187 86% 53% / 0.32);
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 22px hsl(187 86% 53% / 0.48);
  opacity: 0.96;
}

/* 3 Architecture Commitments */
.landing-commitments {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}
.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.commitment-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-cyan {
  background: hsl(187 86% 53% / 0.15);
  color: var(--primary);
  border: 1px solid hsl(187 86% 53% / 0.35);
}
.check-purple {
  background: hsl(270 91% 70% / 0.15);
  color: var(--accent);
  border: 1px solid hsl(270 91% 70% / 0.35);
}
.check-emerald {
  background: hsl(142 71% 45% / 0.15);
  color: hsl(142 71% 55%);
  border: 1px solid hsl(142 71% 45% / 0.35);
}
.commitment-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.commitment-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Right Column: Lighter Clear Gray Showcase Card */
.landing-showcase-col {
  width: 100%;
}
.showcase-card {
  background: #222533;
  border: 1px solid #3a3f55;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #35394d;
}
.showcase-tag {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showcase-role-title {
  margin: 2px 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.showcase-role-meta {
  font-size: 12px;
  color: #cbd5e1;
}
.showcase-meter-capsule {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #191b26;
  border: 1px solid #35394d;
  padding: 8px 14px;
  border-radius: 12px;
  flex-shrink: 0;
}
.showcase-meter-capsule svg {
  width: 44px;
  height: 44px;
  overflow: visible;
}
.meter-track {
  fill: none;
  stroke: #2a2d3c;
  stroke-width: 4.5;
}
.meter-value {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4.5;
  stroke-linecap: round;
}
.showcase-meter-capsule text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  fill: #ffffff;
}
.meter-labels {
  display: flex;
  flex-direction: column;
}
.meter-pct {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}
.meter-sub {
  font-size: 11px;
  color: hsl(142 71% 55%);
  font-weight: 600;
}

/* Showcase Nested Tiles */
.showcase-tiles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.showcase-tile {
  padding: 13px 15px;
  border-radius: 12px;
}
.tile-demand {
  background: #191b26;
  border: 1px solid #35394d;
}
.tile-proof {
  background: #13202e;
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(32, 211, 238, 0.18);
}
.tile-polish {
  background: #20182c;
  border: 1px solid hsl(270 91% 70% / 0.5);
}
.tile-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 11px;
}
.tile-caption {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}
.caption-cyan {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pulse-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}
.caption-purple {
  color: var(--accent);
}
.tile-badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}
.badge-neutral {
  background: #2a2d3d;
  color: #ededed;
  border: 1px solid #3e4359;
}
.badge-purple {
  background: hsl(270 91% 70% / 0.25);
  color: #d8b4fe;
  border: 1px solid hsl(270 91% 70% / 0.45);
}
.tile-source {
  font-size: 11px;
  font-weight: 500;
  color: #ededed;
}
.tile-quote {
  margin: 0;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  color: #ededed;
}
.tile-body-proof {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
}
.tile-footer-proof {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(32, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #cbd5e1;
}
.status-grounded {
  color: hsl(142 71% 55%);
  font-weight: 600;
}
.tile-body-polish {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #ededed;
}
.hl-cyan {
  color: var(--primary);
  font-weight: 600;
}

/* Showcase Footer Strip */
.showcase-footer-strip {
  padding-top: 12px;
  border-top: 1px solid #35394d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #cbd5e1;
}
.showcase-strip-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pulse-emerald {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(142 71% 55%);
  box-shadow: 0 0 6px hsl(142 71% 55%);
}
.showcase-strip-sub {
  font-size: 11px;
  color: #94a3b8;
}

/* Landing Footer */
.landing-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.landing-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-sep {
  opacity: 0.6;
}
.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms ease;
}
.footer-link:hover {
  color: var(--ink);
}

/* Keep responsive landing rules after the base rules so they win the cascade. */
@media (max-width: 1050px) {
  .landing-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 680px; }
  .landing-pitch-col { align-items: flex-start; }
  .landing-description, .landing-commitments { max-width: none; }
}

@media (max-width: 600px) {
  .landing-nav-bar {
    padding: 12px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
  }
  .landing-nav-inner { gap: 16px; }
  .landing-body .brand-svg { width: 150px; height: 32px; }
  .landing-body .btn-outline-sm { font-size: 14px; padding: 10px 14px; }
  .landing-hero-wrap {
    padding: 36px max(20px, env(safe-area-inset-right)) 40px max(20px, env(safe-area-inset-left));
  }
  .landing-hero-grid { gap: 32px; }
  .landing-pitch-col { gap: 20px; }
  .landing-headline { font-size: clamp(32px, 8.8vw, 48px); line-height: 1.12; letter-spacing: -0.035em; }
  .landing-description { font-size: 16px; line-height: 1.65; }
  .landing-cta-row { width: 100%; padding: 0; }
  .landing-body .btn-primary { width: 100%; min-height: 50px; font-size: 16px; }
  .landing-commitments { gap: 18px; padding-top: 22px; width: 100%; }
  .landing-body .commitment-check { display: grid; color: var(--primary); font-size: 12px; }
  .landing-body .check-purple { color: #c997fd; }
  .landing-body .check-emerald { color: hsl(142 71% 55%); }
  .commitment-item strong { font-size: 16px; line-height: 1.4; }
  .commitment-item div > span { font-size: 15px; line-height: 1.6; margin-top: 4px; }
  .showcase-card { padding: 20px 16px; border-radius: 16px; gap: 16px; }
  .showcase-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .showcase-tag { font-size: 12px; letter-spacing: 0; text-transform: none; }
  .showcase-role-title { font-size: 22px; line-height: 1.25; margin: 8px 0; text-wrap: balance; }
  .showcase-role-meta { font-size: 13px; line-height: 1.6; }
  .showcase-meter-capsule { width: 100%; padding: 10px 12px; }
  .meter-pct { font-size: 16px; }
  .meter-sub { font-size: 13px; }
  .showcase-tile { padding: 14px 12px; }
  .tile-topline { flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
  .tile-caption { font-size: 12px; letter-spacing: 0; text-transform: none; }
  .tile-badge, .tile-source { font-size: 12px; }
  .tile-quote, .tile-body-proof, .tile-body-polish { font-size: 15px; line-height: 1.6; }
  .tile-footer-proof { flex-wrap: wrap; gap: 8px; font-size: 12px; line-height: 1.5; }
  .showcase-footer-strip { flex-wrap: wrap; gap: 10px; font-size: 13px; }
  .showcase-strip-sub { font-size: 12px; color: #cbd5e1; }
  .landing-footer {
    padding: 20px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }
  .landing-footer-inner { align-items: flex-start; gap: 12px; flex-wrap: wrap; font-size: 13px; }
  .landing-body .footer-copy { align-items: flex-start; flex-direction: column; gap: 6px; }
  .landing-body .footer-sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-body a { transition: none; }
  .landing-body a:hover { transform: none; }
}
