:root {
  color-scheme: light;
  --ink: #182d38;
  --muted: #465958;
  --green: #175846;
  --paper: #f5f3ec;
  --cream: #fffdf8;
  --rule: #c7d0c8;
  --wheat: #e8bc89;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a24b19; outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-160%); z-index: 1; background: white; padding: 10px; }
.skip:focus { transform: none; }
.wrap { width: min(1080px, calc(100% - 72px)); margin: 0 auto; }
.header { background: var(--ink); color: var(--cream); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 68px; }
.header a { font-size: .92rem; text-underline-offset: 4px; }
.header a:focus-visible, .shop:focus-visible { outline-color: var(--wheat); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 25px; height: 25px; font-size: 22px; line-height: 1; border: 1px solid var(--wheat); color: var(--wheat); border-radius: 5px; }
.hero { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding: 64px 0 57px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.04em; }
h1 { max-width: 13ch; font-size: clamp(2.5rem, 5.6vw, 4.65rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; }
.intro > p:not(.detail) { font-size: 1.125rem; max-width: 42ch; line-height: 1.6; margin: 19px 0 23px; color: var(--muted); }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 9px 14px; font-size: .95rem; line-height: 1.25; font-weight: 720; border: 1px solid transparent; border-radius: 6px; text-decoration: none; }
.main-action { background: var(--green); color: #fff; }
.main-action:hover { background: #0d4233; }
.second-action { border-color: #8d9f96; color: var(--green); }
.second-action:hover { background: #e6ede6; }
.detail { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.preview { margin: 0; background: #e5ebe2; padding: 18px; border: 1px solid var(--rule); border-radius: 13px; }
.preview img { display: block; max-width: 100%; width: 100%; height: auto; box-shadow: 2px 4px 12px #182d3826; }
.work { border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1.12fr .88fr; align-items: start; gap: clamp(24px, 5vw, 65px); padding: 38px 0 48px; }
.work ol { margin: 18px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.55; }
.work li + li { margin-top: 8px; }
.work li strong { color: var(--ink); }
.example { background: var(--cream); border: 1px solid var(--rule); border-left: 4px solid var(--green); border-radius: 6px; padding: 17px 19px; }
.example h3 { font-size: 1rem; }
.example p { margin-top: 8px; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.example strong { color: var(--ink); }
.paid { background: var(--ink); color: var(--cream); }
.paid-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 19px 28px; padding: 35px 0; }
.paid p { max-width: 61ch; color: #e0e7df; line-height: 1.55; margin-top: 10px; }
.shop { background: var(--wheat); color: var(--ink); }
.shop:hover { background: #f0cc9e; }
.footer { color: var(--muted); padding: 19px 0; font-size: .85rem; }
@media (max-width: 765px) {
  .wrap { width: min(1080px, calc(100% - 36px)); }
  .hero, .work { grid-template-columns: 1fr; }
  .hero { padding: 38px 0 35px; gap: 24px; align-items: start; }
  .intro > p:not(.detail) { margin-top: 14px; }
  .preview { padding: 12px; max-width: 475px; }
  .work { padding: 29px 0 34px; }
}
@media (max-width: 360px) {
  .downloads .button { width: 100%; }
  .header-inner { min-height: 56px; }
}
