:root { --bg: #FDFAF1; --ink: #3C2F2F; --muted: rgba(60,47,47,.72); --line: rgba(60,47,47,.17); --num: rgba(60,47,47,.2);
  --card: rgba(253,250,241,.9); --mark: #F6E3A1; color-scheme: light; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 'Manrope', system-ui, sans-serif; }
/* сетка календаря на фоне: 7 квадратных клеток в ряд, тонкие линии и числа в правом верхнем углу */
.cal { position: fixed; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(7, 1fr); align-content: start;
  pointer-events: none; overflow: hidden; }
.cal span { aspect-ratio: 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.cal span::after { content: attr(data-d); position: absolute; top: .45em; right: .6em; font-weight: 800;
  font-size: clamp(11px, 1.2vw, 16px); color: var(--num); }
main { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.brand { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 26px; color: var(--ink); text-decoration: none;
  display: inline-block; transform: rotate(-3deg); text-shadow: 2px 3px 0 rgba(60,47,47,.28); }
header nav a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 800; font-size: 14px; text-decoration: none; background: var(--card); }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px;
  backdrop-filter: blur(2px); box-shadow: 0 10px 30px rgba(60,47,47,.06); }
h1 { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(19px, 5.1vw, 34px); line-height: 1.15; margin: 0 0 18px;
  hyphens: auto; overflow-wrap: break-word; }
h2 { hyphens: auto; overflow-wrap: break-word; }
h2 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; margin: 34px 0 10px; }
h3 { font-size: 17px; font-weight: 800; margin: 24px 0 6px; }
a { color: inherit; text-underline-offset: 3px; }
ul { padding-left: 22px; } li { margin: 6px 0; }
blockquote { margin: 0 0 20px; padding: 14px 16px; border-radius: 14px; background: var(--mark); }
blockquote p { margin: 0; }
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 4px; }
/* главная страница Dayli — как экран приветствия */
.hero { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 8px; }
.hero h1 { font-size: clamp(72px, 22vw, 150px); line-height: 1.02; margin: 0; align-self: flex-start;
  transform: rotate(-3deg); text-shadow: 4px 6px 0 rgba(60,47,47,.28); }
.slogan { font-weight: 800; font-size: clamp(18px, 3.4vw, 24px); line-height: 1.35; margin: 18px 0 6px; }
.lead { font-size: 17px; margin: 6px 0; max-width: 560px; }
.links { display: grid; gap: 10px; margin-top: 26px; }
.links a { display: block; padding: 15px 18px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--ink);
  font-weight: 800; text-decoration: none; text-align: center; }
footer { margin-top: 40px; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 520px) { .doc { padding: 22px 18px; border-radius: 20px; } }
