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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

.shell {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  min-height: 100svh;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  border-right: 1px solid rgba(16, 36, 58, 0.12);
  backdrop-filter: blur(16px);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 8px;
  color: #0074a7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
}

.range-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #38556e;
  font-size: 14px;
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  accent-color: #00aee7;
}

.button-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

button {
  min-height: 40px;
  border: 1px solid rgba(0, 94, 138, 0.2);
  background: #ffffff;
  color: #0b4f75;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #e7f8ff;
}

.specs {
  display: grid;
  gap: 14px;
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 36, 58, 0.12);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

dt {
  color: #587085;
  font-size: 13px;
  font-weight: 700;
}

dd {
  margin: 0;
  color: #10243a;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.stage {
  position: relative;
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(225, 246, 255, 0.5)),
    radial-gradient(circle at 70% 25%, rgba(0, 174, 231, 0.16), transparent 34%);
}

#scene {
  display: block;
  width: 100%;
  height: 100svh;
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(520px, 1fr);
  }

  .toolbar {
    gap: 14px;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 36, 58, 0.12);
  }

  h1 {
    font-size: 30px;
  }

  .specs {
    grid-template-columns: 1fr;
    margin: 0;
    padding-top: 14px;
  }

  #scene {
    height: 560px;
  }
}
