/* /perks: the perk guide. Flat fields per rank (ice, violet, gold on navy), big type, no ornaments. */
.perks-hero { padding: clamp(120px, 14vw, 180px) 0 0; background: var(--night); }
.phgrid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.perks-hero h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .96; letter-spacing: -.045em; max-width: 11ch; }
.perks-hero .lede { margin-top: 36px; color: var(--frost); }
.phart img { width: 100%; height: auto; image-rendering: pixelated; }
.phart { margin: 0; }

.picker { margin-top: 44px; }
.pick-t { color: var(--frost); font-size: 17px; margin-bottom: 12px; }
.pick-b { display: flex; flex-wrap: wrap; gap: 8px; }
.picker button { padding: 13px 22px; border-radius: 999px; background: var(--navy-2); color: var(--frost); font-weight: 600; font-size: 16px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.picker button:hover { background: #1d3766; }
.picker button:active { transform: scale(.96); }
.picker button[aria-pressed="true"] { background: var(--frost); color: var(--navy); }
.pick-out { margin-top: 16px; color: var(--frost); font-size: 16px; min-height: 1.6em; }

.tjump { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: clamp(64px, 8vw, 110px); padding-bottom: 28px; }
.tjump a { color: var(--frost); font-size: 17px; font-weight: 600; padding: 6px 0; transition: color .2s var(--ease); }
.tjump a:hover { color: var(--ice); }

.tierch { padding: clamp(96px, 11vw, 160px) 0; scroll-margin-top: 70px; }
.tier-vip { background: #0c1a24; --tc: #74e07c; }
.tier-mvp { background: #0b1830; --tc: #5cc4ff; }
.tier-legend { background: #1a1608; --tc: var(--gold); }
.tgrid { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.tside { position: sticky; top: 100px; }
.tside h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; }
.tname { display: block; color: var(--tc); font-size: clamp(56px, 8vw, 120px); letter-spacing: -.05em; line-height: .9; margin-bottom: 14px; }
.tprice { margin-top: 26px; color: var(--frost); font-size: 18px; }
.tprice b { color: var(--tc); font-weight: 700; }
.tnote { margin: 8px 0 26px; color: var(--frost); }
.tart { margin: 40px 0 0; }
.tart img { width: 100%; height: auto; image-rendering: pixelated; }
.tart figcaption { margin-top: 10px; font-size: 15px; color: var(--text); }

.tlist { display: grid; gap: 14px; }
.perk { background: rgba(232, 246, 255, .045); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px);
  transition: background .3s var(--ease), opacity .3s var(--ease); }
.perk h3 { font-size: clamp(22px, 2vw, 28px); color: var(--frost); }
.perk .what { margin-top: 12px; color: var(--frost); font-size: 17px; line-height: 1.6; max-width: 62ch; }
.how { margin-top: 18px; }
.how-t { font-weight: 600; color: var(--tc); font-size: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.how ol { margin: 10px 0 0; padding-left: 1.3em; color: var(--frost); font-size: 16px; line-height: 1.6; }
.how li + li { margin-top: 4px; }
code.cmd { font-family: var(--mono); font-size: 15px; background: var(--tc); color: var(--navy); padding: 4px 10px; border-radius: 8px; font-weight: 600; }

/* picker states: perks you own light up, the rest step back */
.perks-page[data-have="1"] .tierch[data-tier="1"] .perk,
.perks-page[data-have="2"] .tierch[data-tier="1"] .perk, .perks-page[data-have="2"] .tierch[data-tier="2"] .perk,
.perks-page[data-have="3"] .perk { background: rgba(232, 246, 255, .1); }
.perks-page[data-have="1"] .tierch[data-tier="2"] .perk, .perks-page[data-have="1"] .tierch[data-tier="3"] .perk,
.perks-page[data-have="2"] .tierch[data-tier="3"] .perk { opacity: .55; }

.perks-end { padding: clamp(110px, 12vw, 180px) 0; background: var(--night); }
.endgrid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); }
.perks-end h2 { font-size: clamp(36px, 4.6vw, 64px); }
.perks-end .prose p { color: var(--frost); font-size: 18px; line-height: 1.65; }
.perks-end .prose p + p { margin-top: 16px; }

@media (max-width: 900px) {
  .phgrid, .tgrid, .endgrid { grid-template-columns: 1fr; }
  .tside { position: static; }
  .tart { display: none; }
}
@media (prefers-reduced-motion: reduce) { .perk, .picker button { transition: none; } }

/* rank name is the heading; the lead is a statement under it */
.tside h2.tname { font-size: clamp(64px, 8vw, 120px); line-height: .9; margin: 0; }
.tlead { margin-top: 16px; font-family: var(--display); color: var(--frost); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.03em; max-width: 14ch; }
/* flat buttons on this page */
.perks-page .btn, main .tside .btn { box-shadow: none; background: var(--tc, var(--frost)); color: var(--navy); }
.tkit { width: 100%; max-width: 360px; height: auto; border-radius: 16px; margin-top: 36px; display: block; }
.tart { display: none; }
@media (max-width: 900px) { .tkit { max-width: 240px; } }

/* the rank cards on the left are gone: the side column is the name, the price and the button, and it stays in view */
.tkit, .tart { display: none !important; }
@media (min-width: 900px) { .tside { position: sticky; top: 96px; align-self: start; } }
.tname { font-size: clamp(64px, 9vw, 132px) !important; line-height: .9 !important; }
