
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #30243f;
  background: #290b4d;
  color-scheme: light;
  --brand: #290b4d;
  --accent: #681cc2;
  --border: #e0cdff;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(32px, 7vh, 72px) 20px;
  background: radial-gradient(ellipse at top left, #681cc280, transparent 65%),
    linear-gradient(135deg, #290b4d, #1d0738);
}
main {
  width: 100%;
  max-width: 560px;
  margin: auto;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 80px #12051f40;
  overflow-wrap: anywhere;
}
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--brand); font-size: 22px; font-weight: 800; text-decoration: none; }
.brand img { display: block; border-radius: 12px; }
.section-label { color: var(--accent); background: #f8f4ff; border: 1px solid var(--border); border-radius: 20px; padding: 6px 10px; font-size: 12px; font-weight: 600; }
h1 { margin: 0 0 16px; color: var(--brand); font-size: 28px; line-height: 1.25; letter-spacing: -.6px; }
p, li { line-height: 1.65; }
p { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin: 10px 0; }
li::marker { color: var(--accent); }
label { display: block; color: var(--brand); font-size: 14px; font-weight: 600; margin-top: 20px; }
input, select, button { font: inherit; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; margin-top: 8px; border-radius: 10px; border: 1px solid #9f8bb5; }
input, select { color: #30243f; background: #fff; }
button { margin-top: 24px; background: var(--accent); color: #fff; border-color: var(--accent); cursor: pointer; font-weight: 600; }
button:hover { background: var(--brand); border-color: var(--brand); }
.install-link { display: block; min-height: 48px; padding: 12px 14px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: #fff; text-align: center; text-decoration: none; font-weight: 600; }
.install-link:hover { background: var(--brand); border-color: var(--brand); }
.secondary { margin-top: 10px; background: #fff; color: var(--accent); border-color: var(--border); }
.secondary:hover { background: #f3ebff; color: var(--brand); border-color: var(--accent); }
small { display: block; color: #645371; font-size: 13px; line-height: 1.6; margin-top: 24px; }
.error { padding: 14px 16px; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; }
article { border-top: 1px solid var(--border); padding: 20px 0; }
article:last-child { padding-bottom: 0; }
article p { margin: 8px 0 0; }
code { font-size: .85em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f8f4ff; border: 1px solid var(--border); padding: 14px; border-radius: 10px; }
input[readonly] { background: #f8f4ff; }
details { border-top: 1px solid var(--border); margin: 20px 0; padding-top: 16px; }
summary { min-height: 44px; cursor: pointer; font-weight: 600; color: var(--brand); }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 480px) {
  body { padding: 24px 16px; }
  main { padding: 28px 24px; border-radius: 20px; }
  .page-header { flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
  h1 { font-size: 25px; }
}
