* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fffffff2; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; min-height: 76px; padding-block: 12px; }
.identity { display: flex; gap: 12px; align-items: center; text-decoration: none; font-size: var(--identity-font-size); font-weight: 600; line-height: 1.3; }
.identity small { display: block; font-size: var(--identity-detail-size); font-weight: 400; color: var(--muted); margin-top: 4px; }
.monogram { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #e9d5ff; border-radius: var(--radius); background: linear-gradient(135deg, #f3e8ff, #fce7f3); font-size: var(--monogram-font-size); font-weight: 700; }
.navigation { margin-left: auto; display: flex; gap: 24px; font-size: var(--navigation-font-size); }
.navigation a { text-decoration: none; color: var(--muted); }
.navigation a:hover { color: var(--ink); }
.languages { display: flex; gap: 3px; padding: 3px; border-radius: var(--radius); background: var(--soft); font-size: 16px; }
.languages a { padding: 6px 10px; text-decoration: none; border: 1px solid transparent; border-radius: 7px; color: var(--muted); }
.languages a[aria-current] { color: var(--ink); background: white; border-color: var(--line); box-shadow: 0 1px 2px #03021308; font-weight: 600; }
.hero { padding-block: 64px 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 58px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: 1.3px; font-weight: 600; color: var(--muted); margin: 0 0 20px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); letter-spacing: .6px; }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-gradient); flex-shrink: 0; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -1.6px; max-width: 680px; }
h2 { font-size: clamp(29px, 2.8vw, 38px); letter-spacing: -.8px; }
h3 { font-size: 29px; letter-spacing: -.5px; }
.lead { font-size: 20px; color: var(--muted); max-width: 570px; margin: 24px 0 28px; }
.actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; gap: 24px; align-items: center; justify-content: space-between; background: var(--interactive-accent); color: white; border: 1px solid var(--interactive-accent); border-radius: var(--radius); font-size: var(--action-font-size); font-weight: 500; padding: 12px 18px; text-decoration: none; line-height: 1.5; }
.button:hover { background: var(--interactive-hover); border-color: var(--interactive-hover); }
.button.handfab-button { background: var(--brand-gradient); color: var(--ink); border-color: transparent; font-weight: 600; box-shadow: 0 5px 16px #a855f726; }
.button.handfab-button:hover { background: var(--brand-gradient); border-color: #a855f7; box-shadow: 0 7px 20px #a855f740; }
.text-link { font-size: 17px; font-weight: 600; color: var(--interactive-accent); }
.hero-image { margin: 0; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; object-position: 48% center; }
.hero-image figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); padding: 14px 18px; background: white; border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; padding-block: 48px 64px; border-top: 1px solid var(--line); }
.about h2 { max-width: 380px; }
.prose p:first-child { margin-top: 0; }
.prose p { font-size: 18px; color: var(--muted); }
dl { font-size: 14px; margin-top: 28px; }
dt { color: var(--muted); margin-top: 14px; }
dd { margin: 0; font-weight: 500; }
.resources { padding: 56px 0 64px; background: var(--bg); border-block: 1px solid var(--line); }
.section-intro { color: var(--muted); margin-bottom: 28px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.feature .eyebrow { display: flex; justify-content: space-between; width: 100%; align-items: center; }
.feature .eyebrow span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius); background: var(--soft); color: var(--ink); font-size: 24px; line-height: 1; }
.feature p:not(.eyebrow) { font-size: 17px; color: var(--muted); }
.feature .note { font-size: 14px !important; margin-top: 0; margin-bottom: 26px; }
.feature > .button, .feature > .actions { margin-top: auto; }
.handfab { position: relative; }
.handfab::before { content: ""; position: absolute; top: -1px; left: 22px; right: 22px; height: 3px; border-radius: 3px; background: var(--brand-gradient); }
.handfab .eyebrow span { background: linear-gradient(135deg, #f3e8ff, #fce7f3); }
.handfab .actions { gap: 16px; }
.handfab .text-link { font-size: 17px; }
.tools-heading { font-size: 26px; margin: 40px 0 16px; }
.tool-list { background: white; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.tool-row { display: grid; grid-template-columns: 30px 220px 1fr 180px; gap: 18px; align-items: baseline; padding: 24px; }
.tool-row + .tool-row { border-top: 1px solid var(--line); }
.tool-number { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tool-row h4 { font-size: 16px; font-weight: 600; margin: 0; }
.tool-row p { font-size: 16px; color: var(--muted); margin: 0; }
.tool-row a { font-size: 16px; font-weight: 500; color: var(--interactive-accent); justify-self: end; }
.archive { display: flex; gap: 64px; align-items: center; justify-content: space-between; padding: 60px 0 28px; }
.archive h2 { font-size: 32px; }
.archive p { color: var(--muted); max-width: 720px; font-size: 17px; }
.secondary { background: white; border: 1px solid var(--interactive-accent); color: var(--interactive-accent); flex-shrink: 0; }
.secondary:hover { background: var(--accent-soft); border-color: var(--interactive-hover); color: var(--interactive-hover); }
.scope { font-size: 14px; color: var(--muted); padding: 20px 0 32px; border-bottom: 1px solid var(--line); }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0 26px; font-size: 13px; color: var(--muted); }
footer p { margin: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: white; padding: 12px; border-radius: var(--radius); }
.skip:focus { top: 16px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .header { gap: 20px; }
  .hero { gap: 30px; }
  .tool-row { grid-template-columns: 25px 190px 1fr; }
  .tool-row a { grid-column: 3; justify-self: start; }
  .about { gap: 40px; }
  .archive { gap: 28px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 135px; }
  .wrap { width: calc(100% - 36px); }
  .header { flex-wrap: wrap; gap: 14px; padding-block: 14px; }
  .identity { flex: 1 1 100%; }
  .identity small { max-width: 260px; }
  .monogram { width: 34px; height: 34px; }
  .navigation { flex: 1; margin: 0; gap: 18px; }
  .languages { gap: 0; font-size: 16px; }
  .languages a { padding: 5px 6px; }
  .hero { grid-template-columns: 1fr; padding-block: 34px; gap: 30px; }
  h1 { font-size: 40px; letter-spacing: -1.2px; }
  .hero-image img { aspect-ratio: 16/10; }
  .lead { font-size: 18px; }
  .about { grid-template-columns: 1fr; padding-block: 36px; gap: 20px; }
  .about h2 { max-width: none; }
  dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  dt { grid-row: 1; }
  dd { font-size: 13px; }
  .features { grid-template-columns: 1fr; }
  .resources { padding: 36px 0; }
  .feature { padding: 24px; }
  .tool-row { grid-template-columns: 22px 1fr; gap: 10px; padding: 20px; }
  .tool-row p, .tool-row a { grid-column: 2; }
  .archive { display: block; padding: 36px 0 22px; }
  .archive .button { margin-top: 12px; }
  footer { flex-direction: column; gap: 10px; }
  .scope { padding-top: 10px; }
}
@media (max-width: 380px) {
  .header { gap: 10px; }
  .identity { gap: 8px; }
  .identity small { max-width: 240px; }
  .navigation { gap: 12px; }
  .languages { font-size: 16px; }
  h1 { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header { position: static; } .hero, .feature, .tool-row { break-inside: avoid; } }
