/* Waveform License Manager product site. Refined dark, one accent; gradients only where they mean something
   (the brand mark, the hero headline, the primary button, a hairline of light). Full borders only, never one side. */

@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"); }

:root {
  --bg: #08090c;
  --surface: #0e1015;
  --surface-2: #13161d;
  --text: #f8f9fc;
  --text-2: #c2c7d3;
  --text-3: #8b92a4;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-strong: rgba(255, 255, 255, 0.14);
  --accent: #7b6cff;
  --accent-hi: #b8b0ff;
  --ok: #34d399;
  --grad: linear-gradient(115deg, #a598ff 0%, #6fa8ff 52%, #4fe3c8 100%);
  --grad-soft: linear-gradient(115deg, rgba(165, 152, 255, 0.16), rgba(79, 227, 200, 0.1));
  --font: "Inter Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 16px;
  --wrap: 72rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 1rem/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: 0.88em; padding: 0.12em 0.4em; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: var(--text); }
.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 100; padding: 0.5rem 0.9rem; background: var(--surface-2); color: var(--text); border-radius: 8px; }
.skip:focus { left: 0.75rem; }

/* ---- nav ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: rgba(8, 9, 12, 0.78); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--hair); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 3.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--text); font-weight: 650; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand em { font-style: normal; font-weight: 500; color: var(--text-3); }
.mark { width: 1.6rem; height: 1.6rem; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: var(--text-2); font-size: 0.9rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .btn { color: var(--text); }
.nav-toggle { display: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--hair); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 0.7rem; right: 0.7rem; height: 1.5px; background: var(--text); transition: transform 0.25s ease, top 0.25s ease; }
.nav-toggle i:first-child { top: 0.95rem; }
.nav-toggle i:last-child { top: 1.45rem; }
.nav.open .nav-toggle i:first-child { top: 1.2rem; transform: rotate(45deg); }
.nav.open .nav-toggle i:last-child { top: 1.2rem; transform: rotate(-45deg); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.5rem; border-radius: 999px; font: 600 0.95rem/1 var(--font); border: 1px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.btn:hover { text-decoration: none; }
.btn-primary { color: #0a0b10; background: var(--grad); box-shadow: 0 8px 30px -10px rgba(111, 168, 255, 0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(111, 168, 255, 0.75); }
.btn-ghost { color: var(--text); border-color: var(--hair-strong); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--accent); background: var(--surface-2); }
.btn-small { padding: 0.55rem 1.05rem; font-size: 0.85rem; border-color: var(--hair-strong); background: rgba(255, 255, 255, 0.03); }
.btn-small:hover { border-color: var(--accent); }

/* ---- hero ---- */
.hero { position: relative; padding: 9.5rem 0 6.5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto -10%; height: 70%; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 0%, rgba(123, 108, 255, 0.2), transparent 70%), radial-gradient(40% 50% at 85% 10%, rgba(79, 227, 200, 0.1), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.85rem; border: 1px solid var(--hair-strong); border-radius: 999px; font-size: 0.8rem; font-weight: 550; color: var(--text-2); background: rgba(255, 255, 255, 0.03); }
.eyebrow .dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(111, 168, 255, 0.9); }
h1 { margin-top: 1.5rem; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; color: var(--text); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 1.6rem; max-width: 36rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.7; color: var(--text-2); }
.actions { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.fine { margin-top: 1.1rem; font-size: 0.85rem; color: var(--text-3); }

/* the license card */
.license { border: 1px solid var(--hair-strong); border-radius: 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 40px 90px -40px rgba(123, 108, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; overflow: hidden; }
.license-bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--hair); }
.license-title { flex: 1; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.lights { display: inline-flex; gap: 0.4rem; }
.lights i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.pill { padding: 0.22rem 0.7rem; border-radius: 999px; font-size: 0.74rem; font-weight: 600; border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.license-body { padding: 1.6rem 1.6rem 1.4rem; }
.k { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.key { margin-top: 0.5rem; font-family: var(--mono); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 600; letter-spacing: 0.02em; color: var(--text); }
.license-grid { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.license-grid dt { font-size: 0.74rem; color: var(--text-3); }
.license-grid dd { margin-top: 0.15rem; font-size: 0.92rem; font-weight: 550; color: var(--text); }
.license-grid dd.ok { color: var(--ok); }
.seats { margin-top: 1.4rem; display: flex; gap: 0.5rem; }
.seats span { flex: 1; height: 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.seats span.on { background: var(--grad); }
.license-foot { margin-top: 1.1rem; font-size: 0.82rem; color: var(--text-3); }

/* ---- sections ---- */
.section { padding: 6.5rem 0; }
.section.alt { background: linear-gradient(180deg, var(--surface), var(--bg)); border-block: 1px solid var(--hair); }
.section-head { max-width: 46rem; margin-bottom: 3.2rem; }
.section-head.center, .center { text-align: center; margin-inline: auto; }
.label { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-hi); }
h2 { margin-top: 0.8rem; font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.12; letter-spacing: -0.028em; font-weight: 700; color: var(--text); }
h3 { font-size: 1.05rem; line-height: 1.3; font-weight: 620; letter-spacing: -0.01em; color: var(--text); }
.lead { margin-top: 1.1rem; font-size: 1.08rem; line-height: 1.7; color: var(--text-2); max-width: 40rem; }
.center .lead, .section-head.center .lead { margin-inline: auto; }
.note { margin-top: 1.1rem; font-size: 0.92rem; color: var(--text-3); max-width: 46rem; }
.note.center { margin-inline: auto; }
.more { margin-top: 1.8rem; font-weight: 600; font-size: 0.95rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.card { padding: 1.7rem; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--surface); transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease; }
.card:hover { border-color: var(--hair-strong); background: var(--surface-2); }
.card p { margin-top: 0.6rem; font-size: 0.95rem; line-height: 1.65; color: var(--text-3); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.points { margin-top: 2rem; display: grid; gap: 1.4rem; }
.points p { margin-top: 0.3rem; font-size: 0.95rem; line-height: 1.65; color: var(--text-3); }
.code { border: 1px solid var(--hair-strong); border-radius: var(--radius); background: #0a0c11; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(79, 227, 200, 0.25); }
.code figcaption { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--hair); font-family: var(--mono); font-size: 0.78rem; color: var(--text-3); }
.code pre { margin: 0; padding: 1.4rem 1.4rem 1.5rem; overflow-x: auto; font-family: var(--mono); font-size: 0.82rem; line-height: 1.75; color: var(--text); }
.code code { padding: 0; background: none; font-size: inherit; }
.code .c { color: #5b6173; }
.code .s { color: #7ee2c8; }

.notice { max-width: 40rem; margin: 0 auto 3rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 14px; background: var(--surface-2); box-shadow: 0 24px 60px -34px rgba(123, 108, 255, 0.6); }
.notice-dot { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(111, 168, 255, 0.9); }
.notice-text { flex: 1; display: grid; text-align: left; }
.notice-text strong { color: var(--text); font-size: 0.95rem; }
.notice-text span { font-size: 0.85rem; color: var(--text-3); }
.notice-actions { display: flex; align-items: center; gap: 0.8rem; }
.notice-btn { padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: #0a0b10; background: var(--grad); }
.notice-skip { font-size: 0.8rem; color: var(--text-3); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.num { display: inline-block; margin-bottom: 1rem; font-family: var(--mono); font-size: 0.82rem; font-weight: 600; color: var(--accent-hi); padding: 0.2rem 0.6rem; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 999px; background: var(--grad-soft); }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 1.8rem 1.6rem; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--surface); }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 30px 70px -40px rgba(123, 108, 255, 0.7); }
.tag { margin-top: 0.25rem; font-size: 0.85rem; color: var(--text-3); }
.price { margin-top: 1.2rem; font-size: 2.6rem; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.price span { font-size: 0.95rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan ul { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--hair); display: grid; gap: 0.7rem; }
.plan li { position: relative; padding-left: 1.5rem; font-size: 0.92rem; color: var(--text-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.42rem; width: 0.8rem; height: 0.45rem; border: solid var(--ok); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0.85); }
.note.center { text-align: center; margin-top: 2rem; }

.contact { text-align: center; }
.contact .lead { margin-inline: auto; }
.center-actions { justify-content: center; }

.footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--hair); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-3); }
.footer ul { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer a { color: var(--text-3); }
.footer a:hover { color: var(--text); }

/* ---- reveal (only when JS is on and motion is allowed) ---- */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 62rem) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 3rem; }
  .grid3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 2rem); }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; inset: 3.6rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1rem 1.2rem; background: #0b0c10; border-bottom: 1px solid var(--hair); display: none; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--hair); font-size: 1rem; }
  .nav-links .btn { margin-top: 0.9rem; border: 1px solid var(--hair-strong); }
  .hero { padding: 7.5rem 0 4.5rem; }
  .section { padding: 4.5rem 0; }
  .grid3, .steps, .plans { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: 1fr 1fr; }
  .notice { flex-wrap: wrap; }
  .actions .btn { flex: 1 1 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .nav { transition: none; }
}

/* ---- buying outside Shopify (only rendered once checkout-config.js is filled in) ---- */
[hidden], dialog:not([open]) { display: none !important; }
.switch { display: flex; width: fit-content; margin: -1.2rem auto 2.4rem; padding: 0.25rem; gap: 0.25rem; border: 1px solid var(--hair-strong); border-radius: 999px; background: var(--surface); }
.switch button { padding: 0.55rem 1.15rem; border: 0; border-radius: 999px; background: transparent; color: var(--text-3); font: 600 0.88rem/1 var(--font); cursor: pointer; transition: color 0.2s ease, background 0.2s ease; }
.switch button:hover { color: var(--text); }
.switch button[aria-pressed="true"] { color: #0a0b10; background: var(--grad); }
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans.buyable .plan ul { flex: 1 1 auto; }
.plan-cta { margin-top: 1.6rem; align-self: stretch; }

.buy { width: min(30rem, calc(100% - 2rem)); padding: 0; border: 1px solid var(--hair-strong); border-radius: 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); color: var(--text-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 70px -30px rgba(123, 108, 255, 0.5); }
.buy form { padding: 2rem; }
.buy::backdrop { background: rgba(4, 5, 8, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.buy h2 { margin: 0; font-size: 1.5rem; }
.buy-lede { margin-top: 0.7rem; font-size: 0.92rem; color: var(--text-3); }
.buy label { display: block; margin-top: 1.3rem; font-size: 0.82rem; font-weight: 600; color: var(--text); }
.buy input { width: 100%; margin-top: 0.45rem; padding: 0.8rem 0.95rem; border: 1px solid var(--hair-strong); border-radius: 12px; background: var(--bg); color: var(--text); font: 400 1rem/1.3 var(--font); }
.buy input::placeholder { color: #5b6173; }
.buy input:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-color: transparent; }
.buy-hint { margin-top: 0.55rem; font-size: 0.8rem; color: var(--text-3); }
.form-error { min-height: 1.2rem; margin-top: 0.9rem; font-size: 0.86rem; color: #ff9a9a; }
.buy-actions { margin-top: 1.1rem; display: flex; gap: 0.7rem; justify-content: flex-end; }
.buy-actions .btn { padding: 0.75rem 1.25rem; }
.buy-actions .btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- thank-you page ---- */
.thanks { padding: 9rem 0 6rem; }
.thanks .steps { margin-top: 3rem; }
@media (max-width: 62rem) { .plans.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 48rem) {
  .plans.three { grid-template-columns: 1fr; }
  .switch { margin-top: -1.6rem; }
  .buy form { padding: 1.5rem; }
  .buy-actions .btn { flex: 1; }
}
