:root {
  color-scheme: light;
  --paper: #f7f7f0;
  --ink: #20261f;
  --muted: #525d51;
  --forest: #253c2d;
  --lime: #dff397;
  --line: #d9ded2;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid #5b7951; outline-offset: 5px; }
p { line-height: 1.6; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header, .footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 82px; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 25px; font-weight: 800; letter-spacing: -.06em; }
.mark { display: inline-grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: var(--lime); color: var(--forest); font-size: 22px; font-weight: 800; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); }
nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
nav a:hover, .text-link:hover { text-decoration: underline; }
.nav-download { border: 1px solid #adb9a7; border-radius: 40px; padding: 9px 14px; }
.hero { display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: 65px 88px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow span { background: #789758; border-radius: 50%; width: 8px; height: 8px; }
h1, h2 { font-weight: 760; line-height: 1.02; letter-spacing: -.075em; }
h1 { font-size: clamp(2.85rem, 5.65vw, 5.45rem); margin-block: 18px 23px; }
h1 em { color: #4e704b; font-style: normal; }
h2 { font-size: clamp(2.3rem, 4.55vw, 4.2rem); margin-top: 12px; }
.intro { max-width: 390px; color: var(--muted); font-size: 1.1rem; }
.button { display: inline-flex; gap: 24px; align-items: center; background: var(--forest); color: #fff; border-radius: 40px; padding: 15px 21px; margin-top: 26px; text-decoration: none; font-weight: 650; transition: background .18s, transform .18s; }
.button:hover { background: #375741; transform: translateY(-2px); }
.hero-visual { min-width: 0; padding: clamp(17px, 3.2vw, 42px); padding-bottom: 15px; border-radius: 25px; background: var(--forest); }
.app { background: #f8f9f4; color: var(--ink); border-radius: 15px; overflow: hidden; box-shadow: 0 15px 30px #14271c80; }
.app-top { border-bottom: 1px solid var(--line); padding: 11px 14px; display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 700; }
.app-top .mark { width: 24px; height: 24px; font-size: 16px; border-radius: 6px; }
.app-content { display: grid; grid-template-columns: minmax(0, 1fr) 29%; }
.app-main { padding: clamp(12px, 2vw, 25px); }
.app-date { color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .08em; }
.app-title { font-size: 1.85rem; font-weight: 760; letter-spacing: -.06em; margin-block: 3px 13px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; font-size: .64rem; }
.week span { padding: 7px 0; border-radius: 8px; background: #ebefe5; }
.week b { display: block; padding-top: 3px; }
.week .selected { background: var(--lime); }
.task-title { margin-block: 17px 6px; font-weight: 720; font-size: .8rem; }
.task { display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--line); min-height: 34px; padding-block: 5px; font-size: .72rem; }
.task i { width: 13px; height: 13px; flex: 0 0 13px; display: grid; place-items: center; border: 1px solid #a2ac9d; border-radius: 4px; font-style: normal; }
.task.done i { background: var(--lime); }
.app-side { display: flex; flex-direction: column; gap: 10px; background: #e9eee4; padding: 19px 8px; font-size: .68rem; overflow-wrap: anywhere; }
.app-side div { font-weight: 750; }
.app-side span { color: #476344; }
figcaption { text-align: center; color: #e2ebd9; margin-top: 17px; font-size: .72rem; }
.section { padding-block: 60px; border-top: 1px solid var(--line); scroll-margin-top: 15px; }
.section-heading { margin-bottom: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.feature-grid article { background: var(--paper); padding: clamp(19px, 3.2vw, 42px); }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #e8eedb; color: #385736; font-size: 20px; }
h3 { font-size: 1.25rem; letter-spacing: -.035em; }
.feature-grid h3 { margin-block: 22px 7px; }
.feature-grid p, .about p, details p { color: var(--muted); }
.download { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 30px; border-radius: 25px; background: var(--forest); color: #fff; padding: clamp(24px, 5vw, 60px); }
.download .eyebrow, .download p { color: #e2ebd9; }
.download .eyebrow span { background: var(--lime); }
.download h2 { margin-bottom: 15px; }
.platforms { display: grid; gap: 10px; min-width: 0; }
.platform { padding: 18px; border-radius: 15px; border: 1px solid #68816e; background: #304a39; }
.platform h3 { margin-bottom: 4px; }
.text-link { display: inline-block; margin-top: 8px; font-weight: 650; text-underline-offset: 3px; }
.platform .text-link { color: var(--lime); }
.release-file { margin-top: 12px; padding-top: 8px; border-top: 1px solid #68816e; overflow-wrap: anywhere; }
.release-file code { font-size: .78rem; }
.faq, .about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
details { border-bottom: 1px solid var(--line); padding: 15px 0; }
summary { cursor: pointer; font-weight: 680; }
details p, .about h2 + p { margin-top: 12px; }
.about #contacts { align-self: center; }
.footer { border-bottom: 0; border-top: 1px solid var(--line); }
.footer > a:last-child { text-underline-offset: 4px; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 48px 53px; }
  .hero-visual { width: min(100%, 550px); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 42px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .site-header, .footer { min-height: 65px; gap: 10px; }
  .brand { font-size: 21px; gap: 5px; }
  .brand .mark { width: 25px; height: 25px; font-size: 17px; }
  nav { gap: 9px; }
  nav a { font-size: .73rem; }
  .nav-download { padding: 6px 8px; }
  .app-content { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .download, .faq, .about { grid-template-columns: 1fr; gap: 18px; }
  .faq .section-heading { margin-bottom: 0; }
}
@media (max-width: 340px) {
  .feature-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
