/* The marketing site's editorial system. The app does not load this sheet. */
.public-site {
  color-scheme: light;
  --bg: #fbf7ef;
  --panel: #fffcf7;
  --ink: #2a211f;
  --muted: #62554c;
  --line: #dfd3c5;
  --accent: #a43c20;
  --accent-ink: #fffaf2;
  --accent-soft: #f3e6d8;
  --code-bg: #282b2a;
  --code-ink: #fbf4e8;
  --code-dim: #bdb8ac;
  --code-str: #d8e1a9;
  --code-out: #edd9c8;
  --serif: Georgia, "Iowan Old Style", "Liberation Serif", serif;
}
.public-site h1, .public-site h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.044em; }
.public-site .wrap { width: min(1136px, 100% - clamp(2.2rem, 10vw, 8rem)); }
.public-site .narrow { width: min(670px, 100% - 2.2rem); }
.public-site .top .bar { height: 72px; }
.public-site .brand { font: 600 1.3rem var(--mono); letter-spacing: -.03em; gap: .5rem; }
.public-site .brand svg { width: 27px; height: auto; }
.public-site .btn { font-weight: 650; border-radius: 7px; }
.public-site .btn:hover { background: #812e18; color: var(--accent-ink); border-color: #812e18; }
.public-site .btn.ghost { border-color: #b9a99a; background: var(--bg); color: var(--ink); }
.public-site .btn.ghost:hover { background: var(--accent-soft); color: var(--ink); }
.public-site a:focus-visible, .public-site button:focus-visible { outline: 2px solid #be4d29; outline-offset: 4px; }
.public-site .foot { margin-top: 0; background: #f4ebde; }
.public-site:not(.public-home) .foot { margin-top: 4rem; }
.public-home .top { border-bottom-color: #eaddcf; }
.landing-lead { position: relative; isolation: isolate; }
.terrain { position: absolute; z-index: -1; inset: 0 0 95px; pointer-events: none; background: url("/static/terrain.svg") no-repeat right bottom / min(1050px, 88%) auto; }
.paper-hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); align-items: center; gap: clamp(1rem, 3.3vw, 3.5rem); padding-block: clamp(2.65rem, 5.6vw, 5rem) 2.4rem; }
.paper-hero h1 { font-size: clamp(3.15rem, 5.7vw, 5.15rem); line-height: .96; max-width: 15ch; margin: .25em 0 .21em; }
.eyebrow { color: #96391f; display: flex; align-items: center; gap: 1rem; font: 700 .71rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .15em; margin: 0; }
.eyebrow::after { content: ""; width: 5.4rem; height: 1px; background: #ca896c; }
.hero-intro { max-width: 29em; font-size: clamp(1.02rem, 2vw, 1.22rem); line-height: 1.55; color: var(--muted); }
.public-home .actions { display:flex; flex-wrap: wrap; gap: .65rem; margin: 0; }
.public-home .actions .btn { padding: .65rem 1.13rem; }
.public-home .actions .btn span { margin-left: .35rem; }
.hero-spec { display:flex; flex-wrap: wrap; gap: .8rem 1rem; margin: 1.1rem 0 0; font-size: .88rem; }
.hero-spec > div + div { border-left: 1px solid #cdbdae; padding-left: 1rem; }
.paper-hero .fine { margin: .65rem 0 0; }
.relay { position: relative; margin: 0; align-self: stretch; padding: clamp(.9rem, 2vw, 1.5rem); border: 1px solid #b99f8b5e; border-radius: 4px; background: radial-gradient(circle, #a276584c 0.65px, transparent 0.75px) 0 0 / 13px 13px, #fbf6eb73; display: flex; flex-direction: column; justify-content: space-between; }
.relay-ruler { display:flex; justify-content:space-between; gap: .5rem; color: #6d5547; font: 650 .61rem var(--mono); letter-spacing: .08em; }
.relay-stack { display: flex; flex-direction: column; align-items: center; padding-block: .86rem; }
.relay-top { background: #303532; color: #fff8eb; padding: .56rem 1.25rem; border-radius: 7px; box-shadow: 0 3px 0 #151b18; font: 600 .83rem/1.5 var(--mono); }
.relay-top span { color: #f2b79a; margin-right: .45rem; }
.relay-connection { color: #a23d22; font: 500 1.5rem/1.15 var(--mono); white-space: pre; height: 2rem; display: grid; place-content:center; }
.relay-middle { display:flex; align-items:center; justify-content:center; gap:.6rem; width:min(235px, 86%); padding: .65rem 1.2rem; border:1px solid #fff8ec; border-radius: 12px; background: #f7ecdd; box-shadow: 0 7px 0 #c9a68e, 0 15px 25px #6840282b; font: 600 1.65rem var(--mono); letter-spacing: -.03em; }
.relay-middle + .relay-connection { margin-top: .45rem; }
.relay-file { width:min(252px, 94%); padding: .55rem .78rem; display:flex; align-items:center; gap:.6rem; border:1px solid #e3d6c8; border-radius: 9px; background: #fffbf4; color: var(--ink); box-shadow: 0 5px 19px #68402817; font: 600 .85rem var(--mono); }
.relay-file svg { width:18px; height:21px; flex:none; }
.relay-file small { font: italic .9rem var(--serif); color: #635245; margin-left:auto; }
.relay figcaption { color: #5b493d; font: .66rem/1.4 var(--mono); }
.demo-shell { color: var(--code-ink); background: var(--code-bg); border:1px solid #343832; border-radius: 11px; box-shadow: 0 16px 27px #492b1717; overflow: clip; }
.demo-header { display:flex; justify-content:space-between; align-items: center; gap:.55rem; border-bottom:1px solid #ffffff29; padding-inline: clamp(.65rem, 2vw, 1.25rem); }
.demo-tabs { display:flex; min-width:0; gap:clamp(.35rem, 2vw, 1.1rem); }
.demo-tabs a { display:block; color:#d8cec1; text-decoration:none; padding:.78rem .18rem .72rem; border-bottom:2px solid transparent; font: .72rem var(--mono); white-space:nowrap; }
.demo-tabs a span { color:#fff8eb; font: 600 .84rem var(--sans); padding-left:.16rem; }
.demo-tabs a:hover, .demo-tabs [aria-selected="true"] { color:#ffab86; border-bottom-color:#ed946b; }
.demo-copy { color:#fff4e8; background: transparent; border: 1px solid #ffffff42; border-radius:.32rem; font: .73rem var(--mono); padding:.35rem .52rem; cursor:pointer; }
.demo-copy:hover { background:#ffffff16; }
.demo-body pre { margin:0; padding: .95rem clamp(.85rem, 2.6vw, 1.65rem) 1.1rem; overflow-x: auto; font-size:.88rem; line-height:1.65; }
.demo-body pre code { font-size:1em; }
.demo-body .c { color:var(--code-dim); }
.demo-body .s { color:var(--code-str); }
.demo-body .snippet + .snippet:not([hidden]) { border-top:1px solid #ffffff29; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.section-lead h2 { font-size: clamp(2.27rem, 4vw, 3.65rem); margin:.33em 0 .25em; line-height: .99; }
.section-lead > p:not(.eyebrow) { color: var(--muted); max-width: 34em; }
.section-lead.centered { text-align:center; }
.section-lead.centered .eyebrow { justify-content:center; }
.section-lead.centered .eyebrow::before { content:""; width:5.4rem; height:1px; background:#ca896c; }
.feature-section, .public-home .pricing, .public-home .reading { padding-block: clamp(2.9rem, 6vw, 5rem); }
.feature-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:1.6rem; border-top:1px solid var(--line); }
.feature-list > div { display:flex; gap:.7rem; align-items:start; min-width:0; padding:1.16rem .85rem 1.15rem 0; border-bottom:1px solid var(--line); }
.feature-list > div:nth-child(3n+2), .feature-list > div:nth-child(3n+3) { border-left:1px solid var(--line); padding-left:.85rem; }
.feature-no { flex:none; color:#9a391d; background:#f2e3d3; border-radius:.35rem; padding:.35rem .4rem; font: .74rem var(--mono); }
.feature-list h3 { font: 690 .96rem/1.25 var(--sans); margin:.03em 0 .25em; }
.feature-list p { color:var(--muted); font-size:.87rem; line-height:1.45; margin:0; }
.agent-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.87fr); gap:2rem; align-items:center; padding:clamp(1.3rem, 4.2vw, 3.3rem); background:#f4e9db; border:1px solid var(--line); border-radius:12px; }
.agent-note { min-width:0; padding:1.35rem; background:#fffbf5; border:1px solid #d7c3b2; border-radius:9px; transform:rotate(-1.4deg); box-shadow: 3px 5px 0 #cba99072; }
.agent-note > span { color:var(--accent); font:700 .69rem var(--mono); letter-spacing:.1em; }
.agent-note p { margin:.65rem 0 0; font: .87rem/1.65 var(--mono); overflow-wrap:anywhere; }
.public-home .pricing { margin-top:0; margin-bottom:0; border:0; }
.public-home .pricing .section-lead, .public-home .reading .section-lead { margin-bottom:1.35rem; }
.public-home .price-grid { gap:1rem; }
.public-home .price-card { box-shadow:none; border:1px solid #ccb19e; background:#fffaf2; }
.public-home .amount strong { font-family:var(--serif); }
.public-home .reading { margin-top:0; margin-bottom:0; border-top:1px solid var(--line); }
.public-home .reading-grid > a { border-radius:7px; background:#fff9f1; }
.public-home .closer { width:100%; text-align:center; padding:clamp(2.4rem,7vw,5rem) 1.1rem; background:#f3e5d5 url("/static/terrain.svg") no-repeat right bottom / min(850px,100%) auto; margin:0; }
.public-home .closer h2 { margin:.36em 0 .2em; font-size:clamp(2rem,4.1vw,3.35rem); }
.public-home .closer .actions { justify-content:center; }
@media(max-width:760px) {
  .public-site .wrap { width:calc(100% - 2rem); }
  .public-site .top .bar { height:60px; }
  .public-site .top nav { gap:.75rem; }
  .public-site .top nav .nav-detail { display:none; }
  .public-site .brand { font-size:1.15rem; gap:.35rem; }
  .public-site .brand svg { width:22px; height:auto; }
  .paper-hero { grid-template-columns:1fr; padding-block:2.4rem 1.25rem; gap:1.45rem; }
  .paper-hero h1 { max-width:14ch; }
  .relay { min-height:0; padding:.7rem; }
  .relay-stack { padding-block:.65rem; }
  .relay-middle { font-size:1.4rem; }
  .relay-connection { height:1.65rem; }
  .terrain { background-size:115%; }
  .feature-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .feature-list > div:nth-child(n) { border-left:0; padding-left:0; }
  .feature-list > div:nth-child(even) { border-left:1px solid var(--line); padding-left:.7rem; }
  .agent-section { grid-template-columns:1fr; gap:1.1rem; }
  .public-home .closer { width:100%; }
}
@media(max-width:375px) {
  .demo-tabs a { font-size:.61rem; }
  .demo-tabs a span { font-size:.76rem; }
  .feature-list { grid-template-columns:1fr; }
  .feature-list > div:nth-child(n) { border-left:0; padding-left:0; }
  .public-site .top nav { gap:.48rem; }
  .public-site .top nav a:not(.btn) { font-size:.8rem; }
}

/* Keep long inline errors, identifiers and URLs inside the article column.
   Code blocks retain horizontal scrolling and their original whitespace. */
.public-site .docs article { overflow-wrap: anywhere; }
.public-site .docs article :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }
