:root {
  color-scheme: dark;
  --ink: #f7f8ff;
  --muted: #aab2c9;
  --subtle: #737d9a;
  --night: #080b14;
  --panel: #111626;
  --panel-raised: #171d30;
  --line: rgba(182, 196, 232, 0.16);
  --yellow: #ffd84a;
  --yellow-strong: #ffcb21;
  --cyan: #50e8ff;
  --green: #55e78c;
  --purple: #786bff;
  --shell: min(1180px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  background: var(--night);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--night); line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at 82% 8%, rgba(66, 78, 199, 0.2), transparent 33rem), radial-gradient(circle at 18% 24%, rgba(80, 232, 255, 0.07), transparent 26rem); pointer-events: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }
::selection { color: var(--night); background: var(--cyan); }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.7rem 1rem; color: var(--night); background: var(--yellow); border-radius: 0.5rem; font-weight: 800; transform: translateY(-160%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(182, 196, 232, 0.1); background: rgba(8, 11, 20, 0.82); backdrop-filter: blur(18px); }
.nav-shell { min-height: 4.75rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; width: max-content; color: var(--ink); font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 2rem; height: 2rem; display: flex; align-items: end; gap: 3px; padding: 0.42rem; border: 1px solid rgba(255, 216, 74, 0.45); border-radius: 0.6rem; background: linear-gradient(145deg, rgba(255, 216, 74, 0.16), rgba(120, 107, 255, 0.12)); box-shadow: inset 0 0 18px rgba(255, 216, 74, 0.08); }
.brand-mark span { flex: 1; border-radius: 999px; background: var(--yellow); }
.brand-mark span:nth-child(1) { height: 45%; }
.brand-mark span:nth-child(2) { height: 100%; background: var(--cyan); }
.brand-mark span:nth-child(3) { height: 68%; background: var(--green); }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a, .site-footer nav a { color: var(--muted); font-size: 0.9rem; font-weight: 650; text-decoration: none; transition: color 160ms ease; }
.primary-nav a:hover, .site-footer nav a:hover { color: var(--ink); }
.nav-shell > .button { justify-self: end; }

.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; padding: 0.8rem 1.25rem; border: 1px solid transparent; border-radius: 0.8rem; font: inherit; font-size: 0.92rem; font-weight: 800; line-height: 1; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover:not(.is-disabled) { transform: translateY(-2px); }
.button-primary { color: #171304; background: var(--yellow); box-shadow: 0 12px 34px rgba(255, 203, 33, 0.18); }
.button-primary:hover:not(.is-disabled) { background: #ffe169; box-shadow: 0 16px 40px rgba(255, 203, 33, 0.25); }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, 0.04); }
.button-secondary:hover:not(.is-disabled), .button-ghost:hover:not(.is-disabled) { border-color: rgba(80, 232, 255, 0.48); background: rgba(80, 232, 255, 0.08); }
.button-ghost { min-height: 2.7rem; padding: 0.65rem 1rem; color: var(--ink); border-color: var(--line); background: transparent; }
.button-light { color: #101425; background: #fff; }
.button-small { font-size: 0.84rem; }
.button-full { width: 100%; }
.is-disabled { cursor: not-allowed; opacity: 0.48; box-shadow: none; }

.hero { min-height: calc(100svh - 4.75rem); display: grid; grid-template-columns: 0.86fr 1.14fr; align-items: center; gap: clamp(2.5rem, 6vw, 6.5rem); padding-block: clamp(4.5rem, 9vw, 8rem); }
.hero-copy { position: relative; z-index: 2; }
.status-pill { width: max-content; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.75rem; color: #ced6ec; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.status-pill span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(85, 231, 140, 0.12); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 11ch; margin: 1.45rem 0 1.4rem; font-size: clamp(3.4rem, 6.4vw, 6.6rem); line-height: 0.91; letter-spacing: -0.065em; }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.35rem, 4.8vw, 4.6rem); line-height: 1; letter-spacing: -0.05em; }
h3 { margin-bottom: 0.65rem; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.025em; }
.hero-lede { max-width: 38rem; margin-bottom: 1.8rem; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.availability, .card-note { margin: 0.75rem 0 0; color: var(--subtle); font-size: 0.8rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 0.65rem 1.3rem; margin: 1.75rem 0 0; padding: 0; color: var(--muted); font-size: 0.8rem; list-style: none; }
.hero-notes li::before { content: "·"; margin-right: 0.55rem; color: var(--cyan); }

.product-visual { margin: 0; perspective: 1200px; }
.visual-frame { position: relative; overflow: hidden; border: 1px solid rgba(129, 145, 200, 0.28); border-radius: 1.4rem; background: #0e1220; box-shadow: 0 42px 100px rgba(0, 0, 0, 0.55), 0 0 90px rgba(65, 71, 190, 0.14); transform: rotateY(-3deg) rotateX(1deg); }
.visual-frame::after { content: ""; position: absolute; inset: 2.7rem 0 2.8rem; box-shadow: inset 0 0 80px rgba(8, 11, 20, 0.25); pointer-events: none; }
.window-bar, .visual-caption { min-height: 2.75rem; display: flex; align-items: center; gap: 0.38rem; padding-inline: 1rem; color: var(--subtle); background: rgba(12, 15, 27, 0.96); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.window-bar > span { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: #414a65; }
.window-bar > span:first-child { background: var(--yellow); }
.window-bar p { margin: 0 0 0 auto; }
.visual-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.visual-caption { justify-content: space-between; min-height: 2.8rem; color: #97a2c0; letter-spacing: 0.05em; }
.visual-caption > span:first-child { display: inline-flex; align-items: center; gap: 0.45rem; color: #b9f8d0; }
.pulse-dot { width: 0.43rem; height: 0.43rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.product-visual figcaption { max-width: 34rem; margin: 0.9rem auto 0; color: var(--subtle); font-size: 0.76rem; text-align: center; }

.section { padding-block: clamp(5.5rem, 10vw, 9rem); }
.section-heading { max-width: 47rem; }
.section-heading > p:last-child { max-width: 41rem; color: var(--muted); font-size: 1.03rem; }
.kicker { margin-bottom: 0.8rem; color: var(--cyan); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3.2rem 0 0; padding: 0; list-style: none; counter-reset: steps; }
.step-card { position: relative; min-height: 19rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.15rem; background: linear-gradient(145deg, rgba(23, 29, 48, 0.88), rgba(12, 16, 29, 0.88)); }
.step-card.featured { border-color: rgba(80, 232, 255, 0.3); box-shadow: inset 0 1px 0 rgba(80, 232, 255, 0.14); }
.step-number { position: absolute; top: 1.3rem; right: 1.3rem; color: #68728f; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; }
.step-card p { max-width: 18rem; margin: 0; color: var(--muted); }
.step-icon { width: 5rem; height: 5rem; display: grid; place-items: center; margin: 2rem 0 2.4rem; border: 1px solid var(--line); border-radius: 1.1rem; background: #0c101d; box-shadow: inset 0 0 22px rgba(120, 107, 255, 0.12); }
.record-icon span { width: 1.5rem; height: 1.5rem; border: 0.35rem solid rgba(255, 216, 74, 0.25); border-radius: 50%; background: var(--yellow); box-shadow: 0 0 20px rgba(255, 216, 74, 0.35); }
.arrange-icon { display: flex; align-items: center; justify-content: center; gap: 0.25rem; }
.arrange-icon span { width: 0.55rem; border-radius: 999px; background: var(--cyan); }
.arrange-icon span:nth-child(1) { height: 1.3rem; }.arrange-icon span:nth-child(2) { height: 2.1rem; }.arrange-icon span:nth-child(3) { height: 1.65rem; }
.play-icon span { width: 0; height: 0; margin-left: 0.3rem; border-top: 0.85rem solid transparent; border-bottom: 0.85rem solid transparent; border-left: 1.3rem solid var(--green); filter: drop-shadow(0 0 8px rgba(85, 231, 140, 0.45)); }

.plans { border-block: 1px solid rgba(182, 196, 232, 0.1); background: linear-gradient(180deg, rgba(20, 25, 43, 0.78), rgba(8, 11, 20, 0.5)); }
.plans-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.plans-heading { position: sticky; top: 8rem; }
.one-time-note { display: flex; gap: 0.9rem; align-items: center; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.one-time-note p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.one-time-note strong { color: var(--ink); }
.note-icon { width: 2.9rem; height: 2.9rem; flex: 0 0 auto; display: grid; place-items: center; color: var(--yellow); border: 1px solid rgba(255, 216, 74, 0.34); border-radius: 50%; font-size: 0.85rem; font-weight: 900; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 34rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.2rem; background: var(--panel); }
.pro-card { border-color: rgba(255, 216, 74, 0.42); background: linear-gradient(155deg, rgba(255, 216, 74, 0.08), var(--panel) 42%); box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25); }
.recommended { position: absolute; top: 0; right: 1.25rem; padding: 0.38rem 0.65rem; color: #171304; border-radius: 0 0 0.55rem 0.55rem; background: var(--yellow); font-size: 0.67rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.plan-card header > p { margin-bottom: 2.5rem; color: var(--cyan); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.pro-card header > p { color: var(--yellow); }
.plan-card header span { display: block; min-height: 2.25rem; color: var(--muted); font-size: 0.95rem; }
.plan-card header h3 { font-size: 1.75rem; }
.feature-list { margin: 1.8rem 0 2rem; padding: 1.6rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.feature-list li { position: relative; margin-bottom: 0.85rem; padding-left: 1.55rem; color: #c2c9dc; font-size: 0.88rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.plan-card .button { margin-top: auto; }
.card-note { text-align: center; }

.licence-panel { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2.5rem, 7vw, 7rem); padding: clamp(2rem, 6vw, 5.5rem); overflow: hidden; border: 1px solid rgba(120, 107, 255, 0.35); border-radius: 1.6rem; background: radial-gradient(circle at 5% 5%, rgba(120, 107, 255, 0.2), transparent 32rem), var(--panel); }
.licence-copy > p:not(.kicker) { color: var(--muted); }
.fine-print { font-size: 0.8rem; }
.licence-points { margin: 0; padding: 0; list-style: none; }
.licence-points li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.licence-points li:last-child { border-bottom: 0; }
.licence-points li > span { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; color: #07150d; border-radius: 0.55rem; background: var(--green); font-weight: 950; }
.licence-points strong { display: block; margin-bottom: 0.25rem; }
.licence-points p { margin: 0; color: var(--muted); font-size: 0.87rem; }

.community { padding-top: 0; }
.community-panel { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding: clamp(2rem, 5vw, 4.2rem); border-radius: 1.5rem; color: #0d1120; background: var(--cyan); }
.community-panel .kicker { color: #263253; }
.community-panel h2 { max-width: 14ch; margin-bottom: 0.8rem; }
.community-panel p { max-width: 42rem; margin-bottom: 0; color: #27324e; }
.community-actions { min-width: 12rem; text-align: center; }
.community-actions .button { width: 100%; }
.community-actions .availability { margin-top: 0.7rem; color: #364362; }
.text-link { display: inline-flex; gap: 0.4rem; margin-top: 1rem; color: #1c2846; font-size: 0.88rem; font-weight: 850; text-decoration: none; }

.site-footer { padding-block: 4rem 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 3rem; }
.footer-grid > div > p { margin: 1rem 0 0; color: var(--subtle); font-size: 0.85rem; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: start; gap: 0.8rem 1.5rem; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(182, 196, 232, 0.1); }
.footer-base p { margin: 0; color: #626c88; font-size: 0.72rem; }

.legal-main { padding-block: clamp(4rem, 8vw, 7.5rem); }
.legal-hero { max-width: 52rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 13ch; font-size: clamp(3rem, 7vw, 5.5rem); }
.legal-hero > p { color: var(--muted); font-size: 1.08rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.legal-meta span { padding: 0.35rem 0.65rem; color: var(--subtle); border: 1px solid var(--line); border-radius: 999px; font-size: 0.72rem; }
.legal-layout { display: grid; grid-template-columns: 14rem minmax(0, 46rem); gap: clamp(3rem, 8vw, 7rem); align-items: start; padding-top: 3.5rem; }
.legal-toc { position: sticky; top: 7rem; display: grid; gap: 0.5rem; }
.legal-toc p { margin-bottom: 0.5rem; color: var(--subtle); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-toc a { color: var(--muted); font-size: 0.84rem; text-decoration: none; }
.legal-toc a:hover { color: var(--cyan); }
.prose section { margin-bottom: 3.2rem; scroll-margin-top: 7rem; }
.prose h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.035em; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 0.6rem; }
.prose a { color: var(--cyan); text-underline-offset: 0.2em; }
.notice { margin: 0 0 3rem; padding: 1.25rem 1.4rem; color: #e7dfbb; border: 1px solid rgba(255, 216, 74, 0.3); border-radius: 0.9rem; background: rgba(255, 216, 74, 0.08); }
.notice strong { color: var(--yellow); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.support-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
.support-card p { color: var(--muted); }
.support-card .button { margin-top: 0.5rem; }

@media (max-width: 960px) {
  .nav-shell { grid-template-columns: 1fr auto; gap: 1rem; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 47rem; }
  h1 { max-width: 12ch; }
  .product-visual { max-width: 48rem; }
  .visual-frame { transform: none; }
  .plans-layout, .licence-panel { grid-template-columns: 1fr; }
  .plans-heading { position: static; }
  .community-panel { grid-template-columns: 1fr; }
  .community-actions { max-width: 15rem; text-align: left; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header .button { display: none; }
  .nav-shell { grid-template-columns: 1fr; }
  .site-header { position: relative; }
  .hero { padding-top: 3.6rem; }
  h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; }
  .window-bar p { display: none; }
  .step-grid, .plan-grid, .support-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 15rem; }
  .plan-card { min-height: 31rem; }
  .licence-panel { padding: 1.5rem; }
  .footer-grid, .footer-base { flex-direction: column; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
}

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