body {
  font-family: "Trebuchet MS", Arial, sans-serif;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 60px;
  color: #222;
  background: #fafafa;
}

.page-header {
  padding: 30px 0 10px;
}

.page-header h1 {
  color: #1f3864;
  margin-bottom: 6px;
}

.page-header p {
  color: #444;
  line-height: 1.5;
}

.tier-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8em;
  font-weight: bold;
  color: #b8720a;
  margin: 34px 0 6px;
}

.demo-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 18px;
}

.demo-card h2 {
  margin-top: 0;
  font-size: 1.1em;
  color: #1f3864;
}

.demo-card > p {
  color: #444;
  line-height: 1.45;
  margin-bottom: 14px;
}

.demo-output {
  background: #f2f2f2;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 10px;
}

.demo-output label {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 8px;
  font-size: 0.95em;
}

.demo-output input[type="number"],
.demo-output input[type="text"] {
  font-family: "Trebuchet MS", Arial, sans-serif;
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 90px;
}

.demo-output input[type="text"] {
  width: 260px;
}

.demo-output textarea {
  width: 100%;
  font-family: "Trebuchet MS", Arial, sans-serif;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.btn {
  background: #1b6e6e;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 0.95em;
  cursor: pointer;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.btn:hover {
  background: #145454;
}

.clock-display {
  font-family: "Courier New", monospace;
  font-size: 1.6em;
  font-weight: bold;
  color: #1f3864;
  margin: 4px 0;
}

.swatch {
  width: 100%;
  height: 70px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  background: #ffffff;
}

.panel {
  margin-top: 12px;
  background: #e7f3f3;
  border-left: 4px solid #1b6e6e;
  padding: 12px 16px;
  border-radius: 4px;
}

.panel.hidden {
  display: none;
}

canvas {
  width: 100%;
  max-width: 500px;
  background: #1e1e1e;
  border-radius: 6px;
  display: block;
}

#copyStatus {
  color: #1b6e6e;
  font-weight: bold;
  margin-left: 8px;
}

details {
  margin-top: 8px;
}

summary {
  cursor: pointer;
  color: #1b6e6e;
  font-weight: bold;
  font-size: 0.9em;
}

details pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 14px 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin-top: 10px;
  font-size: 0.82em;
  line-height: 1.5;
}

details code {
  font-family: "Courier New", monospace;
}

.page-footer {
  text-align: center;
  color: #888;
  font-size: 0.85em;
  margin-top: 40px;
}
