:root {
  color-scheme: light;
  --ink: #263e35;
  --green: #25483e;
  --muted: #56675e;
  --paper: #fcfcf9;
  --mint: #e4eee6;
  --rose: #f0e1df;
  --wine: #783e4d;
  --line: #ccd8cf;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 Arial, sans-serif; letter-spacing: 0; }
body.dialog-open { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.12; overflow-wrap: break-word; }
h1 { font-size: 66px; }
h2 { font-size: 44px; }
h3 { font-size: 21px; line-height: 1.4; font-weight: 500; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #ae7058; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 80px; }
.eyebrow { color: var(--wine); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; border-radius: 3px; background: var(--green); color: white; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: #386153; }
.button-small { min-height: 44px; padding: 10px 16px; font-size: 13px; }
.button[aria-disabled="true"] { background: #e0e5df; color: #667268; border-color: #c8d2c9; cursor: not-allowed; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 10px; background: white; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font: 25px/1.15 Georgia, serif; text-decoration: none; }
.brand span { display: block; margin-top: 6px; font: 10px/1.4 Arial, sans-serif; color: var(--muted); }
nav { display: flex; gap: 28px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { position: relative; overflow: hidden; background: var(--green); color: white; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 31%; }
.hero-inner { position: relative; isolation: isolate; min-height: 480px; padding-block: 44px; }
.hero-inner::before { content: ''; position: absolute; inset: 0 -100vw; z-index: -1; background: rgba(14,35,29,.5); }
.hero-copy { width: 40%; max-width: 420px; }
.hero .eyebrow { color: #f4d9c9; margin-bottom: 20px; }
.hero h1 { line-height: 1.03; }
.hero-lead { max-width: 330px; margin: 24px 0; font-size: 18px; line-height: 1.5; }
.hero .button { background: #f2d8cd; color: #38372d; }
.hero .button:hover { background: #ffe9df; }
.screens-section { background: var(--mint); padding: 40px 0 48px; }
.screens-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.screens-heading h2 { font-size: 30px; }
.screens-heading p { font-size: 13px; color: var(--muted); }
.mobile-break { display: none; }
.screens-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.screens-gallery figure { min-width: 0; }
.screens-gallery a { display: block; border: 1px solid #b9cabe; border-radius: 4px; overflow: hidden; background: white; }
.screens-gallery a:hover { border-color: var(--wine); }
.screens-gallery img { width: 100%; height: 320px; object-fit: contain; background: white; }
.screens-gallery figcaption { font-size: 13px; margin-top: 14px; color: #425a4e; }
.intro-inner { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.intro-inner .eyebrow { padding-top: 8px; }
.intro-inner h2 { font-size: 40px; }
.intro-inner p:not(.eyebrow) { margin-top: 26px; color: var(--muted); max-width: 720px; }
.introduction { border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 38px; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 48px .85fr 1.15fr; gap: 30px; align-items: baseline; border-top: 1px solid var(--line); padding: 28px 0; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li > span { font: 24px Georgia, serif; color: #986455; }
.feature-list p { color: var(--muted); font-size: 17px; }
.feature-list .medical-note { margin-top: 16px; color: var(--wine); font-size: 15px; }
.author-section { background: var(--rose); }
.author-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.specialty { margin-top: 18px; font-size: 16px; }
.author-copy { font-size: 18px; }
.author-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid #c6abaa; }
.author-facts dt { font: 52px/1 Georgia, serif; color: var(--wine); }
.author-facts dd { font-size: 12px; line-height: 1.5; margin-top: 12px; }
.tariffs-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.tariffs-heading > p { font-size: 16px; color: var(--muted); }
.tariff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tariff { padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: #f1f5ee; }
.tariff:nth-child(2) { background: #f6e9e6; border-color: #d7b9b4; }
.tariff:nth-child(3) { background: #e5eeea; }
.tariff h3 { font-size: 24px; }
.price { font: 72px/1 Georgia, serif; margin: 32px 0 12px; }
.price span { font-size: 38px; }
.period { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.tariff .button { width: 100%; padding-inline: 12px; }
.tariff-note { margin-top: 28px; color: var(--muted); font-size: 15px; }
.app-status { margin-top: 12px; color: var(--wine); font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; padding-block: 34px; border-top: 1px solid var(--line); }
.footer-inner p { font-size: 13px; color: var(--muted); }
.mobile-cta { display: none; }
.screen-dialog { width: min(850px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-top: 3px solid #b19058; border-radius: 4px; color: var(--ink); background: var(--paper); overflow: hidden; }
.screen-dialog::backdrop { background: rgba(16,29,23,.8); }
.screen-toolbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px 10px 24px; }
.screen-toolbar h2 { font-size: 23px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex-shrink: 0; background: var(--paper); color: var(--green); border: 1px solid var(--line); border-radius: 3px; font-size: 24px; cursor: pointer; }
.icon-button:hover { background: var(--mint); }
.close-button { font-size: 30px; }
.screen-image-wrap { max-height: calc(100dvh - 172px); overflow: auto; overscroll-behavior: contain; }
.screen-image-wrap img { width: 100%; height: auto; }
.screen-navigation { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); }
.screen-counter { font-size: 14px; color: var(--muted); }
@media (min-width: 1800px) {
  .hero-inner { min-height: 580px; padding-block: 64px; }
}
@media (max-width: 1100px) {
  nav { gap: 18px; font-size: 13px; }
  .hero h1 { font-size: 56px; }
  .hero-copy { width: 42%; }
  .screens-gallery { gap: 14px; }
  .screens-gallery img { height: 270px; }
  .intro-inner, .author-layout { gap: 48px; }
  .tariff { padding: 24px; }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  nav { display: none; }
  h2, .intro-inner h2 { font-size: 36px; }
  .hero-copy { width: 44%; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 17px; }
  .screens-heading { align-items: flex-start; }
  .screens-heading h2 { font-size: 27px; }
  .screens-heading p { max-width: 140px; }
  .screens-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; padding: 4px 4px 16px; margin: -4px; scroll-snap-type: x proximity; }
  .screens-gallery figure { scroll-snap-align: start; }
  .screens-gallery img { height: 310px; }
  .intro-inner { grid-template-columns: .55fr 1.45fr; gap: 32px; }
  .feature-list li { grid-template-columns: 32px .9fr 1.1fr; gap: 22px; }
  .author-layout { grid-template-columns: 1fr; gap: 32px; }
  .author-copy { max-width: 660px; }
  .author-facts { max-width: 620px; }
  .tariff-grid { gap: 16px; }
  .tariff { padding: 20px 16px; }
  .tariff h3 { font-size: 21px; }
  .tariff .button { font-size: 13px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 86px; }
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; gap: 16px; }
  .brand { font-size: 22px; }
  .brand span { font-size: 9px; }
  .button-small { font-size: 11px; padding-inline: 10px; max-width: 135px; }
  .hero-photo { top: -80px; height: calc(100% + 80px); object-position: 50% 0; }
  .hero-inner { min-height: 0; padding: 220px 0 26px; }
  .hero-inner::before { inset: 200px -20px 0; background: rgba(22,45,36,.91); }
  .hero-copy { width: 100%; max-width: none; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; max-width: 300px; margin-block: 18px; }
  .hero .button { width: 100%; }
  .screens-section { padding-block: 30px 32px; }
  .screens-heading { display: block; margin-bottom: 24px; }
  .screens-heading h2 { font-size: 28px; }
  .screens-heading p { max-width: none; margin-top: 12px; font-size: 12px; }
  .mobile-break { display: initial; }
  .screens-gallery { grid-auto-columns: 76%; gap: 18px; }
  .screens-gallery img { height: 370px; }
  .screens-gallery figcaption { font-size: 14px; }
  .section { padding-block: 56px; }
  h2, .intro-inner h2 { font-size: 34px; }
  .intro-inner { display: block; }
  .intro-inner .eyebrow { padding: 0; }
  .intro-inner p:not(.eyebrow) { margin-top: 22px; }
  .section-heading { margin-bottom: 28px; }
  .feature-list li { grid-template-columns: 30px 1fr; gap: 12px 16px; padding-block: 26px; }
  .feature-list li > p, .feature-list li > div { grid-column: 2; }
  .feature-list p { font-size: 16px; }
  .feature-list li > span { font-size: 21px; }
  .author-copy { font-size: 17px; }
  .author-facts { gap: 18px; margin-top: 32px; }
  .author-facts dt { font-size: 46px; }
  .tariffs-heading { display: block; margin-bottom: 30px; }
  .tariffs-heading > p { margin-top: 22px; }
  .tariff-grid { grid-template-columns: 1fr; gap: 20px; }
  .tariff { padding: 26px; }
  .tariff h3 { font-size: 24px; }
  .price { margin-top: 26px; }
  .tariff .button { font-size: 15px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 120px; }
  .mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 6; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-cta .button { width: 100%; font-size: 14px; }
  .mobile-cta.is-hidden { visibility: hidden; pointer-events: none; }
  .screen-toolbar { padding-left: 16px; }
  .screen-toolbar h2 { font-size: 21px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand { font-size: 19px; }
  .brand span { font-size: 8px; }
  .button-small { font-size: 10px; max-width: 118px; }
  .hero-inner { padding-top: 198px; padding-bottom: 24px; }
  .hero-inner::before { top: 180px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 15px; margin-block: 16px; }
  .screens-heading h2 { font-size: 25px; }
  .screens-gallery img { height: 330px; }
  h2, .intro-inner h2 { font-size: 31px; }
  .author-facts { gap: 14px; }
  .author-facts dd { font-size: 11px; }
  .screen-toolbar h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
