/* The footer's pages ("Footer pages" canvas, Ivan 2026-11-30), linked after home.css: the visitor's About (ab-), the EU notice form
   (nt-), a visitor's Help guide (gd-), and the privacy policy and terms (lg-), with what they share (sp-). Every responsive rule is
   a container query on .gp. No script, and nothing here moves. */

.gp .sp-top { padding-block: 16px 56px; }
.gp .sp-top .gp-h1 { max-width: 20ch; font-size: clamp(38px, 5.2cqi, 74px); }
.gp .sp-top .gp-lead { max-width: 56ch; margin-top: 16px; }
.gp .sp-top .gp-note { margin-top: 12px; color: var(--on-navy-2); }
.sp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 24px 72px; align-items: start; }
.gp .sp-two .gp-h2 { font-size: clamp(28px, 3.4cqi, 46px); }
.sp-two p { max-width: 72ch; }
.sp-list li { padding-block: 16px; border-top: 1px solid #CBD5E1; }
.sp-list b { display: block; margin-bottom: 4px; font: 800 20px/1.2 var(--disp); letter-spacing: -.02em; }
.gp .sp-list a, .gp .ab-data a, .gp .ab-dl a { color: var(--blue); }

/* About */
.ab-hero { padding-block: 16px 0; }
.gp .ab-hero .gp-h1 { max-width: 20ch; font-size: clamp(38px, 5.2cqi, 74px); }
.gp .ab-hero .gp-lead { margin-block: 16px 28px; }
.ab-pic { border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.gp .ab-pic img { width: 100%; aspect-ratio: 1600 / 480; object-fit: cover; }
.ab-talk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 56px; margin-top: 28px; }
.ab-talk > div { padding-top: 16px; border-top: 1px solid #475569; }
.gp .ab-talk h3 { font-size: 22px; line-height: 1.2; }
.gp .ab-talk p { max-width: 34ch; margin-top: 6px; color: var(--on-navy-2); }
.ab-data { width: 100%; margin-top: 20px; border-collapse: collapse; }
.ab-data :is(th, td) { padding: 14px 24px 14px 0; text-align: left; vertical-align: top; border-top: 1px solid #CBD5E1; }
.ab-data thead th { border-top: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.ab-data tbody th { width: 30%; font-weight: 600; }
.gp .ab-dl { max-width: 72ch; margin-top: 20px; color: var(--muted); }

/* Report illegal content */
.nt { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px 88px; align-items: start; }
.nt-f { display: grid; gap: 22px; }
.nt-f label { display: block; margin-bottom: 8px; font-weight: 600; }
/* Blazor's InputText writes no type attribute, so a bare input is a text field too. */
.nt-f :is(input:not([type]), input[type=text], input[type=email], textarea) { width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid #64748B; border-radius: 12px; background: #FFFFFF; color: var(--ink); font: 400 17px/1.5 var(--body); }
.gp .nt-f textarea { min-height: 200px; resize: vertical; }
.gp .nt-f :is(input, textarea):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.gp .nt-hint { margin-top: 8px; font-size: 15px; color: var(--muted); }
.nt-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nt-f .nt-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; margin: 0; padding-block: 8px; font-weight: 400; cursor: pointer; }
.nt-check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--blue); }
.nt-f .validation-message { margin-top: 6px; font-size: 15px; color: #B91C1C; }
.gp .nt-err { margin-bottom: 22px; padding: 14px 18px; border-radius: 12px; background: #FEF2F2; color: #991B1B; }
.gp .nt .gp-lead { margin-block: 12px 10px; }
.gp .nt-side h2 { margin-bottom: 10px; font-size: 24px; }
.gp .nt-side ul + h2 { margin-top: 28px; }
.nt-side b { font: 600 17px/1.4 var(--body); letter-spacing: 0; margin: 0; }

/* A Help guide */
.gd { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 88px; align-items: start; }
.gd.is-plain { grid-template-columns: minmax(0, 1fr); }
.gp .gd-steps { counter-reset: s; }
.gd-steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding-block: 18px; border-top: 1px solid #CBD5E1; font-size: 18px; }
.gd-steps li::before { content: counter(s); font: 800 26px/1.1 var(--disp); color: var(--blue); }
.gd-steps p { max-width: 66ch; }
.gd-chip { display: inline-block; padding: 0 9px; border: 1px solid #CBD5E1; border-radius: 8px; background: #FFFFFF; font-weight: 600; font-size: .94em; }
.gp-band .gd-chip { background: var(--ground); }
/* First in the page, so a phone shows it before the steps; beside them when there is room. */
.gd > div { grid-row: 1; grid-column: 1; }
.gd-clip { grid-row: 1; grid-column: 2; position: sticky; top: 24px; display: grid; justify-items: center; gap: 12px; }
.gp .gd-video { display: block; box-sizing: content-box; width: calc(100% - 16px); max-width: 284px; aspect-ratio: 780 / 1688; border: 8px solid #0B1220; border-radius: 38px; background: #0B1220; object-fit: contain; box-shadow: 0 30px 60px -28px rgba(2, 6, 23, .6); }
.gd-video:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gp .gd-next a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding-block: 8px; border-top: 1px solid #CBD5E1; font-weight: 500; text-decoration: none; }
.gp .gd-next a:hover { color: var(--blue); }
.gd-next a::after { content: ''; width: 9px; height: 9px; flex: none; margin-right: 3px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.gd-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }

/* Privacy and Terms */
.gp .lg-top h1 { max-width: 20ch; font: 800 clamp(38px, 5.2cqi, 74px)/.98 var(--disp); font-stretch: 112%; letter-spacing: -.035em; text-wrap: balance; }
.gp .lg-top > p { margin-top: 16px; font-size: 19px; color: var(--on-navy-2); }
.lg-go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.gp .lg-go a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border: 1.5px solid #94A3B8; border-radius: 12px; font-weight: 600; text-decoration: none; }
.gp .lg-go a:hover { background: var(--navy-2); }
.lg { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px 88px; align-items: start; }
.lg-side { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.gp .lg-h { margin-bottom: 8px; font-weight: 600; }
.gp .lg ol { list-style: none; }
.gp .lg nav a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.35; text-decoration: none; }
.gp .lg nav a:hover { color: var(--blue); }
.lg-fold, .lg-back { display: none; }
.gp .gfs-legal h2 { margin-top: 42px; font: 800 32px/1.12 var(--disp); font-stretch: 112%; letter-spacing: -.03em; scroll-margin-top: 24px; text-wrap: balance; }
.gp .gfs-legal > h2:first-child { margin-top: 0; }
.gp .gfs-legal :is(p, li) a { color: var(--blue); }
.lg-key { display: flex; flex-direction: column; gap: 14px; margin-top: 42px; padding: 28px 32px; border-radius: 20px; background: var(--ground); }
.gp .lg-key h2, .gp .lg-key:first-child { margin-top: 0; }

@container gp (max-width: 820px) {
  .gp .sp-top { padding-bottom: 40px; }
  .sp-two, .nt, .nt-pair, .gd, .ab-talk, .lg { grid-template-columns: minmax(0, 1fr); }
  .gp .ab-pic img { aspect-ratio: 4 / 3; object-position: 7% 50%; }
  .ab-data, .ab-data :is(tbody, tr, th, td) { display: block; }
  .ab-data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ab-data tr { padding-block: 12px; border-top: 1px solid #CBD5E1; }
  .ab-data tbody :is(th, td) { width: auto; padding: 2px 0; border: 0; }
  .gd > div, .gd-clip { grid-area: auto; }
  .gd-clip { position: static; }
  .lg-side, .lg-fold .lg-h { display: none; }
  .lg-fold { display: block; border-block: 1px solid #CBD5E1; }
  .lg-fold > summary { min-height: 52px; padding-block: 14px; font-weight: 600; cursor: pointer; }
  .lg-back { position: sticky; bottom: 16px; justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-weight: 600; text-decoration: none; }
  .gp .gfs-legal h2 { font-size: 27px; }
  .lg-key { margin-inline: -4px; padding: 22px 20px; }
}
