/* Base */
:root {
  --bg: #f7f8f6;
  --panel: rgba(255, 255, 255, .82);
  --ink: #08172e;
  --muted: #59677b;
  --line: #dce2df;
  --green: #007b63;
  --green2: #1fa183;
  --soft: #eef5f2;
  --shadow: 0 12px 34px rgba(16, 38, 44, .09);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fbfaf8 0, #f4f7f5 100%);
  color: var(--ink)
}

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

button {
  font: inherit
}

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

/* Componenti condivisi */
.site-header {
  height: 96px;
  max-width: 1480px;
  margin: auto;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 20
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px
}

.brand-mark {
  width: 58px;
  color: var(--green)
}

.brand-copy {
  display: flex;
  flex-direction: column
}

.brand-copy strong {
  font-size: 29px;
  letter-spacing: -1px
}

.brand-copy strong span {
  color: var(--green)
}

.brand-copy small {
  color: var(--muted);
  margin-top: 7px;
  font-size: 13px
}

.desktop-nav {
  display: flex;
  gap: 38px;
  justify-content: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .02em
}

.desktop-nav a {
  padding: 10px 0;
  position: relative
}

.desktop-nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--green)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.icon-btn,
.menu-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .74);
  color: var(--green);
  font-size: 26px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease
}

.icon-btn:hover,
.menu-btn:hover {
  background: var(--soft);
  border-color: var(--green)
}

.menu-btn {
  display: none
}

main {
  max-width: 1480px;
  margin: auto;
  padding: 0 34px 22px
}

.hero {
  height: 430px;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: stretch;
  position: relative
}

.hero-copy {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 34px 28px;
  z-index: 2
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 14px
}

.hero h1 {
  font-size: 64px;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -3px;
  max-width: 610px
}

.hero h1 span {
  color: var(--green)
}

.lead {
  max-width: 490px;
  font-size: 19px;
  line-height: 1.6;
  margin: 18px 0 22px
}

.hero-actions {
  display: flex;
  gap: 16px
}

.btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  border: 1px solid #c8d0cd
}

.btn.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 8px 16px rgba(0, 123, 99, .2)
}

.btn.secondary {
  background: rgba(255, 255, 255, .7)
}

.hero-art {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 22px 0
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.art-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(247, 248, 246, .15) 28%, rgba(255, 255, 255, 0) 60%)
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.6fr);
  gap: 30px;
  margin-top: 10px;
  padding: 34px 38px;
  scroll-margin-top: 18px
}

.about-intro {
  border-right: 1px solid var(--line);
  padding-right: 32px
}

.about-intro h2 {
  max-width: 410px;
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -1px
}

.about-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px
}

.about-copy article {
  border-top: 1px solid var(--line);
  padding-top: 16px
}

.about-copy h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 15px;
  letter-spacing: .02em
}

.about-copy p {
  margin: 0;
  color: #26384b;
  font-size: 15px;
  line-height: 1.68
}

.about-closing {
  grid-column: 1/-1;
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 18px
}

/* Componenti panel */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow)
}

.panel-head {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px
}

.panel-head h2 {
  font-size: 14px;
  letter-spacing: .07em;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px
}

.panel-head h2:after {
  content: "";
  width: 70px;
  height: 1px;
  background: #c9cfcd;
  margin-left: 7px
}

.panel-head a {
  font-size: 12px;
  color: var(--green);
  font-weight: 700
}

/* Garden */
.garden-home-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.8fr);
  gap: 18px;
  padding: 0 20px 22px
}

.garden-primer {
  display: grid;
  gap: 10px;
  align-content: start;
  border-left: 3px solid var(--green);
  padding: 2px 0 4px 16px
}

.garden-primer p {
  margin: 0;
  color: #26384b;
  font-size: 17px;
  line-height: 1.68
}

.garden-primer strong {
  color: var(--green);
  font-weight: 800
}

.garden-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px
}

.garden-chapter {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e1e5e3;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .045)
}

.garden-chapter:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 38, 44, .1)
}

.chapter-image-slot {
  flex: 0 0 150px;
  height: 150px;
  background:
    linear-gradient(135deg, rgba(16, 47, 43, .08), rgba(39, 112, 182, .08)),
    #f4f8f6;
  border-bottom: 1px solid #dce4e0
}

.chapter-image-slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover
}

.chapter-heading {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #eef5f2
}

.chapter-heading span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #102f2b;
  color: #fff;
  font-size: 11px;
  font-weight: 800
}

.chapter-heading h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.18
}

.chapter-heading p {
  margin: 8px 0 0;
  color: #405066;
  font-size: 14px;
  line-height: 1.6
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  color: white;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 10px
}

.tag:before {
  font-size: 11px;
  line-height: 1
}

.evergreen {
  background: #0a8b71
}

.tag.evergreen:before {
  content: "🌿"
}

.growing {
  background: #7844bf
}

.tag.growing:before {
  content: "🌱"
}

.seed {
  background: #2770b6
}

.tag.seed:before {
  content: "✹"
}

.garden-section-head {
  margin: 34px 0 12px
}

.garden-section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0
}

.garden-layout {
  margin-top: 10px
}

.garden-feed {
  display: grid;
  gap: 12px
}

.garden-chapter-group {
  display: grid;
  gap: 12px;
  scroll-margin-top: 16px
}

.garden-chapter-intro {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 245, 242, .82)
}

.garden-chapter-intro > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #102f2b;
  color: #fff;
  font-size: 13px;
  font-weight: 800
}

.garden-chapter-intro .eyebrow {
  margin-bottom: 6px
}

.garden-chapter-intro h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0
}

.garden-chapter-intro p:last-child {
  max-width: 760px;
  margin: 8px 0 0;
  color: #405066;
  font-size: 15px;
  line-height: 1.65
}

.garden-article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 230px 250px;
  gap: 0;
  overflow: hidden;
  scroll-margin-top: 16px
}

.article-cover {
  position: relative;
  min-height: 100%;
  background: #dfe8e5;
  color: inherit;
  overflow: hidden;
  text-decoration: none
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease
}

.article-cover:hover img {
  transform: scale(1.03)
}

.article-content {
  padding: 28px 30px 30px
}

.article-meta {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase
}

.article-content h2 {
  margin: 9px 0 16px;
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: 0
}

.article-content h2 a {
  color: inherit;
  text-decoration: none
}

.article-content h2 a:hover {
  color: var(--green)
}

.article-content p {
  color: #26384b;
  font-size: 16px;
  line-height: 1.76;
  margin: 0 0 14px
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800
}

.article-reasoning {
  border-left: 1px solid var(--line);
  padding: 24px 18px;
  background: rgba(255, 255, 255, .46)
}

.article-reasoning h3 {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase
}

.article-reasoning ol {
  position: relative;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px
}

.article-reasoning ol:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #b8c8c1
}

.article-reasoning li {
  position: relative;
  display: grid;
  gap: 4px
}

.article-reasoning li:before {
  content: "";
  position: absolute;
  left: -17px;
  top: 4px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff
}

.article-reasoning span {
  color: #1e2f42;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25
}

.article-reasoning small {
  color: #526174;
  font-size: 11px;
  line-height: 1.35
}

.article-evolution {
  border-left: 1px solid var(--line);
  padding: 28px 22px;
  background: rgba(238, 245, 242, .58)
}

.article-evolution h3 {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--green);
  letter-spacing: .09em;
  text-transform: uppercase
}

.article-evolution ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px
}

.article-evolution li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  color: #334155;
  font-size: 12px;
  line-height: 1.45
}

.garden-article .article-evolution li {
  grid-template-columns: 44px 1fr;
  gap: 6px
}

.article-evolution time {
  color: var(--green);
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase
}

.article-evolution p {
  border-top: 1px solid var(--line);
  margin: 18px 0 0;
  padding-top: 16px;
  color: #334155;
  font-size: 12px;
  line-height: 1.5
}

/* Articoli */
.article-hero {
  margin-bottom: 10px
}

.article-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
  margin-top: 10px
}

.article-body {
  padding: 38px 42px
}

.article-seed {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--green);
  background: rgba(238, 245, 242, .72)
}

.article-seed span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.article-seed span:before {
  content: "✹";
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  line-height: 1
}

.article-body .article-seed p {
  color: #213146;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 700;
  margin: 0
}

.article-body p {
  color: #26384b;
  font-size: 17px;
  line-height: 1.82;
  margin: 0 0 20px
}

.article-body h2 {
  margin: 34px 0 14px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -1px
}

.article-body blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--green);
  background: rgba(238, 245, 242, .72);
  color: #213146;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700
}

.article-section {
  scroll-margin-top: 24px
}

.article-milestones {
  display: grid;
  gap: 12px;
  margin: 4px 0 24px;
  padding: 0;
  list-style: none
}

.article-milestones li {
  position: relative;
  padding: 15px 18px 15px 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .54);
  color: #26384b;
  font-size: 16px;
  line-height: 1.65
}

.article-milestones li:before {
  content: "";
  position: absolute;
  top: 23px;
  left: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 123, 99, .1)
}

.article-question {
  padding: 20px 24px;
  border-left: 3px solid var(--green);
  background: rgba(238, 245, 242, .72);
  color: #213146 !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
  font-weight: 700
}

.article-side {
  position: sticky;
  top: 18px
}

.article-side .panel + .panel {
  margin-top: 18px
}

.article-backpack {
  padding: 20px 22px
}

.article-backpack h3 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase
}

.article-backpack-list {
  display: grid;
  gap: 10px
}

.article-backpack-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62)
}

.article-backpack-item strong {
  color: #1e2f42;
  font-size: 14px
}

.article-backpack-item small {
  color: #455267;
  font-size: 14px;
  line-height: 1.55
}

.backpack-kind {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(238, 245, 242, .78)
}

.article-nav {
  padding: 20px 22px
}

.article-nav h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase
}

.article-side .side-kicker {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase
}

.article-evolution .side-kicker,
.article-backpack .side-kicker {
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3
}

.article-nav a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 800
}

.article-nav a:has(> span) {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: baseline
}

.article-nav a > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em
}

.article-nav a:first-of-type {
  border-top: 0;
  padding-top: 0
}

.thinking-head {
  display: grid;
  gap: 12px;
  margin-bottom: 8px
}

.thinking-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .58)
}

.thinking-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #536174;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer
}

.thinking-tabs button.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 123, 99, .16)
}

.thinking-panel[hidden] {
  display: none
}

.reasoning-trail {
  display: grid;
  gap: 6px;
  margin-top: 12px
}

.reasoning-node {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  color: #253348;
  cursor: pointer;
  transition: color .2s ease
}

.reasoning-node:hover,
.reasoning-node.active {
  color: var(--green)
}

.reasoning-node > span:first-child {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #59677b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1
}

.reasoning-node:hover > span:first-child,
.reasoning-node.active > span:first-child {
  border-color: var(--green);
  background: var(--green);
  color: #fff
}

.reasoning-copy {
  display: grid;
  gap: 3px
}

.reasoning-node strong {
  font-size: 13px;
  line-height: 1.25
}

.reasoning-node small {
  color: #59677b;
  font-size: 11px;
  line-height: 1.35
}

.reasoning-anchor {
  scroll-margin-top: 24px;
  transition: background .25s ease, box-shadow .25s ease
}

.reasoning-anchor.reasoning-focus {
  background: rgba(238, 245, 242, .92);
  box-shadow: 0 0 0 12px rgba(238, 245, 242, .92)
}

/* Backpack */
.backpack {
  margin-top: 10px;
  padding-bottom: 8px
}

.backpack-home-layout {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: start;
  padding: 0 12px 0
}

.backpack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0
}

.backpack-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 9px;
  align-items: center;
  border: 1px solid #e0e4e2;
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .72);
  min-height: 66px
}

.backpack-item strong {
  font-size: 12px
}

.backpack-item small {
  display: block;
  color: #455267;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px
}

.backpack-item>span {
  font-size: 24px
}

.app-icon {
  font-size: 28px;
  text-align: center
}

.backpack-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px
}

.tool-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  grid-template-rows: 72px 126px auto;
  column-gap: 18px;
  row-gap: 14px;
  align-content: start;
  padding: 22px;
  scroll-margin-top: 16px
}

.tool-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--soft);
  color: var(--green);
  font-size: 38px;
  border: 1px solid var(--line)
}

.tool-copy small {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em
}

.tool-copy h2 {
  margin: 6px 0 10px;
  font-size: 25px;
  letter-spacing: -1px
}

.tool-description {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: #2f4054;
  font-size: 16px;
  line-height: 1.72
}

.source-list {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 3;
  gap: 10px;
  margin-top: 0
}

.source-item {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.source-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 123, 99, .28);
  box-shadow: 0 12px 24px rgba(16, 38, 44, .08)
}

.source-item span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase
}

.source-title,
.source-item > strong {
  color: #1e2f42;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25
}

.source-item > small {
  color: #455267;
  font-size: 14px;
  line-height: 1.55
}

.source-item p {
  margin: 0;
  color: #455267;
  font-size: 14px;
  line-height: 1.6
}

.source-item > small b {
  color: #26384b;
  font-weight: 800
}

.source-feeds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px
}

.source-feeds small,
.source-feeds a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(238, 245, 242, .68)
}

.source-feeds small {
  color: var(--green);
  text-transform: uppercase
}

.source-feeds a {
  color: #455267;
  transition: color .2s ease, border-color .2s ease, background .2s ease
}

.source-feeds a:hover {
  color: var(--green);
  border-color: rgba(0, 123, 99, .28);
  background: rgba(255, 255, 255, .85)
}

/* Componenti finali */
footer {
  max-width: 1480px;
  margin: auto;
  padding: 0 75px 28px;
  display: flex;
  justify-content: space-between;
  color: #637182;
  font-size: 11px
}

.mobile-drawer {
  position: fixed;
  right: -320px;
  top: 0;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 100;
  padding: 70px 30px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: .3s
}

.mobile-drawer.open {
  right: 0
}

.mobile-drawer button {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: none;
  font-size: 30px
}

.mobile-drawer a {
  font-size: 20px;
  font-weight: 700
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: .65s
}

.reveal.visible {
  opacity: 1;
  transform: none
}

/* Dark mode */
body.dark {
  --bg: #0b1318;
  --panel: rgba(19, 31, 35, .88);
  --ink: #ecf5f1;
  --muted: #9baaa7;
  --line: #26383a;
  background: #0b1318
}

.dark .garden-chapter,
.dark .backpack-item {
  background: #142126;
  border-color: #26383a
}

.dark .garden-chapter-intro {
  background: rgba(19, 31, 35, .88);
  border-color: #26383a
}

.dark .garden-chapter-intro > span {
  background: #d6efe4;
  color: #102f2b
}

.dark .garden-chapter-intro p:last-child {
  color: #b3c0bd
}

.dark .chapter-heading {
  background: #102026
}

.dark .chapter-heading span {
  background: #d6efe4;
  color: #102f2b
}

.dark .chapter-image-slot {
  background:
    linear-gradient(135deg, rgba(70, 214, 181, .12), rgba(49, 95, 159, .12)),
    #101c21;
  border-color: #26383a
}

.dark .chapter-heading p,
.dark .garden-primer p,
.dark .backpack-item small,
.dark .about-copy p,
.dark .tool-description,
.dark .article-content p,
.dark .article-body p,
.dark .article-milestones li,
.dark .article-evolution li,
.dark .article-evolution p {
  color: #b3c0bd
}

.dark .article-milestones li {
  background: rgba(19, 31, 35, .72);
  border-color: #26383a
}

.dark .article-seed {
  background: rgba(27, 49, 48, .72)
}

.dark .article-body .article-seed p {
  color: #dbe7e2
}

.dark .garden-section-head h2 {
  color: #f3f6f5
}

.dark .source-item,
.dark .source-feeds small,
.dark .source-feeds a,
.dark .article-backpack-item,
.dark .backpack-kind {
  background: rgba(20, 33, 38, .9);
  border-color: #26383a
}

.dark .source-title,
.dark .source-item > strong,
.dark .article-backpack-item strong {
  color: #dbe7e2
}

.dark .source-item > small,
.dark .source-item p,
.dark .source-feeds a,
.dark .article-backpack-item small {
  color: #b3c0bd
}

.dark .source-feeds a:hover {
  color: #46d6b5;
  border-color: rgba(70, 214, 181, .32);
  background: rgba(20, 33, 38, 1)
}

.dark .article-reasoning {
  background: rgba(14, 28, 31, .48);
  border-color: #26383a
}

.dark .article-reasoning ol:before {
  background: #3a5655
}

.dark .article-reasoning li:before {
  background: #142126;
  border-color: #46d6b5
}

.dark .article-reasoning span {
  color: #dbe7e2
}

.dark .article-reasoning small {
  color: #b3c0bd
}

.dark .article-evolution {
  background: rgba(14, 28, 31, .62)
}

.dark .article-body blockquote {
  background: rgba(14, 28, 31, .62);
  color: #d8e7e2
}

.dark .thinking-tabs {
  background: rgba(20, 33, 38, .72);
  border-color: #26383a
}

.dark .reasoning-node {
  border-color: #26383a;
  color: #b3c0bd
}

.dark .thinking-tabs button {
  color: #aab8b5
}

.dark .reasoning-node:hover,
.dark .reasoning-node.active {
  color: #46d6b5
}

.dark .reasoning-node > span:first-child {
  border-color: #3a5655;
  color: #aab8b5
}

.dark .reasoning-node:hover > span:first-child,
.dark .reasoning-node.active > span:first-child {
  border-color: #46d6b5;
  background: #46d6b5;
  color: #0b1318
}

.dark .reasoning-node small {
  color: #9baaa7
}

.dark .reasoning-anchor.reasoning-focus {
  background: rgba(14, 28, 31, .8);
  box-shadow: 0 0 0 12px rgba(14, 28, 31, .8)
}

.dark .icon-btn,
.dark .menu-btn {
  background: rgba(20, 33, 38, .95);
  border-color: #3a5655;
  color: #46d6b5
}

.dark .icon-btn:hover,
.dark .menu-btn:hover {
  background: rgba(31, 161, 131, .18);
  border-color: #46d6b5
}

/* Responsive */
@media (max-width:1100px) {
  .site-header {
    grid-template-columns: 1fr auto
  }

  .desktop-nav {
    display: none
  }

  .menu-btn {
    display: block
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 330px 1fr;
    height: 620px
  }

  .hero-art {
    order: -1;
    border-radius: 18px
  }

  .hero-copy {
    padding: 28px 10px
  }

  .hero h1 {
    font-size: 54px
  }

  .dashboard-grid {
    grid-template-columns: 1fr
  }

  .about {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .about-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 22px
  }

  .about-copy {
    grid-template-columns: 1fr
  }

  .backpack-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .garden-article {
    grid-template-columns: 220px minmax(0, 1fr)
  }

  .article-reasoning {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .article-evolution {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line)
  }

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

  .article-page-layout {
    grid-template-columns: 1fr
  }

  .article-side {
    position: static
  }
}

@media (max-width:700px) {

  .site-header,
  main {
    padding-left: 16px;
    padding-right: 16px
  }

  .site-header {
    height: 78px
  }

  .brand-copy strong {
    font-size: 22px
  }

  .brand-copy small {
    display: none
  }

  .brand-mark {
    width: 44px
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px
  }

  .lead {
    font-size: 17px
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start
  }

  .hero-art {
    min-height: 0
  }

  .hero {
    grid-template-rows: 260px 1fr;
    height: 560px
  }

  .garden-chapters {
    grid-template-columns: 1fr
  }

  .garden-home-layout,
  .backpack-home-layout {
    grid-template-columns: 1fr;
    padding: 0 16px 20px
  }

  .garden-primer p {
    font-size: 16px
  }

  .garden-chapter-intro {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px
  }

  .garden-chapter-intro > span {
    width: 34px;
    height: 34px;
    font-size: 11px
  }

  .garden-chapter-intro h3 {
    font-size: 22px
  }

  .garden-chapter-intro p:last-child {
    font-size: 15px
  }

  .chapter-image-slot {
    flex-basis: 170px;
    height: 170px;
    border-bottom: 1px solid #dce4e0
  }

  .chapter-heading {
    padding: 16px
  }

  .backpack-grid {
    grid-template-columns: 1fr
  }

  .about {
    padding: 24px 20px
  }

  .about-intro h2 {
    font-size: 28px
  }

  .garden-article,
  .backpack-page-grid {
    grid-template-columns: 1fr
  }

  .article-reasoning {
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .tool-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px
  }

  .tool-description {
    grid-row: auto
  }

  .source-list {
    grid-row: auto
  }

  .article-cover {
    min-height: 220px
  }

  .article-content,
  .article-evolution {
    padding: 22px 18px
  }

  .article-content h2 {
    font-size: 26px
  }

  .article-body {
    padding: 24px 18px
  }

  .article-body p {
    font-size: 15px;
    line-height: 1.72
  }

  .article-body h2 {
    font-size: 24px
  }

  footer {
    padding: 0 24px 22px
  }

  .header-actions .icon-btn {
    display: none
  }
}
