/* =====================================================================
   Dhraconyx store — dhraconyx.ruezals.com

   Rue: "they are sent to the website to make the purchase with a clean
   shopping ui ... two tabbed options. Individual and Business ... 'Coming
   soon' next to Business."

   NOT IN A WEB ROOT. This lives under design/ on purpose: the TEST root is
   one promote away from live, and a half-finished shop reachable from the
   public internet is a shop that can take money it cannot honour.

   Glass and gold, matching rz-dhraconyx.css — the store is part of the house,
   not a bolted-on payment page wearing someone else's template.
   ===================================================================== */

/* Palette/tokens: /dhx-chrome.css (ship-skin SSoT). */
*{box-sizing:border-box}

html,body{margin:0;min-height:100%;color:var(--ink);font-family:Inter,Arial,"Segoe UI",Helvetica,sans-serif;font-size:15px;line-height:1.6;font-weight:400;font-variant-ligatures:none;font-feature-settings:"liga" 0,"dlig" 0,"hlig" 0,"calt" 0;-webkit-font-smoothing:antialiased}

a{color:var(--gold); text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:1000px; margin:0 auto; padding:0 20px 72px}

/* ── the head ──────────────────────────────────────────────────────── */
.top{
  display:flex; align-items:center; gap:14px;
  padding:26px 0 22px;
}
.top .spacer{flex:1 1 auto}

.lede{max-width:640px; margin:0 0 30px; color:var(--dim); font-size:16px}
.lede strong{color:var(--ink); font-weight:500}

/* ── tabs ──────────────────────────────────────────────────────────── */
/* Rue: "two tabbed options. Individual and Business ... put coming soon next
   to Business." Coming soon is a DISABLED tab, not a tab that opens an empty
   page — a dead end you can click is worse than one you cannot. */
.tabs{display:flex; gap:6px; border-bottom:1px solid var(--edge); margin-bottom:28px}
.tab{
  appearance:none; font:inherit; font-size:14px;
  background:none; border:0; border-bottom:2px solid transparent;
  color:var(--dim); padding:10px 18px; cursor:pointer;
}
.tab:hover{color:var(--ink)}
.tab.is-on{color:var(--gold); border-bottom-color:var(--gold)}
.tab[disabled]{cursor:not-allowed; opacity:.5}
.tab[disabled]:hover{color:var(--dim)}
.soon{
  display:inline-block; margin-left:8px; padding:2px 7px;
  font-size:10px; letter-spacing:.5px; text-transform:uppercase;
  color:var(--void); background:var(--gold-dim); border-radius:9px;
}

/* ── the plans ─────────────────────────────────────────────────────── */
.plans{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:16px}
/* Tab panels: author display:grid on .plans beats the UA [hidden] rule — force hide. */
.plans[hidden],
.enterprise[hidden]{display:none !important}


.plan{
  display:flex; flex-direction:column;
  background:var(--panel); border:1px solid var(--edge); border-radius:12px;
  padding:22px 20px 20px;
  transition:border-color .14s, transform .14s;
}
.plan:hover{border-color:var(--gold-dim); transform:translateY(-2px)}
.plan.is-current{border-color:var(--gold); background:var(--panel-2)}

.plan h3{margin:0 0 2px; font-size:17px; letter-spacing:2px; color:var(--gold)}
.plan .price{margin:10px 0 4px; font-size:30px; font-weight:600; color:var(--ink)}
.plan .price span{font-size:14px; font-weight:400; color:var(--dim)}
.plan ul{margin:14px 0 18px; padding:0; list-style:none; flex:1 1 auto}
.plan li{padding:5px 0 5px 20px; position:relative; font-size:14px; color:var(--ink)}
.plan li::before{
  content:''; position:absolute; left:2px; top:12px;
  width:6px; height:6px; border-radius:50%; background:var(--gold-dim);
}
.plan li.off{color:var(--dim)}
.plan li.off::before{background:var(--edge)}

.badge{
  display:inline-block; padding:2px 8px; border-radius:9px;
  font-size:10px; letter-spacing:.6px; text-transform:uppercase;
  background:var(--gold); color:var(--void);
}

/* What it would cost THIS customer today, not the sticker price. */
.yourprice{
  margin:0 0 14px; padding:10px 12px;
  background:rgba(232,189,79,.07); border:1px solid var(--gold-dim);
  border-radius:8px; font-size:13px; color:var(--ink);
}
.yourprice b{color:var(--gold); font-size:15px}
.yourprice .sub{display:block; margin-top:3px; color:var(--dim); font-size:12px}

/* ── buttons ───────────────────────────────────────────────────────── */
.btn{
  appearance:none; font:inherit; font-size:14px; font-weight:600;
  padding:11px 20px; border-radius:8px; cursor:pointer;
  border:1px solid var(--gold); background:var(--gold); color:var(--void);
  transition:filter .12s, transform .08s;
}
.btn:hover{filter:brightness(1.08)}
.btn:active{transform:translateY(1px)}
.btn[disabled]{opacity:.45; cursor:not-allowed; filter:none; transform:none}
.btn.ghost{background:transparent; color:var(--ink); border-color:var(--edge)}
.btn.ghost:hover{border-color:var(--gold-dim); color:var(--gold)}
.btn.wide{width:100%}
.btn.big{font-size:16px; padding:14px 30px}

.btnrow{display:flex; gap:10px; flex-wrap:wrap; align-items:center}

/* ── download + share ──────────────────────────────────────────────── */
/* Rue: "make sure there is a 'Downlod Dhraconyx here' button with the logo
   on the page ... I want a share button also." */
.getit{
  margin:38px 0 0; padding:26px 24px;
  background:linear-gradient(180deg, var(--panel-2), var(--panel));
  border:1px solid var(--edge); border-radius:14px;
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
}
.getit .mark{width:52px; height:52px}
.getit .say{flex:1 1 260px}
.getit h4{margin:0 0 4px; font-size:16px; color:var(--ink)}
.getit p{margin:0; color:var(--dim); font-size:13px}

/* ── the checkout ──────────────────────────────────────────────────── */
.sheet{
  max-width:560px; margin:0 auto;
  background:var(--panel); border:1px solid var(--edge); border-radius:14px;
  padding:28px 26px 24px;
}
.sheet h2{margin:0 0 4px; font-size:20px; color:var(--gold); letter-spacing:1px}
.sheet .sub{margin:0 0 22px; color:var(--dim); font-size:13px}

.lines{width:100%; border-collapse:collapse; margin-bottom:6px}
.lines td{padding:11px 0; border-bottom:1px solid var(--edge); vertical-align:top}
.lines td.amt{text-align:right; white-space:nowrap}
.lines .det{display:block; margin-top:3px; color:var(--dim); font-size:12px}
.lines tr.total td{border:0; padding-top:16px; font-size:17px; font-weight:600}
.lines tr.total td.amt{color:var(--gold); font-size:22px}
.lines tr.credit td{color:var(--gold)}

/* The three facts a buyer must meet BEFORE the button, not after it. */
.facts{
  margin:20px 0 0; padding:14px 16px;
  background:rgba(0,0,0,.25); border:1px solid var(--edge); border-radius:9px;
}
.facts li{margin:0 0 8px 0; font-size:13px; color:var(--ink); line-height:1.55}
.facts li:last-child{margin-bottom:0}
.facts b{color:var(--gold)}

.tick{
  display:flex; gap:11px; align-items:flex-start;
  margin:20px 0 6px; padding:14px 16px;
  background:rgba(217,138,74,.08); border:1px solid rgba(217,138,74,.35);
  border-radius:9px; cursor:pointer;
}
.tick input{margin:3px 0 0; width:17px; height:17px; flex:0 0 auto; accent-color:var(--gold)}
.tick span{font-size:13px; line-height:1.55}

.note{margin:14px 0 0; font-size:12px; color:var(--dim); line-height:1.6}
.err{
  margin:16px 0 0; padding:11px 14px; font-size:13px;
  background:rgba(200,60,60,.12); border:1px solid rgba(200,60,60,.4);
  border-radius:8px; color:#f0c0c0;
}
.err:empty{display:none}

/* ── the last step ─────────────────────────────────────────────────── */
/* Rue: "on final check out after they make their purchase they will get a
   'Finish Purchase' and a 'cancel'." The confirm bar is deliberately a
   SEPARATE step that appears only after the tick — one more deliberate act
   between a person and their money. */
.confirm{
  margin-top:22px; padding-top:20px; border-top:1px solid var(--edge);
}
.confirm[hidden]{display:none !important}

/* ── done ──────────────────────────────────────────────────────────── */
.done{max-width:520px; margin:0 auto; text-align:center; padding-top:20px}
.done .tickmark{
  width:64px; height:64px; margin:0 auto 18px; border-radius:50%;
  display:grid; place-items:center; font-size:30px;
  background:rgba(95,179,122,.14); border:1px solid rgba(95,179,122,.5);
  color:var(--good);
}
.done h2{margin:0 0 8px; font-size:22px; color:var(--ink)}
.done .rcpt{
  margin:20px 0; padding:16px; text-align:left;
  background:var(--panel); border:1px solid var(--edge); border-radius:10px;
  font-size:13px; color:var(--dim);
}
.done .rcpt b{color:var(--ink)}

.foot{
  margin:56px 0 0; padding-top:20px; border-top:1px solid var(--edge);
  color:var(--dim); font-size:12px;
  display:flex; gap:16px; flex-wrap:wrap; align-items:center;
}
.foot .spacer{flex:1 1 auto}

/* ── the toast the share button raises ─────────────────────────────── */
.toast{
  position:fixed; left:50%; bottom:28px; transform:translateX(-50%) translateY(14px);
  padding:11px 20px; border-radius:9px; font-size:13px;
  background:var(--panel-2); border:1px solid var(--gold-dim); color:var(--ink);
  opacity:0; pointer-events:none; transition:opacity .18s, transform .18s;
  z-index:50;
}
.toast.is-on{opacity:1; transform:translateX(-50%) translateY(0)}

@media (max-width:640px){
  .wrap{padding:0 14px 56px}
  .plans{grid-template-columns:1fr}
  .ent-packs.plans{grid-template-columns:1fr}
  .ent-pack-mark{display:none}
  .sheet{padding:22px 18px 20px}
}

/* ── testing-mode bar ─────────────────────────────────────────────────
   Sticky and at the very top so it is present at the moment of doubt,
   which is the moment a button is pressed. Amber rather than red: this is
   not an error and reading it as one is its own kind of alarm. */
.testbar{
  position:sticky; top:0; z-index:50;
  background:#3a2f10; color:#f0e2b8;
  border-bottom:1px solid #7a6320;
  padding:9px 16px; font-size:13.5px; line-height:1.5;
  text-align:center;
}
.testbar strong{ color:#e8c45a; }
.testbar b{ color:#fff3d0; }

/* The same fact again, where the money would actually move. A banner at the
   top of a long page has scrolled away by the time anyone reaches the
   button, and that button is the only place the question gets urgent. */
.testnote{
  margin:10px 0 0; padding:10px 12px;
  background:#2a2410; border:1px solid #6b5a1e; border-radius:6px;
  color:#f0e2b8; font-size:13px; line-height:1.55;
}
.testnote b{ color:#e8c45a; }

.currency-note{margin:8px 0 0; color:var(--dim); font-size:12px; letter-spacing:.02em}
.currency-note b{color:var(--ink); font-weight:600}

.getit .dhx-mark{width:52px;height:52px}
.plans.dhx-rune-panel .plan{background:rgba(5,6,8,0.55);border-color:rgba(200,150,42,0.28)}


/* ── Enterprise packs ──────────────────────────────────────────────── */
.enterprise{margin-bottom:8px}
.ent-head{margin:0 0 22px}
.ent-title{
  display:inline-flex; align-items:center; gap:10px;
  margin:0 0 8px; font-size:22px; letter-spacing:1px; color:var(--gold);
  font-family:Cinzel,Georgia,serif;
}
.ent-lede{margin:0 0 10px; color:var(--dim); font-size:14px; max-width:640px}
.ent-flag{margin:0; color:var(--dim); font-size:12px; max-width:700px; line-height:1.5}
.ent-tax{margin:0 0 8px; font-size:12px; color:var(--dim); letter-spacing:.3px}
.ent-pack .price{font-size:26px}
/* Four packs in three columns leave a hole beside Cosmic — fill it. */
.ent-packs.plans{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}
.ent-pack-mark{
  grid-column:2 / -1;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
  min-height:100%;
  padding:8px 10px;
}
.ent-pack-mark img{
  width:min(86%, 360px);
  height:auto;
  max-height:280px;
  object-fit:contain;
  filter:drop-shadow(0 0 28px rgba(200,150,42,.35));
}
.ent-calc{
  margin:28px 0 0; padding:22px 20px;
  background:var(--panel); border:1px solid var(--edge); border-radius:12px;
}
.ent-calc h3{margin:0 0 6px; color:var(--gold); font-size:16px; letter-spacing:1px}
.ent-calc-lede{margin:0 0 14px; color:var(--dim); font-size:13px}
.ent-calc-label{
  display:flex; flex-direction:column; gap:6px;
  font-size:13px; color:var(--ink); max-width:220px;
}
.ent-calc-label input{
  appearance:textfield; font:inherit; font-size:18px; font-weight:600;
  padding:10px 12px; border-radius:8px;
  border:1px solid var(--edge); background:var(--panel-2); color:var(--ink);
}
.ent-calc-label input:focus{outline:none; border-color:var(--gold)}
.ent-calc-out{margin-top:18px}
.ent-rec-best{margin:0 0 6px; font-size:15px; color:var(--ink)}
.ent-rec-total{margin:0 0 12px; font-size:22px; color:var(--gold)}
.ent-math,.ent-alts{margin:0 0 12px; padding-left:18px; color:var(--ink); font-size:13px}
.ent-math li,.ent-alts li{margin:4px 0}
.ent-note{
  margin:0 0 12px; padding:10px 12px; border-radius:8px;
  background:rgba(232,189,79,.07); border:1px solid var(--gold-dim);
  font-size:13px; color:var(--ink); line-height:1.55;
}
.ent-save{margin:0 0 12px; font-size:13px; color:var(--dim)}
.ent-alts-h{margin:0 0 4px; font-size:12px; color:var(--dim); text-transform:uppercase; letter-spacing:.5px}
.ent-calc-empty{color:var(--dim); font-size:14px}
.micro{font-size:12px; color:var(--dim)}

/* Circled info button — house pattern; gold chrome only */
.dhx-lang-info-btn{
  appearance:none; display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; padding:0; border-radius:999px;
  border:1.5px solid rgba(200,150,42,.65); background:rgba(11,11,15,.9);
  color:#e9c25a; font-size:.92rem; font-weight:700; line-height:1; cursor:pointer;
  flex:0 0 auto; align-self:center;
}
.dhx-lang-info-btn:hover,.dhx-lang-info-btn:focus-visible{
  background:rgba(200,150,42,.22); border-color:#e9c25a; color:#fff; outline:none;
  box-shadow:0 0 0 2px rgba(200,150,42,.25);
}
.dhx-lang-info-backdrop{
  position:fixed; inset:0; z-index:13000; display:none;
  align-items:center; justify-content:center; padding:18px;
  background:rgba(5,6,8,.82); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px);
}
.dhx-lang-info-backdrop.is-open{display:flex}
.dhx-lang-info-panel{
  position:relative; width:min(420px,94vw); padding:22px 22px 18px; border-radius:16px;
  border:1px solid rgba(200,150,42,.5);
  background:linear-gradient(180deg,rgba(18,18,24,.98),rgba(11,11,15,.99));
  box-shadow:0 28px 80px rgba(0,0,0,.7),inset 0 0 0 1px rgba(233,194,90,.1),0 0 40px rgba(200,150,42,.14);
  color:#fff; text-align:center;
}
.dhx-lang-info-close{
  position:absolute; top:10px; right:10px; appearance:none;
  border:1px solid rgba(200,150,42,.45); background:transparent; color:#e9c25a;
  width:32px; height:32px; border-radius:8px; font-size:1.1rem; line-height:1; cursor:pointer;
}
.dhx-lang-info-close:hover{background:rgba(200,150,42,.18); color:#fff}
.dhx-lang-info-graphic{display:flex; justify-content:center; margin:4px 0 12px}
.dhx-lang-info-panel h2{
  margin:0 0 8px; font-family:Cinzel,Georgia,serif; font-weight:700;
  font-size:1.15rem; color:#e9c25a; letter-spacing:.02em;
}
.dhx-lang-info-lead{margin:0 0 12px; font-size:.9rem; line-height:1.5; color:rgba(255,255,255,.88)}
.dhx-lang-info-list{margin:0 0 14px; font-size:.88rem; line-height:1.55; color:rgba(255,255,255,.9)}
.dhx-lang-info-list b{color:#e9c25a}
.dhx-lang-info-actions{display:flex; justify-content:center; gap:10px; margin-top:8px}

/* Level picker */
.ent-level-bar{margin:0 0 22px; padding:16px 16px 14px; background:var(--panel); border:1px solid var(--edge); border-radius:12px}
.ent-level-label{margin:0 0 10px; font-size:13px; color:var(--dim)}
.ent-levels{display:flex; flex-wrap:wrap; gap:8px}
.ent-level{
  appearance:none; font:inherit; cursor:pointer;
  padding:10px 14px; border-radius:8px;
  border:1px solid var(--edge); background:var(--panel-2); color:var(--ink);
  display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-width:120px;
}
.ent-level:hover{border-color:var(--gold-dim); color:var(--gold)}
.ent-level.is-on{border-color:var(--gold); background:rgba(232,189,79,.08); color:var(--gold)}
.ent-level-price{font-size:11px; color:var(--dim); font-weight:400}
.ent-level.is-on .ent-level-price{color:var(--gold)}
.ent-level-detail{margin-top:12px; padding-top:10px; border-top:1px solid var(--edge)}
.ent-level-detail-h{margin:0 0 6px; font-size:13px; color:var(--ink)}
.ent-level-includes{margin:0; padding-left:18px; font-size:13px; color:var(--ink)}
.ent-level-includes li{margin:3px 0}
