:root {
  --ink: #151816;
  --muted: #66736e;
  --line: #dfe8e4;
  --paper: #f8faf8;
  --soft: #eef5f1;
  --green: #17614f;
  --green-2: #0f3f34;
  --gold: #17614f;
  --coral: #17614f;
  --mint: #dceee7;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(21, 24, 22, 0.08);
  --shadow-soft: 0 16px 40px rgba(21, 24, 22, 0.06);
  --radius: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 6%, rgba(23, 97, 79, 0.1), transparent 30rem),
    radial-gradient(circle at 6% 28%, rgba(23, 97, 79, 0.045), transparent 24rem),
    linear-gradient(90deg, rgba(21, 24, 22, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 24, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 52px 52px, 52px 52px;
  color: var(--ink);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 248, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}

.brand,
.nav-links,
.hero-actions,
.proof-grid,
.footer-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--paper);
  background: linear-gradient(145deg, var(--green), var(--green-2));
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 10px 14px;
  color: var(--paper);
  background: var(--green);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease), background 0.28s var(--ease);
}

.nav-cta:hover {
  background: var(--green-2);
  transform: translateY(-1px);
}

.nav-cta:active,
.button:active,
.tab:active {
  transform: scale(0.98);
}

.hero {
  display: grid;
  align-items: center;
  padding: 62px 0 66px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(380px, 0.72fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5.8vw, 5.25rem);
  font-weight: 900;
  line-height: 0.98;
}

.hero-copy p {
  max-width: 660px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
}

.button.primary {
  color: var(--paper);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-2);
}

.button.secondary {
  color: var(--green);
  background: var(--white);
  border-color: var(--line);
}

.button:hover {
  transform: translateY(-2px);
}

.button.full {
  width: 100%;
}

.finder-card,
.guide-card,
.roadmap-grid > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.finder-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform-origin: center;
}

.finder-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: shimmer-line 4.8s var(--ease) infinite;
}

.finder-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.finder-head strong {
  color: var(--green);
}

.search-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

#workflow-search {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

#workflow-search:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 97, 79, 0.12);
}

.workflow-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease);
}

.tab.active {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.workflow-results {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
  scrollbar-color: rgba(23, 97, 79, 0.45) transparent;
  scrollbar-width: thin;
}

.workflow-row {
  display: block;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease);
}

.workflow-row:hover {
  transform: translateX(4px);
  border-color: var(--green);
  background: var(--white);
}

.workflow-row span {
  display: block;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-row strong {
  display: block;
  margin-top: 3px;
  line-height: 1.25;
}

.workflow-row.locked {
  opacity: 0.72;
}

.workflow-row.hidden {
  display: none;
}

.workflow-empty {
  display: none;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(248, 250, 248, 0.7);
  font-weight: 700;
}

.workflow-empty.visible {
  display: block;
}

.proof-band {
  background: var(--ink);
  color: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.85fr;
  gap: 28px;
  padding: 32px 0;
}

.proof-grid div {
  max-width: 320px;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid span {
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.92rem;
}

.library,
.roadmap {
  padding: 88px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 0.98;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.guide-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 26px;
  grid-column: span 2;
  box-shadow: var(--shadow-soft);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
  will-change: transform;
}

.guide-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.feature-card {
  grid-column: span 3;
  min-height: 360px;
  background: var(--green);
  color: var(--paper);
}

.library-grid .guide-card:nth-child(2),
.library-grid .guide-card:nth-child(3) {
  grid-column: span 3;
}

.guide-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card .guide-kicker {
  color: var(--mint);
}

.guide-card h3 {
  margin-top: 18px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
}

.guide-card p {
  margin-top: 16px;
  color: var(--muted);
}

.feature-card p {
  color: rgba(255, 253, 248, 0.78);
}

.guide-link {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.feature-card .guide-link {
  color: var(--mint);
}

.topics {
  padding: 88px 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.topics .section-intro p {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.topic-list a,
.topic-list div {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.topic-list a:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.topic-list span {
  display: block;
  color: var(--coral);
  font-weight: 900;
}

.topic-list strong {
  display: block;
  margin-top: 18px;
  font-size: 1.1rem;
}

.topic-list p {
  margin-top: 8px;
  color: var(--muted);
}


.roadmap-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 1.15fr 0.85fr;
  gap: 14px;
}

.roadmap-grid > div {
  min-height: 220px;
  padding: 22px;
  box-shadow: none;
}

.roadmap-grid span {
  display: block;
  color: var(--coral);
  font-weight: 900;
}

.roadmap-grid strong {
  display: block;
  margin-top: 24px;
  font-size: 1.08rem;
}

.roadmap-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.58);
}

.footer-grid {
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-grid strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--green);
}

.page-main {
  padding: 78px 0 92px;
}

.page-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.page-shell p,
.page-shell li {
  color: var(--muted);
  font-size: 1.05rem;
}

.page-shell p {
  margin-top: 18px;
}

.page-shell h2 {
  margin-top: 38px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.page-shell ul {
  margin-top: 16px;
  padding-left: 22px;
}

.guides-filter {
  margin-bottom: 28px;
}

.guides-filter strong {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guides-filter-tabs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}

.guides-filter-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease);
}

.guides-filter-tab:hover {
  transform: translateY(-1px);
  border-color: var(--green);
}

.guides-filter-tab.active {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.article-main {
  padding: 70px 0 86px;
}

.article-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.article-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: clamp(2.7rem, 7vw, 5.7rem);
}

.article-meta {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.article-body {
  padding-top: 34px;
  font-size: 1.06rem;
}

.article-body h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 17px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.prompt-box,
blockquote {
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
}

.prompt-box {
  padding: 20px;
  white-space: pre-wrap;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.94rem;
  line-height: 1.55;
}

blockquote {
  padding: 18px 20px;
  color: var(--green);
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.related-grid a {
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--green);
  font-weight: 900;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.related-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

@keyframes shimmer-line {
  0% {
    transform: translateX(-100%);
    opacity: 0.2;
  }
  35%,
  65% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .finder-card {
    animation: float-card 7s var(--ease) infinite;
  }

  .guide-card,
  .topic-list a,
  .roadmap-grid > div {
    animation: rise-in 0.72s var(--ease) backwards;
  }

  .guide-card:nth-child(2n),
  .topic-list a:nth-child(2n) {
    animation-delay: 0.08s;
  }

  .guide-card:nth-child(3n),
  .topic-list a:nth-child(3n) {
    animation-delay: 0.16s;
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .topics-grid,
  .library-grid {
    grid-template-columns: 1fr;
  }

  .guide-card,
  .feature-card,
  .library-grid .guide-card:nth-child(2),
  .library-grid .guide-card:nth-child(3) {
    grid-column: span 1;
  }

  .proof-grid,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding: 56px 0 62px;
  }

  .guides-filter-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .shell,
  .article-shell {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions .button,
  .workflow-tabs,
  .guides-filter-tabs,
  .topic-list,
  .related-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .finder-card,
  .guide-card {
    padding: 18px;
  }
}
