:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f2ea;
  color: #111923;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(81, 120, 255, 0.2), transparent 26rem),
    radial-gradient(circle at 10% 20%, rgba(33, 197, 146, 0.18), transparent 22rem),
    linear-gradient(135deg, #fffaf1 0%, #edf2f7 100%);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  background: #111923;
  color: #fff;
  font-weight: 800;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero,
.panel,
.gallery,
.safety,
.dry-run {
  border: 1px solid rgba(17, 25, 35, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 80px rgba(17, 25, 35, 0.08);
  backdrop-filter: blur(18px);
}

.hero {
  min-height: 520px;
  display: grid;
  align-content: center;
  padding: clamp(34px, 7vw, 76px);
  border-radius: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #3164ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 930px;
  margin-bottom: 20px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

p,
li,
small,
label,
input {
  color: #506070;
  font-size: 17px;
  line-height: 1.6;
}

.lead {
  max-width: 820px;
  margin-bottom: 34px;
  font-size: clamp(20px, 2vw, 25px);
}

.concierge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  max-width: 840px;
  padding: 20px;
  border-radius: 28px;
  background: #f8fbff;
  border: 1px solid rgba(49, 100, 255, 0.14);
}

.pulse {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #fff, transparent 28%),
    linear-gradient(135deg, #5b7cff, #20c58f);
  box-shadow: 0 0 0 14px rgba(49, 100, 255, 0.08);
}

.mode {
  margin-bottom: 8px;
  color: #111923;
  font-weight: 900;
}

.intent-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  margin-top: 8px;
}

input {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid rgba(17, 25, 35, 0.14);
  border-radius: 18px;
  background: white;
  color: #111923;
}

.intent-row button,
.panel button,
.video-link {
  padding: 0 24px;
  border-radius: 18px;
}

.voice-button {
  background: #ffffff;
  border: 1px solid rgba(49, 100, 255, 0.28);
  color: #315fff;
}

.voice-button[disabled] {
  cursor: not-allowed;
  color: #6b7785;
  background: #eef2f6;
}

.voice-status {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #506070;
}

.video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  background: #ffffff;
  border: 1px solid rgba(17, 25, 35, 0.16);
  color: #111923;
  font-weight: 800;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

.panel,
.gallery,
.safety,
.dry-run {
  border-radius: 28px;
  padding: 30px;
}

.gallery,
.safety,
.dry-run {
  margin-top: 18px;
}

.section-title {
  max-width: 760px;
}

.outcome-grid,
.risk-ladder {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.outcome-grid {
  grid-template-columns: repeat(4, 1fr);
}

.risk-ladder {
  grid-template-columns: repeat(5, 1fr);
}

.outcome-card,
.risk-card {
  min-height: 220px;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(17, 25, 35, 0.1);
}

.outcome-card {
  display: grid;
  align-content: space-between;
}

.badge,
.risk-card span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eaf0ff;
  color: #315fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.risk-card span {
  width: 42px;
  height: 42px;
  padding: 0;
  margin-bottom: 18px;
  background: #111923;
  color: #fff;
}

.outcome-card small,
.risk-card small {
  color: #0d7a5b;
  font-weight: 800;
}

pre {
  overflow: auto;
  margin: 18px 0 0;
  padding: 22px;
  border-radius: 20px;
  background: #111923;
  color: #d7ffdf;
  font-size: 14px;
  line-height: 1.55;
}

.manual-open .panel[data-agent-section="manual-mode"] {
  outline: 4px solid rgba(32, 197, 143, 0.25);
}

@media (max-width: 980px) {
  .split,
  .outcome-grid,
  .risk-ladder {
    grid-template-columns: 1fr;
  }

  .concierge,
  .intent-row {
    grid-template-columns: 1fr;
  }

  .intent-row button,
  .panel button {
    min-height: 56px;
  }
}
