:root {
  --paper: #f4f2e9;
  --ink: #25392f;
  --muted: #697269;
  --line: #d4d8cc;
  --accent: #e2e8c9;
  --white: #fcfcf6;
  --red: #9d3327;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:active,
.button:active {
  transform: translateY(1px);
}
.wrap {
  max-width: 1280px;
  padding: 0 56px;
  margin: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
}
.skip:focus {
  top: 12px;
  background: var(--white);
  padding: 12px;
  z-index: 10;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  min-height: 108px;
  gap: 28px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  letter-spacing: 0.065em;
  line-height: 1.5;
  font-weight: 600;
}
.brand svg {
  width: 34px;
  height: 43px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.nav a {
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}
.nav .nav-cta {
  border: 1px solid var(--ink);
  padding: 12px 17px;
}
.mono,
.eyebrow,
code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: 90px;
  align-items: center;
  padding: 88px 0 75px;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 400;
  margin: 24px 0;
}
.hero h1 em {
  font-weight: 400;
}
.lede {
  font-size: 16px;
  line-height: 1.75;
  max-width: 420px;
  color: #59655b;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 30px 0 26px;
}
.button,
button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 15px 20px;
  text-decoration: none;
  font-size: 13px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover,
button.primary:hover {
  background: #3d5041;
}
.link-arrow {
  font-size: 13px;
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}
.fine {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.specimen {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 45px 50px;
  background: #e9eddc;
  border-radius: 210px 210px 3px 3px;
  overflow: hidden;
}
.specimen:before,
.specimen:after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid #bcc7aa;
  border-radius: inherit;
  pointer-events: none;
}
.specimen:after {
  inset: 26px;
  border-color: #cad1bd;
}
.specimen-inner {
  position: relative;
  max-width: 300px;
}
.star {
  font-size: 44px;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: 400;
  color: #647453;
}
.specimen blockquote {
  font:
    30px/1.35 Georgia,
    serif;
  letter-spacing: -0.018em;
  margin: 25px 0 30px;
}
.specimen .eyebrow {
  font-size: 9px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.hero-bottom span:before {
  content: "+";
  margin-right: 10px;
}
.section {
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}
.section-title {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  margin-bottom: 35px;
}
.section h2,
.document h1 {
  font:
    42px/1.12 Georgia,
    serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 15px 0 18px;
}
.section-title p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 28px;
  max-width: 560px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 20px;
}
.principles h3 {
  font:
    25px/1.3 Georgia,
    serif;
  font-weight: 400;
}
.principles p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.canon-family {
  border-top: 1px solid var(--line);
  padding: 10px 0 26px;
}
.canon-family blockquote {
  font:
    28px/1.5 Georgia,
    serif;
  margin: 24px 0;
}
.first-principles li {
  padding: 5px 0;
}
.console {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--white);
}
.console-form {
  padding: 32px;
  border-right: 1px solid var(--line);
}
.console-result {
  padding: 32px;
  background: #eff1e5;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.field label {
  font-size: 13px;
}
.field textarea,
.field input,
.field select {
  background: transparent;
  border: 1px solid #bec6b8;
  padding: 13px;
  color: var(--ink);
  border-radius: 0;
  width: 100%;
  line-height: 1.5;
  font-size: 14px;
}
.field textarea {
  min-height: 116px;
  resize: vertical;
}
.field textarea::placeholder {
  color: #8b9389;
}
.console-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 14px 18px;
  font-size: 13px;
}
.secondary:hover {
  background: var(--accent);
}
.result-reflection {
  font:
    29px/1.4 Georgia,
    serif;
  letter-spacing: -0.015em;
  margin: 30px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.result-empty {
  font:
    26px/1.4 Georgia,
    serif;
  max-width: 270px;
  letter-spacing: -0.02em;
  margin: 40px 0 20px;
}
.result-details {
  margin-top: auto;
}
.error {
  color: var(--red);
  font-size: 13px;
  line-height: 1.6;
}
.status {
  font-size: 13px;
  line-height: 1.7;
}
.terms-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.6;
  margin: 20px 0;
}
.terms-check input {
  margin: 3px 0 0;
  accent-color: var(--ink);
}
.quote-price {
  font:
    40px Georgia,
    serif;
  margin: 22px 0 12px;
}
.quote-price small {
  font:
    12px Arial,
    sans-serif;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps-list li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 23px 0;
}
.steps-list li:first-child {
  border-top: 0;
}
.step-number {
  font: 11px/1.6 monospace;
  color: var(--muted);
}
.steps-list h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 8px;
}
.steps-list p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.agent-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 65px;
  align-items: center;
}
.code-panel {
  background: var(--ink);
  color: #e5ead8;
  padding: 28px;
  min-width: 0;
}
.code-panel pre {
  font-size: 12px;
  line-height: 1.8;
  margin: 20px 0 0;
  overflow: auto;
}
.code-panel .eyebrow {
  color: #afbea5;
}
.footer {
  padding: 35px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.footer-links {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.document {
  max-width: 840px;
  padding: 68px 0 80px;
}
.document.wide {
  max-width: none;
}
.document h1 {
  font-size: 52px;
}
.document h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
}
.document h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 30px 0 10px;
}
.document p,
.document li {
  font-size: 15px;
  line-height: 1.85;
  color: #58655b;
}
.document ul,
.document ol {
  padding-left: 22px;
}
.document pre {
  font-size: 12px;
  line-height: 1.8;
  background: #e9eddf;
  border: 1px solid var(--line);
  padding: 22px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.document code {
  font-size: 0.88em;
}
.document table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.document th,
.document td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}
.document th {
  font-weight: 500;
}
.table-scroll {
  overflow: auto;
}
.notice {
  padding: 16px 20px;
  background: #e8edda;
  border-left: 2px solid #7a8b64;
  line-height: 1.7;
  font-size: 13px;
  margin: 25px 0;
}
.request-id {
  word-break: break-all;
  font-size: 11px;
}
.result-page {
  max-width: 760px;
  padding: 70px 0;
  min-height: 65vh;
}
.result-page h1 {
  font:
    48px Georgia,
    serif;
}
.result-page .console-result {
  border: 1px solid var(--line);
  margin: 25px 0;
  min-height: 300px;
}
.admin-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.admin-output {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.7;
}
.admin-stats {
  display: flex;
  gap: 50px;
  border-block: 1px solid var(--line);
  padding: 24px 0;
  margin: 25px 0;
}
.admin-stats strong {
  font:
    35px Georgia,
    serif;
  display: block;
}
.hidden,
[hidden] {
  display: none !important;
}
.loading .console-result {
  animation: pending 1.4s ease-in-out infinite;
}
@keyframes pending {
  50% {
    opacity: 0.65;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 900px) {
  .wrap {
    padding: 0 30px;
  }
  .hero {
    gap: 40px;
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 54px;
  }
  .specimen {
    min-height: 400px;
    padding: 60px 30px 40px;
  }
  .specimen blockquote {
    font-size: 26px;
  }
  .steps {
    gap: 40px;
  }
  .section-title {
    gap: 30px;
  }
  .agent-section {
    gap: 30px;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding: 0 22px;
  }
  .header {
    min-height: 88px;
    gap: 12px;
  }
  .brand {
    font-size: 10px;
    gap: 8px;
  }
  .brand svg {
    width: 27px;
    height: 36px;
  }
  .nav {
    gap: 15px;
    font-size: 12px;
  }
  .nav .nav-cta {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 45px 0 35px;
  }
  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
    max-width: 400px;
  }
  .lede {
    font-size: 15px;
  }
  .specimen {
    min-height: 350px;
    max-width: 430px;
    width: 100%;
    margin: auto;
  }
  .specimen blockquote {
    font-size: 29px;
  }
  .hero-bottom {
    flex-wrap: wrap;
    row-gap: 10px;
    font-size: 9px;
  }
  .section {
    padding: 48px 0;
  }
  .section-title,
  .steps,
  .agent-section,
  .principles {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section h2 {
    font-size: 36px;
  }
  .section-title {
    margin-bottom: 22px;
  }
  .section-title p {
    margin: 0;
  }
  .console {
    grid-template-columns: 1fr;
  }
  .console-form {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .console-result {
    padding: 25px;
    min-height: 285px;
  }
  .steps-list {
    margin-top: 18px;
  }
  .agent-section .code-panel {
    margin-top: 20px;
    padding: 22px;
  }
  .footer {
    flex-direction: column;
    gap: 18px;
  }
  .footer-links {
    gap: 17px;
  }
  .document {
    padding: 45px 0 60px;
  }
  .document h1 {
    font-size: 42px;
  }
  .document th,
  .document td {
    padding: 10px 8px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    gap: 25px;
  }
  .result-page h1 {
    font-size: 40px;
  }
  .console-buttons > * {
    flex: 1;
  }
  .actions {
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .header {
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 16px;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
  }
}
