/*
  Emmy STACK01 — pricing page.
  Loads AFTER index-style.css and reuses its tokens (colors, fluid type scale), buttons,
  nav, drawer, modal and footer. Only pricing-specific styles live here.
*/

/* ---------- Page header ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--text-main);
  background:
    radial-gradient(800px 420px at 88% 0%, color-mix(in srgb, var(--accent-color) 22%, transparent), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--primary-color) 30%, transparent), transparent 70%),
    var(--b-dark); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(color-mix(in srgb, var(--primary-color) 18%, transparent) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, color-mix(in srgb, var(--primary-color) 18%, transparent) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 15%, transparent 95%); mask-image: linear-gradient(to bottom, #000 15%, transparent 95%); }
.page-hero-inner { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 9vw, 6rem) var(--pad) clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { max-width: 18ch; font-family: var(--font-display); font-size: clamp(2.8rem, 1.5rem + 6.2vw, 5.6rem); font-weight: 700; line-height: .95; letter-spacing: -.025em; text-transform: uppercase; color: var(--text-main); }
.page-hero p { margin-top: 1.1rem; max-width: 40ch; font-size: clamp(1rem, .94rem + .3vw, 1.25rem); font-weight: 500; color: var(--text-muted); }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(1.5rem, 4vw, 2.25rem); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.15rem; border: 1px solid color-mix(in srgb, var(--text-main) 24%, transparent); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; color: var(--text-main); transition: background .2s, border-color .2s; }
.jump a:hover { background: color-mix(in srgb, var(--text-main) 10%, transparent); border-color: var(--accent-color); }
.page-hero :focus-visible, .price-card :focus-visible { outline-color: var(--accent-color); }

/* ---------- Price blocks ---------- */
.price-block { scroll-margin-top: 5rem; }
.price-grid { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.price-copy { display: grid; gap: .7rem; justify-items: start; }
.price-copy .sec-title { margin: .35rem 0 0; }
.price-copy .lead { max-width: 34ch; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: var(--ink-soft); }

/* ---------- Dark price card ---------- */
.price-card { position: relative; overflow: hidden; isolation: isolate; min-width: 0; padding: clamp(1.1rem, 3.5vw, 2rem); border: 1px solid color-mix(in srgb, var(--text-main) 10%, transparent); border-radius: clamp(22px, 3vw, 30px); background: var(--b-dark); color: var(--text-main); box-shadow: 0 24px 50px color-mix(in srgb, var(--b-dark) 30%, transparent); }
.price-card::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -35%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 40%, transparent), transparent 68%); pointer-events: none; }
.card-tag { display: inline-block; margin-bottom: 1.1rem; padding: .4rem 1rem; border-radius: 999px; background: color-mix(in srgb, var(--text-main) 9%, transparent); font-size: var(--fs-small); font-weight: 700; }
.group-title { margin-bottom: .35rem; font-size: var(--fs-small); font-weight: 700; letter-spacing: .01em; color: var(--accent-color); }

/* Tabs */
.tabs { display: flex; gap: .35rem; margin-bottom: 1.5rem; padding: .35rem; border-radius: 14px; background: color-mix(in srgb, var(--text-main) 8%, transparent); }
.tab { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: none; font-size: var(--fs-small); font-weight: 700; color: var(--text-muted); transition: background .25s, color .25s; }
.tab:hover { color: var(--text-main); }
.tab[aria-selected="true"] { background: var(--primary-color); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--primary-color) 45%, transparent); }
[role="tabpanel"] { animation: panel-in .35s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Price rows */
.price-row { border-bottom: 1px solid color-mix(in srgb, var(--text-main) 10%, transparent); }
.price-head { display: flex; align-items: center; gap: .75rem; padding: .95rem 0; }
.price-name { flex: 1 1 auto; min-width: 0; font-size: var(--fs-body); font-weight: 600; line-height: 1.35; }
.price-val { flex-shrink: 0; margin-left: auto; font-size: var(--fs-body); font-weight: 800; color: var(--accent-color); text-align: right; white-space: nowrap; }
.price-val.stack { display: grid; gap: .2rem; }
.nw { white-space: nowrap; }

/* "What's included" disclosure — works with tap, click and keyboard (replaces hover-only tooltips) */
.info-btn { position: relative; display: inline-grid; place-content: center; width: 1.75rem; height: 1.75rem; margin-left: .25rem; vertical-align: middle; border: 0; border-radius: 50%; background: none; font-size: 1.15rem; color: var(--accent-color); opacity: .8; transition: opacity .2s, background .2s; }
.info-btn::after { content: ""; position: absolute; inset: -.5rem; } /* 44px tap area */
.info-btn:hover, .price-row.open .info-btn { opacity: 1; background: color-mix(in srgb, var(--accent-color) 14%, transparent); }
.price-note { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.price-row.open .price-note { grid-template-rows: 1fr; }
.price-note > div { overflow: hidden; }
.price-note p { padding: 0 0 .95rem; font-size: var(--fs-small); line-height: 1.6; color: var(--text-muted); }

/* Free-inclusions box */
.included { margin: 1.25rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--primary-color); border-radius: 14px; background: color-mix(in srgb, var(--primary-color) 16%, transparent); font-size: var(--fs-small); line-height: 1.6; color: var(--text-main); }
.included strong { color: #fff; }
.included.alt { border-left-color: var(--accent-color); }

/* White-label benefits (shown in full — they carry no price) */
.benefits { display: grid; margin: 0 0 .25rem; padding: 0; list-style: none; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: .95rem 0; border-bottom: 1px solid color-mix(in srgb, var(--text-main) 10%, transparent); }
.benefit > i { margin-top: .1rem; font-size: 1.3rem; color: var(--accent-color); }
.benefit strong { font-size: var(--fs-body); font-weight: 700; }
.benefit p { margin-top: .15rem; font-size: var(--fs-small); line-height: 1.55; color: var(--text-muted); }

.price-card > .btn-white, .price-card > div > .btn-white { width: 100%; min-height: 48px; }

/* ---------- Responsive ---------- */
@media (min-width: 960px) {
  .price-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .price-block.reverse .price-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .price-block.reverse .price-copy { order: 2; }
}
@media (min-width: 600px) {
  .price-card > .btn-white, .price-card > div > .btn-white { width: auto; min-width: 16rem; }
}
