/* ==========================================================================
   OhMarker — site styles
   Palette is the one from the avatar and the YouTube banner:
   #1bd96a green, #15432f deep green, #050a08 near-black, #9fb3a8 muted.
   Shapes: blobs, pills and curves. Nothing on this page is a plain square.
   ========================================================================== */

:root {
  --green: #1bd96a;
  --green-dim: #15b355;
  --green-soft: rgba(27, 217, 106, 0.12);
  --green-line: rgba(27, 217, 106, 0.28);
  --deep: #15432f;
  --ink: #050a08;
  --panel: #091410;
  --panel-2: #0c1b15;
  --muted: #9fb3a8;
  --text: #e9f6ef;
  --white: #ffffff;
  --amber: #fdd835;
  --red: #e5574a;

  --blob-a: 46% 54% 58% 42% / 52% 46% 54% 48%;
  --blob-b: 62% 38% 41% 59% / 45% 56% 44% 55%;
  --card-r: 30px 54px 30px 54px;
  --card-r-alt: 54px 30px 54px 30px;

  --shell: 1180px;
  --pad: clamp(18px, 4vw, 44px);

  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Page glow: three slow-moving blobs behind everything. */
.backdrop { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.backdrop i {
  position: absolute;
  display: block;
  border-radius: var(--blob-a);
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 26s var(--ease) infinite alternate;
}
.backdrop i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle at 40% 40%, var(--deep), transparent 70%); }
.backdrop i:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: 24vh; background: radial-gradient(circle at 60% 40%, rgba(27,217,106,.18), transparent 68%); animation-duration: 34s; animation-delay: -8s; }
.backdrop i:nth-child(3) { width: 60vw; height: 40vw; left: 18vw; bottom: -22vw; background: radial-gradient(circle at 50% 50%, rgba(21,67,47,.9), transparent 70%); animation-duration: 40s; animation-delay: -16s; }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(27,217,106,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(27,217,106,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 0%, #000 10%, transparent 72%); }

@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); border-radius: var(--blob-a); }
  50%  { transform: translate3d(3vw,-4vh,0) scale(1.12) rotate(12deg); border-radius: var(--blob-b); }
  100% { transform: translate3d(-3vw,3vh,0) scale(0.96) rotate(-10deg); border-radius: var(--blob-a); }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
p { margin: 0 0 1em; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
strong { color: var(--white); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .92em; letter-spacing: .02em; }

.shell { width: min(var(--shell), 100% - calc(var(--pad) * 2)); margin-inline: auto; }

/* Hand-drawn underline under a word */
.squiggle { position: relative; white-space: nowrap; }
.squiggle svg { position: absolute; left: -2%; width: 104%; bottom: -.34em; height: .42em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.in-view .squiggle path, .squiggle.drawn path { animation: draw 1.1s var(--ease) forwards .25s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .42rem 1rem .42rem .7rem; border-radius: 999px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  color: var(--green); font-size: .84rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(27,217,106,.6); animation: ping 2.4s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(27,217,106,0); } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--body); font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  overflow: hidden; text-decoration: none !important; white-space: nowrap;
}
.btn-primary { background: var(--green); color: #04150b; box-shadow: 0 10px 30px -12px rgba(27,217,106,.75); }
.btn-primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 18px 40px -14px rgba(27,217,106,.9); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 110%; }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--green-line); color: var(--white); transform: translateY(-3px); background: var(--green-soft); }
.btn-sm { padding: .62rem 1.1rem; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40; padding: 1.1rem 0;
  transition: padding .3s var(--ease), background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-head.stuck { padding: .55rem 0; background: rgba(5,10,8,.82); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: rgba(27,217,106,.16); }
.head-row { display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 700; font-size: 1.22rem; color: var(--white); text-decoration: none !important; }
.brand:hover .mark { transform: rotate(-12deg) scale(1.06); }
.mark { width: 40px; height: 40px; flex: none; border-radius: var(--blob-a); background: linear-gradient(145deg, var(--green), var(--deep)); display: grid; place-items: center; color: #04150b; font-size: 1.1rem; transition: transform .35s var(--ease); box-shadow: 0 6px 20px -8px rgba(27,217,106,.8); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.nav a { position: relative; padding: .5rem .85rem; border-radius: 999px; color: var(--muted); font-size: .96rem; text-decoration: none !important; transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--white); background: rgba(255,255,255,.05); }
.nav .btn { margin-left: .5rem; }
.burger { margin-left: auto; display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; margin-inline: auto; transition: transform .3s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: relative; }
.burger span::before { top: -6px; }
.burger span::after { top: 4px; }
body.nav-open .burger span { transform: rotate(45deg); }
body.nav-open .burger span::before { opacity: 0; }
body.nav-open .burger span::after { transform: rotate(-90deg) translateX(4px); }

@media (max-width: 880px) {
  .burger { display: grid; place-items: center; }
  .nav {
    position: fixed; left: var(--pad); right: var(--pad); top: 72px; flex-direction: column; align-items: stretch; gap: .35rem;
    padding: 1rem; border-radius: 28px 44px 28px 44px; background: rgba(9,20,16,.97); border: 1px solid rgba(27,217,106,.2);
    backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px #000;
    opacity: 0; transform: translateY(-14px) scale(.98); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .8rem 1rem; }
  .nav .btn { margin: .4rem 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vh, 7rem) 0 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-top: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.2rem; }
.hero-note { font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }

/* The hero art: a rotating ring, a blob, and floating stickers. */
.orb-wrap { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.orb {
  position: absolute; inset: 8%; border-radius: var(--blob-a);
  background: radial-gradient(circle at 34% 28%, rgba(27,217,106,.5), rgba(21,67,47,.85) 52%, #04100b 78%);
  box-shadow: inset 0 0 70px rgba(0,0,0,.65), 0 40px 80px -40px rgba(27,217,106,.6);
  animation: morph 18s var(--ease) infinite alternate;
  display: grid; place-items: center;
}
@keyframes morph {
  0% { border-radius: var(--blob-a); transform: rotate(0deg); }
  100% { border-radius: var(--blob-b); transform: rotate(14deg); }
}
.orb .logo-m { font-family: var(--display); font-size: clamp(4rem, 11vw, 7rem); font-weight: 700; color: var(--white); text-shadow: 0 0 40px rgba(27,217,106,.55); transform: rotate(-6deg); }
.ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 62%, var(--green) 78%, transparent 92%); mask: radial-gradient(circle, transparent 66%, #000 67%, #000 69%, transparent 70%); animation: spin 14s linear infinite; }
.ring.slow { inset: -7%; animation-duration: 26s; animation-direction: reverse; opacity: .5; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticker {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: 999px; background: rgba(9,20,16,.92);
  border: 1px solid var(--green-line); font-size: .86rem; color: var(--text);
  box-shadow: 0 16px 34px -18px #000; backdrop-filter: blur(6px); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.sticker b { color: var(--green); font-weight: 600; }
.sticker.s1 { top: 2%; left: -4%; animation-delay: -1s; rotate: -5deg; }
.sticker.s2 { bottom: 20%; left: -8%; animation-delay: -3s; rotate: 4deg; }
.sticker.s3 { top: 26%; right: -7%; animation-delay: -2s; rotate: 6deg; }
.sticker.s4 { bottom: 2%; right: -1%; animation-delay: -4.5s; rotate: -3deg; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Headline first on a phone; the orb follows it. */
  .orb-wrap { max-width: 300px; margin-top: 1.4rem; }
  .sticker { font-size: .78rem; }
  .sticker.s1 { left: 0; }
  .sticker.s2 { left: -2%; }
  .sticker.s3 { right: -2%; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; margin: 2.6rem 0 0; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: slide 32s linear infinite; }
.marquee span { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.marquee span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(3.5rem, 9vh, 6.5rem) 0; }
/* Anchor links shouldn't drop the heading behind the sticky header. */
section[id], [id] { scroll-margin-top: 96px; }
.sec-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { margin-top: .6rem; }
.wave { display: block; width: 100%; height: clamp(40px, 7vw, 90px); color: var(--panel); }
.band { background: linear-gradient(180deg, var(--panel), #060f0c); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- cards ---------- */
.cards { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }

.card {
  position: relative; padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--card-r);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.card:nth-child(even) { border-radius: var(--card-r-alt); }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(27,217,106,.16), transparent 65%);
}
.card:hover { transform: translateY(-6px); border-color: var(--green-line); box-shadow: 0 30px 60px -34px rgba(0,0,0,.9); }
.card:hover::before { opacity: 1; }
.card h3 { display: flex; align-items: center; gap: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 44px; height: 44px; flex: none; border-radius: var(--blob-b); display: grid; place-items: center; font-size: 1.25rem; background: var(--green-soft); border: 1px solid var(--green-line); }

/* ---------- mods ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
/* One mod shouldn't stretch across the whole page. */
.mod-grid.one { grid-template-columns: minmax(0, 620px); }
.mod {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  padding: 1.5rem; border-radius: 26px 50px 26px 50px;
  background: linear-gradient(160deg, rgba(27,217,106,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09); transition: transform .4s var(--ease), border-color .3s;
}
.mod:hover { transform: translateY(-7px) rotate(-.6deg); border-color: var(--green-line); }
.mod .top { display: flex; align-items: center; gap: .8rem; }
.mod .emoji { width: 52px; height: 52px; flex: none; display: grid; place-items: center; font-size: 1.5rem; border-radius: var(--blob-a); background: rgba(5,10,8,.6); border: 1px solid var(--green-line); overflow: hidden; }
.mod .emoji img { width: 100%; height: 100%; object-fit: cover; }
.mod .name { font-family: var(--display); font-size: 1.12rem; font-weight: 700; color: var(--white); line-height: 1.15; }
.mod .meta { font-size: .84rem; color: var(--muted); }
.mod .blurb { font-size: .94rem; color: var(--muted); margin: 0; }
/* What else has to be installed. People miss this and then it "doesn't work". */
.mod .needs {
  margin: 0; padding: .55rem .85rem; border-radius: 14px 22px 14px 22px;
  background: rgba(253,216,53,.08); border: 1px solid rgba(253,216,53,.25);
  font-size: .86rem; color: #e8dcae;
}
.mod .needs b { color: var(--amber); font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.tag.live { background: var(--green-soft); color: var(--green); border: 1px solid var(--green-line); }
.tag.soon { background: rgba(253,216,53,.1); color: var(--amber); border: 1px solid rgba(253,216,53,.28); }
.mod .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .6rem; }
.dl { font-size: .86rem; color: var(--muted); }
.dl b { color: var(--white); }

/* ---------- process path ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
.step { position: relative; text-align: left; }
.step .num {
  width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: .9rem;
  font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: #04150b;
  background: var(--green); border-radius: var(--blob-a);
  box-shadow: 0 14px 30px -14px rgba(27,217,106,.85);
  transition: transform .4s var(--ease), border-radius .6s var(--ease);
}
.step:hover .num { transform: rotate(-10deg) scale(1.08); border-radius: var(--blob-b); }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.path-svg { position: absolute; left: 0; right: 0; top: 24px; width: 100%; height: 80px; z-index: -1; color: rgba(27,217,106,.3); }
.path-svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 8 10; stroke-linecap: round; }
@media (max-width: 760px) { .path-svg { display: none; } }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1.2rem, 2.4vw, 1.8rem); align-items: start; }
.tier {
  position: relative; padding: clamp(1.6rem, 2.6vw, 2.2rem); border-radius: 36px 60px 36px 60px;
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.1); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.tier:nth-child(2) { border-radius: 60px 36px 60px 36px; }
.tier:hover { transform: translateY(-8px); border-color: var(--green-line); box-shadow: 0 36px 70px -40px rgba(27,217,106,.45); }
.tier .halo { position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: var(--blob-a); background: radial-gradient(circle, rgba(27,217,106,.2), transparent 70%); animation: drift 24s var(--ease) infinite alternate; }
.tier .price { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 700; line-height: 1; color: var(--white); display: flex; align-items: flex-start; gap: .25rem; }
.tier .price sup { font-size: .38em; margin-top: .55em; color: var(--green); }
.tier .price small { font-size: .22em; color: var(--muted); font-family: var(--body); font-weight: 400; align-self: flex-end; margin-bottom: .9em; }
.tier ul, .plain-list { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .55rem; }
.tier li, .plain-list li { position: relative; padding-left: 1.75rem; font-size: .96rem; color: var(--muted); }
.tier li::before, .plain-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg); border-radius: 2px;
}
.plain-list.no li { padding-left: 1.6rem; }
.plain-list.no li::before { content: ""; top: .5em; left: .15rem; width: 12px; height: 12px; border: 0; border-radius: 50%; background: rgba(229,87,74,.25); box-shadow: inset 0 0 0 2px var(--red); transform: none; }
.tier .btn { width: 100%; margin-top: .4rem; }
.tier .fine { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; text-align: center; }
.flag { position: absolute; top: 1.4rem; right: -.4rem; padding: .3rem 1.2rem .3rem .9rem; background: var(--green); color: #04150b; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px 0 0 999px; }

/* ---------- counters ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.stat { padding: 1.3rem; border-radius: var(--blob-a); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); text-align: center; transition: border-radius .6s var(--ease), border-color .3s; }
.stat:hover { border-radius: var(--blob-b); border-color: var(--green-line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--green); line-height: 1; }
.stat span { font-size: .88rem; color: var(--muted); }

/* ---------- order / support forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
form.om {
  padding: clamp(1.4rem, 2.6vw, 2.2rem); border-radius: 40px 24px 40px 24px;
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: .4rem; }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1.1rem; border-radius: 18px;
  background: rgba(5,10,8,.6); border: 1px solid rgba(255,255,255,.12);
  color: var(--text); font-family: var(--body); font-size: 1rem; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { border-radius: 24px; min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); background: rgba(5,10,8,.85); }
.field input::placeholder, .field textarea::placeholder { color: #5d6f66; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 14px) center; background-size: 6px 6px; background-repeat: no-repeat; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: block; padding: 1rem 1.1rem; border-radius: 26px 14px 26px 14px; cursor: pointer; margin: 0;
  background: rgba(5,10,8,.5); border: 1px solid rgba(255,255,255,.12); transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.choice label:hover { transform: translateY(-2px); border-color: var(--green-line); }
.choice input:checked + label { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 3px rgba(27,217,106,.14); }
.choice label b { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--white); }
.choice label span { font-size: .84rem; color: var(--muted); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .4rem; }
.err { color: var(--red); font-size: .85rem; margin: .3rem 0 0; min-height: 1em; }

.aside-note { padding: clamp(1.2rem, 2.2vw, 1.8rem); border-radius: 24px 44px 24px 44px; background: rgba(27,217,106,.06); border: 1px solid var(--green-line); }
.aside-note h3 { font-size: 1.1rem; }
.aside-note ol { margin: 0; padding-left: 1.3rem; color: var(--muted); display: grid; gap: .5rem; font-size: .95rem; }
.warn { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 20px 36px 20px 36px; background: rgba(253,216,53,.07); border: 1px solid rgba(253,216,53,.28); font-size: .92rem; color: #f2e6b6; }

/* result panel after submitting */
.result { display: none; padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: 40px 24px 40px 24px; background: linear-gradient(170deg, rgba(27,217,106,.12), rgba(255,255,255,.02)); border: 1px solid var(--green-line); animation: pop .5s var(--ease); }
.result.show { display: block; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.code {
  display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-radius: 999px;
  background: rgba(5,10,8,.7); border: 1px dashed var(--green-line); font-family: ui-monospace, Consolas, monospace;
  font-size: 1.05rem; color: var(--green); letter-spacing: .08em;
}

/* ---------- faq ---------- */
.faq { display: grid; gap: .8rem; max-width: 900px; }
.q {
  border-radius: 24px 40px 24px 40px; background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09); overflow: hidden; transition: border-color .3s, background .3s;
}
.q[open] { border-color: var(--green-line); background: rgba(27,217,106,.055); }
.q summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem clamp(1.1rem, 2vw, 1.6rem);
  cursor: pointer; font-family: var(--display); font-size: clamp(1rem, 1.4vw, 1.14rem); font-weight: 700; color: var(--white); list-style: none;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: ""; margin-left: auto; flex: none; width: 13px; height: 13px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); border-radius: 2px;
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease);
}
.q[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.q .a { padding: 0 clamp(1.1rem, 2vw, 1.6rem) 1.3rem; color: var(--muted); }
.q .a p:last-child { margin: 0; }

/* ---------- cta ---------- */
.cta-blob {
  position: relative; padding: clamp(2rem, 5vw, 3.6rem); border-radius: 60px 28px 60px 28px; overflow: hidden;
  background: radial-gradient(120% 140% at 10% 0%, rgba(27,217,106,.22), rgba(21,67,47,.5) 46%, rgba(5,10,8,.9));
  border: 1px solid var(--green-line); text-align: center;
}
.cta-blob h2 { max-width: 22ch; margin-inline: auto; }
.cta-blob .lead { margin-inline: auto; }
.cta-blob .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
footer { padding: clamp(2.6rem, 6vw, 4rem) 0 2.4rem; border-top: 1px solid rgba(255,255,255,.07); margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
footer h4 { font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--green); }
.foot-end { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .86rem; color: #6e8178; }

/* ---------- the Discord button, bottom right of every page ---------- */
.discord-fab {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.25rem; border-radius: 999px;
  background: rgba(9,20,16,.94); border: 1px solid var(--green-line); color: var(--text);
  font-family: var(--body); font-weight: 600; font-size: .95rem; text-decoration: none !important;
  box-shadow: 0 18px 40px -20px #000, 0 0 0 0 rgba(27,217,106,.45);
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
  animation: fab-in .5s var(--ease) both .6s;
}
.discord-fab svg { width: 22px; height: 22px; fill: var(--green); flex: none; transition: transform .4s var(--ease); }
.discord-fab:hover { transform: translateY(-3px); border-color: var(--green); background: rgba(27,217,106,.14); box-shadow: 0 22px 46px -20px #000, 0 0 0 6px rgba(27,217,106,.1); }
.discord-fab:hover svg { transform: rotate(-10deg) scale(1.12); }
@keyframes fab-in { from { opacity: 0; transform: translateY(16px) scale(.9); } }
@media (max-width: 560px) {
  .discord-fab { padding: .8rem; }
  .discord-fab span { display: none; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; translate: -50% 20px; z-index: 90;
  padding: .8rem 1.3rem; border-radius: 999px; background: rgba(9,20,16,.96); border: 1px solid var(--green-line);
  color: var(--text); font-size: .94rem; box-shadow: 0 20px 44px -22px #000; opacity: 0; pointer-events: none;
  transition: opacity .3s, translate .4s var(--ease);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(2.6rem, 7vh, 5rem) 0 1rem; }
.doc { max-width: 76ch; }
.doc h2 { margin-top: 2.6rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-left: 1.2rem; color: var(--muted); display: grid; gap: .45rem; }
.doc .block { padding: 1.4rem clamp(1.2rem, 2.4vw, 1.8rem); border-radius: 28px 44px 28px 44px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); margin-bottom: 1rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2.4rem; }
.toc a { padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: var(--muted); font-size: .9rem; text-decoration: none !important; }
.toc a:hover { color: var(--white); border-color: var(--green-line); background: var(--green-soft); }

/* ---------- the ticket thread ---------- */
.thread-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  padding: 1.1rem clamp(1.1rem, 2vw, 1.6rem); border-radius: 30px 48px 30px 48px;
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.1); margin-bottom: 1.2rem;
}
.thread-head .code { font-size: .95rem; }
.thread-head .when { margin-left: auto; font-size: .85rem; color: var(--muted); }

.order-panel {
  padding: clamp(1.2rem, 2.2vw, 1.7rem); border-radius: 24px 44px 24px 44px;
  background: rgba(27,217,106,.07); border: 1px solid var(--green-line); margin-bottom: 1.2rem;
}
.order-panel h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.order-panel .row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.order-panel .facts { display: grid; gap: .3rem; margin: 0 0 .9rem; font-size: .93rem; color: var(--muted); }

.thread { display: grid; gap: .9rem; }
.msg { display: grid; gap: .3rem; max-width: 88%; }
.msg .who { font-size: .8rem; color: var(--muted); padding-inline: .4rem; }
.msg .bubble {
  padding: .9rem 1.15rem; white-space: pre-wrap; overflow-wrap: anywhere;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  border-radius: 22px 22px 22px 6px;
}
.msg.them { justify-self: start; }
.msg.them .bubble { border-color: var(--green-line); background: rgba(27,217,106,.1); }
.msg.you { justify-self: end; text-align: right; }
.msg.you .bubble { border-radius: 22px 22px 6px 22px; text-align: left; }
.msg.first .bubble { border-style: dashed; }

.reply-box { margin-top: 1.4rem; }
.reply-box textarea { min-height: 110px; }
.closed-note {
  margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 20px 36px 20px 36px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: var(--muted); font-size: .94rem;
}

.ticket-list { display: grid; gap: .9rem; }
.ticket { padding: 1.1rem 1.3rem; border-radius: 22px 36px 22px 36px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.ticket .hdr { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.ticket .msg { margin: .7rem 0 0; color: var(--muted); white-space: pre-wrap; }
.reply { margin-top: .8rem; padding: .9rem 1.1rem; border-radius: 18px; background: rgba(27,217,106,.08); border-left: 3px solid var(--green); }
.reply b { color: var(--green); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .squiggle path { stroke-dashoffset: 0; }
}
