:root {
  --header-height: 80px;
  --forest: #1b2b1e;
  --ink: #243327;
  --muted: #58665a;
  --paper: #f5f4ed;
  --cream: #e9eddf;
  --accent: #bdcc9b;
  --line: #cbd2c3;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --action-fill: linear-gradient(165deg, #367558 0%, #205943 55%, #184c36 100%);
  --action-depth: inset 0 1px 1px #ffffff55, inset 0 -2px 2px #123d2b70, 0 7px 14px -7px #153d2c80;
  --action-light-fill: linear-gradient(165deg, #f8fbef 0%, #eaf1dc 55%, #d9e7c8 100%);
  --action-light-depth: inset 0 1px 1px #ffffffee, inset 0 -2px 2px #70905e40, 0 7px 16px -8px #09170ed0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #8e9c83 var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, sans-serif; line-height: 1.6; }
::selection { background: #bed09f; color: #172216; }
a { color: inherit; text-underline-offset: 5px; }
:where(a, button, summary, select):focus-visible { outline: 3px solid #315840; outline-offset: 5px; }
.hero-scene :focus-visible, .site-header :focus-visible, .footer :focus-visible { outline-color: #dce8cf; }
.skip-link { position: fixed; z-index: 60; top: 10px; left: 20px; padding: 10px 20px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 112px; }
section[id], main[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.07; text-wrap: balance; }
h1 { font-size: clamp(50px, 5.5vw, 80px); margin-bottom: 28px; }
h2 { font-size: clamp(40px, 4.4vw, 62px); margin-bottom: 26px; }
h2 em { font-weight: 400; color: #4b6648; }
.lead { font-size: 21px; line-height: 1.48; }
.fine { font-size: 13px; line-height: 1.6; color: #4d6050; margin: 28px 0 0; }
.hero-scene {
  padding-top: var(--header-height);
  color: #fff;
  background: linear-gradient(90deg, rgba(19,29,17,.76), rgba(19,29,17,.38) 48%, rgba(19,29,17,.05)), url('assets/hero.webp') center / cover no-repeat;
  background-color: #172216;
}
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; background: rgb(23 39 25 / 76%); backdrop-filter: blur(18px) saturate(115%); -webkit-backdrop-filter: blur(18px) saturate(115%); border-bottom: 1px solid #ffffff1c; box-shadow: 0 5px 18px -12px #10211566; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: rgb(23 39 25 / 96%); } }
@media (prefers-reduced-transparency: reduce) { .site-header { background: #172719; backdrop-filter: none; -webkit-backdrop-filter: none; } }
.header { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; flex-shrink: 0; }
.brand small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; opacity: .85; }
.brand-mark { display: block; flex-shrink: 0; width: 43px; height: 43px; background: #fff; mask: url('assets/vresurse-mark.png') center / 148% no-repeat; -webkit-mask: url('assets/vresurse-mark.png') center / 148% no-repeat; }
.header nav { display: flex; gap: 32px; font-size: 14px; color: #ffffffe0; }
.header nav a { padding-block: 12px; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-login { appearance: none; font: 600 14px/1.5 Arial, sans-serif; color: white; border: 1px solid #ffffff66; border-radius: 50px; background: transparent; min-height: 44px; padding: 10px 18px; cursor: pointer; }
.header-login[hidden] { display: none; }
.access-feedback { position: fixed; top: calc(var(--header-height) + 12px); right: 24px; z-index: 55; display: flex; align-items: start; gap: 12px; width: min(390px, calc(100% - 48px)); padding: 16px 12px 16px 20px; background: var(--paper); color: var(--ink); box-shadow: 0 8px 30px #13251a33; border-radius: 12px; }
.access-feedback[hidden] { display: none; }
.access-feedback p { margin: 5px 0 0; font-size: 14px; }
.access-feedback button { border: 0; background: transparent; color: inherit; font-size: 24px; line-height: 1; min-width: 40px; min-height: 40px; cursor: pointer; }
.header-link { display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; background: var(--action-light-fill); color: #273727; box-shadow: var(--action-light-depth); border-radius: 50px; min-height: 44px; padding: 10px 20px; text-decoration: none; white-space: nowrap; }
.header-link span { margin-left: 0; }
.hero { min-height: 645px; display: flex; align-items: center; padding-block: 80px 95px; }
.hero-copy { max-width: 750px; animation: hero-enter 650ms var(--ease-out); }
.hero-format { font-size: 14px; color: #e3ebd8; margin-bottom: 24px; }
.hero-lead { max-width: 510px; font-size: 19px; line-height: 1.6; color: #f2f3ed; margin-bottom: 34px; }
.hero-note { font-size: 12px; color: #d7e0cf; margin: 19px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 180px; border: 0; border-radius: 50px; padding: 14px 20px 14px 27px; text-decoration: none; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.6; min-height: 56px; cursor: pointer; }
.button, .header-link { position: relative; isolation: isolate; overflow: hidden; transition: transform 180ms var(--ease-out); }
.button::after, .header-link::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 25%, #ffffff24 48%, transparent 70%); transform: translateX(-120%); transition: transform 650ms var(--ease-out); }
.button-light { background: var(--action-light-fill); box-shadow: var(--action-light-depth); color: #273727; }
.button-forest, .button-primary { background: var(--action-fill); box-shadow: var(--action-depth); color: #fff; }
.button-primary { width: 100%; margin-top: 2px; }
.button > span[aria-hidden] { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ffffff15; line-height: 1; flex-shrink: 0; }
.button-light > span[aria-hidden] { background: #24402b0d; }
.section-cta { margin-top: 26px; }
.intro { display: grid; grid-template-columns: 1.12fr .88fr; gap: 10%; align-items: center; }
.intro h2 { margin-bottom: 0; }
.intro-copy { max-width: 480px; }
.intro-copy p:last-child { color: var(--muted); margin-bottom: 0; }
.book { background: linear-gradient(180deg, #dce4d4 72%, #e9eddf 100%); padding-bottom: 48px; }
.book + .nutrition { padding-top: 48px; }
.book-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7%; align-items: center; }
.book-copy { max-width: 510px; }
.product-figure { margin: 0; min-width: 0; }
.product-figure img, .spread-figure img { display: block; width: 100%; height: auto; border-radius: 4px; }
figcaption { font-size: 12px; line-height: 1.5; color: #405641; margin-top: 12px; }
.format-list { margin: 28px 0 0; }
.format-list > div + div { margin-top: 22px; }
dt { font-weight: 600; margin-bottom: 6px; }
dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.nutrition { background: var(--cream); }
.nutrition-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 10%; align-items: center; }
.nutrition-copy { max-width: 570px; }
.nutrition-copy > p:not(.lead) { color: var(--muted); }
.nutrition-details { margin: 28px 0 0; }
.nutrition-details > div { padding: 18px 0; border-top: 1px solid var(--line); }
.nutrition-details > div:last-child { padding-bottom: 0; }
.app-preview { margin: 0; text-align: center; }
.preview-controls { display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 22px; padding: 4px; background: #d9e1d0; border-radius: 50px; }
.preview-controls[hidden] { display: none; }
.preview-controls button { appearance: none; border: 0; border-radius: 50px; background: transparent; color: #465846; font: 600 13px/1.4 Arial, sans-serif; padding: 12px 15px; min-height: 44px; cursor: pointer; }
.preview-controls button[aria-pressed="true"] { background: #f8faf3; color: var(--forest); box-shadow: 0 3px 8px -4px #263b2a45; }
.app-screen { width: min(100%, 325px); margin-inline: auto; padding: 7px; background: #243327; border-radius: 30px; box-shadow: 14px 26px 52px #24332724; }
.app-screen img { display: block; width: 100%; height: auto; aspect-ratio: 780 / 1688; object-fit: contain; background: #f9f7ef; border-radius: 23px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.features-heading > .lead { max-width: 420px; color: var(--muted); }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: grid; grid-template-columns: 45px 1fr; gap: 20px; border-top: 1px solid var(--line); padding-block: 25px; }
.feature-list li > span { color: #536c4f; font-size: 13px; padding-top: 7px; font-variant-numeric: tabular-nums; }
.feature-list h3 { font: 400 27px/1.2 Georgia, serif; margin-bottom: 10px; }
.feature-list p { color: var(--muted); margin-bottom: 0; font-size: 15px; }
.spread-section { background: #edf0e6; }
.spread-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 10%; margin-bottom: 42px; }
.spread-heading h2 { margin-bottom: 0; }
.spread-heading .lead { max-width: 520px; margin-bottom: 3px; }
.spread-figure { margin: 0; }
.spread-bottom { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 30px; }
.spread-bottom p { max-width: 660px; color: var(--muted); font-size: 15px; margin: 0; }
.spread-bottom .button { flex-shrink: 0; }
.testimonials { padding-bottom: 48px; }
.testimonials-heading { text-align: center; }
.testimonials-heading h2 { margin-bottom: 40px; }
.testimonial-carousel { max-width: 960px; margin-inline: auto; }
.testimonial-viewport { display: grid; gap: 24px; }
.testimonial-carousel[data-ready="true"] .testimonial-viewport { gap: 0; }
.testimonial { min-width: 0; margin: 0; padding: 42px 48px 46px; background: #e8eddf; border-radius: 16px; box-shadow: 0 16px 32px -24px #25452c55; }
.testimonial-carousel[data-ready="true"] .testimonial { grid-area: 1 / 1; visibility: hidden; pointer-events: none; }
.testimonial-carousel[data-ready="true"] .testimonial.is-active { visibility: visible; pointer-events: auto; }
.testimonial .testimonial-author { display: flex; align-items: center; gap: 18px; color: var(--ink); margin: 0 0 26px; text-align: left; }
.testimonial-author strong { display: block; font: 600 17px/1.45 Arial, sans-serif; }
.testimonial-author small { display: block; margin-top: 5px; font: 400 13px/1.5 Arial, sans-serif; color: #58665a; }
.testimonial-avatar { display: block; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; background: #d5dfc8; object-fit: cover; object-position: center 42%; }
.testimonial blockquote { margin: 0; color: #344e39; font: italic 23px/1.65 Georgia, 'Times New Roman', serif; }
.testimonial blockquote p { margin: 0; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; margin-top: 24px; }
.testimonial-controls[hidden] { display: none; }
.testimonial-pagination { display: flex; align-items: center; gap: 16px; }
.testimonial-arrow { appearance: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #b1bea6; border-radius: 50%; background: transparent; color: #365c41; cursor: pointer; transition: background 180ms var(--ease-out), transform 180ms var(--ease-out); }
.testimonial-arrow svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.testimonial-arrow:hover { background: #e1e9d7; }
.testimonial-arrow:active { transform: scale(.94); }
.testimonial-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.testimonial-note { margin: 14px 0 0; color: #58665a; font-size: 12px; line-height: 1.5; text-align: center; }
.testimonials + .offer { padding-top: 48px; }
.offer { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10%; align-items: center; }
.offer-copy { max-width: 670px; }
.offer-includes { padding-left: 20px; margin-top: 28px; color: #435b45; }
.offer-includes li { padding-left: 8px; margin-top: 12px; }
.offer-includes li::marker { color: #637a56; }
.offer-aside { scroll-margin-top: calc(var(--header-height) + 16px); padding: 38px; background: linear-gradient(145deg, #f0f4e8, #e1ead6 75%); border-radius: 18px; box-shadow: inset 0 1px 1px #ffffffdd, 0 18px 42px -25px #25452c4d; display: flex; flex-direction: column; align-items: flex-start; }
.offer-aside .offer-package { font-size: 17px; line-height: 1.5; margin-bottom: 24px; }
.price-pair { width: 100%; }
#first-price { display: block; font: 400 clamp(48px, 4.4vw, 64px)/1.15 Georgia, serif; white-space: nowrap; font-variant-numeric: lining-nums; }
#first-price span { font-size: .46em; letter-spacing: .025em; }
.price-detail { display: block; font-size: 13px; margin: 8px 0 24px; color: var(--muted); }
.renewal { font-size: 16px; line-height: 1.55; margin-bottom: 20px; }
.book-note { font-size: 13px; line-height: 1.65; color: #4c6050; margin-bottom: 25px; }
.cancel-note { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.delivery-note { font-size: 16px; color: #435b45; margin: 30px 0 0; }
.checkout-feedback { margin: 16px 0 0; color: #6c3b22; font-size: 14px; line-height: 1.6; }
.checkout-feedback[hidden] { display: none; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-top: 24px; }
.faq h2 { font-size: 48px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 65px; padding-block: 19px; font-size: 16px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: 24px; line-height: 1; font-weight: 400; transition: transform 180ms var(--ease-out); }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 32px 24px 0; font-size: 15px; }
.footer { background: #1c2d20; color: #ecf2e9; }
.footer-inner { padding-bottom: 28px; }
.footer-top { min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 32px; }
.footer-top p { font-size: 13px; color: #d2dbcf; margin: 0; }
.footer-back { font-size: 13px; color: #d2dbcf; padding-block: 12px; text-decoration: none; white-space: nowrap; }
.footer-details { display: grid; grid-template-columns: 1.1fr .7fr 1.2fr; gap: 5%; border-top: 1px solid #d2dbcf33; padding-top: 24px; }
.footer-block { min-width: 0; font-size: 13px; line-height: 1.55; color: #d2dbcf; }
.footer-block p { margin: 0 0 8px; }
.footer-block .footer-seller { font-size: 13px; font-weight: 600; color: #ecf2e9; margin-bottom: 6px; }
.footer-block address { max-width: 64ch; font-style: normal; }
.footer-contacts > a { display: flex; align-items: center; width: fit-content; min-height: 44px; overflow-wrap: anywhere; }
.footer-contacts .footer-hours { margin: 10px 0 0; }
.payment-rules { margin: 0; }
.payment-rules summary { width: fit-content; min-height: 44px; padding-block: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.payment-rules p { margin-top: 8px; }
.payment-rules a { overflow-wrap: anywhere; }
.footer-payment-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; width: fit-content; max-width: 100%; margin-top: 24px; padding-block: 8px; }
.footer-payment-logos > svg { display: block; flex-shrink: 0; }
.footer-payment-logos .payment-logo-erip { width: 100px; height: 50px; object-fit: contain; filter: grayscale(1) brightness(2.5); }
@keyframes hero-enter { from { opacity: .6; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .button:hover:not(:active), .header-link:hover:not(:active) { transform: translateY(-2px); }
  .button:hover::after, .header-link:hover::after { transform: translateX(120%); }
  .header nav a:hover { text-decoration: underline; }
  .header-login:hover { background: #ffffff14; }
}
.button:active, .header-link:active { transform: translateY(1px) scale(.99); transition-duration: 120ms; }
@media (max-width: 1100px) and (min-width: 801px) {
  .wrap { width: calc(100% - 72px); }
  .book-grid, .nutrition-grid, .features, .offer, .faq, .intro, .spread-heading { gap: 6%; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .offer-aside { padding: 28px; }
  .spread-bottom { gap: 28px; }
  .header nav { display: none; }
}
@media (max-width: 800px) {
  :root { --header-height: 72px; }
  .wrap { width: calc(100% - 40px); }
  .header { height: 72px; gap: 12px; }
  .header nav { display: none; }
  .header-link { font-size: 12px; padding: 12px 14px; }
  .header-actions { gap: 8px; }
  .header-login { font-size: 13px; padding-inline: 12px; }
  .header-link span[aria-hidden] { display: none; }
  .header-link span { margin-left: 0; }
  .hero-scene { background-image: linear-gradient(90deg, rgba(19,29,17,.83), rgba(19,29,17,.3)), linear-gradient(0deg, rgba(19,29,17,.78), transparent 65%), url('assets/hero.webp'); background-position: center, center, 66% center; }
  .hero { min-height: 625px; align-items: flex-end; padding-block: 80px 62px; }
  .hero-format { font-size: 13px; margin-bottom: 22px; }
  h1 { font-size: clamp(43px, 11vw, 65px); }
  h2 { font-size: clamp(38px, 9vw, 55px); }
  .hero-lead { font-size: 17px; max-width: 410px; }
  .section { padding-block: 72px; }
  .book { padding-bottom: 32px; }
  .book + .nutrition { padding-top: 32px; }
  .intro, .nutrition-grid, .book-grid, .features, .offer, .faq, .spread-heading { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy, .book-copy, .nutrition-copy { max-width: none; }
  .lead { font-size: 19px; }
  .book-copy { display: contents; }
  .book-copy h2 { grid-row: 1; margin-bottom: 0; }
  .book-copy > .lead { grid-row: 2; margin: 0; }
  .product-figure { grid-row: 3; }
  .book-copy .format-list { grid-row: 4; margin-top: 0; }
  .book-copy .section-cta { grid-row: 5; justify-self: start; margin-top: 0; }
  .format-list { margin-top: 24px; }
  .nutrition-grid { gap: 42px; }
  .app-screen { width: min(100% - 26px, 325px); }
  .features { gap: 24px; }
  .features-heading > .lead { max-width: none; }
  .feature-list li { grid-template-columns: 30px 1fr; gap: 16px; padding-block: 22px; }
  .feature-list h3 { font-size: 25px; }
  .spread-heading { margin-bottom: 28px; gap: 20px; }
  .spread-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .testimonials { padding-bottom: 32px; }
  .testimonials-heading h2 { margin-bottom: 30px; }
  .testimonial { padding: 28px 24px 32px; }
  .testimonial .testimonial-author { gap: 14px; margin-bottom: 24px; }
  .testimonial-avatar { flex-basis: 58px; width: 58px; height: 58px; }
  .testimonial-author strong { font-size: 15px; }
  .testimonial-author small { font-size: 12px; }
  .testimonial blockquote { font-size: 19px; line-height: 1.6; }
  .testimonial-controls { margin-top: 20px; }
  .testimonials + .offer { padding-top: 32px; }
  .offer { gap: 32px; }
  .offer-aside { padding: 28px; }
  .faq { padding-top: 10px; gap: 12px; }
  .faq h2 { font-size: 40px; }
  .footer-inner { padding-bottom: 24px; }
  .footer-top { min-height: 0; flex-wrap: wrap; gap: 16px; }
  .footer-top p { width: 100%; order: 3; }
  .footer-back { margin-left: auto; }
  .footer-details { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; }
  .footer-payment-logos { gap: 14px 18px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .hero { min-height: 615px; padding-top: 65px; }
  .button { gap: 20px; padding-inline: 20px; }
  .offer-aside { padding: 22px; }
  .testimonial { padding: 24px 20px 28px; }
  .header { gap: 8px; }
  .header .brand { gap: 7px; font-size: 13px; }
  .header .brand-mark { width: 34px; height: 34px; }
  .header .brand small { display: none; }
  .header-actions { gap: 6px; }
  .header-login { font-size: 12px; padding-inline: 8px; }
  .header-link { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .button, .header-link { transform: none !important; }
  .button::after, .header-link::after { display: none; }
}
