@font-face {
  font-family: Manrope;
  src: url("install.php?asset=font") format("truetype");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  --bg: #f8f7fc;
  --card: #fff;
  --ink: #242134;
  --muted: #716d80;
  --line: #e7e3ef;
  --lavender: #e9e1fc;
  --mint: #e3f4ec;
  --accent: #7356a6;
  --error: #a33245;
  --field: #fbfaff;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17151e;
  --card: #211e2a;
  --ink: #f3eefb;
  --muted: #b8afc8;
  --line: #393242;
  --lavender: #3f3157;
  --mint: #203e36;
  --accent: #c6a7f3;
  --error: #ffb2c0;
  --field: #26212f;
}
body {
  margin: 0;
  background: var(--bg);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
.shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(400px, 1.15fr);
  min-height: 100vh;
}
.identity {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 42px clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  background: var(--lavender);
  overflow: hidden;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.brand span {
  color: var(--accent);
}
.identity-copy {
  margin: auto 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-weight: 750;
  letter-spacing: -2px;
  line-height: 1.15;
  font-size: clamp(30px, 3.7vw, 53px);
  margin: 16px 0 22px;
}
.identity-copy > p {
  color: var(--muted);
  max-width: 320px;
}
.art {
  height: 240px;
  position: relative;
  max-width: 350px;
  margin: 30px auto 5px;
}
.tile {
  position: absolute;
  width: 115px;
  height: 190px;
  border: 6px solid #ffffffb3;
  border-radius: 24px;
  box-shadow: 0 20px 40px #2a1f4525;
  top: 20px;
}
.one {
  left: 0;
  transform: rotate(-13deg);
  background:
    radial-gradient(ellipse at 20% 20%, #faedcc, transparent 60%),
    linear-gradient(140deg, #facfba, #d390aa 65%, #9376ad);
}
.two {
  left: 105px;
  top: 0;
  transform: rotate(4deg);
  background:
    radial-gradient(circle at 60% 30%, #eee5d2, transparent 35%),
    linear-gradient(25deg, #3b685c 25%, #8bb5a2 25%, #a9c8b9 55%, #e4eddf 55%);
}
.three {
  left: 202px;
  top: 40px;
  transform: rotate(14deg);
  background:
    radial-gradient(ellipse at 70% 25%, #f9efd8, transparent 40%),
    linear-gradient(15deg, #77678f 20%, #a294bf 20%, #b7a9d4 50%, #e4d3ef 50%);
}
.spark {
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-size: 42px;
}
.checks {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  padding-top: 20px;
}
main {
  padding: 38px clamp(24px, 5vw, 80px);
  max-width: 1000px;
  width: 100%;
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}
.theme,
.remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  padding: 5px;
  cursor: pointer;
}
.main-title h1 {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}
.intro {
  color: var(--muted);
  margin-bottom: 28px;
}
section {
  margin: 36px 0;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-title {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.section-title > span {
  display: grid;
  place-items: center;
  background: var(--lavender);
  font-size: 12px;
  font-weight: 800;
  border-radius: 13px;
  min-width: 38px;
  height: 38px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  margin: 0 0 3px;
}
.section-title p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
label {
  display: block;
  font-weight: 650;
  font-size: 12px;
  margin-bottom: 17px;
}
input,
select {
  font: inherit;
  font-size: 14px;
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  min-width: 0;
}
input[readonly] {
  color: var(--muted);
}
input:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.notice {
  background: var(--lavender);
  padding: 19px 21px;
  border-radius: 17px;
  margin: 24px 0;
  font-size: 12px;
}
.notice p {
  margin: 7px 0 0;
}
.notice.mint {
  background: var(--mint);
}
.notice.error {
  color: var(--error);
  background: var(--card);
  border: 1px solid var(--error);
}
code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.secret {
  display: block;
  font-size: 15px;
  letter-spacing: 1.1px;
  user-select: all;
  padding: 17px 0;
}
button,
.button {
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: var(--card);
  padding: 14px 20px;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 46px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: var(--lavender);
  color: var(--ink);
}
.notice .secondary {
  border: 1px solid var(--line);
  background: var(--card);
}
button.remove {
  background: transparent;
  color: var(--muted);
  min-height: 0;
  padding: 0;
  font-size: 11px;
}
.remove:disabled {
  cursor: default;
  visibility: hidden;
}
.submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 12px;
}
.fine {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  margin: 13px 0 0;
}
.app-row {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 20px;
  margin-bottom: 14px;
  background: var(--card);
}
.row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 12px;
}
.app-row label:last-child {
  margin-bottom: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  font-weight: 500;
}
.check input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--accent);
}
.mt {
  margin-top: 23px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.hidden {
  display: none !important;
}
footer {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  main {
    max-width: 900px;
  }
  .identity {
    padding-left: 100px;
  }
}
@media (max-width: 850px) {
  .shell {
    display: block;
  }
  .identity {
    position: relative;
    height: auto;
    padding: 25px 26px;
  }
  .identity-copy {
    display: none;
  }
  .checks {
    padding-top: 12px;
  }
  main {
    padding: 25px 24px;
    max-width: 680px;
  }
  header {
    margin-bottom: 30px;
  }
}
@media (max-width: 480px) {
  .fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .check {
    padding-top: 0;
  }
  .app-row {
    padding: 17px;
  }
  main {
    padding: 24px 20px;
  }
  h1 {
    font-size: 32px;
  }
  .secret {
    font-size: 12px;
    letter-spacing: 0;
  }
  .brand {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
