/* Idle Transport Corp - support, privacy and legal pages (GitHub Pages; no cookies, no third-party content). */
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #f4f1ea;
  --card: #ffffff;
  --ink: #33364d;
  --ink-soft: #6a6e85;
  --brand: #faba34;
  --brand-edge: #d99a2b;
  --link: #2270b4;
  --line: #e6e0d4;
  --mark: #ffe9a8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1f2b;
    --card: #282b3a;
    --ink: #eef0f7;
    --ink-soft: #a9adc2;
    --link: #7fb8ec;
    --line: #3a3e52;
    --mark: #6b5414;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

header {
  background: linear-gradient(180deg, #ffd36b, var(--brand));
  border-bottom: 6px solid var(--brand-edge);
  padding: 28px 16px 22px;
  text-align: center;
  color: #33364d;
}

header img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
header h1 { margin: 12px 0 2px; font-size: 30px; font-weight: 900; }
header p { margin: 0; font-weight: 700; }

nav.lang { text-align: center; margin: 18px 0 0; font-weight: 800; }
nav.lang a { color: var(--link); text-decoration: none; margin: 0 8px; }
nav.lang a.on { color: var(--ink); text-decoration: underline; }

main { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }

section.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px 22px 18px;
  margin: 18px 0;
}

h2 { font-size: 23px; font-weight: 900; margin: 18px 0 6px; }
h3 { font-size: 18px; font-weight: 800; margin: 18px 0 4px; }
p, li { color: var(--ink); }
.soft { color: var(--ink-soft); font-size: 15px; }
a { color: var(--link); }
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 4px; }

footer { text-align: center; padding: 10px 16px 40px; color: var(--ink-soft); font-size: 15px; }
footer a { margin: 0 8px; }

/* The way back to the studio page and the App Store button (2026-11-08: the page is the TikTok bio's landing page). */
header { position: relative; }
.studio-back {
  position: absolute; top: 12px; left: 14px;
  font-size: 14px; font-weight: 800; color: #33364d; text-decoration: none; opacity: 0.75;
}
.studio-back:hover { opacity: 1; }
header img { margin-top: 14px; }
header p, .iab p { color: #33364d; }   /* the yellow header and the white box stay light in dark mode too */

.store {
  display: inline-block;
  margin: 18px 0 2px;
  padding: 13px 26px;
  border-radius: 16px;
  background: #33364d;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 #1f2133, 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease;
}
.store:active { transform: translateY(3px); box-shadow: 0 1px 0 #1f2133; }
.store[hidden] { display: none; }

.iab {
  position: relative;
  max-width: 420px;
  margin: 18px auto 2px;
  padding: 16px 18px 18px;
  text-align: left;
  background: #ffffff;
  border: 2px solid var(--brand-edge);
  border-radius: 18px;
  color: #33364d;
}
.iab[hidden] { display: none; }
.iab-title { font-weight: 900; font-size: 18px; margin: 0 0 8px; padding-right: 34px; }
.iab ol { margin: 0 0 14px; padding-left: 22px; font-weight: 600; color: #33364d; }
.iab li { color: #33364d; }
.iab-arrow { position: absolute; top: 6px; right: 14px; font-size: 30px; font-weight: 900; color: var(--brand-edge); }
.iab-button {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: #ffe9a8;
  color: #33364d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Only the visitor's language when JavaScript runs (site.js); without it both stay. */
.js [data-lang]:not(.shown) { display: none; }
