/* GLOW — site-specific styles layered over https://tough.services/shared/tough.css */

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 26px 0 8px; }
.hero-icon { border-radius: 22%; box-shadow: var(--shadow); margin-bottom: 14px; }
.hero-title { font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; text-wrap: balance; }
.hero-sub { max-width: 54ch; margin: 0 auto 22px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; text-wrap: pretty; }

.cta {
    display: inline-block; padding: 13px 26px; border-radius: 10px; background: var(--accent);
    color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem; border: 1px solid var(--accent);
}
.cta:hover { filter: brightness(1.08); color: #fff; }
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cta-note { font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- Sections ---------- */
main.wrap h2 { font-size: 1.15rem; margin: 0 0 10px; letter-spacing: -0.01em; }
main.wrap section { margin: 22px 0; }
main.wrap p { line-height: 1.6; }
.small { font-size: 0.85rem; }

.explain .data-table { margin-top: 6px; }
.explain td, .explain th { padding-right: 18px; }
/* Belt and braces: if the table still cannot fit, scroll it rather than clip the
   right-hand column, which is the one carrying the answer. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kp-need { font-weight: 600; color: var(--accent); }
tr.row-here td { background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* ---------- Screenshots ---------- */
.shot-strip {
    display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 14px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shot { margin: 0; flex: 0 0 auto; width: 210px; scroll-snap-align: start; }
.shot img {
    width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border);
    background: var(--surface); display: block;
}
.shot figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* ---------- Free / Pro ---------- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pro-card { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.pro-tag {
    font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700;
    color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
    padding: 3px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px;
}
.ticks { list-style: none; padding: 0; margin: 10px 0 0; }
.ticks li { position: relative; padding-left: 24px; margin: 9px 0; line-height: 1.5; }
.ticks li::before {
    content: ""; position: absolute; left: 4px; top: 0.45em; width: 9px; height: 5px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* ---------- Testers ---------- */
.testers .steps { padding-left: 20px; margin: 12px 0; }
.testers .steps li { margin: 7px 0; line-height: 1.5; }
.warn {
    background: color-mix(in srgb, var(--warn) 15%, transparent);
    border-left: 3px solid var(--warn); padding: 10px 14px; border-radius: 0 8px 8px 0;
    font-size: 0.9rem; margin: 14px 0 18px;
}

@media (max-width: 760px) {
    .two-up { grid-template-columns: 1fr; }
    .shot { width: 168px; }
    .hero { padding-top: 14px; }
}

/* On a phone the four-column table overflowed and cut off "Kp needed" -- the whole
   point of the table. Geographic latitude is the least useful column (the geomagnetic
   one is the argument being made), so it goes first. */
@media (max-width: 620px) {
    .explain .col-lat { display: none; }
    .explain td, .explain th { padding-right: 10px; }
}

/* ---------- Privacy policy ---------- */
.prose { line-height: 1.65; max-width: 72ch; }
.prose h2 { font-size: 1rem; margin: 24px 0 6px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 5px 0; }
.prose code { background: var(--page); padding: 1px 5px; border-radius: 4px; }
.page-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 6px 0 4px; }
.cell-muted { color: var(--muted); }

/* ---------- Play Console asset tray (/assets) ---------- */
.sec { font-size: 1rem; margin: 22px 0 2px; }
.sec-sub { color: var(--muted); font-size: .85rem; margin: 0 0 12px; }
.text-list { display: grid; gap: 12px; margin-bottom: 8px; }
.tfield { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.tfield-head { display: flex; align-items: center; gap: 10px; }
.tfield-name { font-weight: 600; flex: 1; }
.tfield-count { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.copy { font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 8px;
        border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; }
.copy:hover { filter: brightness(1.08); }
.tfield-note { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.tfield-text { width: 100%; box-sizing: border-box; margin-top: 10px; font: inherit; font-size: .82rem;
               line-height: 1.5; padding: 10px; border-radius: 8px; border: 1px solid var(--border);
               background: var(--page); color: var(--ink); resize: vertical; }
.asset-list { display: grid; gap: 14px; }
.asset { display: flex; gap: 16px; align-items: flex-start; background: var(--surface);
         border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.asset img { width: 96px; height: auto; border-radius: 8px; border: 1px solid var(--border); display: block; }
.asset-meta { flex: 1; min-width: 0; }
.asset-title { font-weight: 600; }
.asset-where { font-size: .85rem; color: var(--accent); margin-top: 2px; }
.asset-spec { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.asset-dl { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 600; }
.page-title { font-size: clamp(1.4rem,3vw,1.9rem); margin: 6px 0 4px; }
.page-sub { color: var(--ink-2); margin: 0 0 18px; max-width: 60ch; }
