:root {
  color-scheme: light;
  --paper: #f6efe2;
  --surface: #fffdf6;
  --ink: #33261b;
  --muted: #9c8b76;
  --line: #e7dcc6;
  --accent: #a05213;
  --accent-strong: #8f4b0b;
  --soft: #f7e3c8;
  --shadow: 0 24px 64px rgba(64, 41, 20, 0.12);
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 24px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Iowan Old Style", IowanOldStyle, Georgia, serif; text-wrap: balance; }
p, li, dd, summary, a { text-wrap: pretty; }
h1 { max-width: 680px; margin-bottom: 24px; color: transparent; background: linear-gradient(90deg, #2f241b, #756352); background-clip: text; font-size: 48px; line-height: 1; letter-spacing: -0.04em; }
h2 { margin-bottom: 16px; font-size: 36px; line-height: 40px; letter-spacing: -0.03em; }
h3 { margin-bottom: 4px; font-size: 20px; line-height: 28px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 8px 12px; color: white; background: var(--ink); border-radius: 8px; transform: translateY(-80px); transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 24px; z-index: 20; display: flex; width: max-content; max-width: calc(100% - 32px); margin: 24px auto 0; padding: 8px; align-items: center; gap: 24px; background: rgba(255, 250, 240, 0.88); border: 1px solid rgba(117, 99, 82, 0.22); border-radius: 9999px; box-shadow: 0 12px 40px rgba(64, 41, 20, 0.08); backdrop-filter: blur(24px); }
.brand, .site-header nav, .site-footer nav { display: flex; align-items: center; }
.brand { gap: 8px; text-decoration: none; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand .brand-wordmark { width: 64px; height: auto; border-radius: 0; }
.site-header nav, .site-footer nav { gap: 4px; }
.site-header nav a, .site-footer a { padding: 8px 12px; border-radius: 9999px; text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; transition: color 700ms cubic-bezier(0.32, 0.72, 0, 1), background-color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1); }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent-strong); background: var(--soft); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-header a:active, .button:active, .download-all:active, .asset-card a:active, .text-link:active, .screen-card a:active { transform: scale(0.98); }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.hero { display: grid; min-height: 760px; padding-block: 96px 80px; align-items: center; gap: 64px; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr); }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-summary, .section-heading p:last-child, .product-copy > p { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 28px; }
.hero-summary { margin-bottom: 24px; }
.button { display: inline-flex; padding: 8px 12px; align-items: center; justify-content: center; color: white; background: var(--accent-strong); border-radius: 8px; box-shadow: 0 12px 32px rgba(122, 58, 13, 0.2); text-decoration: none; font-weight: 600; transition: background-color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 700ms cubic-bezier(0.32, 0.72, 0, 1); }
.button:hover { background: var(--accent); box-shadow: 0 16px 40px rgba(122, 58, 13, 0.28); transform: translateY(-2px); }
.hero-art { position: relative; min-height: 560px; background: var(--surface); border: 1px solid rgba(117, 99, 82, 0.18); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.hero-icon { position: absolute; top: 48px; right: 48px; width: 72%; padding: 16px; background: var(--soft); border-radius: 24px; box-shadow: var(--shadow); transform: rotate(4deg); }
.hero-mascot { position: absolute; left: 24px; bottom: -40px; width: 64%; filter: drop-shadow(0 24px 24px rgba(64, 41, 20, 0.12)); }

.section { padding-block: 80px; }
.section-heading { max-width: 680px; margin-bottom: 40px; }
.download-all { display: flex; margin-bottom: 24px; padding: 24px; align-items: center; justify-content: space-between; gap: 24px; color: white; background: var(--ink); border-radius: 16px; text-decoration: none; transition: background-color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1); }
.download-all:hover { background: var(--accent-strong); transform: translateY(-2px); }
.download-all span:first-child { display: grid; gap: 4px; }
.download-all strong { font-size: 20px; line-height: 28px; }
.download-all small { color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 20px; }
.download-all span:last-child { font-size: 14px; line-height: 20px; font-weight: 700; }
.asset-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.asset-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.asset-preview { display: grid; min-height: 420px; padding: 40px; place-items: center; background: var(--soft); }
.icon-preview img { width: min(320px, 100%); border-radius: 24px; box-shadow: var(--shadow); }
.mascot-preview img { width: min(300px, 80%); max-height: 380px; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(64, 41, 20, 0.12)); }
.wordmark-preview img { width: min(360px, 88%); }
.lockup-preview img { width: min(440px, 94%); }
.asset-copy { display: flex; padding: 24px; align-items: center; justify-content: space-between; gap: 24px; }
.asset-copy p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.asset-card a, .text-link, .screen-card a { color: var(--accent-strong); font-size: 14px; line-height: 20px; font-weight: 700; text-underline-offset: 4px; transition: color 700ms cubic-bezier(0.32, 0.72, 0, 1), transform 700ms cubic-bezier(0.32, 0.72, 0, 1); }
.asset-card a:hover, .text-link:hover, .screen-card a:hover { color: var(--accent); }
.download-pair { display: flex; gap: 16px; }

.screen-strip { display: grid; gap: 24px; grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; scrollbar-color: var(--accent) var(--soft); }
.screen-card { min-width: 220px; margin: 0; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 40px rgba(64, 41, 20, 0.08); scroll-snap-align: start; }
.screen-card img { width: 100%; border-radius: 16px; }
.screen-card figcaption { display: flex; padding: 16px 4px 4px; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; font-weight: 600; }
.product { display: grid; gap: 64px; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); }
.product-copy > p { margin-bottom: 24px; }
.facts { margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.facts div { display: grid; padding-block: 16px; gap: 8px; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 14px; line-height: 20px; }
.facts dd { margin: 0; font-weight: 600; }
.site-footer { display: flex; padding-block: 40px; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.reveal { opacity: 0; filter: blur(12px); transform: translateY(64px); transition: opacity 900ms cubic-bezier(0.32, 0.72, 0, 1), filter 900ms cubic-bezier(0.32, 0.72, 0, 1), transform 900ms cubic-bezier(0.32, 0.72, 0, 1); }
.reveal.is-visible { opacity: 1; filter: blur(0); transform: translateY(0); }
.error-page { display: grid; width: min(680px, calc(100% - 48px)); min-height: 100vh; margin-inline: auto; padding-block: 80px; align-content: center; justify-items: start; }
.error-page img { width: 96px; margin-bottom: 32px; border-radius: 24px; box-shadow: var(--shadow); }

@media (min-width: 960px) { h1 { font-size: 60px; } }
@media (max-width: 840px) {
  .site-header { justify-content: space-between; width: calc(100% - 32px); }
  .site-header nav a:nth-child(3) { display: none; }
  .hero, .product { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-block: 80px 64px; }
  .hero-art { min-height: 520px; }
  .asset-grid { grid-template-columns: 1fr; }
  .screen-strip { grid-template-columns: repeat(5, 260px); }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { top: 12px; gap: 8px; }
  .site-header nav a { padding: 8px; }
  .site-header nav a:nth-child(2) { display: none; }
  h1 { font-size: 48px; }
  h2 { font-size: 30px; line-height: 36px; }
  .hero { gap: 40px; }
  .hero-art { min-height: 420px; }
  .hero-icon { top: 32px; right: 24px; }
  .section { padding-block: 64px; }
  .asset-preview { min-height: 320px; padding: 24px; }
  .asset-copy, .download-all, .site-footer { align-items: flex-start; flex-direction: column; }
  .facts div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; filter: none; transform: none; }
}
