:root {
  color-scheme: light;
  --paper: #fffdf4;
  --paper-deep: #f7f1dc;
  --canvas: #dff1dc;
  --canvas-sky: #d8eff2;
  --ink: #4c3f32;
  --ink-strong: #3c3128;
  --muted: #675848;
  --line: #cdbf9f;
  --leaf: #4f9b73;
  --leaf-dark: #357958;
  --lagoon: #3aaea4;
  --lagoon-dark: #1d756f;
  --sky: #82c6dc;
  --peach: #efa47b;
  --sun: #f2ce64;
  --berry: #d96c73;
  --button-ink: #17221c;
  --shadow: #a99a7b;
  --code-bg: #3f3935;
  --code-inline-bg: #f0ead6;
  --code-ink: #fff9e9;
  --code-line: #645c54;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --font-body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: ui-rounded, "Avenir Next Rounded", "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Monaco, Consolas, monospace;
  --motion: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 255, 255, 0.7) 0 3px, transparent 4px) 0 0 / 38px 38px,
    linear-gradient(180deg, var(--canvas-sky) 0, #e9f6e6 420px, var(--canvas) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.68;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  pointer-events: none;
}

body::before {
  width: 280px;
  height: 280px;
  top: 72px;
  left: -150px;
  background: rgba(255, 255, 255, 0.42);
}

body::after {
  width: 360px;
  height: 360px;
  right: -220px;
  bottom: 110px;
  background: rgba(118, 194, 143, 0.28);
}

::selection {
  background: var(--sun);
  color: var(--ink-strong);
}

a {
  color: var(--leaf-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--ink-strong);
  outline-offset: 4px;
  border-radius: 6px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--motion);
}

.skip-link:focus {
  transform: translateY(0);
}

.site {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  padding: 12px 14px 12px 16px;
  border: 2px solid rgba(92, 115, 80, 0.32);
  border-radius: 999px;
  background: rgba(255, 253, 244, 0.9);
  box-shadow: 0 5px 0 rgba(103, 132, 92, 0.16);
  backdrop-filter: blur(12px);
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--leaf-dark);
  border-radius: 50% 45% 52% 42%;
  background: var(--sun);
  box-shadow: 0 3px 0 #cfaa45;
  color: var(--ink-strong);
  transform: rotate(-5deg);
}

.site-mark::after {
  position: absolute;
  width: 12px;
  height: 7px;
  top: -5px;
  right: 1px;
  border-radius: 100% 0 100% 0;
  background: var(--leaf);
  content: "";
  transform: rotate(24deg);
}

.site-mark span {
  transform: rotate(5deg);
}

nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

nav a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition:
    color var(--motion),
    background var(--motion),
    transform var(--motion);
}

nav a:hover {
  background: #e4f3dd;
  color: var(--leaf-dark);
  transform: translateY(-1px);
}

main {
  display: block;
}

h1,
h2,
h3 {
  color: var(--ink-strong);
  font-family: var(--font-display);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h2 {
  margin: 48px 0 16px;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

h3 {
  margin: 36px 0 14px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0 0 1.35em;
  padding-left: 1.35em;
}

li {
  margin: 0 0 0.65em;
  padding-left: 0.12em;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 2px solid #9fc5a1;
  border-radius: 46px 38px 50px 42px / 42px 48px 40px 50px;
  background:
    radial-gradient(ellipse at 35% 42%, rgba(74, 145, 104, 0.16) 0 2.2px, transparent 2.8px) 0 0 / 43px 31px,
    radial-gradient(ellipse at 68% 55%, rgba(255, 255, 255, 0.76) 0 1.3px, transparent 1.9px) 17px 11px / 43px 31px,
    #eff7df;
  box-shadow: 0 9px 0 rgba(96, 139, 91, 0.16);
}

.home-hero::before {
  position: absolute;
  width: 170px;
  height: 56px;
  right: 29%;
  bottom: -26px;
  border-radius: 50%;
  background: rgba(94, 164, 110, 0.18);
  content: "";
  transform: rotate(-8deg);
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.home-hero h1 {
  max-width: 920px;
  font-size: clamp(43px, 6vw, 68px);
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-action,
.not-found-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 2px solid var(--lagoon-dark);
  border-radius: 999px;
  background: #86d6ca;
  box-shadow: 0 4px 0 var(--lagoon-dark);
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform var(--motion),
    box-shadow var(--motion),
    background var(--motion);
}

.hero-action:hover,
.not-found-actions a:hover {
  background: #9ae1d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--lagoon-dark);
}

.hero-action:active,
.not-found-actions a:active {
  transform: translateY(4px);
  box-shadow: none;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin: 0 4px 24px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--leaf-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.section-heading > a:hover {
  background: rgba(255, 253, 244, 0.7);
}

.muted,
.post-meta {
  color: var(--muted);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 700;
}

.post-meta a {
  padding: 3px 9px;
  border: 1.5px solid rgba(77, 130, 91, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--leaf-dark);
  text-decoration: none;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-list > li {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 2px solid #c7b99b;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at center, rgba(79, 155, 115, 0.14) 0 2px, transparent 2.7px) 0 0 / 39px 27px,
    #f7f0d9;
  box-shadow: 0 6px 0 rgba(112, 96, 69, 0.12);
  transition:
    transform var(--motion),
    box-shadow var(--motion);
}

.post-list > li:nth-child(4n + 2) {
  border-color: #b2c8dd;
  background:
    radial-gradient(ellipse at center, rgba(80, 143, 181, 0.14) 0 2px, transparent 2.7px) 0 0 / 39px 27px,
    #eaf3fa;
}

.post-list > li:nth-child(4n + 3) {
  border-color: #ddb69f;
  background:
    radial-gradient(ellipse at center, rgba(207, 117, 86, 0.14) 0 2px, transparent 2.7px) 0 0 / 39px 27px,
    #fbece4;
}

.post-list > li:nth-child(4n + 4) {
  border-color: #adc8ac;
  background:
    radial-gradient(ellipse at center, rgba(64, 139, 100, 0.14) 0 2px, transparent 2.7px) 0 0 / 39px 27px,
    #e9f5e6;
}

.post-list > li:hover {
  transform: translateY(-4px) rotate(-0.25deg);
  box-shadow: 0 10px 0 rgba(112, 96, 69, 0.1);
}

.post-list h2,
.post-list h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.5vw, 29px);
}

.post-list h2 a,
.post-list h3 a {
  color: var(--ink-strong);
  text-decoration: none;
}

.post-list h2 a:hover,
.post-list h3 a:hover {
  color: var(--leaf-dark);
}

.post-card-image-link {
  display: block;
  margin: -24px -24px 20px;
  overflow: hidden;
  border-bottom: 2px solid rgba(76, 63, 50, 0.32);
}

.post-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  background: var(--paper-deep);
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.post-list > li:hover .post-card-image {
  transform: scale(1.025);
}

.post-list .post-meta {
  margin: auto 0 0;
}

.summary {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.content-page main > h1,
.content-page main > .intro,
.content-page main > .not-found,
.content-page main > .tool-categories,
.content-page main > .post-list,
.content-page main > .tags,
.content-page main > .link-list {
  width: min(900px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.content-page main > h1,
.content-page .intro h1 {
  display: inline-block;
  padding: 18px 30px 20px;
  border: 2px solid #d1b55e;
  border-radius: 26px 30px 24px 32px / 30px 24px 32px 26px;
  background: var(--sun);
  box-shadow: 0 6px 0 rgba(153, 125, 43, 0.2);
  font-size: clamp(36px, 5vw, 58px);
  transform: rotate(-0.8deg);
}

.content-page .intro {
  margin-bottom: 40px;
}

.content-page .intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.post-article {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 68px);
  border: 2px solid rgba(139, 117, 79, 0.36);
  border-radius: 44px 38px 48px 40px / 38px 46px 40px 48px;
  background:
    radial-gradient(circle, rgba(151, 128, 90, 0.08) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--paper);
  box-shadow: 0 10px 0 rgba(104, 124, 78, 0.13);
}

.post-header {
  max-width: 790px;
}

.post-header h1 {
  font-size: clamp(38px, 6vw, 67px);
}

.post-header .post-meta {
  margin: 22px 0 30px;
}

.hero-frame {
  position: relative;
  margin: 4px -14px 42px;
  padding: 9px;
  border: 2px solid var(--ink);
  border-radius: 32px 28px 35px 30px / 28px 34px 30px 35px;
  background: var(--sun);
  box-shadow: 0 7px 0 rgba(76, 63, 50, 0.2);
  transform: rotate(-0.35deg);
}

.hero-frame::after {
  position: absolute;
  width: 58px;
  height: 20px;
  top: -10px;
  left: 50%;
  background: rgba(255, 249, 220, 0.78);
  content: "";
  transform: translateX(-50%) rotate(2deg);
}

.hero {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 22px 19px 24px 20px / 19px 23px 20px 24px;
  background: var(--paper-deep);
}

.post-body {
  max-width: 730px;
  margin: 0 auto;
}

.post-body > p:first-child {
  color: var(--ink-strong);
  font-size: 1.08em;
}

.post-body a {
  font-weight: 650;
}

.post-discussion {
  margin-top: 44px;
  padding: 20px 22px;
  border: 1.5px solid #9ec8b2;
  border-radius: var(--radius);
  background: #eaf7ef;
  color: var(--muted);
  font-size: 15px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: 14px;
}

.tags li {
  margin: 0;
  padding: 0;
}

.tags a {
  display: inline-block;
  padding: 7px 13px;
  border: 1.5px solid #91b58e;
  border-radius: 999px;
  background: #edf7e8;
  color: var(--leaf-dark);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform var(--motion),
    background var(--motion);
}

.tags a:hover {
  background: #dff0d7;
  transform: translateY(-2px);
}

.link-list {
  display: grid;
  gap: 13px;
  max-width: 620px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.link-list li {
  margin: 0;
  padding: 0;
}

.link-list a {
  display: block;
  padding: 15px 18px;
  border: 2px solid #c7b99b;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 4px 0 rgba(112, 96, 69, 0.1);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  transition:
    border var(--motion),
    transform var(--motion);
}

.link-list a:hover {
  border-color: var(--lagoon);
  color: var(--lagoon-dark);
  transform: translateY(-2px);
}

.tool-categories {
  display: grid;
  gap: 34px;
}

.tool-category {
  padding: 28px;
  border: 2px solid #b9cba9;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 244, 0.82);
  box-shadow: 0 6px 0 rgba(91, 118, 76, 0.1);
}

.tool-category-header {
  margin-bottom: 18px;
}

.tool-category-header h2 {
  margin: 0;
  color: var(--leaf-dark);
  font-size: 27px;
}

.tool-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-list li {
  margin: 0;
  padding: 0;
}

.tool-list a {
  display: grid;
  grid-template-columns: minmax(130px, 0.22fr) minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 18px;
  border: 1.5px solid #cbbf9f;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition:
    border var(--motion),
    transform var(--motion);
}

.tool-list a:hover {
  border-color: var(--lagoon);
  transform: translateX(3px);
}

.tool-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
}

.tool-repository {
  color: var(--lagoon-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: break-word;
}

.tool-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.not-found {
  padding: clamp(32px, 7vw, 72px);
  border: 2px solid #d9b1a0;
  border-radius: 44px 38px 48px 40px;
  background:
    radial-gradient(ellipse at center, rgba(220, 122, 99, 0.13) 0 2px, transparent 2.7px) 0 0 / 41px 29px,
    #faede5;
  box-shadow: 0 8px 0 rgba(144, 91, 70, 0.12);
  text-align: center;
}

.not-found h1 {
  margin-bottom: 18px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.not-found-actions a:nth-child(2) {
  border-color: #b56a48;
  background: var(--peach);
  box-shadow: 0 4px 0 #b56a48;
  color: var(--ink);
}

.not-found-actions a:nth-child(3) {
  border-color: var(--leaf-dark);
  background: var(--leaf);
  box-shadow: 0 4px 0 var(--leaf-dark);
  color: var(--button-ink);
}

pre {
  overflow: auto;
  margin: 28px 0;
  padding: 22px;
  border: 2px solid var(--code-line);
  border-radius: var(--radius);
  background: var(--code-bg);
  box-shadow: 0 5px 0 rgba(63, 57, 53, 0.16);
  color: var(--code-ink);
  font-size: 16px;
  line-height: 1.58;
}

code {
  font-family: var(--font-mono);
  font-size: 0.91em;
}

:not(pre) > code {
  padding: 0.08em 0.34em;
  border: 1px solid #d8cba9;
  border-radius: 7px;
  background: var(--code-inline-bg);
  color: #5a4938;
}

blockquote {
  position: relative;
  margin: 30px 0;
  padding: 22px 24px 20px 30px;
  border: 1.5px solid #d1b55e;
  border-radius: 8px 24px 24px 8px;
  background: #fff7d9;
  color: var(--muted);
}

blockquote::before {
  position: absolute;
  top: -7px;
  left: 13px;
  color: #d4ab37;
  content: "✦";
  font-size: 20px;
}

blockquote > :last-child {
  margin-bottom: 0;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  margin-top: 70px;
  padding: 20px 25px;
  border: 2px solid rgba(93, 126, 83, 0.28);
  border-radius: 28px;
  background: rgba(255, 253, 244, 0.78);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  margin-left: auto;
}

.footer-sprout {
  position: relative;
  width: 15px;
  height: 22px;
  border-left: 3px solid var(--leaf-dark);
  transform: rotate(-3deg);
}

.footer-sprout::before,
.footer-sprout::after {
  position: absolute;
  width: 11px;
  height: 7px;
  border-radius: 100% 0 100% 0;
  background: var(--leaf);
  content: "";
}

.footer-sprout::before {
  top: 4px;
  left: -1px;
  transform: rotate(-16deg);
}

.footer-sprout::after {
  top: 10px;
  left: -12px;
  transform: scaleX(-1) rotate(-14deg);
}

@media (max-width: 860px) {
  .site {
    width: min(100% - 28px, 760px);
  }

  .site-header {
    align-items: flex-start;
    border-radius: 26px;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-copy {
    max-width: 680px;
  }

  .tool-list a {
    grid-template-columns: minmax(110px, 0.25fr) minmax(160px, 0.34fr) minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .site {
    width: min(100% - 20px, 620px);
    padding-top: 10px;
  }

  .site-header {
    gap: 12px;
    flex-direction: column;
    margin-bottom: 24px;
    padding: 13px;
  }

  .site-title {
    padding-left: 3px;
  }

  nav {
    width: 100%;
    justify-content: center;
    padding-top: 8px;
    border-top: 1.5px dashed #cfc3a8;
  }

  nav a {
    padding: 6px 9px;
    font-size: 12px;
  }

  .home-hero {
    margin-bottom: 52px;
    padding: 28px 22px 34px;
    border-radius: 32px 28px 34px 30px;
  }

  .home-hero h1 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .post-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .post-list > li {
    min-height: 250px;
  }

  .content-page main > h1,
  .content-page .intro h1 {
    padding: 14px 20px 16px;
  }

  .post-article {
    padding: 30px 19px 38px;
    border-radius: 31px 27px 34px 29px;
  }

  .post-header h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-frame {
    margin-right: -8px;
    margin-left: -8px;
  }

  .tool-category {
    padding: 21px 16px;
  }

  .tool-list a {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .site-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 48px;
  }

  .site-footer p:last-child {
    width: 100%;
    margin-left: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  nav a:hover,
  .hero-action:hover,
  .hero-action:active,
  .not-found-actions a:hover,
  .not-found-actions a:active,
  .post-list > li:hover,
  .post-list > li:hover .post-card-image,
  .tags a:hover,
  .link-list a:hover,
  .tool-list a:hover {
    transform: none !important;
  }
}
