:root{color-scheme:light;--primary:#526a43;--surface-muted:#edf0e9;--glow-sage:#dce6d2;--glow-sand:#efe0cf;--glow-mist:#dce4e7;--grain-opacity:.025}
:root[data-theme=dark]{color-scheme:dark;--paper:#171e1b;--ink:#e2e9df;--body:#b6c2b7;--muted:#acb9ad;--sage:#2b3b2d;--lavender:#35313e;--peach:#41352f;--line:#39473c;--white:#202a24;--primary:#b2c69c;--surface-muted:#202a24;--glow-sage:#2c3f2d;--glow-sand:#3c352c;--glow-mist:#26383a}
body{font-size:18px;line-height:1.7}@layer base{select{font:inherit;color:inherit}}small{font-size:14px}.header{gap:24px}.main-nav{font-size:16px;gap:25px}.button{font-size:16px;color:var(--paper)}.button-small{font-size:15px}.button-light{background:var(--white);border-color:var(--white);color:var(--ink)}.store-button{background:var(--ink);color:var(--paper);padding:10px 18px;min-height:64px}.store-button small{font-size:12px}.store-button span{font-size:18px}.hero-description{font-size:18px}.hero h1{font-size:clamp(48px,5.35vw,78px)}.hero-explore{font-size:16px}.store-note{font-size:14px}.eyebrow{font-size:15px}.hero-shape{background:var(--sage)}.floating-note{background:var(--white);border-color:var(--line)}.floating-note span,.floating-note strong{font-size:14px}.floating-note>.icon{background:var(--lavender);color:var(--ink)}.heart-note{background:var(--peach)}.heart-note>.icon{background:var(--peach);color:var(--ink)}.trust-strip{font-size:15px;gap:18px}.question-card>span{font-size:14px}.pale{background:var(--surface-muted)}.section-heading>p{font-size:17px}.feature-visual{background:var(--lavender)}.feature-caption{color:var(--body);font-size:14px}.feature-copy>p:not(.eyebrow){font-size:18px}.feature-tabs button{font-size:15px}.feature-tabs button[aria-selected=true]{color:var(--paper)}#feature-panel p{font-size:17px}#feature-panel .text-link{font-size:16px}.feature-footnote{font-size:14px}.tools-section{background:var(--surface-muted)}.featured-tool{background:var(--lavender)}.featured-tool p{font-size:16px;max-width:265px}.featured-tool .button{font-size:15px}.calendar-art{background:var(--white)}.calendar-art>div{background:var(--lavender);color:var(--ink);font-size:12px;letter-spacing:.5px}.calendar-art>span{font-size:14px}.tool-link-list p{font-size:16px}.tool-link-list>a{border-color:var(--line)}.article-meta{font-size:14px}.article-card>.text-link{font-size:15px}.art-0{background:var(--sage);color:var(--primary)}.art-1{background:var(--peach);color:var(--body)}.art-2{background:var(--lavender);color:var(--body)}.faq summary{font-size:18px}.faq details p{font-size:17px}.download-section{background:var(--sage)}.download-section>p{font-size:18px}.download-section>small{font-size:14px}.footer nav{font-size:15px}.footer-bottom{font-size:14px}.footer-tagline{font-family:Line,sans-serif;line-height:1.4;font-size:20px;margin-top:22px}.install-dialog{background:var(--paper);color:var(--ink);border-color:var(--line)}.install-dialog p{font-size:17px}.install-dialog small{font-size:14px}.mobile-install{background:var(--white);border-color:var(--line)}.theme-control{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:24px 0 38px;border-top:1px solid var(--line);font-size:15px}.theme-control label{display:flex;align-items:center;gap:9px}.theme-control select{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:11px 36px 11px 15px;min-height:48px}.theme-hint{color:var(--body);font-size:14px}
[data-theme=dark] .brand img{filter:brightness(0) invert(.92)}[data-theme=dark] .phone{background:#687269;border-color:#4c594e;box-shadow:0 25px 65px #0004}[data-theme=dark] .phone img{filter:brightness(.8)}[data-theme=dark] .button:hover,[data-theme=dark] .store-button:hover{background:#c5d5b4;color:#172019}[data-theme=dark] .button-light:hover{background:#354337;color:var(--ink)}[data-theme=dark] .pill{border-color:var(--line)}[data-theme=dark] .menu-toggle{background:transparent}[data-theme=dark] .main-nav.open{background:var(--paper)}[data-theme=dark] .dialog-close{background:var(--surface-muted)}
.legacy{font-size:18px;line-height:1.75}.legacy .container{width:min(1140px,calc(100% - 112px));max-width:none;padding-inline:0}@layer base{.legacy h1{font-family:Line,Arial,sans-serif;font-size:clamp(34px,3.6vw,52px);letter-spacing:-1.8px;line-height:1.1;text-wrap:balance}}@layer base{.legacy h2{font-size:clamp(26px,2.6vw,38px);letter-spacing:-.8px;line-height:1.22}}@layer base{.legacy h3{font-size:24px;line-height:1.3;letter-spacing:-.3px}}.legacy .font-mono{font-family:Geist,Arial,sans-serif;letter-spacing:.07em}.legacy .text-xs{font-size:14px;line-height:1.6}.legacy .text-sm{font-size:16px;line-height:1.7}.legacy .text-base{font-size:18px}.legacy p{color:inherit}.legacy :is(.prose,.payload-richtext){max-width:780px;color:var(--body);font-size:19px;line-height:1.85}.legacy :is(.prose,.payload-richtext) h2{margin:2em 0 .7em;color:var(--ink)}.legacy :is(.prose,.payload-richtext) h3{margin:1.6em 0 .7em;color:var(--ink)}.legacy :is(.prose,.payload-richtext) p{margin:1em 0}.legacy :is(.prose,.payload-richtext) strong{color:var(--ink);font-weight:600}.legacy :is(.prose,.payload-richtext) ul,.legacy :is(.prose,.payload-richtext) ol{padding-left:1.5em;margin:1em 0}.legacy :is(.prose,.payload-richtext) ul{list-style:disc}.legacy :is(.prose,.payload-richtext) ol{list-style:decimal}.legacy :is(.prose,.payload-richtext) li{padding-left:.2em;margin:.4em 0}.legacy :is(.prose,.payload-richtext) a{text-decoration:underline;text-underline-offset:3px;color:var(--primary)}.legacy :is(.prose,.payload-richtext) table{display:block;overflow-x:auto;width:100%;font-size:16px;border-collapse:collapse;margin:26px 0}.legacy :is(.prose,.payload-richtext) th,.legacy :is(.prose,.payload-richtext) td{padding:12px;border:1px solid var(--line);min-width:110px;vertical-align:top}.legacy :is(.prose,.payload-richtext) th{background:var(--surface-muted);color:var(--ink)}.legacy :is(.prose,.payload-richtext) table p{font-size:inherit;line-height:1.6;margin:0}.legacy :is(.prose,.payload-richtext) img{border-radius:20px}.legacy :is(.prose,.payload-richtext) blockquote{border-left:3px solid var(--primary);padding:8px 22px;background:var(--surface-muted);margin:30px 0}.legacy .reveal{opacity:1;transform:none}.legacy .aurora-blob{position:absolute;border-radius:50%;filter:blur(65px);opacity:.4;pointer-events:none}.legacy .grain{overflow:hidden}.legacy .rounded-3xl{border-radius:28px}.legacy :is(input,select){color:var(--ink);font-size:17px;min-width:0;max-width:100%}.legacy input[type=date],.legacy input[type=time]{-webkit-appearance:none;min-width:0;width:100%;text-align:left}.legacy input::-webkit-date-and-time-value{text-align:left;min-height:1.5em}.legacy :is(button,[type=submit]){cursor:pointer}.legacy :is(button,input,select,a):focus-visible{outline:3px solid var(--primary);outline-offset:4px}.legacy article h1{max-width:1000px}.legacy .download-section{width:min(1140px,calc(100% - 112px))}.legacy .download-section p{color:var(--body)}.legacy .download-section h2{font-size:44px}.legacy .store-button{color:var(--paper)}.legacy .select-none{user-select:text}.legacy astro-island{display:contents}.search-form{display:flex;gap:12px;max-width:760px;margin-top:30px}.search-form input{background:var(--white);border:1px solid var(--line);border-radius:50px;padding:14px 22px;min-width:0;flex:1;color:var(--ink)}.search-results{display:grid;gap:0;padding-bottom:80px;max-width:900px}.search-result{padding:25px 0;border-bottom:1px solid var(--line)}.search-result h2{font-size:28px}.search-result p{font-size:17px;margin-top:10px}.page-heading .button{margin-top:25px}
@media(min-width:901px){.hero .floating-note{max-width:255px}.sleep-note{left:-25px}.heart-note{right:-20px}.legacy>article>.container:first-of-type{padding-top:20px}}
@media(max-width:1100px){.header{gap:20px}.main-nav{gap:18px}.hero-visual{overflow:visible}.hero{overflow-x:clip}.floating-note{padding:12px}.hero-phone{width:240px}.tools-layout{gap:30px}.featured-tool{padding:28px}.featured-tool p{max-width:230px}.calendar-art{right:-45px}.trust-strip{flex-wrap:wrap;justify-content:center;gap:20px 34px}.feature-section{gap:45px}.footer-top{grid-template-columns:repeat(2,1fr);gap:35px}}
@media(max-width:800px){.header .main-nav{font-size:17px}.header-download{margin-left:auto}.legacy .container{width:calc(100% - 40px)}.legacy .download-section{width:calc(100% - 40px)}.hero-description{font-size:18px}.hero h1{letter-spacing:-2px}.main-nav{gap:20px}.featured-tool p{max-width:260px}.legacy :is(.prose,.payload-richtext){font-size:18px}.legacy :is(.prose,.payload-richtext) h2{font-size:29px}.legacy :is(.prose,.payload-richtext) h3{font-size:24px}.legacy .text-sm{font-size:16px}.legacy .text-xs{font-size:14px}.legacy h1{font-size:40px}.legacy .download-section h2{font-size:34px}.theme-hint{width:100%}.search-form .button{padding:14px 18px}.legacy :is(.prose,.payload-richtext) table{max-width:calc(100vw - 40px)}}
@media(max-width:600px){.hero{padding-top:32px}.hero h1{font-size:clamp(40px,10.5vw,59px);white-space:normal}.hero-description{font-size:18px}.hero-visual{min-height:510px}.hero .floating-note{max-width:210px}.sleep-note{left:0;top:126px}.heart-note{right:0;bottom:80px}.floating-note span,.floating-note strong{font-size:13px}.hero-phone{width:220px}.store-button{min-width:150px;padding:10px 14px}.hero .store-buttons{justify-content:center}.trust-strip{font-size:14px;justify-content:space-between;gap:16px 12px;grid-template-columns:repeat(2,minmax(0,1fr))}.trust-strip span{width:auto;min-width:0}.trust-strip .icon{flex-shrink:0}.question-card{padding:24px 18px}.question-card h3{font-size:25px}.question-card>span{font-size:14px}.feature-tabs{gap:0}.feature-tabs button{font-size:14px;padding:10px}.featured-tool p{max-width:none}.featured-tool .calendar-art{display:none}.featured-tool .button{font-size:14px;padding:14px}.tool-link-list p{font-size:16px}.footer-top{grid-template-columns:1fr 1fr;gap:34px 24px}.footer-top>div{grid-column:1/-1}.footer nav{font-size:15px}.footer-bottom{gap:14px}.download-section{padding:42px 20px}.download-section>p{font-size:17px}.mobile-install span small{font-size:12px}.article-meta>span{display:block;margin-left:0}.legacy .container{width:calc(100% - 36px)}.legacy :is(.prose,.payload-richtext) table{max-width:calc(100vw - 36px)}.legacy h1{font-size:36px;letter-spacing:-1px}.legacy :is(.prose,.payload-richtext) h2{font-size:28px}.legacy .rounded-3xl{border-radius:24px}.legacy .download-section{width:calc(100% - 36px)}.legacy form .whitespace-nowrap{white-space:normal}.legacy .store-buttons{gap:10px}.legacy .store-button{min-width:140px}.legacy .store-button span{font-size:16px}.legacy .store-button small{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{header.header,footer.footer,.mobile-install,dialog,.download-section,[data-print],.print\:hidden{display:none!important}:root{--paper:#fff;--ink:#000;--body:#222;--white:#fff;--line:#bbb;color-scheme:light}body{background:#fff;color:#000}.legacy .container{width:100%;max-width:none}body:has(#tracker) #main>*:not(:has(#tracker)){display:none}body:has(#tracker) #main section:not(:has(#tracker)):not(#tracker){display:none}.legacy :is(.prose,.payload-richtext) table{display:table;font-size:11px}.legacy :is(.prose,.payload-richtext) td,.legacy :is(.prose,.payload-richtext) th{padding:5px}}
.legacy .text-background{color:var(--paper)}.legacy .bg-foreground{color:var(--paper)}.legacy :is(h1,h2) .bg-clip-text{background:none!important;color:var(--primary)!important;-webkit-text-fill-color:var(--primary)}.legacy form label{min-height:3.4em;display:flex;align-items:flex-end;flex-wrap:wrap}.legacy form button[type=submit]{min-height:52px}.legacy .text-transparent{color:var(--primary);-webkit-text-fill-color:var(--primary)}.legacy .bg-foreground .text-muted-foreground{color:var(--paper);opacity:.8}

.legacy .table-scroll{max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid var(--line);border-radius:16px}.legacy .table-scroll table{display:table;width:100%;min-width:500px;max-width:none;margin:0;border:0}.legacy .table-scroll p{margin:0}.legacy .payload-richtext{margin-inline:auto}.legacy>article>astro-island>div{width:min(840px,calc(100% - 40px));margin-inline:auto}.legacy a.group article{height:100%}@media(max-width:600px){.legacy>article>astro-island>div{width:calc(100% - 36px)}.legacy .payload-richtext{font-size:18px}.legacy .table-scroll{font-size:16px}.legacy .table-scroll table{max-width:none}}
.legacy>article>astro-island>div[class*='max-w-'][class*='mx-auto']{width:min(840px,calc(100% - 40px))}@media(max-width:600px){.legacy>article>astro-island>div[class*='max-w-'][class*='mx-auto']{width:calc(100% - 36px)}}

/* Каталог: короткий первый экран и быстрый доступ к расчётам. */
.legacy .calculator-catalog-hero>.container{padding-block:64px 56px}
.legacy .calculator-catalog-hero .text-center{max-width:980px}
.legacy .calculator-catalog-hero h1{font-size:clamp(34px,3.5vw,50px);line-height:1.16;letter-spacing:-1.5px;margin:20px 0 0}
.legacy .calculator-catalog-hero h1 span{display:block}
.legacy .calculator-catalog-hero p{max-width:640px;margin:28px auto 0;font-size:18px;line-height:1.7}
.legacy .calculator-catalog-cards{padding-block:44px 72px}
.legacy .calculator-catalog-cards h2{font-size:32px;line-height:1.25}
.legacy .calculator-catalog-cards .grid{margin-top:32px}
.legacy .catalog-age-explanation{max-width:74ch;margin:24px 0;font-size:18px;line-height:1.8;color:var(--body)}
@media(max-width:600px){
  .legacy .calculator-catalog-hero>.container{padding-block:40px 36px}
  .legacy .calculator-catalog-hero h1{font-size:33px;letter-spacing:-.9px;line-height:1.18}
  .legacy .calculator-catalog-hero p{margin-top:24px}
  .legacy .calculator-catalog-cards{padding-block:32px 48px}
  .legacy .calculator-catalog-cards h2{font-size:27px}
}

.legacy :is(.prose,.payload-richtext) em{font-size:inherit}
.legacy .calculator-catalog-cards>.container>.reveal{max-width:none}
.legacy .calculator-catalog-cards>.container>.reveal>p{max-width:74ch}

/* Подпись участвует в потоке, поэтому не пересекается с наклонённым телефоном. */
.feature-visual{display:flex;flex-direction:column;justify-content:flex-start;gap:40px;min-height:0;margin:0;padding:44px 30px 30px}
.feature-visual .feature-phone{margin:0;flex:none}
.feature-caption{position:static;max-width:100%;text-align:center;line-height:1.5;padding:0 10px}
.feature-tabs{flex-wrap:wrap;row-gap:8px}
.weather-feature{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center;padding-top:0;padding-bottom:110px}
.weather-copy h2{font-size:clamp(38px,3.5vw,52px)}
.weather-description{max-width:490px;font-size:18px;line-height:1.8;margin:28px 0}
.weather-benefits{list-style:none;padding:0;margin:0 0 32px;display:grid;gap:18px;max-width:470px}
.weather-benefits li{display:flex;align-items:flex-start;gap:14px;color:var(--body);font-size:17px;line-height:1.65}
.weather-benefits .icon{margin-top:3px;color:var(--primary);width:22px;height:22px}
.weather-calculator{margin-top:24px;font-size:16px}
.weather-note{font-size:14px;line-height:1.65;color:var(--muted);margin-top:20px;max-width:440px}
.weather-visual{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;min-height:640px;border-radius:28px 220px 220px 28px;background:var(--sage);overflow:hidden}
.weather-phone{width:266px;transform:rotate(-5deg);margin:42px 0}
.weather-orbit{position:absolute;z-index:-1;width:450px;height:450px;border:1px solid var(--primary);opacity:.3;border-radius:50%;right:-130px;top:45px}
.weather-sun{position:absolute;right:28px;top:32px;color:var(--primary);opacity:.65}
.weather-sun .icon{width:64px;height:64px;stroke-width:1}
@media(max-width:1100px){.weather-feature{gap:45px}.weather-visual{min-height:580px}.weather-phone{width:238px}}
@media(max-width:800px){.weather-feature{gap:32px}.weather-copy h2{font-size:38px}.weather-phone{width:210px}.weather-visual{min-height:540px}.weather-benefits li{font-size:16px}}
@media(max-width:600px){
  .feature-visual{padding:40px 24px 28px;gap:38px;min-height:0}
  .feature-caption{font-size:14px}
  .feature-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .feature-tabs button{justify-content:center;font-size:15px}
  .weather-feature{grid-template-columns:1fr;gap:36px;padding-top:0;padding-bottom:70px}
  .weather-description{font-size:18px;margin:24px 0}
  .weather-copy h2{font-size:38px}
  .weather-visual{min-height:0;border-radius:28px 150px 28px 28px}
  .weather-phone{width:230px;margin:40px 0}
  .weather-sun{top:30px;right:20px}
  .weather-sun .icon{width:48px;height:48px}
}

.theme-select{position:relative;display:inline-flex;width:230px;max-width:100%;flex:none}
.theme-control .theme-select select{appearance:none;-webkit-appearance:none;width:100%;font-size:16px;padding:12px 44px 12px 16px;cursor:pointer}
.theme-select>.icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;pointer-events:none;color:var(--body)}
.theme-hint{margin:0;line-height:1.6}
.button:active,.store-button:active{transform:scale(.98)}
.weather-visual .weather-sun .icon{transition:transform .45s cubic-bezier(.16,1,.3,1)}
.weather-visual:hover .weather-sun .icon{transform:rotate(45deg)}
@media(prefers-reduced-motion:reduce){.weather-visual:hover .weather-sun .icon,.button:active,.store-button:active{transform:none}}
.install-dialog{margin:auto;max-height:calc(100dvh - 32px);overflow:auto}
@media(max-width:600px){.question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.question-card{min-width:0}.question-card h3{font-size:clamp(21px,6.1vw,25px)}}
@media(max-width:600px){.legacy article h1{font-size:clamp(28px,7.9vw,36px)}}
@media(max-width:340px){.question-grid{grid-template-columns:1fr}.question-card{min-height:0}}

.little-flower>.icon,.hero-spark>.icon,.faq-flower>.icon,.article-spark>.icon,.calendar-art i>.icon{display:block;width:1em;height:1em}
.little-flower{flex-shrink:0}
.legacy :is(h1,h2,h3){overflow-wrap:anywhere;hyphens:auto}
@media(max-width:1100px){.featured-tool .calendar-art{display:none}.featured-tool p{max-width:none}}
@media(max-width:800px){
  .menu-toggle{display:block;flex-shrink:0;width:44px;height:44px;padding:10px}
  .main-nav{display:none;position:absolute;top:calc(100% - 8px);left:0;right:0;max-height:calc(100dvh - 100px);overflow-y:auto;background:var(--paper);padding:24px;border:1px solid var(--line);border-radius:18px;box-shadow:0 15px 30px #26382d10;flex-direction:column;align-items:flex-start;gap:14px}
  .main-nav.open{display:flex}
}
