/* ============================================================
   MAP MY DAY — shared design system for content pages
   (About, Support, and their Swedish twins). Mirrors the
   tokens, nav and footer of the home page (index.html).
   ============================================================ */

:root {
  --ice: #f3f8fa;
  --ice-2: #e8f1f5;
  --snow: #ffffff;
  --fjord: #101c36;
  --fjord-2: #16264a;
  --ink: #10303f;
  --ink-soft: #44606f;
  --brand-magenta: #c0338b;
  --brand-blue: #2eaae1;
  --brand-blue-tint: #96d4f0;
  --brand-indigo: #3f59a5;
  --brand-purple: #564797;
  --brand-green: #66b659;
  --gold: #fbbf24;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(16, 48, 63, .10);
  --shadow-lg: 0 24px 70px rgba(16, 48, 63, .16);
  --line: rgba(16, 48, 63, .07);
  --line-strong: rgba(16, 48, 63, .18);
  --nav-bg: rgba(243, 248, 250, .78);
  --glow-ink: #c0338b;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ice: #0b142c;
  --ice-2: #0e1a38;
  --snow: #141f40;
  --ink: #e9eef9;
  --ink-soft: #a3b2cc;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .5);
  --line: rgba(150, 212, 240, .12);
  --line-strong: rgba(150, 212, 240, .28);
  --nav-bg: rgba(11, 20, 44, .78);
  --glow-ink: #4cc3ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ice);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: rgba(46, 170, 225, .35); }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5.4vw, 52px); font-weight: 800; margin: 14px 0 16px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 44px 0 14px; }
h3 { font-size: 19px; font-weight: 700; margin: 24px 0 6px; }

p { color: var(--ink-soft); margin: 0 0 14px; }
a { color: var(--brand-blue); }

.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); font-weight: 400; max-width: 680px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-indigo);
  background: rgba(46, 170, 225, .12);
  border: 1px solid rgba(46, 170, 225, .35);
  padding: 7px 16px; border-radius: 999px;
}
html[data-theme="dark"] .eyebrow { color: var(--brand-blue-tint); background: rgba(46, 170, 225, .10); border-color: rgba(46, 170, 225, .30); }

.grad-text {
  color: var(--glow-ink);
  -webkit-text-fill-color: currentColor;
  animation: auroraGlow 7s ease-in-out infinite;
}
@keyframes auroraGlow {
  0%, 100% { text-shadow: 0 0 14px rgba(192, 51, 139, .32), 0 0 34px rgba(192, 51, 139, .15); }
  33%      { text-shadow: 0 0 16px rgba(86, 71, 151, .38),  0 0 40px rgba(86, 71, 151, .18); }
  66%      { text-shadow: 0 0 16px rgba(46, 170, 225, .42), 0 0 42px rgba(46, 170, 225, .18); }
}

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
nav.scrolled { box-shadow: 0 6px 24px rgba(16, 48, 63, .08); }
html[data-theme="dark"] nav.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo-pin { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand-magenta), var(--brand-blue)); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 12px rgba(86, 71, 151, .35); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--fjord); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-weight: 600 !important; transition: transform .2s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16, 28, 54, .3); }
html[data-theme="dark"] .nav-cta { background: #e9eef9; color: #101c36 !important; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

.theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; padding: 0; transition: color .2s, border-color .2s, transform .3s ease; }
.theme-toggle:hover { color: var(--ink); border-color: var(--brand-blue); transform: rotate(40deg); }
.theme-toggle .sun, .theme-toggle .moon { display: none; }
html[data-theme="light"] .theme-toggle .moon { display: block; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }

/* ---------- page header ---------- */
.page {
  padding: 120px 0 40px;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(192, 51, 139, .10), transparent 60%),
    radial-gradient(800px 520px at 88% 8%, rgba(46, 170, 225, .16), transparent 60%),
    var(--ice);
}
.content { padding: 8px 0 90px; }

/* ---------- prose blocks ---------- */
.card { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); margin: 18px 0; }
ul.clean, ul.facts { list-style: none; display: grid; gap: 10px; margin: 14px 0; }
ul.facts li { display: flex; gap: 12px; }
ul.facts b { min-width: 190px; color: var(--ink); font-weight: 700; }
.prose ul { margin: 8px 0 16px 22px; color: var(--ink-soft); }
.prose li { margin: 4px 0; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
th { color: var(--ink); font-weight: 700; }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--snow); padding: 4px 20px; margin: 12px 0; box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; color: var(--brand-blue); font-weight: 600; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding: 0 0 16px; }

/* buttons */
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 24px 0 8px; align-items: center; }
.appstore-btn img { height: 50px; display: block; transition: transform .2s; }
.appstore-btn:hover img { transform: scale(1.04); }
.ghost-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s, background .2s, transform .2s; }
.ghost-btn:hover { border-color: var(--brand-blue); background: rgba(46, 170, 225, .08); transform: translateY(-1px); }

.breadcrumb { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* note / disambiguation callout */
.callout { border-left: 3px solid var(--brand-blue); background: rgba(46, 170, 225, .08); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 18px 0; }
.callout p { margin: 0; color: var(--ink); }

/* ---------- footer ---------- */
footer { background: var(--fjord); color: #7da0b2; padding: 36px 0 44px; border-top: 1px solid rgba(150, 212, 240, .1); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
footer a { color: #b8d3df; text-decoration: none; font-size: 14px; transition: color .2s; }
footer a:hover { color: var(--brand-blue); }
.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
footer .copyright { font-size: 13.5px; }

.lang-picker { display: flex; justify-content: center; margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
