/* ===================================================================
   JOLTKEYS — pages.css  ·  shared styles for content pages
   (About · FAQ · Contact · Gift Cards · Discounts · Blog)
   Loads after tokens.css + styles.css + v3.css
   =================================================================== */

/* ---------- generic page header ---------- */
.pagehead { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(26px, 4vw, 52px); border-bottom: var(--bd); }
.pagehead .container { position: relative; z-index: 1; }
.pagehead__inner { max-width: 820px; }
.pagehead__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .86; letter-spacing: -.03em; margin: 8px 0 0; }
.pagehead__sub { color: var(--text-muted); font-size: 1.1rem; margin-top: 18px; max-width: 58ch; }
.pagehead__wm { position: absolute; right: -2%; bottom: -28%; z-index: 0; pointer-events: none; user-select: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(8rem, 22vw, 20rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.04); }

/* ---------- prose (article / legal body) ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--text-muted); font-size: 1.06rem; line-height: 1.8; }
.prose h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.02em; margin-top: 1.6em; }
.prose h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.25rem; margin-top: 1.4em; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose li { color: var(--text-muted); padding-left: 26px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--acid); }
.prose a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose blockquote { border-left: 4px solid var(--acid); padding: 4px 0 4px 20px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--text); }

/* ---------- about ---------- */
.about-split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 860px) { .about-split { grid-template-columns: 1fr 1fr; } .about-split--rev .about-split__media { order: 2; } }
.about-split__media { border: var(--bd-strong); box-shadow: var(--shadow-acid); aspect-ratio: 4/3; overflow: hidden; }
.about-split__media img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3rem); line-height: .95; letter-spacing: -.02em; margin-bottom: 16px; }
.about-split p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 14px; }

.values { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 680px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { border: var(--bd); background: var(--surface-1); padding: 28px; transition: border-color var(--dur-std), transform var(--dur-std) var(--ease-out), box-shadow var(--dur-std); }
.value:hover { border-color: var(--acid); transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.value__n { font-family: var(--font-mono); font-size: .8rem; color: var(--acid); letter-spacing: .1em; }
.value__ic { width: 34px; height: 34px; color: var(--acid); margin: 14px 0; display: block; }
.value h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.3rem; margin-bottom: 8px; }
.value p { color: var(--text-muted); font-size: .95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }
.cform { border: var(--bd-strong); background: var(--surface-1); box-shadow: var(--shadow-hard); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.field .req { color: var(--magenta); }
.field input, .field textarea, .field select { background: var(--bg); border: var(--bd); color: var(--text); padding: 13px 16px; font: inherit; transition: border-color var(--dur-micro); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; border-color: var(--acid); }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }
.field-err { color: var(--danger); font-family: var(--font-mono); font-size: .72rem; min-height: 1em; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.cform__msg { font-family: var(--font-mono); font-size: .88rem; min-height: 1em; }
.cform__msg.is-ok { color: var(--success); }
.cform__msg.is-err { color: var(--danger); }
.support { display: flex; flex-direction: column; gap: 14px; }
.support__card { border: var(--bd); background: var(--surface-1); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.support__card .icon { width: 24px; height: 24px; color: var(--acid); flex: none; margin-top: 2px; }
.support__card b { display: block; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; }
.support__card span { color: var(--text-muted); font-size: .9rem; }
.support__card a { color: var(--acid); }

/* ---------- gift cards ---------- */
.gift-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 880px) { .gift-grid { grid-template-columns: 1fr 1fr; } }
.gift-visual { position: relative; border: var(--bd-strong); box-shadow: var(--shadow-acid); aspect-ratio: 16/11; overflow: hidden; background: radial-gradient(120% 120% at 80% 10%, rgba(198,255,58,.14), transparent 55%), linear-gradient(135deg, var(--surface-2), var(--surface-1)); display: grid; place-items: center; }
.gift-visual__card { width: 76%; aspect-ratio: 16/10; border: var(--bd-strong); background: #0c0c11; box-shadow: var(--shadow-hard); padding: clamp(16px, 2.4vw, 26px); display: flex; flex-direction: column; justify-content: space-between; }
.gift-visual__top { display: flex; align-items: center; justify-content: space-between; }
.gift-visual__chip { width: 44px; height: 30px; border: 2px solid var(--acid); }
.gift-visual__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.gift-visual__logo span { color: var(--acid); }
.gift-visual__brand { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.6rem); }
.gift-visual__amt { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--acid); }
.gift-config { border: var(--bd); background: var(--surface-1); box-shadow: var(--shadow-hard); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.gift-config__label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 10px; }
.gift-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-opt { font-family: var(--font-mono); font-weight: 700; font-size: .85rem; padding: 10px 14px; border: var(--bd); background: var(--bg); color: var(--text); cursor: pointer; transition: border-color var(--dur-micro), color var(--dur-micro), background var(--dur-micro); }
.gift-opt:hover { border-color: var(--acid); color: var(--acid); }
.gift-opt.is-on { background: var(--acid); color: var(--ink); border-color: #000; box-shadow: 3px 3px 0 0 #000; }
.gift-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-block: var(--bd); padding-block: 16px; }
.gift-total span { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.gift-total b { font-family: var(--font-mono); font-weight: 700; font-size: 2rem; color: var(--acid); }

/* ---------- blog ---------- */
.blog-feat { display: grid; gap: 0; border: var(--bd-strong); box-shadow: var(--shadow-hard); overflow: hidden; margin-bottom: var(--space-7); }
@media (min-width: 780px) { .blog-feat { grid-template-columns: 1.2fr 1fr; } }
.blog-feat__media { position: relative; overflow: hidden; aspect-ratio: 16/10; border-bottom: var(--bd); }
@media (min-width: 780px) { .blog-feat__media { border-bottom: 0; border-right: var(--bd); aspect-ratio: auto; } }
.blog-feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.blog-feat:hover .blog-feat__media img { transform: scale(1.05); }
.blog-feat__tag { position: absolute; top: 12px; left: 12px; }
.blog-feat__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.blog-feat__body h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: .95; letter-spacing: -.02em; }
.blog-feat__body p { color: var(--text-muted); }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--space-6); }
.blog-cat { font-family: var(--font-mono); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; padding: 8px 13px; border: var(--bd); color: var(--text); cursor: pointer; transition: border-color var(--dur-micro), color var(--dur-micro), background var(--dur-micro); }
.blog-cat:hover { border-color: var(--acid); color: var(--acid); }
.blog-cat.is-on { background: var(--acid); color: var(--ink); border-color: #000; }
.post.is-hidden { display: none; }
/* editorial № indices (2026 magazine signal) */
.posts { counter-reset: post; }
.posts .post { counter-increment: post; }
.posts .post .post__cat::before { content: '№ ' counter(post, decimal-leading-zero) '  ·  '; color: var(--text-dim); }
.blog-tags { border-block: var(--bd); margin-bottom: var(--space-6); }
.blog-tags .kmarquee__item { font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
.blog-tags .kmarquee__track { padding: 12px 0; }

/* ---------- article (blog post) ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__hero { aspect-ratio: 21/9; border: var(--bd-strong); box-shadow: var(--shadow-acid); overflow: hidden; margin-bottom: var(--space-6); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); margin-bottom: var(--space-5); }
.article__meta .post__cat { color: var(--acid); }
.article__author { display: flex; align-items: center; gap: 12px; margin-top: var(--space-7); padding-top: var(--space-5); border-top: var(--bd); }
.article__author .avatar { width: 46px; height: 46px; }
.article__author b { display: block; }
.article__author small { color: var(--text-muted); }

/* ---------- support / help center ---------- */
.help-search { display: flex; gap: 8px; align-items: center; max-width: 620px; margin-top: var(--space-6); padding: 6px 6px 6px 16px; background: var(--surface-1); border: var(--bd-strong); box-shadow: var(--shadow-hard); }
.help-search > .icon { width: 20px; height: 20px; color: var(--text-muted); flex: none; }
.help-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font-size: 1rem; outline: none; }
.help-search input::placeholder { color: var(--text-dim); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.topic { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 700; font-size: .8rem; padding: 10px 14px; border: var(--bd); background: var(--bg); color: var(--text); cursor: pointer; transition: border-color var(--dur-micro), color var(--dur-micro), background var(--dur-micro), box-shadow var(--dur-micro); }
.topic .icon { width: 16px; height: 16px; }
.topic:hover { border-color: var(--acid); color: var(--acid); }
.topic.is-on { background: var(--acid); color: var(--ink); border-color: #000; box-shadow: 3px 3px 0 0 #000; }
a.value { color: inherit; }

/* ---------- FAQ page: search + jump nav + animated open ---------- */
.faqx-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: var(--bd); }
.faqx-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 240px; background: var(--surface-1); border: var(--bd); padding: 10px 14px; }
.faqx-search .icon { width: 18px; height: 18px; color: var(--text-muted); flex: none; }
.faqx-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); outline: none; font: inherit; }
.faqx-search input::placeholder { color: var(--text-dim); }
.faqx-jump { display: flex; gap: 6px; flex-wrap: wrap; }
.faqx-jump__link { font-family: var(--font-mono); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; padding: 8px 12px; border: var(--bd); color: var(--text-muted); transition: border-color var(--dur-micro), color var(--dur-micro), background var(--dur-micro); }
.faqx-jump__link:hover { border-color: var(--acid); color: var(--acid); }
.faqx-jump__link.is-on { background: var(--acid); color: var(--ink); border-color: #000; }
.faqx-empty { font-family: var(--font-mono); color: var(--text-muted); padding: 18px 0; }
.faqx-empty[hidden] { display: none; }
.faq__item[open] .faq__a { animation: faqOpen .3s var(--ease-out); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq__item[open] .faq__a { animation: none; } }
