/* Commercial launch bar, store badges, and self-serve sign-up. */

.launch-action-bar {
  margin: 28px 0 8px;
  padding: 18px 18px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(167, 139, 250, .08), rgba(52, 211, 153, .05));
}
.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.launch-action-bar .btn { text-decoration: none; }
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  line-height: 1.15;
}
.store-badge b {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.store-badge small {
  display: block;
  color: var(--text3);
  font-size: 10px;
  font-weight: 500;
}
.store-badge-apple { color: var(--text); }
.store-badge-play { color: var(--text); }
.store-badge-web { color: var(--text); }
.store-badge-web:hover { border-color: var(--accent); }
.launch-devices {
  margin: 10px 0 0;
  color: var(--text3);
  font-size: 12px;
  line-height: 1.5;
  max-width: 68em;
}
.launch-action-bar-compact { margin-top: 14px; padding: 12px; }
.launch-action-bar-compact .launch-actions { flex-direction: column; align-items: stretch; }
.launch-action-bar-compact .btn { justify-content: center; text-align: center; }
.launch-action-bar-compact .store-badges { gap: 6px; }
.launch-action-bar-compact .store-badge { padding: 5px 8px; }
.launch-action-bar-compact .store-badge small { display: none; }

/* Coming soon: reusable label for future / not-yet-live controls. */
.coming-soon-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(31, 43, 34, .18));
  background: rgba(31, 43, 34, .06);
  color: var(--text3, #5c675e);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.4;
  vertical-align: middle;
  white-space: nowrap;
}
.is-coming-soon {
  cursor: default;
  opacity: .88;
  pointer-events: none;
}
a.is-coming-soon,
button.is-coming-soon:disabled {
  pointer-events: none;
}
.store-badge.is-coming-soon {
  pointer-events: none;
  cursor: default;
  opacity: .9;
  background: var(--surface);
}
.store-badge.is-coming-soon small {
  color: var(--text3);
  font-weight: 650;
}
/* Compact launch bars hide ordinary small print; keep Coming soon visible. */
.launch-action-bar-compact .store-badge.is-coming-soon small {
  display: block;
}

#launch-directory { padding-top: 24px; }
.launch-directory-list { display: flex; flex-direction: column; gap: 14px; }
.launch-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 14px;
  align-items: start;
}
.launch-row h3 { font-size: 16px; letter-spacing: -.02em; margin-bottom: 4px; }
.launch-row h3 a { color: var(--text); text-decoration: none; }
.launch-row h3 a:hover { color: var(--accent2); }
.launch-row p { color: var(--text3); font-size: 13px; line-height: 1.45; }
@media (max-width: 800px) {
  .launch-row { grid-template-columns: 1fr; }
}

.launch-signup {
  margin: 28px auto 12px;
  max-width: 920px;
  padding: 0 24px 12px;
}
.launch-signup-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.launch-signup h2 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 8px; }
.launch-signup .section-sub { max-width: 68em; }
.launch-form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.launch-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text3); letter-spacing: .04em; text-transform: uppercase; }
.launch-form select,
.launch-form input {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
}
.launch-tiers { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.launch-tiers[hidden] { display: none; }
.launch-tiers label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--text);
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}
.launch-summary {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text2);
  font-family: var(--mono);
  font-size: 12px;
  white-space: pre-wrap;
}
.launch-status { color: var(--green); font-size: 13px; min-height: 1.2em; }

/* Clean-sheet state-of-the-art architecture vs. legacy Windows / patched software contrast. */
.clean-sheet-section {
  margin: 48px 0 36px;
}
.clean-sheet-banner {
  margin-top: 28px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(167, 139, 250, .09), rgba(52, 211, 153, .05));
}
.clean-sheet-banner h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text);
}
.clean-sheet-banner > p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 72em;
  margin-bottom: 20px;
}
.clean-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 820px) {
  .clean-sheet-grid { grid-template-columns: 1fr; }
}
.clean-sheet-card {
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clean-sheet-card.is-legacy {
  border-color: rgba(251, 113, 133, .38);
  background: linear-gradient(180deg, rgba(251, 113, 133, .06), var(--surface));
}
.clean-sheet-card.is-modern {
  border-color: rgba(52, 211, 153, .45);
  background: linear-gradient(180deg, rgba(52, 211, 153, .08), var(--surface));
}
.clean-sheet-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.clean-sheet-card.is-legacy .clean-sheet-kicker { color: var(--rose, #fb7185); }
.clean-sheet-card.is-modern .clean-sheet-kicker { color: var(--green, #34d399); }
.clean-sheet-card h3,
.clean-sheet-card h4 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.clean-sheet-card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.clean-sheet-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.clean-sheet-list li {
  color: var(--text2);
  font-size: 13.5px;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.clean-sheet-card.is-legacy .clean-sheet-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rose, #fb7185);
  font-weight: 700;
}
.clean-sheet-card.is-modern .clean-sheet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green, #34d399);
  font-weight: 700;
}
.clean-sheet-list strong { color: var(--text); font-weight: 600; }

/* Light-mode overrides for Open HOA */
.open-hoa .clean-sheet-card {
  background: var(--oha-white, #ffffff);
  border-color: var(--oha-border, #d6e0ea);
  box-shadow: 0 3px 16px rgba(11, 45, 74, 0.07);
}
.open-hoa .clean-sheet-card.is-legacy {
  border-color: #fda4af;
  background: #fffafb;
}
.open-hoa .clean-sheet-card.is-modern {
  border-color: #86efac;
  background: #f7fef9;
}
.open-hoa .clean-sheet-card.is-legacy .clean-sheet-kicker { color: #be123c; }
.open-hoa .clean-sheet-card.is-modern .clean-sheet-kicker { color: #15803d; }
.open-hoa .clean-sheet-card h3,
.open-hoa .clean-sheet-card h4,
.open-hoa .clean-sheet-list strong { color: var(--oha-navy, #0b2d4a); }
.open-hoa .clean-sheet-card p,
.open-hoa .clean-sheet-list li { color: #374151; }

/* Full-screen Live Application Launcher (t98u) */
html.osl-has-fullscreen-app,
body.osl-has-fullscreen-app {
  overflow: hidden !important;
}

.osl-fullscreen-shell {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2147483647;
  background: #09090b;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
}

.osl-fullscreen-shell[hidden] {
  display: none !important;
}

.osl-fullscreen-bar {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 2147483647;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 15, 19, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  color: #f4f4f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  line-height: 1;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.osl-fullscreen-bar:hover,
.osl-fullscreen-bar:focus-within {
  opacity: 1;
}

.osl-fullscreen-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  color: #e4e4e7;
  font-weight: 600;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osl-fullscreen-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
  flex-shrink: 0;
}

.osl-fullscreen-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.osl-fullscreen-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.osl-fullscreen-btn:hover {
  background: rgba(167, 139, 250, 0.28);
  border-color: rgba(167, 139, 250, 0.65);
  color: #ffffff;
}

.osl-fullscreen-close {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.42);
}

.osl-fullscreen-close:hover {
  background: rgba(251, 113, 133, 0.34);
  border-color: rgba(251, 113, 133, 0.8);
}

.osl-fullscreen-frame {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  flex: 1 1 auto;
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
  background: #09090b;
}

@media (max-width: 640px) {
  .osl-fullscreen-bar {
    top: 8px;
    right: 8px;
    left: 8px;
    justify-content: space-between;
  }
  .osl-fullscreen-badge {
    max-width: 120px;
  }
}
