/* The public marketing pages (home and /start). Loaded only by those pages,
   on top of app.css, with the same Tango Seal tokens. Signed-in screens
   never load this file. */
main:has(> .home) { max-width:1080px; padding-top:8px; }
.home h2 { font-size:26px; font-weight:800; letter-spacing:-.025em; line-height:1.15; margin:0 0 12px; text-wrap:balance; }
.home h3 { font-size:17px; font-weight:700; margin:0 0 6px; letter-spacing:-.01em; }
.home h2.section { margin:64px 0 18px; }
.home section { margin:64px 0; }
.home p { max-width:64ch; }
.home code { font-family:var(--mono); font-size:13.5px; overflow-wrap:anywhere; }

/* Hero: the promise on the left, one real request on the right. */
.home .hero { display:grid; gap:36px; align-items:center; margin:28px 0 56px; }
.home .hero h1 { font-size:46px; margin:10px 0 18px; }
.home .hero .lead { font-size:19px; color:var(--soft); }
.home .hero .row { margin:22px 0 16px; }
.eyebrow { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--brass-dark); margin:0; }
@media (min-width:900px) { .home .hero { grid-template-columns:1.05fr .95fr; gap:48px; margin-top:44px; } }

.talk { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:18px; display:grid; gap:12px; box-shadow:0 18px 40px -22px rgba(42,26,23,.35), 0 2px 6px rgba(42,26,23,.05); font-size:15px; line-height:1.45; }
.talk p { margin:0; }
.talk .example { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--soft); }
.talk .who { display:block; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--soft); margin-bottom:3px; }
.bubble { border-radius:14px; padding:11px 14px; max-width:92%; }
.bubble.you { background:var(--go); color:#fff; justify-self:end; border-bottom-right-radius:4px; }
.bubble.you .who { color:rgba(255,255,255,.75); }
.bubble.agent { background:var(--bg); border:1px solid var(--line); justify-self:start; border-bottom-left-radius:4px; display:grid; gap:6px; }
.talk .tool { justify-self:start; font-family:var(--mono); font-size:12px; color:var(--brass-dark); background:var(--brass-pale); border:1px solid var(--warn-line); border-radius:6px; padding:2px 8px; }
.talk .link { font-family:var(--mono); font-size:13px; color:var(--go); text-decoration:underline; }
.sheet { display:grid; grid-template-columns:104px 1fr; gap:14px; align-items:center; border:1.5px solid var(--brass); background:var(--brass-pale); border-radius:14px; padding:12px; }
.sheet .page { background:#fff; border:1px solid var(--line); border-radius:6px; padding:12px 10px 8px; display:grid; gap:6px; box-shadow:0 2px 6px rgba(42,26,23,.08); }
.sheet .page i { display:block; height:4px; border-radius:2px; background:#E9E2DB; }
.sheet .page i.short { width:60%; }
.sheet .page b { font-size:9px; font-weight:600; color:var(--soft); margin-top:4px; }
.sheet .page svg { width:100%; height:auto; color:#0d1a66; border-bottom:1px solid var(--soft); margin-top:-8px; }
.sealed { display:grid; gap:2px; }
.sealed strong { font-size:17px; letter-spacing:-.01em; }
.sealed span:last-child { color:var(--soft); font-size:14px; }

/* The connector address: the one thing a visitor came for. */
.home .connect { background:var(--ink); color:#F8F5F1; border-radius:20px; padding:32px 24px; display:grid; gap:32px; scroll-margin-top:16px; }
.connect h2, .connect h3 { color:#fff; }
.connect p { color:#D9CEC8; }
.connect a { color:#F0C987; }
.connect .meta { color:#B9ACA5; }
.copyline { display:flex; align-items:stretch; gap:8px; margin:14px 0; }
.copyline code { flex:1 1 auto; min-width:0; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:10px; padding:11px 13px; color:#fff; user-select:all; }
.connect button.copy { flex:none; background:#F8F5F1; border-color:#F8F5F1; color:var(--ink); padding:9px 14px; font-size:14px; box-shadow:none; }
.connect button.copy:hover { background:#fff; }
.connect button.copy:focus-visible { outline-color:#F0C987; }
.where { grid-template-columns:auto 1fr; gap:8px 16px; font-size:15px; margin-top:18px; }
.where dt { color:#fff; font-weight:600; }
.where dd { color:#D9CEC8; }
.where code { color:#fff; font-size:12.5px; }
.handoff { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14); border-radius:14px; padding:20px; align-self:start; }
.handoff p { margin:6px 0; }
.handoff .note { margin-top:14px; padding-top:14px; border-top:1px solid rgba(255,255,255,.14); color:#F0C987; font-size:14px; }
@media (min-width:900px) { .home .connect { grid-template-columns:1.1fr .9fr; padding:44px; gap:44px; } }

/* Three steps. */
.cards { list-style:none; padding:0; margin:0; display:grid; gap:14px; }
.cards li { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:20px; }
.cards p { margin:0; color:var(--soft); }
.num { display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--tint); color:var(--go); font-weight:800; font-size:15px; margin-bottom:12px; }
@media (min-width:760px) { .cards.three { grid-template-columns:repeat(3,1fr); } }
.home .aside { color:var(--soft); margin-top:16px; max-width:76ch; }

/* What the agent does, and the three things it can't. */
.duo { display:grid; gap:14px; }
.duo .card { margin:0; padding:24px; border-radius:16px; }
.duo ul { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.duo li { padding-left:28px; position:relative; }
.duo li::before { content:""; position:absolute; left:0; top:4px; width:18px; height:18px; border-radius:50%; background:var(--good-bg) center/11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%232F7D4F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.duo .cant { border:2px solid var(--go); background:var(--tint); }
.duo .cant li::before { background:#fff center/10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3l8 8M11 3l-8 8' fill='none' stroke='%237B1E3A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (min-width:820px) { .duo { grid-template-columns:1.15fr .85fr; align-items:start; } }

.why-built p { font-size:18px; }

/* What you get back, with a small picture of the certificate page. */
.home .split { display:grid; gap:28px; align-items:center; }
@media (min-width:820px) { .home .split.back { grid-template-columns:1fr 1fr; gap:48px; } }
.cert { background:#fff; border:1px solid var(--line); border-radius:10px; padding:20px 22px; box-shadow:0 14px 34px -20px rgba(42,26,23,.35); }
.cert-head { display:flex; justify-content:space-between; align-items:baseline; margin:0 0 14px; padding-bottom:10px; border-bottom:2px solid var(--go); font-weight:800; letter-spacing:-.01em; }
.cert-head em { font-style:normal; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--soft); }
.cert dl { font-size:14.5px; }
.cert-seal { margin:14px 0 0; padding:8px 12px; background:var(--brass-pale); border:1px solid var(--brass); border-radius:8px; font-weight:600; font-size:14.5px; }

.price { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:32px 0; }
.price p { font-size:18px; margin:0; }

/* Questions: the browser's own open and close, no script. */
.faq { border-top:1px solid var(--line); }
.faq details { border-bottom:1px solid var(--line); padding:16px 0; }
.faq summary { font-size:17px; }
.faq details p { margin:10px 0 0 20px; color:var(--soft); overflow-wrap:anywhere; }
.home .plain { padding-left:20px; max-width:70ch; } .home .plain li { margin:8px 0; }

.closing { text-align:center; background:var(--card); border:1px solid var(--line); border-radius:20px; padding:44px 20px; }
.closing p { margin:0 auto 6px; font-size:19px; color:var(--soft); }
.closing .row { justify-content:center; margin:20px 0 0; }

@media (max-width:520px) {
  .home .hero h1 { font-size:34px; }
  .home h2 { font-size:23px; }
  .home section, .home h2.section { margin-top:48px; }
  .copyline { flex-direction:column; }
  .where { grid-template-columns:1fr; gap:2px; } .where dd { margin-bottom:10px; }
  .sheet { grid-template-columns:84px 1fr; }
}
.home .hero h1 .accent { color:var(--go); }

/* ------------------------------------------------------------------------
   The questions page, the features index and the feature pages. Same frame
   and tokens as the home page. */
.docs .dochero { margin:36px 0 40px; max-width:820px; }
.docs .dochero h1 { font-size:44px; margin:10px 0 16px; }
.docs .dochero .lead p { font-size:19px; color:var(--soft); max-width:62ch; margin:0; }
.docs .eyebrow a { color:inherit; text-decoration:none; }
.docs .eyebrow a:hover { text-decoration:underline; }
.docs .eyebrow a::before { content:"\2190\00a0"; }
.docs code { font-size:.86em; background:var(--brass-pale); border-radius:5px; padding:1px 5px; color:var(--ink); }
.docs .agentnote { margin:28px 0 0; text-align:center; max-width:none; overflow-wrap:anywhere; }
.docs .closing h2 { margin-bottom:8px; }

/* Help and FAQ: a search box, then each topic as one card of rows. A row
   shows the question and one line of the answer, and opens in place. */
.docs .narrow { max-width:760px; margin-left:auto; margin-right:auto; }
.docs .dochero.narrow { margin-top:36px; }
.docs .dochero p.lead { font-size:18px; color:var(--soft); margin:0; max-width:none; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.qsearch { display:block; margin:22px 0 0; }
.qsearch input { width:100%; font:inherit; font-size:17px; padding:14px 16px 14px 46px; border:1px solid var(--edge); border-radius:12px; color:var(--ink); background:var(--card) 15px center/20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%236F605B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='5.5'/%3E%3Cpath d='M13.2 13.2L17 17'/%3E%3C/g%3E%3C/svg%3E"); box-shadow:var(--lift); }
.qsearch input:focus { outline:none; border-color:var(--go); box-shadow:0 0 0 4px var(--ring); }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.chips a { font-size:14px; font-weight:600; color:var(--soft); text-decoration:none; background:var(--card); border:1px solid var(--line); border-radius:999px; padding:6px 13px; }
.chips a:hover { border-color:var(--go); color:var(--go); }
.docs .qgroup { margin:30px 0 0; scroll-margin-top:16px; }
.docs .qgroup h2 { font-size:20px; margin:0 0 12px; }
.qlist { background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:var(--lift); }
.qlist details, .qlist .qrow { display:block; margin:0; border-top:1px solid var(--line); scroll-margin-top:16px; }
.qlist > :first-child { border-top:0; }
.qlist summary, .qlist .qrow { display:block; position:relative; padding:15px 46px 15px 18px; cursor:pointer; color:var(--ink); text-decoration:none; font-size:16px; border-radius:0; margin:0; }
.qlist details[open] > summary { margin-bottom:0; }
.qlist summary:hover, .qlist .qrow:hover { background:var(--wash); color:var(--ink); }
.qlist summary::before { position:absolute; right:16px; top:19px; width:16px; height:16px; color:var(--faint); transform:rotate(90deg); }
.qlist details[open] > summary::before { transform:rotate(-90deg); color:var(--go); }
.qlist .q { display:block; font-weight:600; font-size:16.5px; letter-spacing:-.005em; }
.qlist .sum { display:block; margin-top:3px; color:var(--soft); font-size:14.5px; font-weight:400; line-height:1.45; }
.qlist details[open] .sum { display:none; }
.qlist details[open] .q { color:var(--go); }
.qlist .answer { padding:0 46px 16px 18px; overflow-wrap:anywhere; }
.qlist .answer p { margin:0 0 10px; }
.qlist .answer .own { margin:12px 0 0; font-size:13.5px; }
.qlist .answer .own a { color:var(--soft); }
.docs .nomatch { margin-top:24px; }
.docs .answerbody { padding:22px 26px 14px; }
.docs .answerbody .prose { border:0; padding:0; }
.docs .answerbody p { font-size:18px; }
.docs .related { margin-top:36px; }

/* The features index: one card per feature, the whole card a link. */
@media (min-width:700px) { .cards.features { grid-template-columns:1fr 1fr; } }
@media (min-width:1000px) { .cards.features { grid-template-columns:repeat(3,1fr); } }
.cards.features { gap:16px; }
.cards.features li { padding:0; border-radius:16px; transition:border-color .15s, box-shadow .15s, transform .15s; }
.cards.features li:hover { border-color:var(--go); box-shadow:0 14px 30px -20px rgba(42,26,23,.4); transform:translateY(-2px); }
.cards.features a { display:flex; flex-direction:column; height:100%; padding:22px; color:inherit; text-decoration:none; border-radius:16px; }
.cards.features h2 { font-size:19px; margin:0 0 8px; letter-spacing:-.015em; }
.cards.features p { font-size:15px; }
.cards.features .more { margin-top:auto; padding-top:16px; color:var(--go); font-weight:600; font-size:14.5px; }
.cards.features .more::after { content:"\00a0\2192"; }
.docs .foragents { grid-template-columns:1fr; }
.docs .foragents ul { margin:0; padding-left:20px; color:#D9CEC8; }
.docs .foragents li { margin:8px 0; overflow-wrap:anywhere; }
.docs .foragents code { background:rgba(255,255,255,.1); color:#fff; }
.docs .price { margin:48px 0; }
.docs .price h2 { margin-bottom:8px; }

/* One feature: the words in a card, a short contents list beside it. */
.docgrid { display:grid; gap:24px; }
.docbody { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:8px 24px 24px; min-width:0; }
.docs .prose { margin:0; padding:24px 0 6px; border-top:1px solid var(--line); scroll-margin-top:16px; }
.docs .prose:first-child { border-top:0; }
.docs .prose h2 { font-size:22px; margin:0 0 12px; }
.docs .prose h3 { font-size:16px; margin:24px 0 6px; }
.docs .prose p, .docs .prose li { max-width:68ch; }
.docs .prose ul, .docs .prose ol { padding-left:22px; margin:0 0 12px; }
.docs .prose li { margin:8px 0; }
.docs .prose ol { list-style:none; counter-reset:step; padding-left:0; }
.docs .prose ol > li { counter-increment:step; position:relative; padding-left:42px; margin:14px 0; }
.docs .prose ol > li::before { content:counter(step); position:absolute; left:0; top:-2px; width:28px; height:28px; border-radius:50%; background:var(--tint); color:var(--go); font-weight:800; font-size:14px; display:grid; place-items:center; }
.docs .prose table { border-collapse:collapse; width:100%; margin:6px 0 14px; font-size:15px; }
.docs .prose th, .docs .prose td { text-align:left; vertical-align:top; padding:10px 14px 10px 0; border-bottom:1px solid var(--line); }
.docs .prose th { font-size:12px; letter-spacing:.07em; text-transform:uppercase; color:var(--soft); font-weight:700; }
.docs .prose tr:last-child td { border-bottom:0; }
.docs .prose td:last-child { font-weight:600; }
.docs .prose pre { background:var(--wash); border:1px solid var(--line); border-radius:10px; padding:12px; overflow-x:auto; }
/* Three kinds of section stand apart: what an agent can't do, what isn't
   built, and the part written for an agent. */
.docs .prose.cant, .docs .prose.notyet, .docs .prose.agents { border:0; border-radius:14px; padding:20px 22px 10px; margin:22px 0 6px; }
.docs .prose.cant + .prose, .docs .prose.notyet + .prose, .docs .prose.agents + .prose { border-top:0; }
.docs .prose.cant { background:var(--tint); border:1.5px solid var(--go); }
.docs .prose.notyet { background:var(--brass-pale); border:1px solid var(--warn-line); }
.docs .prose.notyet h2 { color:var(--brass-dark); }
.docs .prose.agents { background:var(--ink); color:#F8F5F1; }
.docs .prose.agents h2 { color:#fff; }
.docs .prose.agents h2::after { content:"Markdown below"; display:none; }
.docs .prose.agents p { color:#D9CEC8; }
.docs .prose.agents a { color:#F0C987; }
.docs .prose.agents code { background:rgba(255,255,255,.1); color:#fff; }
.docside { display:none; }
@media (min-width:960px) {
  .docgrid { grid-template-columns:minmax(0,1fr) 230px; gap:36px; align-items:start; }
  .docbody { padding:10px 36px 30px; }
  .docside { display:block; position:sticky; top:20px; }
  .docside .section-label { margin:6px 0 10px; }
  .docside a { display:block; padding:6px 0 6px 12px; border-left:2px solid var(--line); color:var(--soft); text-decoration:none; font-size:14.5px; line-height:1.35; }
  .docside a:hover { color:var(--go); border-left-color:var(--go); }
}
.nextprev { display:grid; gap:12px; margin:24px 0 0; }
.nextprev a { display:block; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px 18px; color:var(--ink); font-weight:700; text-decoration:none; }
.nextprev a:hover { border-color:var(--go); color:var(--go); }
.nextprev span { display:block; font-size:12px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--soft); margin-bottom:2px; }
.nextprev .next { text-align:right; }
@media (min-width:700px) { .nextprev { grid-template-columns:1fr 1fr; } }
.docs .closing { margin:48px 0 0; }

@media (max-width:520px) {
  .docs .dochero { margin:20px 0 28px; }
  .docs .dochero h1 { font-size:32px; }
  .docbody { padding:4px 18px 18px; }
  .docs .prose.cant, .docs .prose.notyet, .docs .prose.agents { padding:16px 16px 6px; }
}
