/* Secondary pages: content pages, download, deep-link landing pages. Builds on site.css tokens. */

.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; margin: 24px 0 20px; max-width: 16em; }
.page-hero .lead { margin: 0; max-width: 40em; }
.page-body { padding: clamp(48px, 7vw, 88px) 0; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { padding: 28px 28px 30px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card .tile { margin-bottom: 20px; }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 28px; margin-top: 24px; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--lavender-soft); }
.member b { display: block; margin-top: 14px; font: 600 18px/1.2 var(--font); }
.member span { color: var(--muted); font-size: 14px; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-sm); background: rgba(254, 65, 91, .1); color: #a3162f; font-weight: 500; margin-bottom: 32px; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 14px 0 14px 48px; border-top: 1px solid var(--line); color: var(--ink-2); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender-soft); color: var(--violet); font: 600 14px/1 var(--font); }
.prose h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose p { color: var(--ink-2); max-width: 44em; }
.prose a { color: var(--violet); }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 18px/1.35 var(--font); letter-spacing: -0.015em; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 50%; margin-top: -14px; font: 400 26px/1 var(--font); color: var(--violet); transition: transform .15s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }
.acc .acc-body p { margin: 0 0 10px; }
.fine { margin-top: 56px; font-size: 13px; color: var(--muted); }

/* Legal documents ported from the previous site (verbatim text). */
.legal h3 { font-size: 18px; letter-spacing: -0.01em; margin: 28px 0 8px; }
.legal h4 { font-size: 16px; margin: 20px 0 6px; }
.legal ol { padding-left: 22px; }

/* Deep-link landing pages (/transfer, /connect, /app, /ton-connect, /holders/*, /share/*, /download). */
.dl { padding: clamp(40px, 7vw, 96px) 0; background: var(--mist); min-height: 70vh; }
.dl .wrap { max-width: 560px; }
.dl-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 5vw, 40px); box-shadow: 0 24px 60px -32px rgba(86, 76, 226, .35); }
.dl-card .eyebrow { margin-bottom: 18px; }
.dl-title { font-size: clamp(26px, 4vw, 36px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; overflow-wrap: anywhere; }
.dl-sub { margin: 0 0 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.dl-text { color: var(--ink-2); margin: 0 0 14px; }
.dl-text.err, .dl-sub.err { color: #a3162f; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.dl-addr { display: block; margin: 8px 0 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--mist); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.dl-rows { border-top: 1px solid var(--line); margin: 0 0 20px; }
.dl-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dl-rows div span:first-child { color: var(--ink-2); }
.dl-rows div span:last-child { text-align: right; overflow-wrap: anywhere; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.dl-actions .btn { width: 100%; }
.dl-qr { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.dl-qr p { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.qr { display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); line-height: 0; }
.qr svg { width: 200px; height: 200px; }
.dl-app { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dl-app img { width: 56px; height: 56px; border-radius: 14px; background: var(--lavender-soft); object-fit: cover; }
.dl-app b { display: block; font: 600 20px/1.2 var(--font); overflow-wrap: anywhere; }
.dl-app a { color: var(--violet); font-size: 14px; overflow-wrap: anywhere; }
.dl-hero-img { width: 100%; height: auto; border-radius: var(--r); margin-bottom: 24px; }
.dl .stores { margin-top: 24px; }
.dl .store { width: 100%; justify-content: flex-start; }
.dl-links { margin-top: 20px; display: grid; gap: 10px; }
.dl-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.dl-links a:hover { border-color: var(--violet); color: var(--violet); }
.dl-links a::after { content: "→"; }
.badge-ok { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 190, 128, .12); color: #008a5d; font: 600 13px/1 var(--font); }

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

.dl-addr { white-space: pre-line; }
