/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html,
  :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block;
    vertical-align: middle;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or
    (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]),
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .table {
    display: table;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
:root {
  --ink: #182321;
  --muted: #61706c;
  --paper: #f4f1e9;
  --card: #fffdf7;
  --line: #d9d5c9;
  --green: #0d5e4d;
  --green-dark: #08483b;
  --lime: #c9f26d;
  --orange: #ff7d4a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), system-ui, sans-serif;
}
button, input {
  font: inherit;
}
a {
  color: inherit;
}
.hero {
  color: #f7f4e9;
  background: radial-gradient(circle at 86% 22%, rgba(201,242,109,.19), transparent 24rem),
    linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 7px solid var(--lime);
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  text-decoration: none;
  font-family: var(--font-geist-mono), monospace;
  font-weight: 800;
  font-size: 21px;
}
.prompt, .slash {
  color: var(--lime);
}
.badge {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-copy {
  max-width: 780px;
  padding: 74px 0 54px;
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--lime);
  font: 700 13px var(--font-geist-mono), monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(45px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}
.lede {
  max-width: 660px;
  margin: 25px 0 32px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}
.search {
  display: flex;
  align-items: center;
  max-width: 680px;
  height: 62px;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}
.search > span {
  font-size: 31px;
  color: var(--green);
  transform: rotate(-20deg);
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 16px;
  background: transparent;
}
.search button {
  border: 0;
  background: transparent;
  color: #68736f;
  font-size: 27px;
  cursor: pointer;
}
.quick {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 18px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
}
.quick code {
  color: var(--lime);
}
.layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
aside {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow: auto;
  padding: 48px 0;
}
nav {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.nav-title {
  margin: 0 0 22px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.nav-group {
  margin: 0 0 20px;
  display: grid;
  gap: 6px;
}
.nav-group span {
  margin-bottom: 2px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav-group a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}
.nav-group a:hover {
  color: var(--green);
}
.content {
  min-width: 0;
  padding: 44px 0 90px;
}
.result-line {
  display: flex;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.chapter {
  padding-top: 49px;
}
.chapter > h2 {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
article {
  min-width: 0;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 3px 0 rgba(24,35,33,.04);
}
.article-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.article-head h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.02em;
}
.article-head a {
  color: #a6afa8;
  text-decoration: none;
  font-family: monospace;
}
article > p {
  margin: 11px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}
.syntax {
  display: grid;
  gap: 7px;
  margin: 0 0 13px;
}
.syntax span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.syntax code {
  color: var(--green);
  font: 600 13px var(--font-geist-mono), monospace;
}
.code-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #172421;
}
pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #e9f1d8;
  font: 12.5px/1.65 var(--font-geist-mono), monospace;
  tab-size: 2;
}
.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0;
  padding: 5px 8px;
  border: 1px solid #4c5b56;
  border-radius: 3px;
  background: #22322e;
  color: #dfe8da;
  font-size: 10px;
  cursor: pointer;
  transition: opacity .15s;
}
.code-wrap:hover .copy, .copy:focus {
  opacity: 1;
}
article ul {
  margin: 17px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
article li + li {
  margin-top: 5px;
}
.empty {
  padding: 100px 20px;
  text-align: center;
}
.empty > span {
  color: var(--orange);
  font: 700 60px var(--font-geist-mono), monospace;
}
.empty h2 {
  margin: 10px 0;
}
.empty p {
  color: var(--muted);
}
.empty button {
  padding: 10px 15px;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: white;
  cursor: pointer;
}
footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  background: #172421;
  color: #dce5df;
  font-size: 12px;
}
footer div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
footer strong {
  color: var(--lime);
  font-family: var(--font-geist-mono), monospace;
}
footer p {
  margin: 0;
  color: #a9b5b0;
}
footer code {
  color: #fff;
}
footer a {
  color: var(--lime);
  text-decoration: none;
}
@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 30px));
  }
  aside {
    display: none;
  }
  .content {
    padding-top: 28px;
  }
  .hero {
    padding-inline: 20px;
  }
  .hero-copy {
    padding: 60px 0 42px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .badge {
    display: none;
  }
  .quick {
    align-items: flex-start;
    flex-direction: column;
  }
  article {
    padding: 20px;
  }
  .result-line span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
