:root {
  --paper: #f5f0e7;
  --paper-deep: #ebe3d5;
  --ink: #293a32;
  --muted: #68766b;
  --green: #526d5b;
  --green-dark: #344b3d;
  --clay: #b96f53;
  --line: rgba(52, 75, 61, .16);
  --shadow: 0 18px 50px rgba(46, 58, 47, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.site-header { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; }
.wordmark { text-decoration: none; font-size: 1.55rem; font-weight: 700; letter-spacing: .18em; }
.wordmark span { color: var(--clay); }
.telegram-link, .closing-cta { text-decoration: none; font-size: .88rem; font-weight: 600; }
.telegram-link span, .closing-cta span { margin-left: 7px; }
.hero { padding: clamp(76px, 12vw, 142px) 24px 92px; text-align: center; background: radial-gradient(ellipse at 50% 8%, rgba(255,255,255,.72), transparent 58%), linear-gradient(180deg, #f2ece1, var(--paper)); }
.eyebrow { margin: 0 0 18px; color: var(--clay); font-size: .7rem; font-weight: 700; letter-spacing: .19em; }
h1, h2, .day-dialog h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
.hero h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.06; letter-spacing: -.045em; }
.hero h1 em, .closing h2 em { color: var(--green); font-weight: 500; }
.hero-copy { max-width: 620px; margin: 26px auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.13rem); line-height: 1.8; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; color: var(--green-dark); font-size: .85rem; }
.sunrise { color: var(--clay); font-size: 1.2rem; }
.calendar-section { width: min(1050px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.section-hint { margin: 0 0 5px; color: var(--muted); font-size: .85rem; line-height: 1.6; text-align: right; }
.calendar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.day-tile { position: relative; min-height: 118px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.48); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 16px; text-align: left; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.day-tile:hover, .day-tile:focus-visible { transform: translateY(-4px); background: #fffdf8; box-shadow: var(--shadow); outline: none; }
.day-tile:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.day-number { font-family: "Playfair Display", Georgia, serif; font-size: 2.2rem; line-height: 1; }
.day-caption { color: var(--muted); font-size: .72rem; }
.day-tile.special { background: var(--green-dark); color: #fffaf0; border-color: var(--green-dark); }
.day-tile.special .day-caption { color: rgba(255,250,240,.72); }
.day-tile.special::after { content: "✳"; position: absolute; right: 15px; top: 13px; color: #e6bd8e; }
.closing { padding: 88px 24px 96px; text-align: center; background: var(--paper-deep); }
.closing-mark { color: var(--clay); font-size: 1.7rem; }
.closing h2 { margin: 17px 0 14px; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.15; letter-spacing: -.035em; }
.closing p { color: var(--muted); line-height: 1.7; }
.closing-cta { display: inline-block; margin-top: 20px; padding: 14px 20px; border-radius: 999px; color: #fffaf0; background: var(--green-dark); }
.site-footer { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .75rem; }
.day-dialog { width: min(590px, calc(100% - 28px)); max-height: min(88vh, 800px); overflow-y: auto; border: 1px solid var(--line); border-radius: 22px; padding: clamp(25px, 5vw, 46px); color: var(--ink); background: #fffdf8; box-shadow: 0 24px 90px rgba(22, 35, 26, .28); }
.day-dialog::backdrop { background: rgba(24, 38, 29, .58); backdrop-filter: blur(4px); }
.day-dialog form { position: absolute; top: 15px; right: 16px; }
.dialog-close { width: 35px; height: 35px; border: 0; border-radius: 50%; background: var(--paper-deep); color: var(--ink); font-size: 1.45rem; cursor: pointer; }
.dialog-value { display: inline-block; margin: 0 0 13px; padding: 6px 10px; border-radius: 999px; background: #edf1e9; color: var(--green-dark); font-size: .72rem; font-weight: 700; }
.day-dialog h2 { margin: 0 0 29px; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.12; }
.dialog-block { padding: 19px 0; border-top: 1px solid var(--line); }
.block-label { margin: 0 0 9px; color: var(--clay); font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.dialog-block p:last-child { margin: 0; color: #536257; line-height: 1.8; }
.mission-block { margin: 0 -14px; padding: 20px 14px; border-radius: 13px; background: #f3f4ed; }
.dialog-end { margin: 24px 0; color: var(--green-dark); font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; font-style: italic; }
.share-button { border: 0; border-radius: 999px; padding: 13px 18px; cursor: pointer; color: white; background: var(--green-dark); font: 600 .85rem "DM Sans", sans-serif; }
@media (max-width: 760px) { .calendar-grid { grid-template-columns: repeat(4, 1fr); gap: 9px; } .day-tile { min-height: 105px; padding: 13px; } .day-number { font-size: 1.9rem; } }
@media (max-width: 480px) { .site-header, .calendar-section, .site-footer { width: calc(100% - 32px); } .site-header { padding: 21px 0; } .wordmark { font-size: 1.3rem; } .telegram-link { font-size: .75rem; } .hero { padding: 78px 20px 72px; } .section-heading { align-items: start; flex-direction: column; gap: 10px; } .section-hint { text-align: left; } .calendar-grid { grid-template-columns: repeat(3, 1fr); } .day-tile { min-height: 100px; } .site-footer { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
