/* The one-page site, laid out like truepyramids.com's home page. */
.home-wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 24px); padding-right: clamp(16px, 4vw, 24px); }
.home-section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.home-section__head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.home-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px; align-items: center; }
.home-h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.home-h3 { font-size: 22px; }
.home-lede { font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
.home-kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); }
.home-inline { font-size: 0.9em; background: var(--green-50); color: var(--green-900); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }

/* Header */
.home-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.home-nav__links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.home-nav__links a:not(.btn):hover { color: var(--green-700); }

/* Hero */
.home-hero { padding-top: 80px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 56px; align-items: center; }
.home-hero__title { font-size: clamp(38px, 5.5vw, 54px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.home-hero .home-lede { font-size: 19px; max-width: 34em; }
.home-hero__sample { padding: 28px; gap: 18px; display: flex; flex-direction: column; border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(0, 77, 31, 0.25); }
.home-chat__q { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.home-chat__tool { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 14px; padding: 8px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-soft); }
.home-chat__fn { font-family: var(--font-mono); font-weight: 500; color: var(--green-900); }
.home-race { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.home-race li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.home-race li:first-child .home-race__amt { color: var(--green-900); }
.home-race__amt { font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-cite { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.home-cite__link { font-family: var(--font-mono); font-size: 13px; color: var(--green-700); overflow-wrap: anywhere; }

/* Usage restriction strip */
.home-restriction { font-size: 15px; line-height: 1.6; margin-bottom: 56px; }
.home-restriction b { display: block; margin-bottom: 4px; }
.home-addresses { margin: 24px 0 0; }
.home-addresses p { margin: 0 0 8px; }
.home-addresses p:last-child { margin-bottom: 0; }

/* Questions */
.home-questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.home-question { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; background: var(--surface-2); display: flex; flex-direction: column; gap: 10px; }
.home-question__q { font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.3; }
.home-question code { align-self: flex-start; margin-top: auto; font-size: 13px; padding: 3px 8px; border-radius: 6px; background: var(--green-50); color: var(--green-900); border: 1px solid var(--green-100); }

/* Connect */
.home-connect { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 24px; }
.home-client { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.home-client .btn { align-self: flex-start; }
.home-code { margin: 0; padding: 14px 16px; border-radius: 8px; background: var(--code); color: #D7F0DF; font-size: 13px; line-height: 1.5; overflow-x: auto; }
.home-tools { display: flex; flex-direction: column; gap: 16px; }
.home-tools__list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 32px; }
.home-tools__list > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.home-tools__list dt { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--green-900); overflow-wrap: anywhere; }
.home-tools__list dd { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Data */
.home-file { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.home-file__head { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home-file__note { padding: 12px 20px; font-size: 14px; color: var(--purple-900); background: var(--purple-50); border-bottom: 1px solid var(--purple-100); }
.home-fresh-wrap { overflow-x: auto; }
.home-fresh { width: 100%; border-collapse: collapse; font-size: 14px; }
.home-fresh th, .home-fresh td { text-align: left; padding: 10px 20px; border-bottom: 1px solid var(--line-soft); }
.home-fresh th { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.home-fresh td:last-child, .home-fresh th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.home-fresh tr:last-child td { border-bottom: 0; }

/* How contributor information is treated */
.home-rules { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px 32px; }
.home-rules li { padding-top: 16px; border-top: 2px solid var(--ink); color: var(--ink-2); }
.home-rules b { display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink); margin-bottom: 6px; }

/* Pricing placeholder */
.home-price { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.home-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.home-prices .home-price { max-width: none; padding: 24px; }
.home-price--soon { border-style: dashed; border-color: var(--line-strong); }
.home-price__amount { font-family: "Space Grotesk", sans-serif; font-size: 28px; font-weight: 600; margin: 0; }
.home-price__amount .muted { font-size: 15px; font-weight: 400; }
.home-price__alt { margin: 2px 0 0; font-size: 15px; color: var(--ink-2); }
.home-price__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.home-price__tag { align-self: flex-start; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--page); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.home-price__cta { align-self: flex-start; }

/* Closing call to action */
.home-cta { background: var(--green-900); color: #FFFFFF; }
.home-cta .home-lede { color: #D3EADB; }
.home-cta .home-lede a, .home-cta .home-lede b { color: #FFFFFF; }
.home-cta__actions { justify-content: flex-end; }
.home-cta .btn:not(.btn--primary) { border-color: transparent; }

.home-footer { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 480px) {
  .home-hero__sample, .home-client { padding: 20px; }
  .home-tools__list > div { grid-template-columns: 1fr; gap: 2px; }
  .home-h2 { font-size: 32px; }
  .home-fresh th, .home-fresh td { padding: 8px 10px; }
}
