:root {
  --acid-lime: #05c92f;
  --sticker-yellow: #fcea59;
  --cotton-pink: #ffd0e2;
  --powder-blue: #a7cbf6;
  --obsidian: #000000;
  --carbon: #0f0f0f;
  --ash-gray: #5a585a;
  --paper-white: #f9faf9;
  --pure-white: #ffffff;
  --bone: #ecefec;
  --plaster: #eeeeee;
  --font: 'Inter Tight', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --page-max: 1200px;
  --card-radius: 17.5px;
  --pill-radius: 35px;
  --large-radius: 53px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-white);
  color: var(--obsidian);
  font-family: var(--font);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--powder-blue);
  outline-offset: 3px;
}
img, svg { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--page-max)); margin-inline: auto; }

.site-header {
  min-height: 98px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; width: fit-content; }
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--carbon);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sticker-yellow);
  font-size: 12px;
  letter-spacing: -.02em;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  background: var(--bone);
  border-radius: 9px;
  font-size: 13px;
}
.nav-pill span { width: 1px; height: 15px; background: var(--carbon); opacity: .35; }
.nav-pill a:hover, .footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-action, .button-primary {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--carbon);
  color: white;
  padding: 13px 20px;
  border-radius: var(--pill-radius);
  font-size: 14px;
  font-weight: 600;
  transition: transform .16s ease;
}
.nav-action:hover, .button-primary:hover { transform: translateY(-1px); }

.hero { text-align: center; padding: 68px 0 58px; overflow: hidden; }
.eyebrow, .section-kicker { display: inline-block; font-size: 16px; color: var(--ash-gray); margin-bottom: 22px; }
.hero h1, .page-hero h1 {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(72px, 10.7vw, 138px);
  line-height: .79;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.hero-copy {
  max-width: 680px;
  margin: 35px auto 0;
  color: var(--ash-gray);
  font-size: 18px;
  line-height: 1.45;
}
.confetti-stage {
  margin: 54px auto 0;
  min-height: 170px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 980px;
}
.confetti-card, .principle-card, .project-card { border: 1px solid var(--carbon); border-radius: var(--card-radius); }
.confetti-card {
  padding: 24px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.confetti-card strong { font-size: 25px; line-height: 1.06; font-weight: 600; }
.confetti-tag { width: fit-content; background: white; border-radius: 14px; padding: 5px 8px; font-size: 11px; border: 1px solid rgba(15,15,15,.28); }
.yellow { background: var(--sticker-yellow); }
.pink { background: var(--cotton-pink); }
.blue { background: var(--powder-blue); }
.tilt-left { transform: rotate(-2.5deg) translateY(14px); }
.tilt-right { transform: rotate(2.2deg) translateY(-6px); }
.tilt-soft { transform: rotate(-1deg) translateY(17px); }

.featured-section, .principles-section, .about-section, .content-section { padding: 42px 0 100px; }
.featured-panel, .about-panel, .content-card {
  border: 1px solid var(--carbon);
  border-radius: var(--large-radius);
  background: var(--pure-white);
  padding: 50px;
}
.featured-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.featured-copy h2, .section-heading h2, .about-panel h2, .content-card h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .87;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.featured-copy p, .about-panel > p, .section-intro, .content-card p, .content-card li {
  color: var(--ash-gray);
  font-size: 16px;
  line-height: 1.55;
}
.featured-copy p { max-width: 490px; margin: 24px 0 28px; }
.inline-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--carbon);
  background: var(--pure-white);
  color: var(--obsidian);
  padding: 12px 18px;
  border-radius: var(--pill-radius);
  font-size: 14px;
  font-weight: 600;
}
.tool-preview {
  border: 1px solid var(--carbon);
  background: var(--sticker-yellow);
  border-radius: var(--card-radius);
  padding: 28px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.tool-preview-top { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.tool-preview small { color: rgba(15,15,15,.66); font-size: 12px; }
.tool-preview h3 { margin: 12px 0 0; font-size: clamp(42px, 5vw, 66px); line-height: .9; font-weight: 600; letter-spacing: -.03em; }
.preview-metric { margin-top: auto; font-size: clamp(60px, 7vw, 92px); line-height: .84; font-weight: 600; letter-spacing: -.045em; }
.preview-note { margin: 12px 0 0; font-size: 13px; max-width: 400px; line-height: 1.4; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.preview-grid div { background: white; border: 1px solid var(--carbon); border-radius: 13px; padding: 13px; }
.preview-grid span { display: block; color: var(--ash-gray); font-size: 10px; margin-bottom: 5px; }
.preview-grid strong { font-size: 17px; font-weight: 600; }

.section-heading { max-width: 900px; margin-bottom: 42px; }
.principle-grid, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle-card, .project-card { padding: 26px; min-height: 265px; display: flex; flex-direction: column; }
.principle-card > span, .project-card > span {
  display: inline-grid; place-items: center; width: fit-content; min-width: 36px; height: 28px; padding: 0 9px;
  background: white; border: 1px solid rgba(15,15,15,.3); border-radius: 14px; font-size: 11px;
}
.principle-card h3, .project-card h3 { margin: auto 0 12px; font-size: 32px; line-height: 1; font-weight: 600; }
.principle-card p, .project-card p { margin: 0; font-size: 14px; line-height: 1.45; }
.project-card .text-link { margin-top: 18px; font-size: 13px; font-weight: 600; }
.project-card.is-placeholder { background: var(--bone); color: var(--ash-gray); }

.about-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-panel p { margin: 0 0 18px; }
.about-panel p:last-child { margin-bottom: 0; }

.page-hero { padding: 54px 0 50px; }
.page-hero h1 { text-align: left; max-width: 1050px; margin: 0; font-size: clamp(68px, 9.4vw, 118px); }
.page-hero p { max-width: 660px; margin: 30px 0 0; color: var(--ash-gray); font-size: 18px; line-height: 1.48; }
.content-card { max-width: 920px; }
.content-card h2 { font-size: clamp(40px, 5vw, 62px); margin-top: 54px; }
.content-card h2:first-child { margin-top: 0; }
.content-card h3 { font-size: 24px; margin: 34px 0 12px; }
.content-card p { margin: 12px 0; }
.content-card ul { padding-left: 22px; }
.content-card li { margin: 8px 0; }
.content-card .legal-meta { font-size: 13px; color: var(--ash-gray); margin-bottom: 32px; }
.content-card .notice { background: var(--bone); border-radius: 14px; padding: 18px; margin: 24px 0; }
.content-card code { background: var(--bone); border-radius: 7px; padding: 2px 6px; font-size: .9em; }

.project-detail-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 26px; align-items: start; }
.project-facts { border: 1px solid var(--carbon); border-radius: var(--card-radius); padding: 24px; background: var(--sticker-yellow); position: sticky; top: 20px; }
.project-facts dl { margin: 0; }
.project-facts div { padding: 13px 0; border-bottom: 1px solid rgba(15,15,15,.28); }
.project-facts div:last-child { border-bottom: 0; }
.project-facts dt { color: rgba(15,15,15,.62); font-size: 11px; margin-bottom: 5px; }
.project-facts dd { margin: 0; font-size: 15px; font-weight: 600; }

.footer { border-top: 1px solid rgba(15,15,15,.35); padding: 34px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer p { color: var(--ash-gray); font-size: 13px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; font-size: 12px; color: var(--ash-gray); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-pill { display: none; }
  .hero { padding-top: 45px; }
  .hero h1 { font-size: clamp(62px, 14vw, 108px); }
  .confetti-stage { grid-template-columns: 1fr 1fr; }
  .confetti-stage .blue { grid-column: 1 / -1; width: 55%; justify-self: center; }
  .featured-grid, .about-panel, .project-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .principle-grid, .project-grid { grid-template-columns: 1fr; }
  .principle-card, .project-card { min-height: 220px; }
  .project-facts { position: static; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 24px), var(--page-max)); }
  .site-header { min-height: 78px; }
  .brand > span:last-child { display: none; }
  .nav-action { padding: 11px 16px; }
  .hero { padding: 42px 0 38px; }
  .eyebrow, .section-kicker { font-size: 14px; }
  .hero h1 { font-size: clamp(56px, 18vw, 82px); line-height: .8; }
  .hero-copy { font-size: 16px; margin-top: 28px; }
  .confetti-stage { display: flex; overflow-x: auto; min-height: 155px; justify-content: flex-start; gap: 10px; padding: 6px 4px 14px; }
  .confetti-card { min-width: 235px; transform: none; }
  .confetti-stage .blue { width: auto; }
  .featured-panel, .about-panel, .content-card { padding: 28px 20px; border-radius: 32px; }
  .featured-copy h2, .section-heading h2, .about-panel h2, .content-card h2 { font-size: clamp(45px, 14vw, 64px); }
  .tool-preview { min-height: 340px; padding: 22px 18px; }
  .preview-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 38px; }
  .page-hero h1 { font-size: clamp(56px, 17vw, 80px); }
  .page-hero p { font-size: 16px; }
  .footer { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
