:root {
  color-scheme: light;
  --ink: #292c29;
  --muted: #626760;
  --accent: #773e49;
  --line: #e1e4df;
  --soft: #f4f6f2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.75 Arial, sans-serif; letter-spacing: 0; }
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
a { color: inherit; text-underline-offset: 6px; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
em { color: var(--accent); font-weight: 400; }
.intro { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 72px 40px; }
.intro-inner { width: min(900px, 100%); text-align: center; }
.intro h1 { font-size: 54px; line-height: 1.3; text-wrap: balance; }
.chance-link { display: inline-flex; gap: 32px; align-items: center; justify-content: center; min-height: 56px; margin-top: 48px; padding: 12px 0; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 16px; }
.chance-link:hover { color: var(--accent); border-color: var(--accent); }
.chance-link span { font-size: 23px; line-height: 1; }
.letter { width: min(980px, calc(100% - 80px)); margin: 0 auto; }
.letter-header { min-height: 112px; display: flex; justify-content: space-between; gap: 32px; align-items: center; border-bottom: 1px solid var(--line); }
.back-link { display: flex; align-items: center; gap: 16px; font-size: 13px; text-decoration: none; min-height: 44px; }
.back-link:hover { color: var(--accent); }
.back-link > span { font-size: 22px; }
.letter-header > p { text-align: right; font: 21px/1.3 Georgia, serif; }
.letter-header > p span { display: block; margin-top: 6px; font: 11px/1.5 Arial, sans-serif; color: var(--muted); }
.letter-body { width: min(720px, 100%); margin: 0 auto; padding: 80px 0; }
.letter-name { color: var(--accent); font-size: 12px; margin-bottom: 28px; }
.letter h2 { font-size: 46px; line-height: 1.25; margin-bottom: 48px; }
#letter-title:focus { outline: 0; }
.prose { font-size: 19px; line-height: 1.85; }
.prose p + p { margin-top: 24px; }
.price-section { margin: 56px 0 64px; padding-top: 36px; border-top: 1px solid var(--line); }
.price-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.price-heading h3 { font-size: 29px; line-height: 1.3; }
.price-heading > p { font-size: 12px; color: var(--muted); }
.price-schedule { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); list-style: none; padding: 0; margin: 28px 0 0; border-block: 1px solid var(--line); }
.price-schedule li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 4px 18px; min-height: 142px; border-right: 1px solid var(--line); }
.price-schedule li:last-child { border-right: 0; }
.price-schedule time { font-size: 11px; color: var(--muted); }
.price-schedule strong { font: 32px/1.4 Georgia, serif; margin-top: 10px; }
.price-schedule strong span { font-size: 20px; }
.day-status { font-size: 10px; min-height: 18px; margin-top: 7px; }
.price-schedule li.is-current { background: var(--soft); box-shadow: inset 0 2px var(--accent); }
.price-schedule li.is-current time, .price-schedule li.is-current strong, .price-schedule li.is-current .day-status { color: var(--accent); }
.price-schedule li.is-past { color: #747971; }
.price-schedule li.is-past strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.timezone-note { color: var(--muted); font-size: 11px; margin-top: 14px; }
.section-label { color: var(--accent); font-size: 12px; margin-bottom: 18px; }
.reveal-copy h3 { font-size: 34px; line-height: 1.3; margin-bottom: 28px; }
.author { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.author img { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.author p { font: 23px/1.3 Georgia, serif; }
.author p span { display: block; font: 12px/1.6 Arial, sans-serif; color: var(--muted); margin-top: 5px; }
.offer { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.offer h3 { font-size: 42px; line-height: 1.25; margin-bottom: 24px; }
.offer-copy { max-width: 590px; font-size: 18px; }
.offer-copy strong { white-space: nowrap; font-weight: 400; }
.today-offer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; padding-block: 24px; border-block: 1px solid var(--line); }
.today-offer > div > p { font-size: 14px; }
.today-offer > div > span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.current-price { font: 52px/1.2 Georgia, serif; white-space: nowrap; }
.checkout { margin-top: 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; min-height: 64px; border: 1px solid var(--ink); border-radius: 2px; padding: 18px 24px; font-size: 16px; text-decoration: none; }
.checkout:hover { background: #41463f; }
.checkout > span { font-size: 25px; line-height: 1; }
.checkout[aria-disabled="true"] { background: var(--soft); color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.access-note { text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted); }
.letter-footer { border-top: 1px solid var(--line); padding-block: 24px 36px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--muted); }
.letter-footer a { text-decoration: none; min-height: 32px; }
.letter-footer a span { margin-left: 12px; }
.payment-dialog { width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 40px 32px 32px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px; background: #fff; color: var(--ink); }
.payment-dialog::backdrop { background: rgb(26 31 27 / 65%); }
.payment-dialog h2 { font-size: 32px; line-height: 1.25; margin-bottom: 0; }
.payment-dialog .section-label { margin-bottom: 14px; }
.payment-close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 2px; background: transparent; padding: 9px; cursor: pointer; }
.payment-close:hover { background: var(--soft); }
.payment-close img { display: block; width: 22px; height: 22px; }
.payment-price { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.payment-price strong { font: 34px/1.3 Georgia, serif; color: var(--ink); white-space: nowrap; }
.payment-options { display: grid; gap: 12px; margin-top: 24px; }
.payment-method { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; }
.payment-method:hover { background: #41463f; }
.payment-method.paypal { background: #ffc439; border-color: #dfac32; color: #253c50; }
.payment-method.paypal:hover { background: #ffd05d; }
.care-note { font-size: 14px; line-height: 1.7; margin-top: 24px; color: var(--muted); }
.care-note a { color: var(--accent); }
@media (max-width: 1000px) {
  .intro-inner { max-width: 740px; }
  .intro h1 { font-size: 46px; }
}
@media (max-width: 700px) {
  .intro { padding: 48px 28px; }
  .intro h1 { font-size: 36px; line-height: 1.35; }
  .chance-link { margin-top: 36px; }
  .letter { width: calc(100% - 48px); }
  .letter-header { min-height: 92px; gap: 20px; }
  .letter-header > p { font-size: 18px; }
  .back-link { font-size: 11px; gap: 10px; }
  .letter-body { padding-block: 48px; }
  .letter h2 { font-size: 36px; margin-bottom: 32px; }
  .prose { font-size: 17px; line-height: 1.8; }
  .price-section { margin-block: 40px 48px; padding-top: 28px; }
  .price-heading { display: block; }
  .price-heading > p { margin-top: 12px; }
  .price-heading h3 { font-size: 27px; }
  .price-schedule { display: block; margin-top: 24px; }
  .price-schedule li { display: grid; grid-template-columns: 1fr 78px 66px; min-height: 56px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .price-schedule li:last-child { border: 0; }
  .price-schedule time { font-size: 13px; }
  .price-schedule strong { font-size: 26px; margin: 0; }
  .price-schedule strong span { font-size: 18px; }
  .day-status { font-size: 10px; margin: 0; text-align: right; }
  .price-schedule li.is-current { box-shadow: inset 2px 0 var(--accent); }
  .reveal-copy h3 { font-size: 29px; }
  .author p { font-size: 21px; }
  .author p span { font-size: 11px; }
  .offer { margin-top: 48px; padding-top: 36px; }
  .offer h3 { font-size: 36px; }
  .offer-copy { font-size: 17px; }
  .current-price { font-size: 42px; }
  .today-offer { gap: 16px; }
  .today-offer > div > p { font-size: 12px; }
  .checkout { padding: 16px 20px; font-size: 15px; }
  .payment-dialog { padding: 40px 24px 24px; }
  .payment-dialog h2 { font-size: 28px; }
}
@media (max-width: 350px) {
  .intro { padding-inline: 24px; }
  .intro h1 { font-size: 32px; }
  .letter { width: calc(100% - 36px); }
  .letter-header > p { font-size: 17px; }
  .letter h2 { font-size: 31px; }
  .current-price { font-size: 36px; }
}
@media (max-height: 500px) and (min-width: 701px) {
  .intro { padding-block: 32px; }
  .intro h1 { font-size: 36px; }
  .chance-link { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
