/* Terms, Privacy Policy, Refund Policy and Contact pages (terms.html, privacy.html, refund-policy.html, contact.html).
   Self-contained on purpose: these pages load only this file, so changes to the landing page's main.css cannot break them. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #0079fd;
  --navy: #0a1b5c;
  --ink: #0a0a0a;
  --text: #4a5266;
  --line: #e3e9f2;
  --g: 20px;
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (min-width: 640px) { :root { --g: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

.lg-hdr { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 var(--g); background: rgba(255, 255, 255, .97); box-shadow: 0 1px 8px rgba(10, 27, 92, .08); }
.lg-hdr img { height: 32px; width: auto; }
.lg-hdr__back { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }

.lg { max-width: 820px; margin: 0 auto; padding: 40px var(--g) 64px; color: var(--text); font-size: 15.5px; }
.lg h1 { margin: 0 0 6px; color: var(--ink); font-size: clamp(28px, 5vw, 40px); line-height: 1.2; letter-spacing: -.01em; }
.lg__meta { margin: 0 0 28px; font-size: 14px; color: #6b7287; }
.lg h2 { margin: 36px 0 10px; color: var(--ink); font-size: 20px; line-height: 1.3; }
.lg h3 { margin: 22px 0 6px; color: var(--ink); font-size: 16.5px; }
.lg p, .lg ul, .lg ol { margin: 0 0 12px; }
.lg ul, .lg ol { padding-left: 22px; }
.lg li { margin: 4px 0; }
.lg strong { color: var(--ink); }
.lg__note { padding: 14px 16px; border-left: 4px solid var(--blue); border-radius: 8px; background: #f2f7ff; }

.lg .lg-cards { display: grid; gap: 14px; margin: 8px 0 24px; padding: 0; list-style: none; }
@media (min-width: 640px) { .lg-cards { grid-template-columns: 1fr 1fr; } }
.lg-cards li { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
.lg-cards h2 { margin: 0 0 6px; font-size: 16px; }
.lg-cards p { margin: 0; }
.lg-cards a { font-size: 17px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }

/* 404.html */
.nf { padding-top: clamp(48px, 10vh, 110px); padding-bottom: clamp(56px, 12vh, 130px); text-align: center; }
.nf__code { margin: 0 0 4px; color: var(--blue); font-size: clamp(72px, 18vw, 128px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.nf p { max-width: 34em; margin-left: auto; margin-right: auto; }
.nf__btn { display: inline-flex; align-items: center; height: 52px; margin-top: 14px; padding: 0 28px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
.nf__help { margin-top: 26px; font-size: 14.5px; }
.nf__help a { white-space: nowrap; }

.lg-ftr { padding: 28px var(--g) 36px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: #6b7287; }
.lg-ftr nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 10px; }
.lg-ftr nav a { color: #4d5266; font-weight: 600; text-decoration: none; }
.lg-ftr nav a:hover, .lg-ftr nav a[aria-current="page"] { color: var(--blue); }
.lg-ftr p { margin: 0; }

@media print { .lg-hdr, .lg-ftr nav { display: none; } .lg { padding-top: 0; } }
