/* Public site layout */
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: 0.7rem 1rem; z-index: 50; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  max-width: 1160px; margin: 0 auto; padding: 1.1rem 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em; }
.site-header nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-header nav a:not(.btn) { color: var(--navy); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.site-header nav a:not(.btn):hover { color: var(--cobalt-ink); text-decoration: underline; }

/* Full-width hero so the orb fades into the page instead of being cut off by a box edge. */
.site-header { position: relative; z-index: 5; }
.hero { position: relative; overflow: hidden; margin: -82px 0 0; padding: 9.5rem max(1.25rem, calc((100vw - 1160px) / 2 + 1.25rem)) 5rem; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { margin-bottom: 0.4em; }
.lede { font-size: 1.2rem; color: var(--slate-ink); max-width: 560px; }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-orb-a { width: 520px; height: 520px; right: -140px; top: -170px; }
.hero-orb-b { width: 250px; height: 250px; right: 80px; top: 90px; }

/* Scroll sphere: while the page scrolls, site.js lifts the sphere out of the hero so it can travel
   down and then right. Later sections paint above it, so text and cards always stay on top.
   Without JavaScript, or with reduced motion, none of this applies and it stays in the hero. */
.orb-travel .hero-orb-b { position: fixed; left: 0; top: 0; right: auto; will-change: transform, opacity; }
.section, .site-footer { position: relative; }

.section { max-width: 1160px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.section--tint { background: linear-gradient(180deg, rgba(207, 246, 239, 0.45), rgba(207, 246, 239, 0)); border-radius: 36px; }
/* Plain text pages (for example /bot/): a readable column and a simple code block. */
.section pre { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; overflow-x: auto; font-family: var(--font-mono); font-size: 0.92rem; }
.section > p, .section > ul, .section > h2 { max-width: 62ch; }
.section > h2 { margin-top: 2rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.cards .card { display: flex; flex-direction: column; gap: 0.5rem; }
.cards .card p { color: var(--slate-ink); flex: 1; }
.lead-small { margin-top: 1.2rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: start; }
.demo-note { margin-top: 1.5rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.check { display: flex; gap: 0.7rem; align-items: flex-start; }
.field.check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--navy); }
.field.check label { font-weight: 400; margin: 0; }
.file-chip { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.1rem; }
.file-chip .chip { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.status { min-height: 1.5rem; margin: 0.9rem 0 0; font-weight: 500; }
.status.is-error { color: var(--danger-ink); }
.status.is-ok { color: var(--teal-ink); }

.thanks { text-align: left; }
.thanks .ref { font-family: var(--font-mono); font-size: 0.85rem; color: var(--slate-ink); }

.site-footer { max-width: 1160px; margin: 2rem auto 0; padding: 2rem 1.25rem 3rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; margin-top: -96px; }
  .hero-orb-a { width: 340px; height: 340px; right: -140px; top: -120px; }
  .hero-orb-b { width: 150px; height: 150px; right: 10px; top: 40px; }
}
