:root {
  color-scheme: light;
  font: 16px/1.55 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  color: #24203a;
  --purple: #6746cb;
  --active: #5033a8;
  --muted: #635c77;
  --line: #e4dbf4;
  --lavender: #f0ebff;
  accent-color: var(--purple);
  background: #f7f4fc;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
.top { display: flex; gap: .8rem 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 75px; padding: .75rem clamp(1rem, 5vw, 4rem); background: white; border-bottom: 1px solid var(--line); }
.top span, .tag { color: var(--muted); font-size: .88rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; font-weight: 720; color: inherit; text-decoration: none; }
.brand b { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--purple); color: white; border-radius: .72rem; font-size: .82rem; }
main { width: min(calc(100% - 2rem), 660px); margin: clamp(1.2rem, 10vh, 7rem) auto; }
.card { display: grid; gap: 1.15rem; padding: clamp(1rem, 5vw, 2.3rem); background: white; border: 1px solid var(--line); border-radius: 1.4rem; box-shadow: 0 18px 60px #34206b10; }
h1 { margin: .25rem 0 .55rem; font-size: clamp(1.85rem, 6vw, 2.85rem); line-height: 1.09; letter-spacing: -.048em; text-wrap: balance; }
p { margin: 0; color: var(--muted); text-wrap: pretty; }
.inline { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
input:not([type=radio]) { font: inherit; border-radius: .6rem; border: 1px solid #b7aaca; padding: .55rem .8rem; min-height: 44px; flex: 1 1 230px; min-width: 0; width: 100%; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1rem; width: fit-content; border: 1px solid var(--line); border-radius: .65rem; color: var(--active); background: white; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--lavender); }
.primary { border-color: var(--purple); background: var(--purple); color: white; }
.primary:hover { background: var(--active); }
.button:disabled { opacity: .75; cursor: wait; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
[role=status]:empty { display: none; }
.tag { display: inline-flex; width: fit-content; padding: .15rem .6rem; background: var(--lavender); border-radius: 99px; }
.device, .edition { display: flex; align-items: center; gap: .85rem; border: 1px solid var(--line); border-radius: .85rem; padding: .85rem; }
.device { flex-wrap: wrap; }
.device img { display: block; width: min(100%, 220px); height: auto; border-radius: .6rem; }
fieldset { padding: 0; margin: 0; border: 0; min-inline-size: 0; }
legend { padding: 0 0 .45rem; font-weight: 650; }
.edition { cursor: pointer; background: #fbf9ff; }
.edition small { display: block; color: var(--muted); }
progress { width: 100%; }
