:root {
  --ink: #050505;
  --graphite: #121213;
  --steel: #232426;
  --ash: #8d9096;
  --silver: #c6c9ce;
  --mist: #ececed;
  --white: #ffffff;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 80rem;
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5rem); scroll-behavior: smooth; height: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0; min-height: 100%;
  background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 2px; }
.light :focus-visible { outline-color: var(--ink); }
h1:focus { outline: none; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--white); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.notice { background: var(--mist); color: var(--ink); font-size: .85rem; text-align: center; padding: .55rem var(--pad); line-height: 1.4; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(5,5,5,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198,201,206,.14);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.brand { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .005em; white-space: nowrap; }
.nav { display: flex; gap: clamp(1.25rem, 2.4vw, 2.1rem); font-size: .95rem; color: var(--silver); }
.nav a { padding: .4rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-color: var(--silver); }
.menu-btn { display: none; background: none; border: 1px solid rgba(198,201,206,.35); border-radius: 999px; padding: .45rem 1.1rem; font-size: .9rem; min-height: 2.5rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 12vw, 9rem) clamp(4rem, 10vw, 7rem); }
.hero-glyph {
  position: absolute; right: -2vw; bottom: -.18em; z-index: 0;
  font-family: var(--serif); font-size: clamp(16rem, 46vw, 44rem); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(198,201,206,.26); user-select: none; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 9.2vw, 8rem); line-height: .98; letter-spacing: -.02em; max-width: 17ch; }
.hero h1 .line { display: block; }
.hero-lead { margin-top: clamp(1.75rem, 4vw, 3rem); max-width: 34rem; color: var(--silver); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.6rem;
  border-radius: 999px; border: 1px solid var(--silver); font-weight: 500; font-size: .98rem; background: transparent;
  transition: background .2s, color .2s, border-color .2s; text-align: center;
}
.btn-solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-solid:hover:not([disabled]) { background: var(--silver); border-color: var(--silver); }
.btn-line:hover:not([disabled]) { background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.hero-facts { margin-top: clamp(3rem, 7vw, 5.5rem); display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; color: var(--ash); font-size: .92rem; }
.rise { opacity: 0; transform: translateY(.5rem); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .17s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .55s; } .d5 { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections */
section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.no-top { padding-top: 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.04; letter-spacing: -.015em; }
.section-head p { margin-top: 1.1rem; color: var(--silver); max-width: 34rem; }
.light { background: var(--mist); color: var(--ink); }
.light .section-head p { color: #4b4d52; }
.loading { color: var(--ash); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* Subjects */
.subjects { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(198,201,206,.2); }
.subject { padding: 2rem 2rem 2.25rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.subject + .subject { padding-left: 2rem; border-left: 1px solid rgba(198,201,206,.2); }
.subject h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.subject p { color: var(--silver); max-width: 24rem; }
.subject ul { margin: 0; padding: 0; list-style: none; color: var(--ash); font-size: .94rem; display: grid; gap: .35rem; }
.subject .more { margin-top: auto; align-self: flex-start; border-bottom: 1px solid var(--silver); padding-bottom: .15rem; font-size: .95rem; }
.subject .more:hover { color: var(--silver); }

/* Catalog */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.chip {
  background: transparent; border: 1px solid rgba(5,5,5,.28); color: var(--ink);
  border-radius: 999px; padding: .5rem 1.15rem; font-size: .92rem; min-height: 2.5rem;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.25rem; }
.card {
  background: var(--ink); color: var(--white); border: 1px solid var(--steel); border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem;
}
.cover {
  aspect-ratio: 4 / 5; border: 1px solid rgba(198,201,206,.3); border-radius: .5rem; position: relative;
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem; background: #000; color: var(--white);
}
.cover::before { content: ""; position: absolute; inset: .45rem; border: 1px solid rgba(198,201,206,.12); border-radius: .25rem; pointer-events: none; }
.cover-mark { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--silver); letter-spacing: -.02em; }
.cover-title { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.cover-sub { display: block; margin-top: .4rem; font-family: var(--sans); font-size: .78rem; color: var(--ash); }
.cover-img { padding: 0; overflow: hidden; }
.cover-img::before { display: none; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding-inline: .25rem; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.card .desc { color: var(--silver); font-size: .96rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.tag { border: 1px solid var(--steel); color: var(--ash); border-radius: 999px; padding: .1rem .7rem; font-size: .78rem; }
.status { display: inline-block; align-self: flex-start; border: 1px dashed var(--silver); color: var(--silver); border-radius: 999px; padding: .05rem .8rem; font-size: .78rem; }
.status-available { border-style: solid; }
.price-row { display: flex; align-items: baseline; gap: .7rem; margin-top: auto; padding-top: .8rem; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.price-note { color: var(--ash); font-size: .8rem; }
.card-actions { display: grid; gap: .6rem; padding-inline: .25rem; }
.card-actions .btn { width: 100%; min-height: 2.9rem; }
.card-featured .cover { aspect-ratio: auto; }
.card-aside { display: contents; }
@media (min-width: 52rem) {
  .card-featured { grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: 2.5rem; padding: 1.1rem 2.5rem 1.1rem 1.1rem; }
  .card-featured .cover { flex: 0 0 min(20rem, 34%); min-height: 24rem; }
  .card-featured .card-body { padding-block: 1.4rem; max-width: 34rem; }
  .card-featured .card-actions { align-self: flex-end; width: 15rem; padding-block: 1.4rem; }
  .card-featured h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
  .card-featured > .card-aside { display: flex; flex-direction: column; justify-content: flex-end; }
}
.catalog-note { margin-top: 2.25rem; color: #4b4d52; font-size: .92rem; max-width: 44rem; }

/* Paper previews */
.papers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.paper-fig { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.paper {
  container-type: inline-size; aspect-ratio: 1 / 1.414; background: #fafafa; color: #121213;
  border-radius: .35rem; overflow: hidden; border: 1px solid rgba(198,201,206,.35);
}
.paper > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.paper-in { height: 100%; padding: 7cqw; display: flex; flex-direction: column; gap: 2.6cqw; font-size: 3.8cqw; line-height: 1.42; }
.p-head { display: flex; justify-content: space-between; gap: 2cqw; font-size: 2.8cqw; color: #6b6e74; border-bottom: 1px solid #d9d9dc; padding-bottom: 2.2cqw; }
.p-title { font-family: var(--serif); font-weight: 400; font-size: 8.2cqw; line-height: 1.1; letter-spacing: -.01em; margin-top: 1cqw; }
.paper p { margin: 0; color: #2b2c2f; }
.p-rows { display: grid; }
.p-rows > div { display: grid; grid-template-columns: fit-content(40%) 1fr; gap: 3cqw; padding: 1.8cqw 0; border-bottom: 1px solid #e3e3e6; }
.p-rows b { font-weight: 600; }
.p-rows span { color: #3d3f44; }
.p-box { background: #efeff1; border-left: .9cqw solid #121213; padding: 2.6cqw 3cqw; }
.p-box b { font-weight: 600; }
.p-math { font-family: var(--serif); font-size: 4.6cqw; line-height: 1.5; padding-left: 3cqw; }
.p-bars { display: grid; gap: 1.8cqw; margin-top: .5cqw; }
.p-bars i { display: block; height: 1.5cqw; border-radius: 1cqw; background: #dcdce0; }
.p-foot { margin-top: auto; font-size: 2.6cqw; color: #8b8e94; }
.paper-fig figcaption { display: grid; gap: .1rem; font-size: .92rem; color: var(--silver); }
.paper-fig figcaption b { font-weight: 500; color: var(--white); }
.paper-fig figcaption span { color: var(--ash); font-size: .85rem; }
.papers-note { margin-top: 2.5rem; color: var(--ash); font-size: .92rem; max-width: 44rem; }

/* After purchase */
.buy-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1.6rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .6rem; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: #6b6e74; grid-row: span 2; }
.steps b { font-weight: 600; }
.steps span { color: #4b4d52; font-size: .96rem; }
.info-box { border: 1px solid rgba(5,5,5,.22); border-radius: 1rem; padding: 1.5rem; }
.info-box h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; margin-bottom: 1rem; }
.info-box ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .55rem; font-size: .96rem; color: #33353a; }
.info-box.tbd { border-style: dashed; }
.info-box a { border-bottom: 1px solid currentColor; }
.live-note { margin-bottom: 2rem; max-width: 44rem; }

/* Opinie */
.empty-reviews { border: 1px dashed rgba(198,201,206,.35); border-radius: 1.1rem; padding: clamp(2rem, 5vw, 3.5rem); max-width: 44rem; }
.empty-reviews p { color: var(--silver); }
.empty-reviews p + p { margin-top: .8rem; color: var(--ash); font-size: .95rem; }

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid rgba(5,5,5,.22); }
.faq details { border-bottom: 1px solid rgba(5,5,5,.22); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-size: 1.1rem; font-weight: 500; min-height: 3.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: #4b4d52; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 3rem 1.5rem 0; color: #33353a; max-width: 42rem; }
.faq .ans a { border-bottom: 1px solid currentColor; }

/* Product page */
.back { display: inline-block; color: var(--silver); font-size: .95rem; border-bottom: 1px solid rgba(198,201,206,.4); padding-bottom: .1rem; margin-bottom: 2.25rem; }
.back:hover { color: var(--white); }
.p-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cover-lg { padding: 1.5rem; }
.cover-lg .cover-mark { font-size: 5.5rem; }
.cover-lg .cover-title { font-size: 2.1rem; }
.p-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -.02em; }
.p-hero .hero-lead { margin-top: 1.5rem; }
.p-hero .tags { margin-top: 1.5rem; }
.p-hero .status { margin-bottom: 1.25rem; }
.p-hero .price-row { margin-top: 1.5rem; padding-top: 0; }
.p-hero .price { font-size: 2.8rem; }
.p-hero .actions { margin-top: 1.5rem; }
.demo-line { margin-top: 1.25rem; color: var(--ash); font-size: .9rem; max-width: 30rem; }
.for-who { margin-top: 1.5rem; color: var(--silver); max-width: 34rem; font-size: .98rem; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); }
.group { border-top: 1px solid rgba(5,5,5,.25); padding-top: 1.1rem; }
.group h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: .9rem; }
.group ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; color: #33353a; font-size: .97rem; }
.group li::marker { color: #8b8e94; }
.scope-note { margin-top: 2.5rem; max-width: 44rem; color: #4b4d52; font-size: .92rem; }
.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.other { border: 1px solid var(--steel); border-radius: 1rem; padding: 1.25rem; display: flex; flex-direction: column; gap: .3rem; transition: border-color .2s; }
.other:hover { border-color: var(--silver); }
.other b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.other span { color: var(--ash); font-size: .88rem; }

/* Alerts */
.alert { border: 1px solid var(--silver); border-radius: .8rem; padding: 1rem 1.2rem; font-size: .96rem; background: rgba(198,201,206,.08); }
.alert b { font-weight: 600; }
.alert-error { border-color: #b88585; background: rgba(184,133,133,.13); }
.alert-info { border-style: dashed; }
.alert a { border-bottom: 1px solid currentColor; }
.light .alert { background: rgba(5,5,5,.04); border-color: rgba(5,5,5,.35); }

/* Purchase / order / simple pages */
.page { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem); }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -.02em; }
.page .hero-lead { margin-top: 1.25rem; }
.buy-wrap { display: grid; grid-template-columns: minmax(0, 17rem) 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.buy-summary { display: grid; gap: 1.25rem; }
.buy-summary h2, .order-box h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.sum-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; color: var(--silver); font-size: .95rem; }
.sum-price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.buy-form { display: grid; gap: 1.1rem; max-width: 38rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .92rem; color: var(--silver); line-height: 1.5; }
.consent input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; accent-color: #c6c9ce; }
.consent a { border-bottom: 1px solid currentColor; }
.fine { color: var(--ash); font-size: .88rem; max-width: 38rem; }
.order-box { max-width: 42rem; margin-top: clamp(2rem, 5vw, 3rem); display: grid; gap: 1.25rem; }
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.downloads li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--steel); border-radius: .9rem; padding: 1rem 1.2rem; }
.downloads .btn { min-height: 2.75rem; padding-block: .5rem; }
.steps-small { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--silver); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(2.5rem, 6vw, 4rem); align-items: start; }
form { display: grid; gap: 1.25rem; }
.cf-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
label { font-size: .92rem; color: var(--silver); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; background: var(--graphite); border: 1px solid #3a3b3e; border-radius: .7rem; padding: .8rem 1rem; min-height: 3rem; color: var(--white);
}
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; border-color: var(--silver); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b88585; }
.field-error { color: #e0b4b4; font-size: .86rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .9rem; color: var(--ash); }
.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: #c6c9ce; }
.check a { border-bottom: 1px solid currentColor; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info { display: grid; gap: 1.75rem; }
.contact-info div { border-top: 1px solid rgba(198,201,206,.2); padding-top: 1rem; }
.contact-info h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-bottom: .5rem; }
.contact-info p { color: var(--silver); font-size: .96rem; }
.ph { display: inline; background: rgba(198,201,206,.16); border: 1px dashed var(--silver); border-radius: .3rem; padding: 0 .4rem; font-size: .9em; color: var(--white); }
.light .ph { background: rgba(5,5,5,.07); border-color: rgba(5,5,5,.5); color: var(--ink); }
.todo { color: var(--ash); }
.todo small { font-size: .76rem; border: 1px solid var(--steel); border-radius: 999px; padding: .05rem .55rem; margin-left: .4rem; white-space: nowrap; }

/* Legal documents */
.doc { max-width: 46rem; margin-top: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.15; margin: 2.5rem 0 .9rem; }
.doc p { color: var(--silver); margin-top: .8rem; }
.doc ul { margin: .8rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--silver); }
.draft-banner { margin-top: 1.75rem; max-width: 46rem; }
.seller-table { display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: .6rem 1.5rem; margin: 1.5rem 0 0; }
.seller-table dt { color: var(--ash); }
.seller-table dd { margin: 0; color: var(--white); }

/* Footer */
footer { border-top: 1px solid rgba(198,201,206,.18); padding-block: clamp(3rem, 7vw, 5rem) 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-grid h2 { font-family: var(--sans); font-size: .95rem; font-weight: 500; margin-bottom: .9rem; color: var(--white); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; color: var(--silver); font-size: .94rem; }
.foot-grid ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.foot-grid .brand { display: block; margin-bottom: .8rem; }
.foot-grid p { color: var(--ash); font-size: .94rem; max-width: 22rem; }
.legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(198,201,206,.14); color: var(--ash); font-size: .85rem; max-width: 52rem; }

/* Responsive */
@media (max-width: 62rem) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid rgba(198,201,206,.18); padding: .5rem var(--pad) 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid rgba(198,201,206,.12); }
  .buy-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 52rem) {
  .subjects { grid-template-columns: 1fr; }
  .subject, .subject + .subject { padding: 2rem 0; border-left: 0; }
  .subject + .subject { border-top: 1px solid rgba(198,201,206,.2); }
  .hero-glyph { opacity: .7; right: -8vw; bottom: -.1em; }
  .p-hero-grid { grid-template-columns: 1fr; }
  .cover-lg { max-width: 18rem; aspect-ratio: 4 / 4.6; }
  .contact-grid { grid-template-columns: 1fr; }
  .buy-wrap { grid-template-columns: 1fr; }
  .faq .ans { padding-right: 0; }
  .seller-table { grid-template-columns: 1fr; gap: .1rem; }
  .seller-table dd { margin-bottom: .8rem; }
}
@media (max-width: 34rem) {
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; opacity: 1; transform: none; }
  .faq summary::after { transition: none; }
  .loading { animation: none; }
}
