:root {
  color-scheme: light dark;
  --background: #f7f7f5;
  --surface: #fff;
  --ink: #23272e;
  --muted: #727781;
  --line: #e2e4e7;
  --accent: #385579;
  --tint: #edf2f8;
  --input: #fff;
  --success: #437b5b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #769bca; outline-offset: 4px; }
.site-header, main, footer { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header { padding-block: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 650; letter-spacing: -.5px; }
.brand-mark { width: 25px; height: 18px; border-radius: 5px; background: linear-gradient(140deg, #62768b, #27394d); box-shadow: 3px -3px 0 #b4c1ce; }
.test-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 20px; font-size: 11px; color: var(--muted); }
.test-badge > span { width: 5px; height: 5px; border-radius: 50%; background: #769d85; }
.download-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding: 74px 0 100px; }
.eyebrow { margin: 0 0 17px; font-size: 10px; font-weight: 650; letter-spacing: 1.8px; color: var(--muted); }
h1 { margin: 0 0 23px; font-size: clamp(48px, 5.8vw, 72px); line-height: 1.03; letter-spacing: -3.5px; font-weight: 550; }
.lede { max-width: 385px; margin: 0 0 28px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.button { min-height: 44px; padding: 12px 17px; display: inline-flex; justify-content: center; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, box-shadow .15s; }
.button:hover:not(:disabled):not([aria-disabled="true"]) { box-shadow: 0 3px 10px #19283a15; }
.button.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.button:disabled, .button[aria-disabled="true"] { opacity: .48; cursor: default; }
.button[aria-disabled="true"] { pointer-events: none; }
.download-button { min-width: 198px; }
.download-help { max-width: 390px; margin-top: 17px; font-size: 12px; line-height: 1.7; }
.download-help summary { width: fit-content; color: var(--accent); font-weight: 600; cursor: pointer; }
.download-help ol { padding-left: 20px; margin: 13px 0; color: var(--muted); }
.download-help li + li { margin-top: 9px; }
.download-help p { color: var(--muted); margin: 0; }
.fine { font-size: 11px; line-height: 1.7; color: var(--muted); }
.beta-note { max-width: 390px; margin: 24px 0 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.8; color: var(--muted); }
.art-preview { position: relative; height: 350px; display: grid; place-items: center; }
.preview-halo { position: absolute; width: 96%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #dfe6ee80, transparent 69%); }
.sample-card { position: absolute; width: 87%; aspect-ratio: 1536 / 969; border-radius: 23px; }
.back-card { background: linear-gradient(135deg, #d5cec0, #ece8df); transform: translate(18px, -21px) rotate(6deg); border: 1px solid #c9c1b755; }
.front-card { overflow: hidden; color: #e6eef6; transform: translate(-12px, 11px) rotate(-5deg); background: radial-gradient(ellipse at 180% -20%, transparent 50%, #ffffff09 50.3%, #ffffff09 65%, transparent 65.3%), radial-gradient(ellipse at 15% 130%, transparent 40%, #ffffff08 40.3%, #ffffff08 65%, transparent 65.3%), linear-gradient(138deg, #57718d, #263b53); box-shadow: 0 25px 40px -19px #1f375b65, inset 0 0 0 1px #ffffff26; }
.preview-brand { position: absolute; left: 27px; top: 24px; font-size: 10px; opacity: .65; letter-spacing: .3px; }
.preview-caption { position: absolute; left: 27px; bottom: 27px; font-size: clamp(17px, 2vw, 23px); font-weight: 450; letter-spacing: -.6px; }
.preview-mark { position: absolute; right: 26px; top: 20px; font-size: 22px; opacity: .5; }
.preview-note { position: absolute; bottom: -8px; font-size: 11px; color: var(--muted); }
.license-section { padding-top: 44px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
h2 { margin: 0; font-size: 31px; line-height: 1.2; font-weight: 550; letter-spacing: -1px; }
.section-heading > p { max-width: 355px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: 14px; font-weight: 600; }
.catalog-note { margin: 9px 0 19px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.complete-option { display: flex; align-items: center; gap: 14px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); cursor: pointer; }
.complete-option.selected { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
input[type="checkbox"] { width: 16px; height: 16px; margin: 0; flex: 0 0 auto; accent-color: var(--accent); }
.complete-copy { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.complete-copy strong { font-size: 13px; letter-spacing: .15px; }
.complete-copy > span { font-size: 12px; color: var(--muted); }
.complete-price { display: flex; flex-direction: column; gap: 5px; align-items: end; }
.complete-price > span { color: var(--muted); font-size: 14px; }
.complete-price small { font-size: 10px; color: var(--success); }
.pack-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 25px 0 12px; color: var(--muted); font-size: 12px; }
#selection-summary { font-size: 11px; }
.pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.pack-option { min-height: 77px; display: flex; align-items: center; gap: 10px; padding: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pack-option.selected { border-color: #9cacc0; background: var(--tint); }
.pack-option.included { opacity: .65; cursor: default; }
.custom-upload-option { grid-column: 1 / -1; border-style: dashed; }
.custom-upload-option .pack-copy > span:last-child { color: var(--accent); }
.pack-copy { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pack-copy strong { font-size: 11px; line-height: 1.4; font-weight: 600; }
.pack-copy > span { font-size: 10px; color: var(--muted); }
.invitation-panel { display: flex; align-items: center; gap: 28px; margin-top: 29px; padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.code-field { flex: 1; display: grid; gap: 9px; max-width: 460px; }
.code-field label, .license-result > label { font-size: 12px; font-weight: 600; }
input[type="password"], input[type="text"] { width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--input); color: var(--ink); font-size: 13px; }
input:disabled { opacity: .6; }
#generate { margin-left: auto; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.form-status.error { color: #ae4747; }
.text-button { border: 0; padding: 6px 0; color: var(--accent); background: none; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.license-result { margin-top: 34px; padding: 30px; border: 1px solid #bccdc2; border-radius: 15px; background: var(--surface); scroll-margin-top: 25px; }
.license-result:focus { outline: none; }
.result-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 27px; }
.success-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #edf4ef; color: var(--success); font-size: 22px; }
.result-heading .eyebrow { margin: 0 0 7px; font-size: 9px; }
h3 { font-size: 24px; font-weight: 550; letter-spacing: -.6px; margin: 0; }
.key-row { display: flex; gap: 10px; margin-top: 9px; }
#license-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
#copy { flex-shrink: 0; }
#copy-status { min-height: 18px; margin: 7px 0 15px; }
.included-summary { margin: 0 0 11px; font-size: 13px; line-height: 1.6; }
details { font-size: 12px; color: var(--muted); }
summary { cursor: pointer; width: fit-content; }
#included-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; padding-left: 18px; font-size: 11px; line-height: 1.6; }
.activation-steps { margin: 24px 0 20px; padding: 19px 20px 19px 39px; border-radius: 10px; background: var(--background); font-size: 12px; line-height: 1.8; color: var(--muted); }
.activation-steps li + li { margin-top: 5px; }
.activation-steps strong { color: var(--ink); font-weight: 600; }
footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 27px; border-top: 1px solid var(--line); margin-top: 65px; font-size: 11px; color: var(--muted); }
.brand-small { font-weight: 600; color: var(--ink); }
.noscript { margin: 20px; text-align: center; color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root { --background: #202326; --surface: #2a2e32; --ink: #eef0f1; --muted: #a2aab3; --line: #3b4148; --accent: #577ea9; --tint: #293846; --input: #24292e; --success: #97bda3; }
  .preview-halo { background: radial-gradient(circle, #37506560, transparent 68%); }
  .back-card { background: linear-gradient(135deg, #8d8a81, #b6b3a9); }
  .success-mark { background: #2d4035; }
  .license-result { border-color: #425d4b; }
  .form-status.error { color: #e6a1a1; }
}
@media (max-width: 960px) {
  .download-section { gap: 35px; }
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sample-card { width: 94%; }
}
@media (max-width: 700px) {
  .site-header, main, footer { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; padding-block: 25px; gap: 18px; }
  .download-section { grid-template-columns: 1fr; padding: 42px 0 62px; gap: 18px; }
  h1 { font-size: 58px; letter-spacing: -2.9px; }
  .lede, .beta-note { max-width: 470px; }
  .art-preview { height: 310px; width: min(100%, 410px); justify-self: center; }
  .sample-card { width: 85%; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; max-width: 470px; }
  .license-section { padding-top: 34px; }
  h2 { font-size: 29px; }
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .complete-option { padding: 17px 14px; gap: 10px; }
  .complete-copy strong { font-size: 12px; }
  .complete-copy > span { font-size: 11px; line-height: 1.5; }
  .invitation-panel { flex-direction: column; align-items: stretch; gap: 18px; padding: 19px; }
  .code-field { max-width: none; }
  #generate { margin: 0; }
  .license-result { padding: 22px 18px; }
  .key-row { flex-direction: column; }
  #included-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { margin-top: 42px; }
}
@media (max-width: 380px) {
  .pack-grid { grid-template-columns: 1fr; }
  .complete-price { max-width: 68px; flex-shrink: 0; }
  .complete-price small { text-align: right; }
  .pack-heading { align-items: start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
