:root {
  color-scheme: light;
  --paper: #F6F5F2;
  --ink: #202427;
  --muted: #565B60;
  --rust: #8F3A12;
  --rust-hover: #74300F;
  --line: #E3E0D9;
  --focus: #174E85;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page {
  width: min(100% - 112px, 1280px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.site-header { padding-block: 42px; }
.wordmark { display: block; width: 230px; max-width: 100%; height: auto; }
main { flex: 1; padding-block: clamp(60px, 12vh, 160px); }
.accent-rule { height: 4px; width: 48px; background: var(--rust); margin-bottom: 32px; }
h1 {
  margin: 0 0 26px;
  font-size: clamp(3.5rem, 8.5vw, 7.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.06em;
  overflow-wrap: break-word;
}
h1 span { color: var(--rust); }
.tagline {
  margin: 0 0 14px;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
}
.description {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  text-wrap: pretty;
}
.preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 48px;
  max-width: 100%;
  margin-top: 40px;
  border: 1px solid var(--rust);
  border-radius: 6px;
  padding: 14px 20px;
  background: var(--rust);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  touch-action: manipulation;
}
.preview-link:hover { background: var(--rust-hover); border-color: var(--rust-hover); }
.preview-link:focus-visible, .skip-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.site-footer {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.footer-rule { height: 1px; flex: 1; background: var(--line); }
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 12px 18px;
  background: var(--ink);
  color: #FFFFFF;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
@media (max-width: 600px) {
  .page { width: calc(100% - 48px); }
  .site-header { padding-block: 30px; }
  .wordmark { width: 200px; }
  main { padding-block: 72px; }
  h1 { font-size: clamp(3.25rem, 13vw, 4.5rem); letter-spacing: -0.055em; }
  .description { max-width: 320px; }
  .site-footer { padding-block: 24px; }
}
@media (forced-colors: active) {
  .preview-link { border: 1px solid ButtonText; }
  .accent-rule, .footer-rule { background: CanvasText; }
}
