:root {
  --bg: #0f172a;          /* slate-900 */
  --panel: #0b1223;       /* darker panel */
  --brand: #06b6d4;       /* cyan-500 */
  --text: #e2e8f0;        /* slate-200 */
  --muted: #94a3b8;       /* slate-400 */
  --border: #1e293b;      /* slate-800 */
  --danger: #ef4444;      /* red-500 */
  --focus: #22d3ee;       /* cyan-400 */
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 10% -10%, #12213f 0%, var(--bg) 45%),
              radial-gradient(800px 600px at 100% 0%, #0b2540 0%, transparent 50%),
              var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  display: grid; place-items: center;
  font-weight: 800; color: #09111f; letter-spacing: 0.5px;
}
h1 { font-size: 1.8rem; margin: 0; }
.subtitle { color: var(--muted); margin: 4px 0 0; font-size: 0.98rem; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (min-width: 960px) {
  .grid { grid-template-columns: 1.1fr 0.9fr; }
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 30px rgba(0,0,0,0.25);
}
.card h2 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { color: var(--text); opacity: 0.95; }

.stack { display: grid; gap: 10px; }

.policy-selector {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.53);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.policy-selector:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #334155;
}
.policy-selector:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  background: #0a162e;
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.05s ease, background 0.2s ease, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); border-color: #2a3a52; }
.btn.primary { background: linear-gradient(135deg, #0891b2, var(--brand)); color: #041018; border-color: #0ea5b3; }
.btn.danger { background: linear-gradient(135deg, #b91c1c, var(--danger)); color: #fff; border-color: #dc2626; }

.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

details.accordion { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: #0b142a; }
details + details { margin-top: 8px; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none }
details .content { margin-top: 8px; color: var(--text); }

footer { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); margin-top: 26px; padding-top: 16px; }
footer a { color: var(--text); }

.kicker { color: var(--muted); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.list { margin: 8px 0 0 18px; }
.list li { margin: 4px 0; }
code, pre { background: #0b1326; border: 1px solid var(--border); border-radius: 6px; padding: 2px 6px; }
.hr { height: 1px; background: var(--border); margin: 12px 0; }
