:root {
  --paper: #f0f0e0;
  --paper-deep: #e7dcc0;
  --ink: #2f302b;
  --muted-ink: #68665b;
  --bird: #dfc083;
  --bird-deep: #b88d54;
  --beak: #d7aa4f;
  --frog: #768763;
  --frog-dark: #43563b;
  --pink: #b98c82;
  --coffee: #a8764e;
  --white: #fffdf0;
  --shadow: rgba(23, 21, 18, 0.08);
  --border: 2px solid var(--ink);
  --radius-lumpy: 12px 10px 14px 11px;
  --radius-small: 7px 8px 6px 9px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(184, 141, 84, 0.55);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

main {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.site-header {
  padding: 14px 16px 8px;
}

.site-nav {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand-mark,
.nav-links {
  display: flex;
  align-items: center;
}

.brand-mark {
  width: auto;
  max-width: 100%;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.brand-name {
  border-bottom: 1px solid rgba(47, 48, 43, 0.38);
  padding-bottom: 2px;
}

.nav-links {
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding: 5px 4px;
  text-decoration: none;
  font-weight: 700;
  color: var(--muted-ink);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 1fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: center;
  min-height: calc(100vh - 126px);
  padding: 10px 0 72px;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.hero-copy h1,
.page-intro h1,
.about-copy h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 1.02;
  max-width: 820px;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 650px;
}

.eyebrow,
.card-label {
  margin: 0 0 8px;
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

.slogan {
  display: inline-block;
  margin: 18px 0 12px;
  padding: 3px 8px 4px;
  border: 1px solid rgba(23, 21, 18, 0.45);
  border-radius: var(--radius-small);
  background: rgba(223, 192, 131, 0.22);
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.lede {
  max-width: 440px;
  margin: 0 0 30px;
  color: var(--muted-ink);
  font-size: 1.05rem;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sticker-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: var(--radius-small);
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  padding: 9px 15px;
  box-shadow: 2px 2px 0 rgba(23, 21, 18, 0.16);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.sticker-button:hover,
.kofi-image-link:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(23, 21, 18, 0.18);
}

.sticker-button.green {
  background: rgba(223, 192, 131, 0.72);
}

.sticker-button.pink {
  background: var(--white);
}

.sticker-button.muted {
  background: var(--paper-deep);
  color: var(--muted-ink);
  cursor: not-allowed;
}

.hero-logo-panel {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  align-items: center;
}

.hero-logo-display {
  width: min(640px, 100%);
  height: auto;
}

.home-grid,
.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 22px;
  margin-top: 44px;
}

.home-grid {
  padding-top: 24px;
}

.paper-card {
  border: var(--border);
  border-radius: var(--radius-lumpy);
  background: var(--white);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 2px 3px 0 var(--shadow);
}

.sticker-card {
  transform: none;
}

.paper-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.08;
}

.paper-card p {
  max-width: 620px;
}

.status-pill {
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid rgba(23, 21, 18, 0.52);
  border-radius: 999px;
  background: rgba(223, 192, 131, 0.2);
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.quiet-link {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 16px;
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link span {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 140ms ease;
}

.back-link:hover {
  color: var(--ink);
}

.back-link:hover span {
  transform: translateX(-2px);
}

.support-teaser {
  align-self: end;
  background: var(--paper-deep);
  transform: none;
}

.page-intro {
  margin: 34px 0 34px;
}

.plugin-list {
  display: grid;
  gap: 24px;
}

.plugin-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.plugin-summary-card {
  align-items: center;
}

.plugin-icon {
  width: 116px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 16px 13px 18px 14px;
  background: transparent;
  box-shadow: 2px 2px 0 var(--shadow);
  transform: rotate(-0.5deg);
  overflow: hidden;
}

.plugin-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plugin-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.plugin-facts div {
  border: 1px dashed rgba(23, 21, 18, 0.5);
  border-radius: var(--radius-small);
  padding: 9px 11px;
  background: rgba(243, 240, 223, 0.62);
}

.plugin-facts dt {
  color: var(--muted-ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.plugin-facts dd {
  margin: 2px 0 0;
  font-weight: 750;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.and-more {
  margin: 6px 0 0;
  color: var(--muted-ink);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}

.plugin-detail {
  display: grid;
  gap: 30px;
}

.plugin-detail h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.product-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.product-hero-icon {
  width: 104px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 9px 5px;
  border: 1px solid rgba(47, 48, 43, 0.46);
  border-radius: var(--radius-small);
  background: rgba(223, 192, 131, 0.18);
  color: var(--muted-ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
}

.product-badge.green {
  border-color: rgba(67, 86, 59, 0.65);
  background: rgba(118, 135, 99, 0.16);
  color: var(--frog-dark);
}

.product-tagline {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.product-description {
  margin: 12px 0 0;
  color: var(--muted-ink);
  font-size: 1rem;
}

.product-section {
  display: grid;
  gap: 13px;
}

.product-section h2,
.product-notes h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.1;
}

.download-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(47, 48, 43, 0.42);
  border-radius: var(--radius-lumpy);
  padding: 18px;
  background: rgba(255, 253, 240, 0.58);
  box-shadow: 2px 2px 0 rgba(23, 21, 18, 0.06);
}

.download-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.1;
}

.download-card p {
  margin: 4px 0 0;
  color: var(--muted-ink);
  font-weight: 700;
}

.download-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: var(--radius-small);
  background: rgba(118, 135, 99, 0.18);
  color: var(--frog-dark);
  font-weight: 850;
  text-decoration: none;
  padding: 9px 14px;
  box-shadow: 2px 2px 0 rgba(23, 21, 18, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.download-button:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(23, 21, 18, 0.16);
}

.inside-list,
.product-notes ul {
  margin: 0;
  padding-left: 20px;
}

.inside-list {
  columns: 2;
  column-gap: 28px;
}

.inside-list li,
.product-notes li {
  padding-left: 4px;
}

.inside-list li + li,
.product-notes li + li {
  margin-top: 6px;
}

.product-notes {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(47, 48, 43, 0.24);
  padding-top: 18px;
  color: var(--muted-ink);
}

.demo-section {
  margin-top: 24px;
  background: rgba(231, 220, 192, 0.6);
}

.about-copy {
  min-height: 250px;
}

.contact-card {
  align-self: end;
  background: rgba(223, 192, 131, 0.16);
  transform: none;
}

.support-section {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: var(--paper-deep);
}

.kofi-image-link {
  flex: 0 0 auto;
  display: inline-flex;
  border-radius: 999px;
  box-shadow: 2px 2px 0 rgba(23, 21, 18, 0.12);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.kofi-image {
  width: min(310px, 72vw);
  height: auto;
}

.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  gap: 14px 22px;
  flex-wrap: wrap;
  color: var(--muted-ink);
  border-top: 2px dashed rgba(23, 21, 18, 0.35);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  main {
    width: min(100% - 24px, 1080px);
    padding-top: 28px;
  }

  .site-header {
    padding: 12px;
  }

  .site-nav {
    align-items: flex-start;
  }

  .brand-mark {
    width: auto;
  }

  .hero-section,
  .home-grid,
  .about-layout,
  .plugin-card,
  .product-hero,
  .download-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding: 6px 0 96px;
    gap: 18px;
  }

  .hero-logo-panel {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-logo-display {
    width: min(360px, 100%);
  }

  .plugin-icon {
    width: 104px;
  }

  .plugin-facts {
    grid-template-columns: 1fr;
  }

  .product-hero-icon {
    width: 96px;
  }

  .inside-list {
    columns: 1;
  }

  .support-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .sticker-button {
    width: auto;
  }
}
