:root {
  --paper: #f5f4ee;
  --card: #fffefa;
  --ink: #1e3029;
  --forest: #235440;
  --sage: #e1edda;
  --night: #151d19;
  --night-primary: #b7d8a9;
  --muted: #59665d;
  --rule: #d8dcd1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #347349; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
.site-header, main, .site-footer { width: min(100% - 5rem, 1120px); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 0; }
.site-header { border-bottom: 1px solid var(--rule); }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(0.875rem, 3vw, 2rem); font-size: 0.875rem; }
nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 0.4em; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.app-link { font-weight: 650; }
.hero { display: grid; grid-template-columns: 1fr 1.03fr; gap: 3.5rem; align-items: stretch; margin: 4rem 0; }
.intro { padding-block: 0.75rem; }
.label { margin-bottom: 1.25rem; color: var(--forest); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
h1 { font-size: clamp(3.2rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.35rem, 4.6vw, 3.4rem); }
.lede { max-width: 33ch; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.25rem; row-gap: 0.25rem; margin-top: 1.5rem; font-size: 0.875rem; }
.actions a { display: inline-flex; align-items: center; gap: 0.65em; min-height: 44px; }
.button { background: var(--forest); color: var(--card); padding-inline: 1rem; border-radius: 0.5rem; font-weight: 650; text-decoration: none; }
.button:hover { background: var(--ink); }
.hero-art {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 2rem;
  min-height: 240px;
  margin-top: 1.25rem;
  background: var(--forest);
  border-radius: 0.8rem;
  box-shadow: 0 12px 28px -16px rgb(29 48 36 / 30%);
}
.hero-art::before { position: absolute; content: ""; top: -1rem; left: 1.25rem; width: min(32%, 135px); height: 1.1rem; border-radius: 0.55rem 0.55rem 0 0; background: var(--forest); }
.hero-art img { width: min(88%, 345px); }
.section { border-top: 1px solid var(--rule); padding: 2.5rem 0 3.25rem; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; gap: 1.5rem; margin-bottom: 1.75rem; }
.section-heading p { color: var(--muted); max-width: 49ch; }
.logo-grid, .palette, .type-grid { display: grid; gap: 1rem; }
.logo-grid { grid-template-columns: 1fr 1fr 0.7fr; }
.asset, .type-card { background: var(--card); border-radius: 0.75rem; overflow: hidden; }
.asset-preview { display: grid; place-items: center; min-height: 168px; padding: 1.5rem; }
.paper { background: var(--card); }
.night { background: var(--night); color: var(--card); }
.sage { background: var(--sage); }
.app-icon { border-radius: 23%; }
.asset-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0 1rem; border-top: 1px solid var(--rule); }
.asset-meta h3 { font-size: 0.94rem; font-weight: 600; }
.asset-meta a { min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; font-size: 0.825rem; }
.palette { grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.swatch { display: flex; flex-direction: column; justify-content: end; min-height: 9rem; border-radius: 0.625rem; padding: 0.75rem; }
.swatch dt { font-weight: 650; }
.swatch dd { font-size: 0.8rem; }
.forest, .ink { color: var(--card); }
.forest { background: var(--forest); }
.warm-paper { border: 1px solid var(--rule); }
.ink { background: var(--ink); }
.night-primary { background: var(--night-primary); }
.type-grid { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.type-card { padding: 1.25rem; }
.type-card h3 { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.75rem; }
.serif-sample { font: clamp(1.9rem, 4vw, 2.8rem)/1.1 var(--serif); }
.sans-sample { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.2rem; }
.sample-caption { font-size: 0.875rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--rule); margin-bottom: 1.5rem; }
@media (max-width: 860px) {
  .hero { gap: 2.25rem; }
  .palette { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 650px) {
  .site-header, main, .site-footer { width: calc(100% - 2rem); }
  .site-header { padding-block: 0.5rem; }
  .site-header img { width: 92px; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0; }
  .desktop-break { display: none; }
  .hero-art { min-height: 184px; }
  .section { padding-block: 1.75rem 2rem; }
  .section-heading { grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: 1.125rem; }
  .logo-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .asset-preview { min-height: 112px; padding: 0.875rem; }
  .asset-meta { padding: 0 0.65rem; gap: 0.4rem; }
  .asset-meta h3 { font-size: 0.8rem; }
  .swatch { min-height: 6.5rem; }
  .swatch dt { font-size: 0.875rem; }
  .type-grid { gap: 0.75rem; }
}
@media (max-width: 420px) {
  .type-grid { grid-template-columns: 1fr; }
}
