* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: Georgia, serif;
  background: linear-gradient(to bottom, #fefaf4 0%, #f9f0e6 100%);
  color: #3a2e1f;
  line-height: 1.7;
  min-height: 100vh;
}

.site-header {
  background: linear-gradient(to bottom, #fffdfa, #f9f0e6);
  padding: 28px 16px 22px;
  text-align: center;
  border-bottom: 6px double #c68642;
}

.site-header .site-brand {
  display: inline-block;
  font-size: clamp(1.45rem, 5vw, 2.5rem);
  line-height: 1.15;
  color: #3a2e1f;
  font-style: italic;
  letter-spacing: 0.03em;
  border-top: 2px dashed #c68642;
  border-bottom: 2px dashed #c68642;
  padding: 8px 14px;
  margin: 0 auto 10px;
}

.site-header .site-banner {
  color: inherit;
  text-decoration: none;
}

.site-header .site-banner:hover {
  color: #8b5a2b;
}

.tagline {
  font-size: 1.15rem;
  color: #8b5a2b;
  font-style: italic;
  margin: 0 auto 8px;
  padding: 0 4px;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #5c4630;
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 18px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #c68642;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

.site-header .site-nav > a .a310b-nav-stitch,
.site-header .site-nav > a .a310b-nav-stitch svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  display: block;
  background: none;
  fill: none;
}

.site-header .site-nav > a .a310b-nav-stitch rect,
.site-header .site-nav > a .a310b-nav-stitch path {
  fill: none;
  stroke: #c68642;
  stroke-width: 2px;
  stroke-linecap: round;
}

.site-nav a:focus-visible,
.footer-nav a:focus-visible,
.download-btn:focus-visible,
.more-links a:focus-visible,
.ebay-button:focus-visible {
  outline: 3px solid #c68642;
  outline-offset: 2px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.main-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 24px;
  text-align: center;
}

.main-content h1 {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  color: #3a2e1f;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.intro-note {
  color: #5c4630;
  font-style: italic;
  margin: 0 auto 8px;
  max-width: 34rem;
}

.download-wrap {
  margin: 28px 0 18px;
}

.download-btn {
  display: block;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  font-family: Georgia, serif;
  font-size: clamp(1.85rem, 6.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  color: #fffdfa;
  background: #3a2e1f;
  border: 5px solid #c68642;
  border-radius: 14px;
  box-shadow: 0 8px 0 #8b5a2b;
}

.download-btn:hover,
.download-btn:focus {
  color: #fffdfa;
  background: #241910;
}

.download-hint {
  color: #8b5a2b;
  font-size: 1rem;
  margin: 14px auto 0;
}

.more-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin: 28px 0 0;
}

.more-links a {
  color: #5c4630;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed #c68642;
  padding: 4px 0;
}

.more-links a:hover {
  color: #c68642;
}

.help-note {
  color: #5c4630;
  margin: 18px auto 0;
  max-width: 32rem;
}

footer {
  background: linear-gradient(to top, #3a2e1f, #5c4630);
  color: #f9f0e6;
  text-align: center;
  padding: 42px 16px max(36px, env(safe-area-inset-bottom, 0px));
  margin-top: 64px;
  border-top: 6px double #c68642;
}

.footer-kicker {
  display: inline-block;
  color: #f4e9db;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-top: 2px dashed #c68642;
  border-bottom: 2px dashed #c68642;
  padding: 4px 16px;
  margin-bottom: 12px;
}

.footer-heading {
  font-size: 1.6rem;
  color: #fffdfa;
  margin: 8px 0;
}

.footer-note {
  color: #f4e9db;
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 18px;
}

.footer-nav a {
  color: #f9f0e6;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px dashed rgba(217, 179, 140, 0.55);
  border-radius: 999px;
  padding: 7px 14px;
}

.footer-nav a:hover {
  color: #c68642;
  border-color: #c68642;
}

.ebay-button {
  display: inline-block;
  background: #c68642;
  color: #fffdfa;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: bold;
  font-family: Georgia, serif;
  text-decoration: none;
  border-radius: 999px;
  margin: 16px auto 0;
  border: 2px solid #8b5a2b;
}

.ebay-button:hover {
  background: #b37438;
}

.footer-copy {
  margin-top: 8px;
}

.copyright-btn {
  background: transparent;
  color: #f9f0e6;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border: 2px dashed #c68642;
  border-radius: 999px;
  margin: 18px auto 0;
  cursor: default;
  display: inline-block;
}

.statcounter {
  display: none;
}

@media (max-width: 480px) {
  .main-content {
    padding: 28px 0 16px;
  }

  .site-nav a,
  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .download-btn {
    padding: 1.35rem 1.1rem;
  }
}
