:root {
  color-scheme: light;
  --paper: #f3f7fa;
  --cream: #ffedbd;
  --ink: #183f34;
  --muted: #4a665a;
  --line: #c1d0d5;
  --sky: #deebed;
  --sage: #e0e9d8;
  --white: #fcfdff;
  --focus: #155eb0;
  --display: "Figtree", system-ui, sans-serif;
  --body: var(--display);
  --edge: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
::selection { color: var(--ink); background: var(--cream); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -.05em; }
h2 { font-size: clamp(2.6rem, 5.2vw, 5.4rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 2.15rem); }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
em { color: #4c6a48; font-weight: 500; }
.wrap { width: min(100% - var(--edge) * 2, 1192px); margin-inline: auto; }
.section { padding-block: clamp(66px, 9vw, 126px); }
.mono { font: 500 .71rem/1.35 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; background: var(--white); }
.header { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 1.25rem; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; flex: 0 0 32px; }
.header nav { display: flex; gap: clamp(16px, 2.8vw, 37px); align-items: center; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
html:has(.home-page) { scroll-padding-top: 92px; }
.home-page .header { position: sticky; top: 0; z-index: 4; }
.home-page .header-inner { min-height: 68px; }
.home-page .header nav { gap: clamp(14px, 2.8vw, 36px); }
.home-page .header nav a { position: relative; }
.home-page .header nav a::after {
  content: ""; position: absolute; inset: auto 0 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease);
}
.home-page .header nav a:is(:hover, :focus-visible) { text-decoration: none; }
.home-page .header nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.header .nav-newsletter {
  display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding-inline: 14px;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease);
}
.header .nav-newsletter:hover { background: #2d5a48; }
.home-stage {
  isolation: isolate; overflow: hidden; position: relative; display: grid; align-content: center;
  min-height: clamp(415px, 60svh, 510px);
  padding-block: clamp(52px, 8vh, 82px) clamp(103px, 14vh, 132px);
  text-align: center;
  background: #d3e6ee;
}
.garden, .home-stage::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.garden { object-fit: cover; object-position: center 61%; }
.home-stage::after {
  content: ""; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 34%, rgb(249 250 235 / .97) 0%, rgb(243 247 232 / .89) 25%, rgb(240 246 230 / .48) 45%, transparent 68%),
    linear-gradient(0deg, rgb(29 54 28 / .33), transparent 30%);
}
.stage-content { width: min(100% - var(--edge) * 2, 1040px); }
.home-stage h1 { font-size: clamp(3.9rem, 8.3vw, 7.5rem); line-height: .95; letter-spacing: -.072em; }
.home-stage h1 span { color: #53744d; }
.stage-lead {
  position: relative; isolation: isolate;
  max-width: 42ch; margin: 22px auto 0; font-size: clamp(1rem, 1.6vw, 1.27rem);
  line-height: 1.48; text-wrap: balance;
}
.stage-lead::before {
  content: ""; position: absolute; z-index: -1; inset: -10px -12px;
  border-radius: 35%; background: #f7faec; opacity: .94; filter: blur(15px);
}
.finder {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px;
  background: var(--white); border: 1px solid var(--ink); border-radius: 6px;
  box-shadow: 0 14px 28px -22px rgb(19 47 37 / .55);
}
.finder-field { display: grid; gap: 1px; min-width: 0; padding: 2px 6px 2px 11px; }
.finder label { color: var(--muted); font: 500 .7rem/1.25 var(--display); }
.finder input { min-width: 0; width: 100%; height: 30px; border: 0; padding: 0; background: transparent; font-size: 1rem; line-height: 1.3; }
.finder input::placeholder { opacity: 1; color: var(--muted); }
.finder input:focus-visible { outline-offset: 1px; border-radius: 2px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  min-height: 48px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 5px;
  font: 600 .95rem/1.18 var(--display); text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.button-green { background: var(--ink); color: var(--white); }
.button-green:hover { background: #2d5a48; }
.button-outline { background: var(--cream); }
.button-outline:hover { background: var(--white); }
.hint { color: var(--muted); margin: 13px 0 5px; font-size: .64rem; }
.stage-finder .hint { color: var(--ink); text-shadow: 0 0 5px var(--white), 0 0 9px var(--white); }
.task-chips, .filters { display: flex; flex-wrap: wrap; gap: 7px; }
.task-chips button, .filters button {
  min-height: 44px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 5px;
  background: var(--paper); font-size: .83rem;
}
.task-chips button:hover, .filters button:hover { border-color: var(--ink); background: var(--cream); }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 15px; margin-bottom: 20px; }
.section-kicker { color: var(--muted); }
.text-link { background: transparent; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--focus); }
.newsletter-band {
  display: flow-root;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #dceaf1, #eaf2f7 72%);
}
.newsletter-signup {
  position: relative; margin-top: clamp(-87px, -7vw, -49px);
  width: min(100% - var(--edge) * 2, 1000px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(22px, 4vw, 54px); align-items: center;
  padding: clamp(23px, 3.6vw, 44px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 21px 45px -35px #183f347a;
}
.newsletter-signup h2 { font-size: clamp(2rem, 3.85vw, 3rem); text-wrap: balance; }
.newsletter-signup h2 span { white-space: nowrap; }
.newsletter-signup .newsletter-form { width: 100%; padding-inline-start: clamp(14px, 3vw, 34px); border-inline-start: 1px solid var(--line); }
.newsletter-embed {
  display: block; width: 100%; max-width: 480px; border: 0; border-radius: 7px; background: #fff;
}
.signup-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 16px; }
.signup-signature { width: clamp(88px, 11vw, 124px); height: auto; }
.newsletter-readers {
  display: flex; gap: 9px; align-items: center;
  font-weight: 600; font-size: .94rem; line-height: 1.4;
}
.newsletter-readers img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.newsletter-readers span { display: block; color: var(--muted); font-weight: 400; }
.newsletter-readers strong { color: var(--ink); }
.newsletter-preview {
  display: grid; grid-template-columns: minmax(0, .34fr) minmax(0, 1fr);
  align-items: center; gap: clamp(12px, 2.8vw, 35px);
  max-width: 1000px; padding-block: clamp(20px, 3vw, 37px);
}
.newsletter-note h2 { max-width: 15ch; font-size: clamp(2.25rem, 4.7vw, 4rem); text-wrap: balance; }
.newsletter-preview h2 { font-size: clamp(1.13rem, 2.1vw, 1.65rem); letter-spacing: -.035em; }
.newsletter-preview h2 span, .newsletter-note h2 span { color: #53744d; }
.newsletter-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.newsletter-topics li { display: flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 600; line-height: 1.25; }
.newsletter-topics li:nth-child(2) { --reveal-delay: 65ms; }
.newsletter-topics li:nth-child(3) { --reveal-delay: 130ms; }
.newsletter-topics svg { display: block; width: 35px; height: 35px; flex: 0 0 35px; transition: transform .27s var(--ease); }
.newsletter-note {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 78px); align-items: center;
  max-width: 1000px;
}
.newsletter-note h2 { margin-bottom: 16px; }
.newsletter-note h2 + p { max-width: 54ch; font-size: clamp(1.03rem, 1.5vw, 1.16rem); }
.grok-newsletter-intro img {
  height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 3px solid var(--white);
}
.portrait-frame { overflow: hidden; border-radius: 46% 46% 10px 10px; border: 1px solid #d5bd99; background: #d3b88f; }
.newsletter-portrait { width: 100%; height: auto; aspect-ratio: 1 / 1.04; object-fit: cover; }
.newsletter-signoff { margin-top: 23px; }
.newsletter-signoff p { color: var(--muted); line-height: 1.45; }

.work-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 25px; }
.work-heading h2 { max-width: 19ch; text-wrap: balance; }
.work-heading .text-link, .story-link { white-space: nowrap; }
.workflow-spread {
  --gutter: clamp(18px, 3.8vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  gap: var(--gutter); border-block: 1px solid var(--line); padding-block: clamp(16px, 2.5vw, 30px);
}
.workflow-spread > article + article { border-inline-start: 1px solid var(--line); padding-inline-start: var(--gutter); --reveal-delay: 80ms; }
.workflow-story { display: grid; gap: clamp(16px, 2.3vw, 26px); text-decoration: none; }
.workflow-art { display: grid; place-items: center; overflow: hidden; border-radius: 8px; }
.workflow-lead .workflow-art {
  aspect-ratio: 1.84;
  background: radial-gradient(ellipse at 34% 15%, #dbe8b9, transparent 79%), #a9c49c;
}
.workflow-side .workflow-art { aspect-ratio: 1.78; background: radial-gradient(ellipse at 64% 38%, #ebf4f8, #c0dbe8); }
.workflow-art img { width: 60%; height: auto; filter: drop-shadow(0 12px 10px #21383440); transition: transform .45s var(--ease); }
.workflow-lead .workflow-art img { width: min(68%, 390px); transform: rotate(-7deg) scale(1.04); }
.workflow-side .workflow-art img { width: min(68%, 272px); transform: rotate(7deg); }
.workflow-copy h3 { max-width: 23ch; text-wrap: balance; }
.workflow-lead h3 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }
.story-link { display: inline-flex; align-items: center; margin-top: 9px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.story-mark { transition: transform .25s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .newsletter-topics li:hover svg { transform: translateY(-3px) rotate(-5deg); }
  .workflow-story:is(:hover, :focus-visible) .workflow-art img { transform: translateY(-4px) rotate(0) scale(1.045); }
  .workflow-story:is(:hover, :focus-visible) .story-mark { transform: translate(2px, -2px); }
}

.library-feature { border-block: 1px solid #c8d7c0; background: #e0ead8; }
.library-feature-inner {
  display: grid; grid-template-columns: minmax(0, .67fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 85px); align-items: center;
  padding-block: clamp(30px, 4.5vw, 64px);
}
.library-feature h2 { margin-block: 9px 13px; font-size: clamp(2.65rem, 5.2vw, 4.8rem); }
.library-feature p:not(.section-kicker) { max-width: 36ch; margin-bottom: 18px; }
.home-page .button { min-height: 44px; border-radius: 999px; padding-inline: 16px; }
.library-feature-art { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; border: 1px solid #abc1a6; }
.library-feature-art img { width: 100%; height: 100%; object-fit: cover; }

.partnership-section {
  --focus: #ffedbd;
  color: #f0f8e9;
  background: radial-gradient(ellipse at 49% 8%, #315941, transparent 70%), #17372f;
}
.partnership-inner { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.partnership-inner h2 { margin-bottom: 14px; font-size: clamp(2.8rem, 6.4vw, 5.45rem); text-wrap: balance; }
.partnership-inner p { max-width: 43ch; color: #dae8da; font-size: clamp(1.04rem, 1.7vw, 1.2rem); }
.partnership-inner .button { color: var(--ink); }
.round-arrow {
  display: grid; place-items: center; flex: 0 0 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem;
}
.bot-open:hover .round-arrow { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stage-content { animation: settle-in .6s var(--ease) both; }
[data-reveal].revealed { animation: settle-in .58s var(--ease) var(--reveal-delay, 0ms) both; }
@keyframes settle-in { from { opacity: .79; transform: translateY(12px); } }
.footer { background: #e2edf2; border-top: 1px solid var(--line); padding-block: 14px; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(15px, 3vw, 36px); }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.library-hero { background: var(--sky); border-bottom: 1px solid var(--line); overflow: hidden; }
.library-hero-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); align-items: center; gap: 35px; padding-block: clamp(55px, 8vw, 112px); }
.library-hero h1 { font-size: clamp(3.65rem, 8vw, 7.9rem); letter-spacing: -.075em; margin-top: 13px; }
.library-hero em { display: block; white-space: nowrap; letter-spacing: -.035em; }
.library-intro { max-width: 40ch; margin: 20px 0 25px; font-size: 1.12rem; }
.plane-scene { position: relative; min-height: 260px; display: grid; place-items: center; }
.plane-scene::before {
  content: ""; position: absolute; inset: 8% 12%;
  background: radial-gradient(ellipse, #fff5cb 0, rgb(255 246 208 / .58) 33%, transparent 70%);
}
.plane-scene img { position: relative; width: 100%; height: auto; transform: rotate(-6deg); }
.directory { padding-top: clamp(42px, 7vw, 88px); min-height: 460px; }
.directory .section-top { align-items: end; }
.directory .section-top h2 { font-size: clamp(2.55rem, 5.2vw, 4.7rem); }
.directory-tools { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 23px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.results-count { font-size: .66rem; color: var(--muted); }
.bot-grid { border-top: 1px solid var(--line); }
.bot-row { border-bottom: 1px solid var(--line); }
.bot-row h3 { font: inherit; letter-spacing: normal; }
.bot-open {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: clamp(14px, 3vw, 36px);
  align-items: center; width: 100%; padding: 18px 12px; min-height: 100px;
  background: transparent; border: 0; text-align: left;
  transition: background .2s var(--ease);
}
.bot-open:hover { background: #e9eee2; }
.bot-row[data-recommended] { box-shadow: inset 3px 0 #9c7d31; background: #fff3cc; }
.bot-row[data-recommended] .bot-open:hover { background: #ffedb4; }
.bot-icon { display: grid; place-items: center; width: 41px; height: 41px; color: var(--ink); }
.bot-icon svg { width: 25px; height: 25px; }
.bot-title { display: grid; gap: 5px; }
.bot-label { font: 500 clamp(1.3rem, 2.45vw, 2rem)/1.12 var(--display); letter-spacing: -.035em; }
.bot-summary { color: var(--muted); font: 400 .96rem/1.45 var(--display); }
.bot-action { display: flex; align-items: center; gap: 11px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.empty { border-bottom: 1px solid var(--line); padding: 24px 12px; color: var(--muted); }
.bot-dialog {
  position: fixed; inset: 0; margin: auto; padding: 0; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 16px;
  width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  box-shadow: 0 20px 70px rgb(11 31 24 / .18); overscroll-behavior: contain;
}
html:has(.bot-dialog[open]) { overflow: hidden; }
.bot-dialog[open] { animation: bot-pop-in .22s var(--ease) both; }
.bot-dialog::backdrop { background: rgb(11 31 24 / .42); }
@keyframes bot-pop-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dialog-shell { padding: clamp(22px, 5vw, 32px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.close { width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.close:hover { background: var(--sky); }
.bot-dialog h2 { font-size: clamp(1.95rem, 6vw, 2.65rem); }
.detail-summary { color: var(--muted); margin: 9px 0 20px; font-size: 1.02rem; }
.template-fallback { margin-top: 16px; }
.template-fallback p { margin-bottom: 6px; font-size: .88rem; color: var(--muted); }
.template-fallback textarea { width: 100%; padding: 10px; font: inherit; border: 1px solid var(--line); border-radius: 6px; resize: vertical; }
@media (max-width: 840px) {
  .library-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .63fr); gap: 22px; }
}
@media (max-width: 760px) {
  html:has(.home-page) { scroll-padding-top: 114px; }
  .home-page .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding-top: 5px; }
  .home-page .header nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
  .home-page .header nav a { min-height: 44px; font-size: clamp(.78rem, 3.2vw, .89rem); }
  .home-page .header .nav-newsletter { min-height: 38px; padding-inline: 10px; font-size: .83rem; }
  .newsletter-signup { max-width: 525px; grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .newsletter-signup .newsletter-form { border-inline-start: 0; border-top: 1px solid var(--line); padding: 5px 0 0; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 66px; gap: 10px; }
  .brand-mark { width: 28px; height: 28px; flex-basis: 28px; }
  .wordmark { font-size: 1.08rem; gap: 5px; }
  .home-stage { min-height: 335px; padding-block: 43px 91px; }
  .home-stage h1 { font-size: clamp(2.5rem, 10.5vw, 4.6rem); letter-spacing: -.064em; }
  .home-stage::after { background: radial-gradient(ellipse at 50% 38%, rgb(244 248 234 / .97), rgb(244 248 234 / .86) 38%, transparent 80%), linear-gradient(0deg, rgb(29 54 28 / .30), transparent 34%); }
  .stage-lead { margin-top: 15px; }
  .finder { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .finder-field { padding: 6px 7px 4px; }
  .task-chips button { padding-inline: 9px; }
  .newsletter-preview, .newsletter-note, .workflow-spread, .library-feature-inner, .library-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .newsletter-topics li { flex-direction: column; align-items: flex-start; font-size: .85rem; }
  .newsletter-note { gap: 23px; }
  .portrait-frame { width: min(100%, 300px); }
  .work-heading { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 13px; }
  .workflow-spread { --gutter: 22px; }
  .workflow-spread > article + article { border-inline-start: 0; border-top: 1px solid var(--line); padding: var(--gutter) 0 0; }
  .partnership-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; gap: 4px 14px; }
  .bot-open { grid-template-columns: 28px minmax(0, 1fr) 32px; padding: 14px 5px; column-gap: 9px; row-gap: 3px; }
  .bot-icon { width: 27px; align-self: start; }
  .bot-icon svg { width: 20px; height: 20px; }
  .bot-title { grid-column: 2; grid-row: 2; }
  .bot-icon, .bot-action { grid-row: 1 / span 2; }
  .bot-action { grid-column: 3; }
  .bot-action .round-arrow { width: 32px; height: 32px; flex-basis: 32px; }
  .hire-label { display: none; }
  .plane-scene { min-height: 0; max-height: 130px; overflow: hidden; }
  .plane-scene img { max-width: 220px; margin-top: -6px; }
  .library-hero-grid { gap: 4px; padding-bottom: 23px; }
  .library-intro { margin-block: 13px 18px; }
  .library-hero h1 { font-size: clamp(3.3rem, 12vw, 5rem); }
}
@media (max-width: 380px) {
  .newsletter-signup { padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
