:root {
  color-scheme: light;
  --paper: #fff9f2;
  --ink: #302b27;
  --muted: #675e55;
  --accent: #a83f16;
  --accent-hover: #89300f;
  --line: #ded3c7;
  --sage: #dde8d4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; word-break: keep-all; text-wrap: balance; }
::selection { color: var(--ink); background: #ffcfb8; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 2; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 20px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand img { width: 44px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
nav a:hover, .email-link:hover { color: var(--accent); text-decoration: underline; }
.hero { padding-block: 50px 64px; }
h1 { max-width: 760px; font-size: clamp(40px, 7.2vw, 78px); font-weight: 800; letter-spacing: -0.035em; }
h1 span { display: block; color: var(--accent); }
.hero-description { margin-top: 26px; max-width: 40em; color: var(--muted); font-size: 17px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 26px; padding: 14px 22px; border: 0; border-radius: 12px; font-weight: 650; text-decoration: none; line-height: 1.5; }
.primary { margin-top: 30px; color: white; background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.hero-brand { margin: 42px auto 0; text-align: center; width: 224px; }
.hero-brand img { width: 100%; }
.hero-brand p { margin-top: 16px; font-size: 14px; color: var(--accent); }
.about { padding-block: 24px 60px; }
.section-heading { margin-bottom: 30px; }
h2 { font-size: clamp(27px, 4vw, 36px); letter-spacing: -0.025em; }
.section-heading p { margin-top: 12px; color: var(--muted); }
.features { display: grid; gap: 28px; }
.feature { border-top: 1px solid var(--line); padding-top: 24px; }
h3 { font-size: 24px; letter-spacing: -0.02em; }
.feature > p { margin-top: 16px; max-width: 38em; }
.feature .feature-note { margin-top: 24px; color: var(--muted); font-size: 14px; }
.disclosures { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.disclosures p + p { margin-top: 12px; }
.download { padding-block: 16px 60px; }
.download-panel { background: var(--sage); padding: 32px 24px; border-radius: 16px; }
.release-status { margin-top: 18px; font-weight: 700; }
.download-panel p:last-child { margin-top: 8px; }
.download-button { margin-top: 26px; width: 100%; color: #454c3e; background: #f3f6ee; cursor: not-allowed; flex-wrap: wrap; gap: 8px 14px; }
.download-button span { font-size: 13px; font-weight: 500; }
.contact { padding-block: 8px 64px; }
.contact h2 { font-size: 25px; }
.contact p { margin-top: 12px; color: var(--muted); }
.email-link { display: inline-flex; align-items: center; min-height: 44px; gap: 16px; margin-top: 16px; font-size: 19px; font-weight: 650; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px 32px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand { font-size: 16px; font-weight: 700; }
.site-footer nav { gap: 8px 24px; color: var(--muted); }

@media (min-width: 720px) {
  .wrap { width: min(1120px, calc(100% - 80px)); }
  .site-header { padding-block: 26px; }
  nav { gap: 32px; }
  nav a { font-size: 15px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 32px; padding-block: 66px 100px; }
  .hero-brand { margin: 0; width: 260px; }
  .hero-description { font-size: 18px; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
  .about { padding-bottom: 80px; }
  .download { padding-bottom: 80px; }
  .download-panel { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 44px 40px; }
  .download-button { width: auto; flex-shrink: 0; margin: 0; }
  .contact { padding-bottom: 80px; }
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .hero-brand { width: 320px; }
}

@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  h1 { font-size: 36px; }
}
