@font-face { font-family: "DM Serif Text"; src: url("/assets/DMSerifText-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
:root { color-scheme: light; --paper: #faf8f2; --ink: #242721; --muted: #50564c; --line: #d4d2c5; --rust: #a13e25; --dark: #24342e; --serif: "DM Serif Text", Georgia, serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--rust); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.skip { position: absolute; top: 4px; left: -100vw; padding: .6rem; background: white; z-index: 3; }
.skip:focus { left: 1rem; }
.shell { width: min(1160px, calc(100% - 2 * clamp(20px, 5vw, 72px))); margin-inline: auto; }
header, footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; }
header { min-height: 85px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; font: 400 1.85rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.wordmark img { border-radius: 8px; width: 35px; height: 35px; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1.35rem; align-items: center; }
nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .94rem; font-weight: 600; }
header nav a { color: var(--ink); text-decoration: none; }
nav a:hover { text-decoration: underline; }
nav .language { color: var(--rust); }
.hero { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: clamp(36px, 6vw, 84px); }
h1, h2 { font-family: var(--serif); font-weight: 400; }
.hero h1 { margin: 0; font-size: clamp(3rem, 5.5vw, 5.25rem); line-height: 1.01; letter-spacing: -.05em; }
.hero h1 span { color: var(--rust); display: block; }
.hero p { margin: 1.25rem 0 1.65rem; font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.6; max-width: 35ch; color: var(--muted); }
.cta { display: inline-flex; align-items: center; gap: 1rem; padding: .85rem 1.25rem; min-height: 46px; border-radius: 40px; background: var(--rust); color: white; text-decoration: none; font-weight: 650; }
.cta:hover { background: #84301c; }
figure { margin: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #eeeee4; }
.board { background-image: linear-gradient(#47524510 1px, transparent 1px), linear-gradient(90deg, #47524510 1px, transparent 1px); background-size: 21px 21px; padding: clamp(12px, 2.7vw, 40px); }
.comparison, .comparison-labels { width: min(100%, 420px); margin-inline: auto; }
.comparison { --split: 44%; position: relative; }
.comparison:has(input:not([hidden])) { cursor: ew-resize; touch-action: pan-y pinch-zoom; user-select: none; }
.comparison-images { position: relative; overflow: hidden; border-radius: 50%; pointer-events: none; }
.comparison-images img { display: block; width: 100%; height: auto; }
.comparison-images .portrait { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison-images::after { content: ""; position: absolute; inset-block: 0; left: var(--split); width: 2px; background: white; transform: translateX(-50%); }
.comparison input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.comparison-handle { position: absolute; left: var(--split); top: 79%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid white; border-radius: 50%; background: var(--rust); color: white; font: bold 18px/1 sans-serif; }
.comparison input[hidden] + .comparison-handle { display: none; }
.comparison input:focus-visible + .comparison-handle { outline: 3px solid var(--ink); outline-offset: 2px; }
.comparison-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: .85rem; font-weight: 600; }
figcaption { font-size: .84rem; color: var(--muted); text-align: center; margin-top: .65rem; }
.sample { background: var(--dark); color: #fcfaf1; padding: clamp(24px, 4vw, 52px); border-radius: 22px; margin: 0 auto clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem 3rem; align-items: center; scroll-margin-top: 16px; }
.sample h2 { font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.035em; margin: 0 0 .6rem; line-height: 1.1; }
.sample p { color: #e1e7df; line-height: 1.55; max-width: 48ch; margin: 0; }
.downloads { display: grid; gap: 8px; }
.downloads a { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 10px; background: #f9f7ed; color: var(--ink); font-weight: 650; text-decoration: none; }
.downloads a:hover { background: #f1e4d6; }
footer { border-top: 1px solid var(--line); padding-block: 18px; color: var(--muted); font-size: .9rem; }
footer nav a { font-weight: 500; }
article { width: min(100%, 70ch); padding-block: 2.2rem 3.5rem; line-height: 1.6; overflow-wrap: anywhere; }
article h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 1rem; }
article h2 { font-size: 1.6rem; line-height: 1.2; margin: 1.5em 0 .45em; }
article p { margin: .5rem 0 .8rem; } address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 740px) {
  .hero, .sample { grid-template-columns: 1fr; }
  .hero { gap: 1.7rem; }
  header { min-height: 66px; } .wordmark { font-size: 1.5rem; } .wordmark img { width: 28px; height: 28px; }
  nav { gap: .25rem .85rem; } header nav a { font-size: .88rem; }
}
figcaption { margin: 0; padding: 9px 8px; border-top: 1px solid var(--line); }
