/* keyframes from animate.css 3.7.2 (MIT, Daniel Eden) */

:root {
  --bg-a: #1e1e1e;
  --bg-b: #141414;
  --dim: #888;
  --mid: #a8a8a8;
  --bright: #f2f2f2;
  --line: #262626;
  --line-2: #333;
  --panel: #161616;
  --field: #111;
  --ok: #8fd694;
  --warn: #e6c86e;
  --bad: #e58a8a;
  --code-bg: #0e0e0e;
  --tok-fn: #e5c07b;
  --tok-obj: #61afef;
  --tok-str: #98c379;
  --tok-punct: #6b6b6b;
  --tok-method: #c678dd;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg-b);
  background: linear-gradient(120deg, var(--bg-a) 0%, var(--bg-b) 100%);
  min-height: 100vh;
  margin: 0;
  color: var(--dim);
  font: 15px/1.6 var(--mono);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--dim); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px dashed #666; outline-offset: 3px; }

/* landing */

.top {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 560px);
  text-align: center;
}

.header { text-align: center; color: var(--dim); font-family: var(--mono); transition: color .2s; }
.header:hover, .header:focus-visible { color: var(--bright); }
.header a { text-decoration: none; color: inherit; }

h1.header { font-size: 1.75rem; font-weight: 700; letter-spacing: .01em; margin: 0 0 .35rem; }

.begin {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  padding: .8rem 1.2rem;
  animation: breathe 2.4s ease-in-out infinite;
}

.textiboi { text-align: center; color: var(--dim); transition: color .2s; }
.textiboi:hover { color: var(--bright); }

.tagline { font-size: .92rem; margin: 0 0 1.1rem; }
.typer { font-size: .85rem; min-height: 1.6em; margin: 0 0 1.5rem; color: #777; }
.typer::after { content: "▌"; margin-left: 1px; animation: blink 1s steps(1) infinite; }

.actions { display: flex; gap: .75rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.act {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  height: 36px;
  padding: 0 1.05rem;
  border-radius: 6px;
  font-size: .86rem;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s, transform .15s;
}
.act.ghost { background: transparent; border: 1px solid var(--line-2); color: var(--dim); }
.act.ghost:hover, .act.ghost:focus-visible { color: var(--bright); border-color: #555; }
.act.cta { background: #e8e8e8; border: 1px solid #e8e8e8; color: #111; font-weight: 700; }
.act.cta:hover, .act.cta:focus-visible { background: #fff; border-color: #fff; transform: translateY(-1px); }
.act svg { width: 15px; height: 15px; }

.price-hint { margin: 1.1rem 0 0; font-size: .78rem; letter-spacing: .02em; color: #6f6f6f; }
.price-hint strong { color: var(--mid); font-weight: 600; }

.corner { position: fixed; bottom: 18px; font-size: .78rem; }
.corner-left { left: 20px; }
.corner-right { right: 20px; background: transparent; border: 0; cursor: pointer; color: #6f6f6f; padding: 4px; }
.corner-right:hover, .corner-right:focus-visible { color: var(--bright); }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--dim);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #444;
}
.link-btn:hover, .link-btn:focus-visible { color: var(--bright); text-decoration-color: currentColor; }

/* modal */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 8, 8, .72);
  backdrop-filter: blur(4px);
  z-index: 10;
  animation: fadeIn .18s;
}
.modal[hidden] { display: none; }
.panel {
  position: relative;
  width: min(100%, 392px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px 20px;
  color: var(--mid);
  font-size: .84rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  animation: rise .22s ease-out;
}
.close {
  position: absolute; top: 10px; right: 12px; width: 28px; height: 28px;
  background: none; border: 0; border-radius: 6px; cursor: pointer; font-size: 1.15rem; color: #666; line-height: 1;
}
.close:hover, .close:focus-visible { color: var(--bright); background: #1f1f1f; }

.m-eyebrow { margin: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6a6a6a; text-align: center; }
.m-title { margin: .15rem 0 0; color: var(--bright); font-size: 1.05rem; font-weight: 700; text-align: center; }
.m-sub { margin: .3rem 0 0; text-align: center; color: var(--dim); font-size: .8rem; }
.m-head { margin-bottom: 1.2rem; }

.m-price { display: flex; justify-content: center; align-items: baseline; gap: .6rem; margin: .7rem 0 0; }
.m-price .eur { font-size: 1.45rem; color: var(--bright); font-weight: 700; }
.m-price .sep { color: #444; }
.m-price .rbx { font-size: .85rem; color: var(--mid); }

.m-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #6a6a6a; margin: 1.25rem 0 .55rem; }
.m-note { font-size: .74rem; color: #767676; margin: 1rem 0 0; line-height: 1.55; text-align: center; }
.m-back { margin-top: 1rem; text-align: center; font-size: .78rem; }
.m-row { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; background: var(--field); border: 1px solid var(--line); border-radius: 7px; }
.seg button {
  height: 30px; border: 0; border-radius: 5px; background: transparent; color: var(--dim); cursor: pointer; font-size: .8rem;
}
.seg button[aria-checked="true"] { background: #232323; color: var(--bright); }
.seg button:hover:not([aria-checked="true"]) { color: var(--mid); }
.seg button[disabled] { opacity: .4; cursor: not-allowed; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan {
  position: relative;
  display: grid; justify-items: center; align-content: center; gap: 2px; padding: 14px 8px 13px;
  background: #1a1a1a; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: var(--mid);
  transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.plan:hover { border-color: #4a4a4a; }
.plan:focus-visible { outline: none; border-color: #555; box-shadow: 0 0 0 2px rgba(255, 255, 255, .13); }
.plan.on { border-color: #cfcfcf; background: #202020; }
.plan.on::after { content: "✓"; position: absolute; top: 8px; right: 10px; font-size: .72rem; line-height: 1; color: var(--mid); }
.plan-name { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #777; }
.plan.on .plan-name { color: var(--mid); }
.plan-price { font-size: 1.3rem; font-weight: 700; color: var(--bright); line-height: 1.3; }
.plan-term { font-size: .74rem; color: var(--mid); }
.plan-rbx { font-size: .7rem; color: #6f6f6f; margin-top: 2px; }

.hint { font-size: .74rem; color: #777; margin: .5rem 0 0; line-height: 1.5; }
.hint strong { color: var(--mid); font-weight: 600; }

.opts { display: grid; gap: 6px; margin-top: .5rem; }
.opt { display: flex; gap: .6rem; align-items: flex-start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover { border-color: #3c3c3c; background: #181818; }
.opt:focus-within { border-color: #555; box-shadow: 0 0 0 2px rgba(255, 255, 255, .1); }
.opt:has(input:checked) { border-color: #4a4a4a; background: #1a1a1a; }
.opt input { margin: 3px 0 0; accent-color: #ddd; }
.opt strong { display: block; color: var(--bright); font-weight: 600; font-size: .8rem; }
.opt span { display: block; font-size: .72rem; color: #777; }

.methods { display: grid; gap: 6px; }
.method {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%;
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  color: var(--mid);
  transition: border-color .15s, color .15s, background .15s;
}
.method:hover, .method:focus-visible { border-color: #4a4a4a; color: var(--bright); background: #1e1e1e; }
.method:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .1); }
.method strong { display: block; font-size: .86rem; color: var(--bright); font-weight: 600; }
.method span { display: block; font-size: .72rem; color: #777; }
.method em { font-style: normal; font-size: .76rem; color: var(--mid); white-space: nowrap; }
.altpay { margin-top: .55rem; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 7px; background: #181818; font-size: .8rem; color: var(--mid); line-height: 1.5; }
.altpay a { color: var(--bright); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.altpay a:hover, .altpay a:focus-visible { color: #fff; }
.altpay-sub { display: block; margin-top: 3px; font-size: .68rem; color: #777; }
.method[disabled] { opacity: .4; cursor: not-allowed; }

.form { display: grid; gap: 9px; }
.form label, .field { font-size: .72rem; color: #777; display: grid; gap: 4px; }
.form input, .field input {
  font: inherit; font-size: .84rem; color: var(--bright); background: var(--field); border: 1px solid var(--line);
  border-radius: 6px; padding: 8px 10px; width: 100%;
}
.form input:focus, .field input:focus { border-color: #555; outline: none; }
.tabs { display: flex; gap: 1.1rem; justify-content: center; margin-bottom: .9rem; font-size: .8rem; }
.tabs .link-btn[aria-selected="true"] { color: var(--bright); text-decoration: none; }

.primary {
  width: 100%; height: 36px; border-radius: 6px; cursor: pointer;
  background: #e8e8e8; color: #111; border: 0; font-weight: 700; font-size: .82rem;
}
.primary:hover, .primary:focus-visible { background: #fff; }
.primary[disabled] { opacity: .5; cursor: progress; }
.secondary {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 36px; border-radius: 6px; cursor: pointer;
  background: transparent; color: var(--mid); border: 1px solid var(--line-2); text-decoration: none; font-size: .82rem;
}
.secondary:hover, .secondary:focus-visible { color: var(--bright); border-color: #555; }
.stack { display: grid; gap: 7px; }

svg[hidden] { display: none; }
.err:empty { min-height: 0; margin: 0; }
.err { color: var(--bad); font-size: .76rem; min-height: 1.1em; margin: .6rem 0 0; text-align: center; }
.okc { color: var(--ok); }
.warnc { color: var(--warn); }

.kv { display: grid; gap: 8px; margin: 0 0 .9rem; }
.kv dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #6a6a6a; margin-bottom: 3px; }
.kv dd { margin: 0; }

.status { display: flex; justify-content: center; align-items: center; gap: 8px; margin: .2rem 0 .6rem; font-size: .8rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); animation: breathe 1.6s ease-in-out infinite; }
.dot.ok { background: var(--ok); animation: none; }

.chip { display: inline-flex; gap: .4rem; align-items: center; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; color: var(--mid); }
.center { text-align: center; }

.rbx-user { display: flex; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 7px; padding: 9px; margin-bottom: 10px; }
.rbx-user img { width: 44px; height: 44px; border-radius: 6px; background: #222; }
.rbx-user .n { color: var(--bright); font-size: .84rem; }
.rbx-user .d { font-size: .72rem; color: #777; }

/* snippet */

.snippet {
  position: relative;
  margin: .5rem 0 0;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.snippet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px 6px 12px;
  border-bottom: 1px solid #1c1c1c;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #5e5e5e;
}
.snippet pre {
  margin: 0;
  padding: 12px 14px 13px;
  font: .76rem/1.65 var(--mono);
  color: #d4d4d4;
  white-space: pre-wrap;
  word-break: break-all;
}
.snippet pre.oneline { white-space: pre; word-break: normal; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.snippet-copy {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 7px;
  background: transparent; border: 1px solid transparent; border-radius: 5px;
  color: #777; cursor: pointer; font-size: .68rem; letter-spacing: 0; text-transform: none;
  transition: color .15s, background .15s, border-color .15s;
}
.snippet-copy:hover, .snippet-copy:focus-visible { color: var(--bright); background: #1a1a1a; border-color: var(--line-2); }
.snippet-copy svg { width: 14px; height: 14px; }
.snippet-copy .ico-check { display: none; color: var(--ok); }
.snippet-copy.copied { color: var(--ok); }
.snippet-copy.copied .ico-copy { display: none; }
.snippet-copy.copied .ico-check { display: inline; }
.tok-fn { color: var(--tok-fn); }
.tok-obj { color: var(--tok-obj); }
.tok-method { color: var(--tok-method); }
.tok-str { color: var(--tok-str); }
.tok-punct { color: var(--tok-punct); }
.tok-key { color: var(--bright); letter-spacing: .03em; }

.qr { width: 196px; margin: 0 auto 1rem; padding: 12px; background: #fff; border-radius: 10px; }
.qr img { display: block; width: 100%; height: auto; }
.btn-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 7px; margin-top: .2rem; }
.btn-row .secondary { font-size: .76rem; padding: 0 6px; }

.panel.wide { width: min(100%, 720px); }
.videos { display: grid; gap: 12px; }
@media (min-width: 640px) { .videos { grid-template-columns: 1fr 1fr; } }
.video { display: block; width: 100%; padding: 0; text-align: left; background: #0e0e0e; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; cursor: pointer; color: inherit; transition: border-color .15s; }
.video:hover, .video:focus-visible { border-color: #4a4a4a; }
.video .thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .15s; }
.video:hover .thumb img { opacity: 1; }
.video .play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .25); display: flex; align-items: center; justify-content: center; color: #fff; }
.video .play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-meta { display: block; padding: 9px 12px 10px; }
.video-meta strong { display: block; color: var(--bright); font-size: .8rem; font-weight: 600; }
.video-meta span { font-size: .72rem; color: #777; }
.typer-link { color: var(--mid); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #555; }
.typer-link:hover { color: var(--bright); }

#paypal-buttons { min-height: 48px; margin-top: 2px; }

.noscript { position: fixed; bottom: 60px; width: 100%; }

.animated { animation-duration: 1s; animation-fill-mode: both; }
.jackInTheBox { animation-name: jackInTheBox; }
.bounceIn { animation-name: bounceIn; animation-duration: .75s; }
.fadeIn { animation-name: fadeIn; }

@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  0% { opacity: 0; transform: scale3d(.3, .3, .3); }
  20% { transform: scale3d(1.1, 1.1, 1.1); }
  40% { transform: scale3d(.9, .9, .9); }
  60% { opacity: 1; transform: scale3d(1.03, 1.03, 1.03); }
  80% { transform: scale3d(.97, .97, .97); }
  to { opacity: 1; transform: scale3d(1, 1, 1); }
}
@keyframes jackInTheBox {
  from { opacity: 0; transform: scale(.1) rotate(30deg); transform-origin: center bottom; }
  50% { transform: rotate(-10deg); }
  70% { transform: rotate(3deg); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
  html, body { font-size: 14px; }
  .top { top: 49%; }
  .panel { padding: 24px 16px 16px; }
  .corner { bottom: 14px; }
  .corner-left { left: 14px; }
  .corner-right { right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* halloween sale */
:root { --pumpkin: #f0812f; --pumpkin-soft: 240, 129, 47; }
body {
  background:
    radial-gradient(1100px 520px at 50% -12%, rgba(var(--pumpkin-soft), .07), transparent 62%),
    linear-gradient(120deg, var(--bg-a) 0%, var(--bg-b) 100%);
}
.price-hint .was, .plan-was { color: #6a6a6a; text-decoration: line-through; font-weight: 400; }
.plan-was { font-size: .82em; margin-right: .12em; }
.plan-price.sale { color: var(--pumpkin); }
.plan-off { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pumpkin); margin-top: .1rem; }

.sale-badge {
  display: block; width: fit-content; margin: 1.3rem auto 0;
  padding: .48rem .95rem; border-radius: 999px;
  font-size: .74rem; letter-spacing: .04em; font-weight: 600; color: #ffa65c;
  background: linear-gradient(180deg, rgba(var(--pumpkin-soft), .15), rgba(var(--pumpkin-soft), .07));
  border: 1px solid rgba(var(--pumpkin-soft), .42);
  box-shadow: 0 0 0 1px rgba(var(--pumpkin-soft), .04), 0 8px 26px rgba(var(--pumpkin-soft), .12);
}

/* best-value / featured lifetime card */
.plan-flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -52%);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: #ffb070; background: #221812; border: 1px solid rgba(var(--pumpkin-soft), .4);
}
.plan.featured:hover {
  border-color: rgba(var(--pumpkin-soft), .55);
  background: #1e1a17;
  box-shadow: 0 0 0 1px rgba(var(--pumpkin-soft), .12), 0 10px 26px rgba(var(--pumpkin-soft), .14);
  transform: translateY(-2px);
}
.plan.featured:focus-visible {
  outline: none; border-color: rgba(var(--pumpkin-soft), .55);
  box-shadow: 0 0 0 2px rgba(var(--pumpkin-soft), .5);
}
.plan.featured.on {
  border-color: var(--pumpkin); background: #1f1a16; transform: none;
  box-shadow: 0 0 0 1px rgba(var(--pumpkin-soft), .35), 0 8px 24px rgba(var(--pumpkin-soft), .16);
}
.plan.featured.on::after { color: var(--pumpkin); }
