/* Veiltask site. No web fonts, scripts or third-party requests. */
:root {
  --accent: #4f7cff;
  --accent-ink: #2f56d8;
  --ink: #16181d;
  --muted: #5b6170;
  --line: #e3e6ee;
  --surface: #f6f7fb;
  --bg: #ffffff;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #7d9cff;
    --accent-ink: #a9bdff;
    --ink: #eceef4;
    --muted: #a3a9b8;
    --line: #2a2e38;
    --surface: #171a21;
    --bg: #0f1116;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent-ink); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px 16px; background: var(--bg); z-index: 10; }
.skip-link:focus { top: 8px; }

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

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand svg { width: 30px; height: 30px; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a[aria-current="page"], nav.site a:hover { color: var(--ink); }
.lang {
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  color: var(--muted);
  text-decoration: none;
}

main { padding: 48px 0 64px; }

.hero h1 {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.badge {
  display: inline-block;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 40px 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { max-width: 40em; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.note {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.table { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin: 10px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 4px; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 32px; }
footer.site a { color: var(--muted); }

/* Home: a product introduction; the task list is explicitly illustrative. */
header.site .wrap, footer.site .wrap { max-width: 1120px; }
header.site .wrap { min-height: 82px; }
.home > .wrap { max-width: 1120px; }
.home { padding: 64px 0 0; }
.home .hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: center; padding: 24px 0 80px; }
.home .hero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.2; margin-top: 12px; }
.hero h1 span { color: var(--accent-ink); }
.home .hero p.lead { font-size: 18px; max-width: 32em; margin-bottom: 26px; }
.badge { margin-top: 0; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 20px; border-radius: 10px; background: var(--accent-ink); color: var(--bg); text-decoration: none; font-size: 15px; font-weight: 650; }
.button:hover { filter: brightness(1.1); }
.text-link { display: inline-block; text-underline-offset: 5px; font-size: 15px; font-weight: 550; }
.hero-note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.day-preview { margin: 0; min-width: 0; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 60px #16181d0a; }
.preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.preview-brand { color: var(--accent-ink); font-weight: 700; }
.preview-pill { padding: 4px 9px; border-radius: 20px; background: var(--bg); color: var(--muted); font-size: 11px; }
.preview-title { margin: 30px 0 20px; }
.preview-title p { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.preview-title h2 { margin: 0; max-width: 13em; font-size: 26px; line-height: 1.3; letter-spacing: -.02em; }
.preview-tasks { list-style: none; margin: 0; padding: 0; }
.preview-tasks li { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 15px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.preview-tasks li > div { flex: 1; min-width: 0; }
.preview-tasks small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.task-check { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 50%; }
.task-check.checked { border-color: var(--accent); background: var(--accent); color: var(--bg); }
.done { text-decoration: line-through; color: var(--muted); }
.task-star { color: var(--accent-ink); font-size: 20px; }
.task-marker { width: 6px; height: 24px; border-radius: 6px; background: var(--accent); }
.day-preview figcaption { color: var(--muted); font-size: 10px; margin-top: 16px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent-ink); font-size: 12px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.home section > h2, .privacy-section h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.25; margin: 0 0 16px; }
.section-lead { color: var(--muted); margin: 0; }
.home .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.home .card { border: 0; border-bottom: 1px solid var(--line); background: none; border-radius: 0; padding: 28px 24px 28px 0; }
.home .card:nth-child(3n+2), .home .card:nth-child(3n) { padding-left: 24px; }
.feature-number { font-size: 12px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.home .card h3 { margin-top: 12px; }
.privacy-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 75px 0; }
.privacy-section > div > p:not(.eyebrow) { color: var(--muted); }
.privacy-points > div + div { margin-top: 26px; }
.privacy-points h3 { margin: 0 0 6px; font-size: 17px; }
.privacy-points p { margin: 0; color: var(--muted); font-size: 15px; }
.launch-section { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 52px 24px; margin: 0 0 64px; }
.launch-section p { margin-left: auto; margin-right: auto; }
.launch-section > p:not(.eyebrow) { max-width: 36em; color: var(--muted); }
.launch-section .text-link { margin-left: 22px; }
@media (max-width: 800px) {
  .home .hero { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .home .hero h1 { font-size: clamp(36px, 6vw, 50px); }
  .day-preview { max-width: 520px; width: 100%; }
  .home .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .card:nth-child(n) { padding: 24px 18px 24px 0; }
  .home .card:nth-child(even) { padding-left: 18px; padding-right: 0; }
  .privacy-section { gap: 32px; }
}
@media (max-width: 480px) {
  header.site .wrap { padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  nav.site { order: 3; width: 100%; justify-content: space-between; }
  nav.site a { padding: 5px 0; }
  .home { padding-top: 24px; }
  .home .hero { padding-top: 0; }
  .day-preview { padding: 20px 16px; }
  .privacy-section { grid-template-columns: 1fr; padding: 48px 0; }
  .home .grid { grid-template-columns: 1fr; }
  .home .card:nth-child(n) { padding: 22px 0; }
  .launch-section { padding: 36px 20px; margin-bottom: 40px; }
  .launch-section .text-link { display: block; margin: 18px 0 0; }
  footer.site .wrap > span { width: 100%; }
}
