/* Shared styles for /buy, /terms, /privacy, /refunds. Same tokens as index.html. */
:root {
  --ground: #0E0D0D; --surface: #1B1A1A; --text: #F4F2EF; --muted: #BDBCC0; --rule: #2E2C2C;
  --action: #FFFFFF; --on-action: #0E0D0D; --line: #FFFFFF; --night: #0E0D0D;
  --fog: #8E8F94; --shell: #F1D2BA; --sand: #C99474; --clay: #9A6248;
  --display: Archivo, "Arial Black", sans-serif;
  --sans: Inter, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.narrow { max-width: 760px; }
.label { font: 500 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.display { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .86; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--line); }
.lede { margin: 0; font-size: 18px; color: var(--muted); max-width: 54ch; }
.fine { margin: 0; font-size: 13px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid var(--action); cursor: pointer; }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--rule); }

.top { border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.mark { font: 900 26px/1 var(--display); font-stretch: 125%; text-decoration: none; }

.buy-hero { padding: 72px 0 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.buy-hero > * { min-width: 0; }
.buy-hero h1 { font-size: clamp(30px, 6.4vw, 88px); }
.buy-hero .lede { margin-top: 24px; }
.pns { width: 100%; display: flex; gap: 6px; background: var(--night); height: 440px; }
.pn { position: relative; overflow: hidden; flex: 1; }
.pn img { position: absolute; left: -15px; top: -15px; width: calc(100% + 30px); height: calc(100% + 30px); object-fit: cover; object-position: 50% 12%; image-rendering: pixelated; filter: blur(5px); }
.pn::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19.05' height='33'%3E%3Cpath d='M9.525 0 L19.05 5.5 L19.05 16.5 L9.525 22 L0 16.5 L0 5.5 Z M9.525 22 L9.525 33' fill='none' stroke='%230E0D0D' stroke-opacity='0.22' stroke-width='1.4'/%3E%3C/svg%3E"); }
.pn-mark { position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%); font: 900 22px/1 var(--display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.pn.fog { background: var(--fog); } .pn.shell { background: var(--shell); } .pn.sand { background: var(--sand); } .pn.clay { background: var(--clay); }
@media (max-width: 900px) { .buy-hero { grid-template-columns: 1fr; padding-top: 40px; } .pns { height: 160px; } }

.price { border: 1px solid var(--rule); background: var(--surface); padding: 32px; margin-top: 32px; max-width: 460px; }
.price .amt { font: 900 64px/1 var(--display); font-stretch: 125%; margin: 8px 0 4px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; border-top: 1px solid var(--rule); }
.price li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.price .btn { width: 100%; }
.price .fine { margin-top: 12px; }

.uses { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); margin: 24px 0 88px; }
.use { padding: 28px; border-right: 1px solid var(--rule); }
.use:last-child { border-right: 0; }
.use h3 { margin: 0 0 8px; font: 600 19px/1.3 var(--sans); }
.use p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr; } .use { border-right: 0; border-bottom: 1px solid var(--rule); } .use:last-child { border-bottom: 0; } }

.doc { padding: 56px 0 88px; }
.doc h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 8px; }
.doc h2 { font: 600 20px/1.3 var(--sans); margin: 36px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p { margin: 0 0 12px; }

footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted); }
.foot-in nav a { text-decoration: none; }
