:root {
  color-scheme: dark;
  --bg: #131117;
  --panel: #1d1922;
  --panel-deep: #18141c;
  --text: #faf6f0;
  --muted: #bbb0c2;
  --accent: #e8fa9e;
  --lilac: #d7bcff;
  --line: #3b3242;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Black", "Inter", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--body); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3, strong, .brand { letter-spacing: -.035em; }
h1, h2, h3 { line-height: 1.12; }
h1 { font: 900 clamp(2.85rem, 6vw, 5.6rem)/.98 var(--display); letter-spacing: -.075em; }
h1 em { color: var(--lilac); font-style: normal; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.25rem; }
a { color: var(--lilac); text-underline-offset: .22em; }
a:hover { color: var(--text); }
input, textarea, button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 3.25rem, 71rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 3; transform: translateY(-160%); background: var(--panel); padding: .5rem 1rem; }
.skip:focus { transform: none; }
.muted, .section-title p { color: var(--muted); }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { min-height: 4.65rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; gap: .6rem; align-items: center; color: var(--text); font-size: 1.25rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: center; position: relative; width: 1.95rem; height: 1.45rem; }
.brand-mark i { width: 1.2rem; height: 1.2rem; border: 2px solid var(--accent); border-radius: 50%; display: grid; place-items: center; }
.brand-mark i::before { content: ""; width: .43rem; height: .43rem; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); }
.brand-mark i + i { position: absolute; left: .7rem; border-color: var(--lilac); }
.brand-mark i + i::before { color: var(--lilac); }
.header-inner nav { display: flex; gap: clamp(1rem, 3vw, 2.35rem); }
.header-inner nav a, .footer-inner nav a { color: var(--muted); text-decoration: none; }
.header-inner nav a { font-size: .9rem; font-weight: 650; }
.header-inner nav a:hover, .footer-inner nav a:hover { color: var(--accent); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.95rem; padding: .62rem 1.15rem; border: 1px solid transparent; border-radius: .6rem; text-decoration: none; font-weight: 780; font-size: .95rem; line-height: 1.3; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.button.primary { background: var(--accent); color: #201b22; }
.button.primary:hover { background: #f6ffd0; color: #201b22; }
.button.outline { color: var(--text); border-color: #67596f; background: transparent; }
.button.outline:hover { background: #302638; border-color: var(--lilac); color: var(--text); }
.button.danger { background: #f1a4ae; color: #2f1822; }
.button:disabled { opacity: .63; cursor: wait; }
.header-cta { min-height: 2.55rem; font-size: .875rem; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 86% 22%, #362541 0%, transparent 52%), var(--bg); }
.hero-grid { min-height: 33rem; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 1.4rem; }
.hero-copy { padding: 3.2rem 0 3.45rem; z-index: 1; }
.hero-kicker { color: var(--accent); font-size: .78rem; font-weight: 760; letter-spacing: .15em; display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.55rem; text-decoration: none; }
.hero-kicker span { width: 1.2rem; height: 1px; background: var(--accent); }
.hero h1 em { display: block; }
.hero-copy > p:not(.hero-kicker, .hero-note), .shared-copy > p:not(.hero-note) { font-size: clamp(1.06rem, 2vw, 1.25rem); color: #d9cfdf; margin: 1.35rem 0 1.7rem; max-width: 32ch; }
.hero .button { min-height: 3.2rem; padding-inline: 1.35rem; }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: .9rem; }
.hero-art { position: relative; height: 28rem; display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; z-index: -1; width: min(93%, 31rem); height: 83%; border: 1px solid #6b5479; border-radius: 50%; transform: rotate(-17deg); }
.orbit { position: absolute; border: 1px solid #594565; border-radius: 50%; width: 100%; height: 65%; transform: rotate(38deg); z-index: -1; }
.orbit-two { transform: rotate(-31deg); height: 68%; width: 107%; }
.sleeve { width: min(76%, 23.5rem); aspect-ratio: 1.035; border-radius: .85rem; position: absolute; }
.sleeve-back { background: repeating-linear-gradient(45deg, #aa865c 0 1px, transparent 1px 5px), #f5bb89; transform: translate(2.55rem, .45rem) rotate(12deg); opacity: .95; }
.sleeve-front { padding: 1rem 1.2rem; display: flex; flex-direction: column; justify-content: space-between; transform: translate(-.5rem, -.4rem) rotate(-8deg); background: #d6bcff; color: #271a38; border: 1px solid #e6d5ff; box-shadow: .45rem .9rem 2.4rem #0d091194; overflow: hidden; }
.sleeve-top, .track-brand { display: flex; align-items: center; justify-content: space-between; gap: .4rem; font-size: .73rem; font-weight: 850; letter-spacing: .11em; }
.sleeve-bottom { display: flex; justify-content: space-between; align-items: end; padding-top: .65rem; border-top: 1px solid #8873a4; }
.sleeve-bottom strong { display: block; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1; }
.sleeve-bottom span:not(.barcode) { font-size: clamp(.72rem, 1.5vw, .95rem); font-weight: 650; }
.barcode { width: 2.9rem; height: 1.32rem; background: repeating-linear-gradient(90deg, #372447 0 1px, transparent 1px 3px, #372447 3px 5px, transparent 5px 7px, #372447 7px 8px, transparent 8px 11px); }

.records { position: relative; height: 62%; width: 100%; isolation: isolate; }
.record { position: absolute; top: 0; width: 57%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle at center, var(--disk) 0 4%, var(--groove) 4.4% 4.95%, var(--disk) 5.2% 7%); border: 1px solid var(--groove); box-shadow: .15rem .32rem .8rem #0c081d85; }
.record-a { left: 3%; --disk: #433164; --groove: #756195; --center: #e2bdff; }
.record-b { top: 11%; right: 3%; --disk: #e8fa9e; --groove: #9eab65; --center: #faf1c4; }
.record i { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--center); border: 1px solid var(--groove); display: grid; place-items: center; }
.record i::before { content: ""; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #251b32; }
.spark { position: absolute; top: -4%; right: 0; font-size: 1.5rem; color: #4b326f; }
.wave { position: absolute; bottom: -6%; left: 2%; color: #4b326f; font-size: 1.5rem; line-height: 1; letter-spacing: -.25em; font-weight: 800; }

.studio { padding-block: 3rem 3.75rem; scroll-margin-top: 1.25rem; }
.section-title { margin-bottom: 1.35rem; }
.section-title p { margin-top: .4rem; }
.studio-grid { display: grid; grid-template-columns: 1.08fr .92fr; border: 1px solid var(--line); border-radius: 1.05rem; overflow: hidden; background: var(--panel); }
.form-pane, .preview-pane { padding: clamp(1.15rem, 3.2vw, 2rem); }
.form-pane > h2, .preview-heading h2 { font-size: 1.45rem; }
.form-pane > p { margin: .55rem 0 1.1rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.3rem; }
.field-region { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field > span { font-size: .9rem; font-weight: 725; }
.field small { color: var(--muted); font-weight: 500; font-size: .82rem; padding-left: .3rem; }
.field input, .field textarea { border: 1px solid #605268; border-radius: .48rem; background: #151119; color: var(--text); width: 100%; display: block; padding: .63rem .75rem; }
.field input::placeholder { color: #ae9db5; }
.field textarea { resize: vertical; }
.preview-pane { background: var(--panel-deep); border-left: 1px solid var(--line); }
.preview-pane:only-child, .form-pane[hidden] + .preview-pane { grid-column: 1 / -1; border-left: 0; }
.preview-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; justify-content: space-between; margin-bottom: 1rem; }
.preview-heading span { font-size: .75rem; color: var(--accent); letter-spacing: .09em; font-weight: 750; }
.preview-pane > p { text-align: center; font-size: .9rem; color: var(--muted); margin: .85rem auto 0; max-width: 42ch; }
.track-card { padding: 1rem 1.12rem; margin-inline: auto; width: min(100%, 22rem); border: 1px solid #7d6693; border-radius: .8rem; color: #fcf6ff; background: radial-gradient(ellipse at top, #3e2855, #281d34 67%); overflow: hidden; }
.track-brand { color: var(--accent); justify-content: flex-start; }
.track-card .records { width: 70%; margin: .45rem auto .5rem; height: auto; aspect-ratio: 2.1; }
.track-card .record-a { --disk: #caafff; --groove: #6f5495; --center: #f4e3ff; }
.track-card .wave, .track-card .spark { color: #d6bcff; }
.track-title { color: var(--lilac); font: 850 clamp(1.65rem, 4vw, 2.18rem)/.96 var(--display); letter-spacing: -.055em; margin: .7rem 0 .85rem; }
.track-card dl > div { display: grid; grid-template-columns: 4.7rem 1fr; gap: .4rem; align-items: baseline; border-top: 1px solid #604b75; padding: .24rem 0; }
.track-card dt { color: var(--accent); font-size: .75rem; letter-spacing: .02em; }
.track-card dd { font-weight: 670; font-size: .9rem; overflow-wrap: anywhere; }
.track-footer { font-size: .76rem; color: #d4c7df; margin-top: .65rem; }

.publish-pane { border-top: 1px solid var(--line); padding-top: .85rem; }
.publish-pane p { margin: .58rem 0 .9rem; }
.publish-pane button { margin-right: .25rem; }
.review-clues { display: grid; gap: .3rem; margin-bottom: 1rem; }
.review-clues > div { display: grid; grid-template-columns: 5.2rem 1fr; gap: .5rem; }
.review-clues dt { color: var(--muted); }
.review-clues dd { font-weight: 650; overflow-wrap: anywhere; }
.feedback { color: var(--accent); margin-top: .65rem; overflow-wrap: anywhere; }
.feedback:empty { display: none; }
.result, .panel { padding: clamp(1.25rem, 3vw, 2rem); background: var(--panel); border: 1px solid var(--line); border-radius: .8rem; }
.result { margin-top: 1.25rem; }
.result > p, .panel > p { margin: .55rem 0 .85rem; color: var(--muted); }
.result .feedback { color: var(--accent); }
.share-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.public-result { margin-block: 1rem; max-width: 41rem; }
.public-result a { display: inline-block; margin-top: .5rem; }
.management-result .field { margin: .8rem 0; }
.management-result .share-actions { padding-bottom: .7rem; }
.clipboard-helper { position: fixed; left: -100vw; top: 0; }

.flow { background: #18141d; border-block: 1px solid var(--line); padding-block: 3rem; }
.flow .section-title { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .7rem; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.flow-grid > div { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; padding: 1.3rem; }
.flow-grid span { display: inline-grid; place-items: center; width: 2.35rem; height: 2.35rem; color: var(--lilac); background: #39284c; border-radius: 50%; margin-bottom: .75rem; font-size: 1.2rem; }
.flow-grid p { margin-top: .5rem; color: var(--muted); }
.home-end { padding-block: 3.2rem 3.7rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.1rem, 4vw, 3rem); align-items: start; }
.home-end h2 { font-size: 1.8rem; }
.quick-faq > a { display: inline-block; margin-top: .75rem; }

details { border-bottom: 1px solid var(--line); }
summary { color: var(--text); font-weight: 725; cursor: pointer; padding: .75rem 0; }
details p { color: var(--muted); padding-bottom: .7rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.1rem; background: #100e13; }
.footer-inner { display: flex; gap: 1rem 3rem; align-items: start; justify-content: space-between; }
.footer-inner nav { display: grid; grid-template-columns: repeat(3, auto); gap: .5rem 1.5rem; }
.footer-inner p, .footer-inner nav a { font-size: .87rem; color: var(--muted); }
.footer-inner p { margin-top: .35rem; }

.article { max-width: 52rem; padding-block: clamp(2.75rem, 7vw, 5rem); }
.article h1, .manage h1, .empty h1 { font-size: clamp(2.6rem, 5.6vw, 4.65rem); margin: .6rem 0 1rem; }
.back-link { font-size: .9rem; }
.article-lead { color: #d9cfdf; font-size: clamp(1.1rem, 2.4vw, 1.36rem); max-width: 52ch; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.article-body { font-size: 1.045rem; }
.article-body h2 { font-size: clamp(1.38rem, 3vw, 1.9rem); }
.article-body section { margin: 1.8rem 0; }
.article-body section p { color: #ded4e3; margin-top: .52rem; }
.article-next { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.35rem; }
.article-next nav { display: flex; flex-wrap: wrap; gap: .65rem 1rem; margin-top: .8rem; }
.support-form { display: grid; gap: .9rem; justify-items: start; }
.support-form .field { width: 100%; }

.shared { min-height: 33rem; padding-block: 3rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4rem; align-items: center; }
.shared h1 { font-size: clamp(2.75rem, 5.2vw, 4.7rem); max-width: 12ch; }
.shared h1 em { display: block; }
.shared-art { padding: 1.2rem; background: radial-gradient(ellipse at center, #432c59, transparent 70%); }
.manage { min-height: 32rem; }
.manage > .feedback { margin-bottom: 1rem; }
.delete-panel { margin-top: 1.5rem; }
.delete-panel h2 { font-size: 1.5rem; }
.delete-panel [data-delete-confirm] p { margin-bottom: .5rem; }
.empty { padding-block: 4rem; min-height: 28rem; }
.empty p { margin: .8rem 0 1rem; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 2rem, 71rem); }
  .header-inner { min-height: 3.9rem; }
  .header-inner nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 2.65rem 1.25rem; }
  .hero-kicker { margin-bottom: .95rem; font-size: .72rem; }
  .hero-art { height: min(84vw, 22rem); max-width: 31rem; width: 100%; margin: 0 auto 1rem; }
  .sleeve { width: min(69%, 17.8rem); padding: .72rem .8rem; }
  .sleeve-back { transform: translate(1.6rem, .4rem) rotate(12deg); }
  .sleeve-top { font-size: .61rem; }
  .studio { padding-block: 2.2rem; }
  .studio-grid, .home-end, .shared { grid-template-columns: 1fr; }
  .preview-pane { border: 0; border-top: 1px solid var(--line); }
  .preview-pane:only-child, .form-pane[hidden] + .preview-pane { border-top: 0; }
  .flow-grid { grid-template-columns: 1fr; }
  .home-end { padding-block: 2.3rem; }
  .footer-inner { flex-direction: column; }
  .footer-inner nav { grid-template-columns: repeat(2, auto); }
  .shared { padding-block: 2.2rem; }
}

@media (max-width: 370px) {
  .field-grid { grid-template-columns: 1fr; }
  .sleeve-top { letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
