/* Shared layout for standalone pages. Loaded after site.css and white-theme.css. */

.nav-links a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 6px; }
.nav-actions .nav-discord { color: var(--muted); font-size: 13.5px; padding: 10px 4px; }
.nav-actions .nav-discord:hover { color: var(--text); text-decoration: none; }
@media (max-width: 420px) { .nav-actions .nav-discord { display: none; } }

.breadcrumbs { display: flex; align-items: center; gap: 8px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); text-decoration: none; }
.breadcrumbs [aria-current="page"] { color: var(--text); }

.page-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(36px, 5.5vw, 72px); padding-bottom: clamp(44px, 6vw, 78px); }
.page-hero.solo { display: block; max-width: 960px; padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero h1 { margin-top: 18px; font-size: clamp(46px, 6.2vw, 84px); line-height: .98; letter-spacing: -.06em; }
.page-lead { margin-top: 22px; max-width: 58ch; font-size: clamp(16.5px, 1.65vw, 19.5px); line-height: 1.55; color: var(--muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #111114; box-shadow: 0 0 0 4px #11111414; flex: none; }

.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { text-decoration: none; border-color: var(--text); }

.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.spec-chips > span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; color: var(--muted); background: #fff; }

.hero-phone { justify-self: end; width: min(100%, 250px); margin: 0; border: 1px solid var(--line); border-radius: 28px; padding: 12px; background: #fff; box-shadow: 0 22px 45px #00000014; }
.hero-phone img { width: 100%; height: auto; border-radius: 20px; }
.hero-tv { margin: 0; border: 1px solid var(--line); border-radius: 24px; padding: 9px; background: #0b0b0d; box-shadow: 0 22px 45px #0000001a; }
.hero-tv img { width: 100%; height: auto; border-radius: 17px; aspect-ratio: 16 / 9; object-fit: cover; }

.page-section { padding-top: clamp(38px, 5vw, 68px); }
.page-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.page-section-head h2 { font-size: clamp(30px, 3.6vw, 48px); }
.page-section-head p { max-width: 46ch; color: var(--muted); font-size: 15px; }
.page-section-head > :only-child { margin-bottom: 0; }
.page-footnote { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dl-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 24px; }
.dl-card.featured { background: var(--surface); }
.dl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-top svg { width: 24px; height: 24px; }
.dl-tag { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; background: #fff; }
.dl-card h3 { margin-top: 16px; font-size: 22px; }
.dl-card > p { margin-top: 7px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.dl-spec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; }
.dl-spec strong { font-size: 26px; letter-spacing: -.04em; }
.dl-spec span { color: var(--muted); font-size: 12.5px; }
.dl-card .button { width: 100%; margin-top: 16px; }
.dl-steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: dl; }
.dl-steps li { position: relative; margin-top: 9px; padding-left: 26px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.dl-steps li::before { counter-increment: dl; content: counter(dl); position: absolute; left: 0; top: 0; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: var(--text); background: #fff; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.file-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.file-table th, .file-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.file-table tr:last-child td { border-bottom: 0; }
.file-table thead th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface); }
.file-table td:last-child, .file-table th:last-child { text-align: right; }
.file-table a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step-card { border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 26px; }
.step-card h3 { font-size: 20px; }
.step-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.step-card ol { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.step-card li { margin-top: 8px; padding-left: 4px; }
.step-card li::marker { color: var(--text); font-weight: 600; }
.step-card strong { color: var(--text); font-weight: 600; }

.help-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; margin-top: 14px; }
.note-card { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: 26px; }
.note-card h3 { font-size: 18px; }
.note-card p { margin-top: 9px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.note-card a { text-decoration: underline; text-underline-offset: 3px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 22px; }
.feature-n { display: inline-block; margin-bottom: 14px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.feature-card h3 { font-size: 18.5px; }
.feature-card p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #0b0b0d; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: 13px; background: #fff; border-top: 1px solid var(--line); }

.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.roadmap-item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 22px; }
.roadmap-n { font-size: 11px; letter-spacing: .1em; color: var(--muted); padding-top: 4px; }
.roadmap-item h3 { font-size: 19.5px; }
.roadmap-item p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.arch-card { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: 26px; }
.arch-card strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.arch-card p { margin-top: 7px; color: var(--muted); font-size: 14.5px; max-width: 64ch; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.timeline > div { border-top: 2px solid var(--text); padding-top: 15px; }
.timeline b { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.timeline span { display: block; margin-top: 7px; color: var(--muted); font-size: 14.5px; }

.status-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.status-strip > span { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 8px 13px; font-size: 12.5px; color: var(--muted); }
.status-strip b { color: var(--text); margin-right: 5px; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split h2 { font-size: clamp(30px, 3.6vw, 48px); }
.split p { margin-top: 14px; color: var(--muted); }
.split .text-link { margin-top: 20px; }
.split .hero-phone { width: min(100%, 210px); justify-self: start; }

.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: clamp(24px, 3vw, 34px); }
.page-cta h2 { font-size: clamp(26px, 3vw, 38px); }
.page-cta p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 52ch; }
.page-cta .button { flex: none; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; flex: none; }

.page-faq { padding-top: clamp(40px, 5vw, 64px); }

@media (max-width: 980px) {
  .dl-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero-phone { width: min(100%, 230px); }
}

@media (max-width: 820px) {
  .page-hero { grid-template-columns: 1fr; }
  .hero-phone { justify-self: start; width: min(100%, 220px); }
  .hero-tv { order: -1; }
  .step-grid, .help-grid, .roadmap, .shot-grid, .split { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .page-cta { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
}

@media (max-width: 640px) {
  .breadcrumbs { padding-top: 8px; }
  .page-hero { padding-top: 28px; padding-bottom: 40px; }
  .page-hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .page-lead { font-size: 16px; }
  .page-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .dl-card { padding: 20px; }
  .step-card, .note-card, .arch-card, .page-cta { padding: 22px; }
  .arch-card { flex-direction: column; align-items: flex-start; }
  .page-cta .button, .cta-actions { width: 100%; }
  .cta-actions .button { width: 100%; }
  .hero-phone { width: min(100%, 200px); }
  .split .hero-phone { width: min(100%, 180px); }
}
