/* Todolix website: one shared stylesheet. No web fonts, no external resources. */

:root {
  --mint: #1ADB9E;
  --on-mint: #15181C;
  --accent: #00855C;
  --ink: #15181C;
  --secondary: #7D848E;
  --secondary-text: #646B74;
  --field: #EFF1F4;
  --canvas: #FFFFFF;
  --card: #FFFFFF;
  --line: #E3E6EA;
  --mint-soft: #E3FAF2;
  --shadow: 0 1px 2px rgba(21, 24, 28, .05), 0 10px 30px rgba(21, 24, 28, .08);
  --radius: 22px;
  --rounded: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mint: #33FFB8;
    --on-mint: #15181C;
    --accent: #33FFB8;
    --ink: #F1F3F5;
    --secondary: #9AA2AC;
    --secondary-text: #A9B0B8;
    --field: #1D2423;
    --canvas: #141A19;
    --card: #1D2423;
    --line: #2A3331;
    --mint-soft: #1B2E28;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--rounded);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--mint); color: var(--on-mint); padding: 8px 14px; border-radius: 10px;
}
.skip:focus { left: 12px; z-index: 10; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--rounded); font-weight: 700; font-size: 1.2rem; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.header-nav { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.header-nav a { color: var(--secondary-text); }
.header-nav a:hover { color: var(--ink); }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: var(--field);
  color: var(--ink) !important; font-size: .85rem; font-weight: 600;
}
.lang:hover { text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 48px 0 24px; }
.hero-icon { width: 128px; height: 128px; margin: 0 auto 28px; filter: drop-shadow(0 12px 24px rgba(0, 133, 92, .18)); }
.hero h1 { max-width: 14ch; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.2rem; color: var(--secondary-text); max-width: 36ch; margin: 0 auto 28px; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--mint); color: var(--on-mint);
  font-family: var(--rounded); font-weight: 650; font-size: 1rem;
}
.store svg { width: 18px; height: 18px; flex: none; }
.store-note { font-size: .9rem; color: var(--secondary); margin-top: 12px; }

.hero-shot { margin: 48px auto 0; max-width: 300px; }

/* Phone frame for screenshots */
.phone {
  border-radius: 38px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.phone img { width: 100%; }

/* Feature rows */
.features { padding-top: 40px; padding-bottom: 24px; }
.feature {
  display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.feature.flip { grid-template-columns: 280px 1fr; }
.feature.flip .feature-text { order: 2; }
.feature-text { max-width: 30rem; }
.feature-text p { color: var(--secondary-text); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.feature ul { padding: 0; margin: 0; list-style: none; color: var(--secondary-text); }
.feature li { padding-left: 22px; position: relative; margin: 6px 0; }
.feature li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--mint);
}
.feature li strong { color: var(--ink); font-weight: 600; }

.example {
  display: inline-block; margin: 4px 0 18px; padding: 10px 16px; border-radius: 14px;
  background: var(--field); color: var(--ink); font-size: .98rem;
}
.example b { color: var(--accent); font-weight: 600; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 56px 0; border-top: 1px solid var(--line); }
.card {
  background: var(--field); border-radius: var(--radius); padding: 26px 24px;
}
.card p { color: var(--secondary-text); margin: 0; }
.card .dot {
  width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--on-mint);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .dot svg { width: 22px; height: 22px; }

/* Closing call to action */
.closing { text-align: center; padding: 72px 0 88px; border-top: 1px solid var(--line); }
.closing img { width: 84px; height: 84px; margin: 0 auto 22px; }
.closing p { color: var(--secondary-text); max-width: 34ch; margin: 0 auto 26px; }

/* Text pages (privacy, imprint, support) */
.page { padding: 32px 0 80px; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.page h2 { font-size: 1.35rem; margin-top: 2.2em; }
.page h3 { font-size: 1.08rem; margin-top: 1.6em; }
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 1.2em; }
.page li { margin: .35em 0; }
.page .meta { color: var(--secondary-text); }
.page address { font-style: normal; }
.toc { background: var(--field); border-radius: 16px; padding: 18px 22px; margin: 24px 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.toc li { margin: .2em 0; break-inside: avoid; }

.faq details {
  background: var(--field); border-radius: 16px; padding: 4px 20px; margin: 10px 0;
}
.faq summary {
  cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--secondary-text); }

.contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  background: var(--mint-soft); border-radius: var(--radius); padding: 22px 24px; margin: 24px 0 8px;
}
.contact p { margin: 0; flex: 1 1 260px; }
.button {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--mint); color: var(--on-mint); font-weight: 650;
}
.button:hover { text-decoration: none; filter: brightness(.97); }

/* 404 */
.notfound { text-align: center; padding: 80px 0 120px; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 24px; }
.notfound p { color: var(--secondary-text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .92rem; color: var(--secondary-text); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--secondary-text); }
.site-footer a:hover { color: var(--ink); }

/* Small screens */
@media (max-width: 820px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature.flip .feature-text { order: 0; }
  .feature .phone { max-width: 260px; margin: 0 auto; width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 14px; padding: 44px 0; }
  .toc ol { columns: 1; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 28px; }
  .hero-icon { width: 104px; height: 104px; }
  .lead { font-size: 1.08rem; }
  .header-nav { gap: 12px; }
  .header-nav .optional { display: none; }
  .hero-shot { max-width: 250px; }
  .phone { border-radius: 30px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.card .example { display: block; width: fit-content; background: var(--canvas); margin: 0 0 10px; }
.card .example:last-child { margin-bottom: 0; }
