/* Inner pages (built by src/build-pages.mjs). Shares tokens and components with v2.css. */
.page main { padding-top: 0; }
.page section { background: transparent; }

/* hero */
.pg-hero { min-height: 88svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding-top: 150px; padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.pg-hero:not(.has-art) { grid-template-columns: 1fr; }
.pg-hero-copy { display: grid; gap: 28px; position: relative; z-index: 2; max-width: 900px; }
.pg-hero .display { font-size: clamp(48px, 7vw, 116px); }
.pg-art { position: relative; justify-self: center; width: min(560px, 100%); }
.pg-art::before { content: ''; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(231, 186, 80, .32), transparent 65%); filter: blur(50px); }
.pg-art img { position: relative; width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); animation: float 9s ease-in-out infinite; }
[data-page="gold"] .pg-art img { border: 1px solid var(--line); animation: none; }
[data-page="about"] .pg-art { width: min(360px, 70%); }
[data-page="about"] .pg-art img { border-radius: 40px; mix-blend-mode: screen; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.2deg); } }
.pg-orb { position: absolute; right: -10vw; top: 10vh; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(247, 222, 146, .22), rgba(231, 186, 80, .06) 45%, transparent 70%); filter: blur(10px); pointer-events: none; animation: orb 14s ease-in-out infinite; }
@keyframes orb { 50% { transform: translate(-3vw, 4vh) scale(1.06); } }

/* sections */
.pg-sec { padding-block: clamp(80px, 11vw, 150px); border-top: 1px solid var(--line); }
.pg-sec .display { font-size: clamp(38px, 5vw, 84px); }
.pg-sec .sec-head { max-width: 1000px; }

/* cards */
.pg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pg-cards.n2, .pg-cards.n4 { grid-template-columns: repeat(2, 1fr); }
.pg-card { background: var(--bg); padding: clamp(26px, 3vw, 40px); display: grid; gap: 14px; align-content: start; position: relative; transition: background .5s var(--ease); }
.pg-card::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(231, 186, 80, 0); transition: box-shadow .5s var(--ease); pointer-events: none; }
.pg-card:hover { background: #0c0b09; }
.pg-card:hover::after { box-shadow: inset 0 0 0 1px rgba(231, 186, 80, .45); }
.pg-card .ix { font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pg-card h3 { font-weight: 300; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; line-height: 1.15; color: var(--white); }
.pg-card p { color: var(--muted); font-weight: 300; font-size: 16px; }

/* steps */
.pg-steps { list-style: none; display: grid; gap: 0; max-width: 1000px; position: relative; }
.pg-steps::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(var(--gold), rgba(231, 186, 80, .08)); }
.pg-steps li { display: grid; grid-template-columns: 56px 1fr; gap: clamp(18px, 3vw, 40px); padding: 22px 0; position: relative; }
.pg-steps .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(231, 186, 80, .55); background: var(--bg); font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--gold-hi); box-shadow: 0 0 30px rgba(231, 186, 80, .15); position: relative; z-index: 1; }
.pg-steps h3 { font-weight: 300; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.03em; color: var(--white); line-height: 1.15; padding-top: 8px; }
.pg-steps p { color: var(--muted); font-weight: 300; margin-top: 8px; max-width: 42em; }

/* rows */
.pg-rows { border-top: 1px solid var(--line); max-width: 1100px; }
.pg-row { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: clamp(16px, 4vw, 60px); padding: 26px 0; border-bottom: 1px solid var(--line); }
.pg-row > span { font: 500 11px/1.6 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.pg-row p { font-weight: 300; font-size: clamp(17px, 1.4vw, 21px); color: var(--paper); line-height: 1.55; }
.pg-row a, .pg-card a, .faq a { color: var(--gold-hi); border-bottom: 1px solid rgba(231, 186, 80, .4); }

/* note */
.pg-note { display: flex; gap: 14px; align-items: baseline; margin-top: 34px; padding: 18px 22px; border: 1px solid var(--line); background: rgba(231, 186, 80, .04); font: 500 11px/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pg-note i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: translateY(-1px); }

/* faq on pages: sections already have a heading */
.page .faq-list { max-width: 1100px; }
.page .faq details p { padding: 0 0 30px; max-width: 48em; color: var(--muted); font-weight: 300; font-size: 17px; }

/* continue */
.pg-next { border-top: 1px solid var(--line); padding-block: clamp(70px, 9vw, 120px); display: grid; gap: 30px; }
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.next-card { background: var(--bg); padding: clamp(28px, 3.4vw, 46px); display: grid; gap: 14px; position: relative; overflow: hidden; transition: background .5s var(--ease); }
.next-card::before { content: ''; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(231, 186, 80, .22), transparent 65%); opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); transform: scale(.8); }
.next-card:hover { background: #0c0b09; }
.next-card:hover::before { opacity: 1; transform: none; }
.next-card small { font: 500 10px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.next-card h3 { font-weight: 200; font-size: clamp(34px, 3.6vw, 56px); letter-spacing: -.05em; line-height: 1; color: var(--white); }
.next-card p { color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.next-card .go { font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); transition: transform .4s var(--ease); }
.next-card:hover .go { transform: translateX(6px); }

.legal-links { font-size: 10px; color: var(--dim); }

@media (max-width: 1100px) {
  .pg-cards, .pg-cards.n4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pg-hero { grid-template-columns: 1fr; padding-top: 120px; min-height: auto; }
  .pg-art { width: min(320px, 80%); }
  .pg-cards, .pg-cards.n2, .pg-cards.n4 { grid-template-columns: 1fr; }
  .pg-row { grid-template-columns: 1fr; gap: 8px; }
  .pg-steps li { grid-template-columns: 44px 1fr; }
  .pg-steps .n { width: 44px; height: 44px; }
  .pg-steps::before { left: 21px; }
}
@media (prefers-reduced-motion: reduce) { .pg-art img, .pg-orb { animation: none; } }
