:root {
  color-scheme: light;
  --ink: #1e2420; --muted: #545c54; --accent: #29523e;
  --page: #f8f7f2; --paper: #eee8d8; --line: #d8d7cc; --white: #fffefa;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--page);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
h1, h2, h3, .brand, .masthead { font-family: Georgia, "Times New Roman", serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; font-weight: 500; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #a36431; outline-offset: 3px;
}
.shell { width: min(100% - 48px, 1160px); margin-inline: auto; }
.site-header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: -.035em; white-space: nowrap; }
.brand-mark { display: block; width: 42px; height: 42px; flex-shrink: 0; }
.hero em { color: var(--accent); }
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover, .text-link:hover { text-decoration: underline; }
.button, button {
  display: inline-block; border: 1px solid var(--accent); border-radius: 6px;
  background: var(--accent); color: white; padding: 12px 19px;
  font: 650 0.94rem/1.3 system-ui, sans-serif; text-align: center;
  text-decoration: none; cursor: pointer;
}
.button:hover, button:hover { background: #183c2a; color: white; }
.button.small { padding: 9px 13px; }
.button.outline { background: transparent; color: var(--accent); }
.button.outline:hover { background: var(--accent); color: white; }
.hero { min-height: 510px; display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(30px, 7vw, 100px); align-items: center; padding: 65px 0 72px; }
.hero h1 { font-size: clamp(3rem, 7.8vw, 6.7rem); line-height: .94; letter-spacing: -.072em; }
.hero-copy > p { max-width: 460px; margin-top: 23px; }
.hero-copy > p:not(.preview) { font-size: 1.15rem; color: var(--muted); }
.actions { margin-top: 28px; }
.text-link { font-weight: 650; text-underline-offset: 4px; }
.preview { font-size: .86rem; color: var(--muted); }
.paper { background: var(--paper); border: 1px solid #d4ccbb; padding: clamp(18px, 3.8vw, 36px); box-shadow: 7px 9px 0 #e5e2d8; font-family: Georgia, serif; }
.paper-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font: 650 .65rem/1.5 system-ui,sans-serif; letter-spacing: .11em; }
.masthead { margin-top: 14px; font-size: clamp(1.7rem, 4vw, 3.2rem); line-height: 1; font-weight: 700; text-align: center; letter-spacing: -.06em; }
.paper-rule { border-block: 1px solid var(--ink); height: 5px; margin-block: 18px; }
.paper h2 { font-size: clamp(1.8rem, 3.9vw, 3rem); letter-spacing: -.045em; }
.paper-deck { color: #505046; font-style: italic; margin-top: 12px; }
.paper-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid #bfb9a9; margin-top: 22px; padding-top: 17px; }
.paper-columns h3 { font-size: 1rem; font-weight: 700; }
.paper-columns p { margin-top: 5px; font-size: .87rem; }
.edition-preview { border: 0; background: transparent; padding: 0; margin: 0; }
.edition-preview legend { font: 650 .85rem/1.4 system-ui, sans-serif; padding: 0; }
.style-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 7px 15px; }
.style-choices label { cursor: pointer; border: 1px solid var(--line); border-radius: 6px; margin: 0; padding: 7px 10px; font-size: .85rem; }
.style-choices label:has(input:checked) { background: #eaf0e8; border-color: var(--accent); }
.preview-cards { display: grid; }
.preview-cards > article { grid-area: 1 / 1; }
.modern-preview { visibility: hidden; background: var(--white); font-family: system-ui, sans-serif; }
.edition-preview:has(input[value="modern"]:checked) .classic-preview { visibility: hidden; }
.edition-preview:has(input[value="modern"]:checked) .modern-preview { visibility: visible; }
.modern-preview h2 { margin-top: 16px; font-family: system-ui, sans-serif; font-weight: 700; }
.modern-preview .paper-deck { font-style: normal; }
.digest-entry { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.digest-entry h3 { font: 700 .95rem/1.3 system-ui, sans-serif; }
.digest-entry p { color: var(--muted); font-size: .87rem; margin-top: 5px; }
.section { padding-block: 42px; border-top: 1px solid var(--line); }
.section > h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.04em; }
.section-intro { margin-top: 9px; color: var(--muted); }
.features, .plans { display: grid; gap: 16px; margin-top: 25px; }
.features { grid-template-columns: repeat(3, 1fr); }
.features > div { padding-right: 15px; }
.features h3, .plan h3 { font-size: 1.45rem; }
.features p, .plan p { color: var(--muted); margin-top: 8px; }
.plans { grid-template-columns: repeat(4, 1fr); }
.plan { display: flex; flex-direction: column; align-items: start; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.price { font-size: 1.85rem; font-weight: 700; letter-spacing: -.05em; margin-block: 18px; }
.price small { font-size: .75rem; color: var(--muted); letter-spacing: normal; font-weight: 500; }
.plan .button { margin-top: auto; width: 100%; padding-inline: 8px; }
.faq details { max-width: 760px; border-bottom: 1px solid var(--line); padding-block: 15px; }
summary { cursor: pointer; font-weight: 650; }
details p { color: var(--muted); margin-top: 8px; }
.footer { border-top: 1px solid var(--line); margin-top: 20px; }
.sample-wrap, .form-wrap { width: min(100% - 32px, 780px); margin: 45px auto; }
.sample h1 { font-size: clamp(2.2rem, 6vw, 4.7rem); letter-spacing: -.045em; }
.sample section { margin-top: 28px; padding-top: 15px; border-top: 1px solid #bfb9a9; }
.sample section h2 { font-size: 1.45rem; margin-bottom: 10px; }
.sample section p { margin-top: 10px; }
.sample-action { margin-top: 28px; text-align: center; }
.form-wrap > h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -.055em; margin-bottom: 12px; }
.form-wrap > p { margin-bottom: 20px; color: var(--muted); }
.form-wrap [role="alert"] { color: #842b24; font-weight: 600; }
fieldset { min-inline-size: 0; background: var(--white); border: 1px solid var(--line); border-radius: 9px; margin: 0 0 22px; padding: clamp(14px, 3vw, 23px); }
legend { padding-inline: 6px; font: 1.45rem Georgia,serif; }
label { display: block; font-weight: 550; margin: 10px 0; }
fieldset p, form > p { margin-block: 12px; color: var(--muted); }
fieldset .field-tip { margin-block: -4px 8px; font-size: .9rem; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { display: block; width: 100%; min-width: 0; margin-top: 6px; padding: 10px 12px; border: 1px solid #aeb6ad; border-radius: 6px; background: white; color: var(--ink); font: inherit; }
textarea { min-height: 75px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 17px; height: 17px; margin: 0 5px 0 0; vertical-align: -3px; }
[hidden] { display: none !important; }
.form-grid, .options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; }
.options label { margin-block: 4px; padding: 7px; border-radius: 5px; }
.options label:has(input:checked) { background: #eaf0e8; }
.days { grid-template-columns: repeat(auto-fit,minmax(64px,1fr)); }
@media (max-width: 890px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); } .site-header, .hero { align-items: start; } .site-header { flex-direction: column; gap: 12px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 42px; }
  .features, .form-grid { grid-template-columns: 1fr; } .features { gap: 22px; }
}
@media (max-width: 420px) { .plans { grid-template-columns: 1fr; } .footer { align-items: start; flex-direction: column; gap: 9px; } }
