:root {
  color-scheme: light;
  --accent: #b4232f;
  --bg: #f4f7fb;
  --ink: #111827;
  --line: #d8e0ea;
  --muted: #607086;
  --navy: #07162f;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 47, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  background-size: 42px 42px, auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(21rem, 0.72fr) minmax(0, 1.28fr);
  min-height: 100vh;
}

.signin-panel {
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.brand-row,
.launch-header,
.section-title-row,
.header-actions {
  align-items: center;
  display: flex;
}

.brand-row {
  gap: 0.9rem;
  padding: 0.5rem 0.25rem 1rem;
}

.brand-mark {
  align-items: center;
  background: white;
  border-radius: 0.45rem;
  color: var(--accent);
  display: inline-flex;
  font-weight: 950;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.eyebrow,
.card-label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1 {
  color: white;
  font-size: 1.6rem;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.14;
}

h3 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.05;
}

h4 {
  color: var(--navy);
  font-size: 1.2rem;
}

.signin-card,
.demo-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.5rem;
  display: grid;
  gap: 1.1rem;
  padding: 1rem;
}

.muted {
  color: var(--muted);
  line-height: 1.58;
  margin: 0.65rem 0 0;
}

.signin-panel .muted {
  color: #b9c5d5;
}

.primary-button,
.secondary-button,
.ghost-button,
.solution-card button {
  border: 0;
  border-radius: 0.4rem;
  font-weight: 850;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
}

.primary-button,
.solution-card button {
  background: var(--accent);
  color: white;
}

.secondary-button {
  background: white;
  color: var(--navy);
}

.ghost-button {
  background: #eef3f8;
  color: var(--navy);
}

.business-options {
  border: 0;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.business-options legend {
  color: #d7e0ec;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.business-options label {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.4rem;
  display: flex;
  gap: 0.6rem;
  min-height: 2.7rem;
  padding: 0.65rem 0.8rem;
}

.launch-frame {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.launch-header {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 18px 42px rgba(7, 22, 47, 0.08);
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.header-actions {
  gap: 0.7rem;
}

.status-pill,
.state-pill,
.adaptive-note {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 1.8rem;
  padding: 0.45rem 0.7rem;
}

.status-pill {
  background: #ecfdf5;
  color: #166534;
}

.adaptive-note,
.state-pill {
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
}

.context-strip {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.context-strip div,
.solution-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.context-strip div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}

.context-strip span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.context-strip strong {
  color: var(--navy);
}

.section-title-row {
  justify-content: space-between;
  margin: 0.75rem 0 1rem;
}

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

.solution-card {
  box-shadow: 0 12px 30px rgba(7, 22, 47, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 13.25rem;
  padding: 1rem;
}

.solution-card p {
  color: var(--muted);
  line-height: 1.55;
}

.solution-card button {
  align-self: flex-start;
  min-width: 6rem;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .signin-panel {
    min-height: auto;
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .launch-header,
  .section-title-row,
  .header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .context-strip,
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

