@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --line: #e8e8e8;
  --text: #1a1a1a;
  --muted: #666666;
  --accent: #059669;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.65 "DM Sans",
    sans-serif;
}
h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.12;
  font-weight: 500;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -0.065em;
  margin: 24px 0;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
h3 {
  font-size: 1.25rem;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.wrap {
  max-width: 1200px;
  padding: 0 32px;
  margin: auto;
}
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 8px;
  font-size: 24px;
  font-weight: 700;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.5;
}
.button:hover {
  background: #047857;
  color: #ffffff;
}
.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: #dddddd;
}
.button.small {
  padding: 8px 16px;
}
.eyebrow {
  font:
    500 0.8rem "Space Grotesk",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 90px 0 80px;
}
.hero p {
  max-width: 480px;
  font-size: 1.12rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}
.fine {
  font-size: 0.85rem;
  color: var(--muted);
}
.terminal {
  border: 1px solid #dddddd;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 80px #0000000a;
  transform: rotate(1deg);
}
.terminal-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
}
.terminal-body {
  padding: 26px;
}
.code {
  font:
    0.87rem/1.9 Consolas,
    monospace;
  color: #374151;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.green {
  color: var(--accent);
}
.sponsor {
  background: #f6f8f7;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 22px;
  margin: 24px 0 8px;
}
.sponsor p {
  margin: 10px 0;
  font-size: 0.95rem;
}
.pill {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border: 1px solid #a7d8be;
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--accent);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}
.metrics > div {
  padding: 0 32px;
  border-right: 1px solid var(--line);
}
.metrics > div:first-child {
  padding-left: 0;
}
.metrics > div:last-child {
  border: 0;
}
.metrics strong {
  font:
    500 2rem "Space Grotesk",
    sans-serif;
  display: block;
}
.metrics span {
  font-size: 0.9rem;
  color: var(--muted);
}
.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}
.section-head p {
  max-width: 390px;
  margin: 0;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  border-top: 1px solid #dddddd;
  padding-top: 24px;
}
.step-icon {
  color: var(--accent);
  font: 24px monospace;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
}
.panel h3 {
  margin-top: 0;
}
.codebox {
  position: relative;
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  overflow: auto;
}
.copy {
  background: transparent;
  border: 1px solid #d1d5db;
  color: var(--text);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.85rem;
}
.copy:hover {
  border-color: var(--accent);
}
.codebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.checklist {
  padding: 0;
  list-style: none;
}
.checklist li {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.checklist li::before {
  content: "\2713";
  color: var(--accent);
  margin-right: 14px;
}
.faq {
  max-width: 820px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
summary {
  cursor: pointer;
  font-size: 1.1rem;
}
details p {
  max-width: 700px;
}
.cta {
  padding: 65px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.cta h2 {
  margin: 12px 0;
}
.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer div {
  display: flex;
  gap: 24px;
}
.page-head {
  padding: 56px 0 32px;
}
.page-head h1 {
  font-size: 3rem;
  letter-spacing: -0.05em;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.field {
  display: block;
  margin: 18px 0 8px;
  font-size: 0.9rem;
  color: var(--muted);
}
input {
  width: 100%;
  background: #ffffff;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  min-width: 0;
}
.form-row {
  display: flex;
  gap: 10px;
}
.form-row .button {
  white-space: nowrap;
}
.notice {
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 24px;
  overflow-wrap: anywhere;
}
.error {
  color: #b91c1c;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
td,
th {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
td:first-child,
th:first-child {
  padding-left: 0;
}
.empty {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}
.auth-panel {
  max-width: 580px;
  margin: 65px auto 100px;
  padding: 45px;
}
.auth-panel h1 {
  font-size: 2.8rem;
  letter-spacing: -0.05em;
}
.docs-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 60px;
  padding: 50px 0;
}
.docs-nav {
  position: sticky;
  top: 30px;
  align-self: start;
}
.docs-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
}
.docs-content section {
  padding: 0 0 40px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.docs-content h2 {
  font-size: 2rem;
}
.method {
  color: var(--accent);
  font: 14px monospace;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 55px 0;
  }
  .hero h1 {
    max-width: 650px;
  }
  .terminal {
    transform: none;
  }
  .grid3,
  .split,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 55px 0;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 20px;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .docs-nav {
    position: static;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  .cta {
    align-items: start;
    flex-direction: column;
  }
  .navlinks {
    gap: 15px;
  }
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 20px;
  }
  .nav {
    height: 76px;
  }
  .brand {
    font-size: 1.1rem;
  }
  .navlinks .optional {
    display: none;
  }
  .navlinks {
    gap: 12px;
  }
  .navlinks .button {
    padding: 8px 12px;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
  .metrics {
    gap: 16px;
  }
  .metrics > div {
    padding: 0;
    border: 0;
  }
  .metrics strong {
    font-size: 1.5rem;
  }
  .metrics span {
    font-size: 0.8rem;
  }
  .panel,
  .terminal-body {
    padding: 20px;
  }
  .form-row {
    flex-direction: column;
  }
  .footer {
    gap: 20px;
    flex-direction: column;
  }
  .auth-panel {
    padding: 25px;
    margin-top: 35px;
  }
  .page-head h1 {
    font-size: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.conversation {
  border: 1px solid #eeeeee;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff, #ffffff);
  box-shadow: 0 28px 90px #0000000a;
}
.conversation-body {
  padding: 26px;
}
.user-bubble {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 12px 12px 2px 12px;
  padding: 15px 18px;
  margin: 0 0 28px 22px;
  color: #374151;
  font-size: 0.95rem;
}
.answer-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #6b7280;
}
.answer-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b7280;
  font-size: 0.75rem;
  margin: 24px 0;
}
.answer-divider:before,
.answer-divider:after {
  content: "";
  height: 1px;
  background: #dddddd;
  flex: 1;
}
.offer-card {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}
.offer-card h3 {
  line-height: 1.3;
  font-size: 1.35rem;
  margin: 18px 0 12px;
}
.offer-card p {
  font-size: 0.95rem;
  line-height: 1.55;
}
.offer-top,
.offer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.offer-brand {
  justify-content: flex-start;
  margin-top: 20px;
}
.offer-brand strong,
.offer-brand .fine {
  display: block;
}
.tool-icon {
  background: #059669;
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 600 15px monospace;
}
.offer-cta {
  display: inline-block;
  color: #047857;
  border-bottom: 1px solid #059669;
  margin: 5px 0 12px;
}
.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.principles b {
  color: var(--text);
}
.tag {
  display: inline-block;
  border: 1px solid #e0e7e2;
  border-radius: 5px;
  padding: 4px 9px;
  color: #555555;
  font-size: 0.8rem;
}
.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}
.sandbox-grid .field:first-child {
  margin-top: 0;
}
select,
textarea {
  width: 100%;
  background: #ffffff;
  color: var(--text);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 13px 36px 13px 14px;
  font: inherit;
}
select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #059669 50%),
    linear-gradient(135deg, #059669 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.9rem;
}
.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.decision {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.decision strong {
  display: block;
  font:
    500 1.5rem "Space Grotesk",
    sans-serif;
  margin: 12px 0;
}
.decision p {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.preview-panel {
  background: #ffffff;
}
.no-placement {
  border: 1px dashed #d1d5db;
  padding: 30px;
  border-radius: 8px;
  color: #555555;
}
.research-intro {
  max-width: 700px;
  margin-bottom: 36px;
}
.source-link {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.brief-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 70px;
}
.brief-preview {
  position: sticky;
  top: 30px;
  align-self: start;
}
.pilot-note {
  padding: 16px 20px;
  border: 1px solid #d1e7d9;
  background: #f0fdf4;
  border-radius: 6px;
  color: #366348;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
@media (max-width: 850px) {
  .sandbox-grid,
  .brief-layout {
    grid-template-columns: 1fr;
  }
  .brief-preview {
    position: static;
  }
  .principles {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 520px) {
  .conversation-body {
    padding: 18px;
  }
  .offer-top {
    align-items: start;
    flex-direction: column;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
}
.docs-content table {
  white-space: normal;
  table-layout: fixed;
}
.sandbox-grid > *,
.brief-layout > * {
  min-width: 0;
}
@media (max-width: 520px) {
  .brand .fine {
    display: none;
  }
  .nav {
    gap: 12px;
  }
}
