/* pricing — everything unique to this one page.
   Shared behaviour lives up the chain: base -> site.
   Order: DESKTOP, then MOBILE, then MOBILE-LANDSCAPE. */
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(900px 520px at 50% -12%,#2c2440,var(--den-bg) 60%);color:var(--den-ink);
  font:16.5px/1.6 'Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;min-height:100vh;overflow-x:hidden}
.wrap{max-width:1040px;margin:0 auto;padding:6px 24px 70px}
a{color:var(--den-gold);text-decoration:none}
h1{font-family:var(--den-head);font-weight:400;font-size:44px;margin:26px 0 6px;text-align:center}
.sub{color:var(--den-mut);text-align:center;font-style:italic;margin:0 0 8px;max-width:56ch;margin-inline:auto}
/* The summons gloss: the free tribunal named before the per-rung numbers, so they read as a schedule, not a limit. */
.sub.gloss{font-style:normal;margin-bottom:14px;max-width:64ch}
.toggle{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:22px 0 30px;text-align:center}
.toggle button{font:inherit;cursor:pointer;border-radius:999px;padding:8px 18px;font-weight:700;font-size:13.5px;
  border:1px solid var(--den-line);background:#1a1424;color:var(--den-mut)}
.toggle button.on{background:var(--den-gold);color:#241302;border-color:#f0cd77}
.toggle .save{color:var(--den-gold);font-size:11.5px;font-style:italic;align-self:center}
/* Five rungs (Peasant · Squire · Knight · Queen · King's Court): 5-across reflowing to 3/2/1 as it
   narrows; minmax(0,1fr) so a card's min-content can never widen the grid past the page. */
.ladder{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
@media (max-width:1080px){.ladder{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.ladder{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.ladder{grid-template-columns:minmax(0,1fr)}}
/* monogram fallback for a rung with no crest art yet (Squire/Queen) — same medallion, a heraldic letter */
.tier-badge .mono{display:flex;align-items:center;justify-content:center;width:100%;height:100%;
  font-family:var(--den-head);font-size:40px;color:var(--den-gold2)}
.tier{background:var(--den-bg2);border:1px solid var(--den-line);border-radius:12px;padding:22px;display:flex;flex-direction:column}
.tier.hi{border-color:var(--den-gold2);box-shadow:0 0 0 1px var(--den-gold2) inset,0 14px 34px rgba(224,179,76,.1)}
/* rank crest — the mascot in a heraldic medallion (boy/pawn/knight/queen/king).
   Badge crops the tall bust to a circle; object-position defaults to the head (10%),
   but a tier can override via `pos` (the queen's tall crown pushes her face down;
   the squire's oversized kettle helmet needs headroom, so he sits higher at 6%). */
.tier-badge{width:82px;height:82px;margin:0 auto 12px;border-radius:50%;overflow:hidden;
  background:radial-gradient(120% 120% at 50% 12%,#fbf7ef,#e6dbc2);border:2px solid var(--den-gold2);
  box-shadow:0 7px 18px rgba(0,0,0,.4)}
.tier-badge img{width:100%;height:100%;object-fit:cover;object-position:50% 10%;display:block}
.tier.hi .tier-badge{border-color:var(--den-gold);box-shadow:0 7px 20px rgba(224,179,76,.32)}
.tier h2{font-family:var(--den-head);font-weight:400;font-size:24px;margin:0 0 2px;color:var(--den-gold);text-align:center}
.tier .price{font-size:30px;font-weight:800;margin:6px 0 2px;text-align:center}
.tier .note{text-align:center}
.tier .price span{font-size:14px;color:var(--den-mut);font-weight:400}
.tier .note{color:var(--den-mut);font-size:12.5px;min-height:16px;margin-bottom:12px}
.tier ul{list-style:none;margin:0 0 18px;padding:0;flex:1}
.tier li{padding:6px 0;border-top:1px solid var(--den-line);font-size:14px;color:var(--den-ink)}
.tier li:first-child{border-top:none}
.tier li b{color:var(--den-gold)}
.tier button, .tier a.den-btn{width:100%;text-align:center;display:block}
.den-btn{font:inherit;cursor:pointer;border-radius:10px;padding:12px 22px;font-weight:800;
  font-size:15.5px;letter-spacing:.3px;border:1px solid #e0505f;
  background:linear-gradient(180deg,var(--den-crim),var(--den-crim2));color:#ffe9e2}
.den-btn:hover{filter:brightness(1.12)}
.den-btn.ghost{background:transparent;color:var(--den-gold);border:1px solid var(--den-gold2)}
.den-btn.gold{background:linear-gradient(180deg,var(--den-gold),var(--den-gold2));color:#241302;border-color:#f0cd77}
.den-btn:disabled{opacity:.55;cursor:default;filter:none}
.fine{text-align:center;color:var(--den-mut);font-size:12.5px;margin-top:26px;font-style:italic}
/* sample Sunday Roast — a static, clearly-labeled taste of the King's Court letter */
.roast-sample{max-width:660px;margin:34px auto 0}
.roast-sample summary{cursor:pointer;text-align:center;color:var(--den-gold);font-weight:700;font-size:14.5px;list-style-position:inside}
.roast-sample .scroll{background:linear-gradient(180deg,var(--den-parch),var(--den-parch2));color:var(--den-inkP);
  border-radius:8px;padding:20px 24px;margin-top:14px;box-shadow:0 14px 30px rgba(0,0,0,.45);font-size:14.5px;line-height:1.65}
.roast-sample .rs-subject{font-weight:800;margin:0 0 10px}
.roast-sample .scroll b{color:#8f1626}
.roast-sample .rs-note{font-style:italic;color:#7a5a30;margin:12px 0 0;font-size:13px}
footer{color:var(--den-mut);font-size:13.5px;margin-top:44px;border-top:1px solid var(--den-line);padding-top:16px;font-style:italic;text-align:center}
/* Landscape phone. A price means nothing without the billing toggle that sets it, so the toggle
   pins and all five rungs go back to one row — the width-only breakpoints above drop a landscape
   phone to 3 columns, which is a portrait assumption applied to a 844px-wide screen. */
@media (orientation:landscape) and (max-height:520px){
  .wrap{padding:0 12px 20px}
  h1{font-size:22px;margin:2px 0}
  .sub{font-size:11.5px;margin:0 0 4px;max-width:none}
  .ladder{grid-template-columns:repeat(5,minmax(0,1fr))}
  .toggle{position:sticky;top:0;z-index:5;margin:0 0 8px;padding:4px 0;gap:6px;background:var(--den-bg,#17141f)}
  .toggle button{padding:4px 12px;font-size:12px}
  .ladder{gap:7px}
  .tier{padding:9px 10px}
  .tier-badge{width:38px;height:38px;margin:0 auto 5px}
  .tier h2{font-size:16px}
  .tier .price{font-size:19px;margin:2px 0 1px}
  .tier ul,.tier li{font-size:10.5px}
  .fine{font-size:10.5px}
}
