:root {
  color-scheme: light;
  --bg: #d9e4f1;
  --card: #ffffff;
  --card-muted: #eef2f7;
  --text: #2a2f38;
  --text-soft: #5e6470;
  --primary: #0aa2d6;
  --primary-dark: #087ca4;
  --accent: #24364f;
  --success-bg: #dff5e7;
  --success-text: #23623d;
  --warn-bg: #fff0d9;
  --warn-text: #8a5a12;
  --error-bg: #fde0e0;
  --error-text: #9a2f2f;
  --shadow: 0 22px 44px rgba(36, 54, 79, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(10, 162, 214, 0.22), transparent 28%),
    linear-gradient(180deg, #edf4fb 0%, var(--bg) 100%);
}

.page-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: grid;
  gap: 18px;
}

.hero-panel,
.card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel {
  padding: 28px;
}

.hero-panel h1,
.card h2 {
  margin: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 14px 0 0;
  line-height: 1.6;
  color: var(--text-soft);
}

.hero-card {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(10, 162, 214, 0.08), rgba(36, 54, 79, 0.08));
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.card {
  padding: 22px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.hero-label,
.support-text {
  font-size: 13px;
  color: var(--text-soft);
}

.support-text {
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--card-muted);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.badge[data-tone="success"] {
  background: var(--success-bg);
  color: var(--success-text);
}

.badge[data-tone="warning"] {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.badge[data-tone="error"] {
  background: var(--error-bg);
  color: var(--error-text);
}

.stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.field input {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: var(--card-muted);
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
}

.field input:focus {
  outline: 2px solid rgba(10, 162, 214, 0.35);
}

.primary-button,
.ghost-button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    background 160ms ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.ghost-button {
  color: #ffffff;
  background: var(--accent);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.session-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: var(--card-muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.status-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.5;
  background: var(--card-muted);
  color: var(--text);
}

.status-box[data-tone="success"] {
  background: var(--success-bg);
  color: var(--success-text);
}

.status-box[data-tone="warning"] {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.status-box[data-tone="error"] {
  background: var(--error-bg);
  color: var(--error-text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.info-item {
  padding: 16px;
  border-radius: 18px;
  background: var(--card-muted);
  display: grid;
  gap: 6px;
}

.hidden {
  display: none;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
    padding: 20px 0 28px;
  }

  .hero-panel,
  .card {
    border-radius: 22px;
    padding: 18px;
  }

  .hero-card-row,
  .session-card {
    flex-direction: column;
    align-items: flex-start;
  }

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