/* =====================================================================
   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.
   ===================================================================== */

:root{
  --gold:#e8bd4f;
  --gold-dim:rgba(232,189,79,.55);
  --plum:#4a2f74;
  --void:#12101a;
  --panel:#1b1826;
  --panel-2:#221d31;
  --edge:#3a3348;
  --ink:#e8e0d0;
  --dim:#9a917f;
  --good:#5fb37a;
  --warn:#d98a4a;
}

*{box-sizing:border-box}

html,body{
  margin:0; min-height:100%;
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(74,47,116,.42), transparent 70%),
    var(--void);
  color:var(--ink);
  font:400 15px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  -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;
}
.mark{width:38px; height:38px; flex:0 0 auto}
.mark .tri{fill:none; stroke:var(--gold); stroke-width:2.2; stroke-linejoin:round}
.brand{font-size:20px; letter-spacing:3px; font-weight:600; color:var(--gold)}
.brand sup{font-size:9px; letter-spacing:0; vertical-align:super; opacity:.75}
.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}

.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}
  .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; }
