/* TasksToDo website — the app's own palette (lib/core/design_system/app_colors.dart). */
:root {
  --bg: #08090b;
  --surface: #191b1f;
  --border: #292d32;
  --text: #f2f2f2;
  --muted: #92979f;
  --accent: #e2e4e7;
  --on-accent: #08090b;
  --project: #b69aef; --project-bg: #251a3d;
  --sport: #70c99a;   --sport-bg: #102b20;
  --school: #7ca9f8;  --school-bg: #14243d;
  --work: #e5b86c;    --work-bg: #332817;
  --daily: #6cc3c0;   --daily-bg: #10292b;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #e9eaec;
    --surface: #f4f5f6;
    --border: #d9dcdf;
    --text: #1b1d21;
    --muted: #5f646b;
    --accent: #1b1d21;
    --on-accent: #f4f5f6;
    --project: #65449b; --project-bg: #eae2f7;
    --sport: #286c49;   --sport-bg: #ddefe5;
    --school: #315d96;  --school-bg: #dfe9f8;
    --work: #7d5923;    --work-bg: #f3e8d5;
    --daily: #22706b;   --daily-bg: #dcefee;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.links { display: flex; align-items: center; gap: 4px; }
nav.links a { text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 8px; font-size: 15px; }
nav.links a:hover { color: var(--text); background: var(--surface); }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; padding: 2px; margin-left: 6px; }
.lang button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px;
  padding: 4px 10px; border-radius: 8px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); font-weight: 600; }

/* Hero */
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0 0 24px; max-width: 34em; }
.hero .icon { width: 180px; height: 180px; border-radius: 40px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 14px; color: var(--muted);
}

/* Sections */
section { padding: 40px 0; }
h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p, .card li { color: var(--muted); margin: 0; font-size: 15px; }
.card ul { margin: 0; padding-left: 18px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.t-daily { color: var(--daily); background: var(--daily-bg); }
.t-school { color: var(--school); background: var(--school-bg); }
.t-sport { color: var(--sport); background: var(--sport-bg); }
.t-project { color: var(--project); background: var(--project-bg); }
.t-work { color: var(--work); background: var(--work-bg); }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 0 0 16px; }
.contact {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 18px;
  border-radius: 12px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600;
  word-break: break-all;
}

footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Privacy page */
.doc { max-width: 720px; }
.doc section.card { margin-top: 24px; padding: 24px; }
.doc h3 { font-size: 16px; margin: 20px 0 4px; }
.doc p { color: var(--text); margin: 0; }
.muted { color: var(--muted); font-size: 14px; }

/* One language at a time; both are in the page for search engines and no-JS. */
html[data-lang="tr"] [lang="en"]:not(html),
html[data-lang="en"] [lang="tr"]:not(html) { display: none; }

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 24px; }
  .hero .icon { width: 96px; height: 96px; border-radius: 22px; order: -1; }
  nav.links a.hide-sm { display: none; }
  nav.links a { padding: 8px 6px; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
}
