@font-face {
  font-family: "Public Sans";
  src: url("/assets/public-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/public-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 850;
  font-display: swap;
}
:root {
  --dark: #171a16;
  --dark-soft: #232820;
  --paper: #f0f1e9;
  --paper-text: #1a201a;
  --white: #f5f5eb;
  --lime: #deff67;
  --muted: #c4c8ba;
  --rule: #3d4339;
  --page-margin: clamp(1.25rem, 5vw, 5.5rem);
  font: 400 100%/1.5 "Public Sans", Arial, sans-serif;
  color: var(--white);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd, fieldset, legend, ol { margin: 0; }
h1, h2, h3, b { font-weight: 600; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: var(--dark); background: var(--lime); }
.frame { width: min(100% - var(--page-margin) * 2, 91rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; background: var(--lime); color: var(--dark); padding: 1rem; z-index: 10; }
.skip:focus { top: .5rem; }
.header { background: #191d18; }
.nav, .footer-inner { display: flex; align-items: center; gap: 2.75rem; }
.nav { min-height: 5rem; }
.brand { display: inline-flex; gap: .58rem; align-items: center; font-weight: 650; letter-spacing: -.08em; font-size: 1.85rem; line-height: 1; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; margin-left: auto; }
.nav-links a, .sign-in, .text-link, .footer-link, .button { font-weight: 600; font-size: .93rem; }
.nav-links a { padding: .7rem 0; color: var(--muted); }
.nav-links a:hover { color: var(--white); }
.sign-in { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.65rem; padding: .35rem 1rem; border: 1px solid #67705f; border-radius: .2rem; }
.sign-in:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-inner { padding-block: clamp(6.5rem, 9.3vw, 10rem) clamp(6rem, 10vw, 11rem); }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 56%; clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%); background: #354541; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 69% 45%; }
.finder { position: absolute; height: 1rem; width: 1rem; border-color: rgba(240, 243, 219, .67); border-style: solid; }
.finder.top { border-width: 1px 1px 0 0; top: 1.5rem; right: 1.5rem; }
.finder.bottom { border-width: 0 1px 1px 0; bottom: 1.5rem; right: 1.5rem; }
h1, h2 { letter-spacing: -.079em; line-height: .99; }
h1 { font-size: clamp(4.25rem, 6.05vw, 6.65rem); }
h1 span, .setup h2 span { color: var(--lime); }
.hero p { color: var(--muted); max-width: min(30rem, 41%); font-size: clamp(1.03rem, 1.35vw, 1.3rem); line-height: 1.55; margin-top: 1.85rem; letter-spacing: -.025em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.65rem; margin-top: 2.2rem; }
.button { display: inline-flex; min-height: 3.25rem; padding: .73rem 1.13rem; align-items: center; justify-content: space-between; gap: 1.55rem; background: var(--lime); color: var(--dark); border-radius: .2rem; }
.button span { font-size: 1.2rem; line-height: 1; transition: transform .16s ease; }
.button:hover { background: #e9ff94; text-decoration: none; }
.button:hover span { transform: translate(2px, -2px); }
.text-link, .footer-link { display: inline-flex; align-items: center; gap: .5rem; padding-block: .7rem; }
.section { padding-block: clamp(4.3rem, 7.4vw, 8.4rem); }
.demo { background: var(--paper); color: var(--paper-text); }
.demo-grid, .setup-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(2.25rem, 7vw, 8rem); }
.demo-grid { align-items: center; }
h2 { font-size: clamp(3.05rem, 5.25vw, 5.75rem); }
.demo h2 span { color: #668422; }
.section-copy > p { max-width: 23rem; margin-top: 1.4rem; color: #4c554a; font-size: 1.09rem; letter-spacing: -.022em; }
.request-control { border: 0; padding: 0; margin-top: 1.9rem; }
.request-control legend { font-size: .86rem; font-weight: 600; margin-bottom: .55rem; padding: 0; }
.request-control label { display: inline-flex; position: relative; margin: 0 .2rem .4rem 0; cursor: pointer; }
.request-control input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.request-control label span { display: inline-flex; align-items: center; min-height: 2.8rem; border: 1px solid #9fa897; border-radius: .22rem; padding: .45rem .85rem; font-size: .89rem; }
.request-control label:hover span { border-color: var(--dark); }
.request-control input:checked + span { color: var(--white); background: var(--dark); border-color: var(--dark); }
.request-control input:focus-visible + span { outline: 3px solid var(--dark); outline-offset: 3px; }
.console { position: relative; background: #1d211d; color: var(--white); border-radius: .5rem; overflow: hidden; }
.console-bar { padding: .88rem 1.25rem; display: flex; align-items: center; gap: .55rem; background: #2a3029; }
.console-bar b { font-size: .91rem; }
.workspace-mark { border: 1.5px solid #bdc5b1; width: 14px; height: 12px; border-radius: 2px; position: relative; }
.workspace-mark::before { content: ""; position: absolute; left: 1px; top: -4px; height: 3px; width: 6px; border: 1.5px solid #bdc5b1; border-bottom: none; }
.console-caption { margin-left: auto; font-size: .82rem; color: #cbd0c3; }
.route { padding-block: 2.3rem 1.9rem; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, 1fr); background-image: radial-gradient(#384038 1px, transparent 1px); background-size: 14px 14px; }
.route-line { position: absolute; height: 2px; background: #a2b881; inset: calc(2.3rem + 1.65rem) 16.66% auto; z-index: -1; }
.route-line::before, .route-line::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-top: 2px solid #a2b881; border-right: 2px solid #a2b881; transform: rotate(45deg); }
.route-line::before { left: 27%; }
.route-line::after { left: 76%; }
.node { display: flex; align-items: center; flex-direction: column; gap: .04rem; }
.node-icon { width: 3.34rem; height: 3.34rem; display: grid; place-items: center; border: 1px solid #61705b; color: var(--white); background: #252d25; border-radius: 28%; margin-bottom: .55rem; }
.agent-icon { font-family: Georgia, serif; font-weight: 400; font-style: italic; font-size: 2rem; }
.gateway-icon { background: var(--lime); border: 0; outline: 1px solid #6b7948; outline-offset: 4px; }
.gateway-icon img { width: 80%; height: 80%; }
.mail-icon { width: 24px; height: 17px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; overflow: hidden; }
.mail-icon::after { content: ""; width: 18px; height: 18px; border: 1.5px solid currentColor; position: absolute; bottom: 7px; left: 1.5px; transform: rotate(45deg); }
.node b { font-size: .95rem; }
.node small { font-size: .82rem; color: #bac2b4; }
.blocked .route-line { background: linear-gradient(to right, #a2b881 50%, transparent 50%), repeating-linear-gradient(to right, #79786c 0 5px, transparent 5px 10px); }
.blocked .route-line::after { color: #ffbd93; content: "×"; border: none; width: 22px; height: 22px; top: -10px; left: calc(76% - 7px); background: #1d211d; border-radius: 50%; text-align: center; line-height: 21px; font-size: 1.25rem; transform: none; }
.blocked .target .node-icon { color: #aeb3aa; border-style: dashed; }
.log { background: #232821; padding: 1.1rem 1.35rem 1.3rem; }
.log-head, .log dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.log-head { align-items: center; margin-bottom: .7rem; }
.log h3 { font-size: .96rem; letter-spacing: -.03em; }
.result { display: inline-flex; align-items: center; gap: .44rem; font-size: .81rem; font-weight: 600; color: #def49b; }
.result::before { content: ""; background: currentColor; width: .46rem; height: .46rem; border-radius: 50%; }
.blocked .result { color: #ffbf9d; }
.log dl > div { font-size: .86rem; line-height: 1.5; padding-block: .19rem; }
.log dt { color: #b6bdae; flex-shrink: 0; }
.log dd { text-align: right; }
.log code { font-size: .84rem; overflow-wrap: anywhere; }
.setup { background: #dfff70; color: var(--dark); }
.setup h2 span { color: #56731f; }
.setup-grid { align-items: start; }
.dark-button { background: var(--dark); color: var(--white); margin-top: 2rem; }
.dark-button:hover { background: #313a2d; }
.steps { list-style: none; padding: 0; }
.steps li { padding: 1.23rem 0;  }
.steps li:first-child { padding-top: 0; border-top: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { font-size: clamp(1.25rem, 1.75vw, 1.75rem); letter-spacing: -.055em; }
.steps p { margin-top: .28rem; max-width: 35rem; color: #384329; line-height: 1.55; }
.footer-inner { justify-content: space-between; min-height: 6.4rem; }
.footer-inner .brand { font-size: 1.55rem; }
@media (min-width: 1650px) {
  .hero-art { width: calc(50% + 5rem); }
}
@media (max-width: 940px) {
  h1 { font-size: clamp(3.3rem, 6.4vw, 4rem); }
  .demo-grid, .setup-grid { gap: 2rem; grid-template-columns: .85fr 1.15fr; }
  .hero-inner { padding-block: 5.6rem 5.8rem; }
  .hero-art { width: 54%; }
  .section-copy > p { max-width: 21rem; }
  .hero-actions { gap: 1.1rem; }
}
@media (max-width: 760px) {
  :root { --page-margin: clamp(1.2rem, 5.25vw, 2.4rem); }
  .nav { min-height: 4.2rem; gap: 1.25rem; }
  .brand { font-size: 1.53rem; }
  .brand img { width: 30px; height: 30px; }
  .nav-links { gap: 1.25rem; }
  .sign-in { min-height: 2.5rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: 0; padding-block: 3.5rem 2.45rem; }
  .hero-art { order: 1; position: relative; width: 100%; height: clamp(12rem, 44vw, 19rem); clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 32%); }
  .hero-art img { object-position: 50% 28%; }
  .finder.top { top: .8rem; right: .8rem; }
  .finder.bottom { bottom: .8rem; right: .8rem; }
  h1 { font-size: clamp(1.95rem, 10.3vw, 4.8rem); }
  .hero p { max-width: 31rem; margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.5rem; gap: 1.2rem; }
  .demo-grid, .setup-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .section-copy > p { max-width: 34rem; margin-top: 1rem; }
  .section { padding-block: 3.5rem; }
  .request-control { margin-top: 1.3rem; }
  .console { max-width: 38rem; }
  .dark-button { margin-top: 1.35rem; }
  .steps { max-width: 36rem; }
  h2 { font-size: clamp(3rem, 8vw, 4rem); }
}
@media (max-width: 475px) {
  .nav-links { display: none; }
  .sign-in { margin-left: auto; }
  .console-bar { padding: .83rem 1rem; }
  .log { padding: .9rem 1rem 1rem; }
  .log dl > div { gap: .65rem; }
  .route { padding-block: 1.8rem 1.4rem; }
  .route-line { top: calc(1.8rem + 1.65rem); }
  .footer-inner { min-height: 5rem; }
}
@media (max-width: 360px) {
  .hero-actions { gap: .85rem; }
  .hero-actions a { font-size: .85rem; }
  .hero-actions .button { gap: .55rem; padding-inline: .7rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: tower-arrival 1.2s ease-out both; }
  @keyframes tower-arrival { from { transform: scale(1.035); } to { transform: scale(1); } }
  .route-line .request-dot { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; animation: request-route .65s ease-out both; }
  .blocked .request-dot { --route-end: 50%; }
  @keyframes request-route { from { left: 0; } 85% { opacity: 1; } to { left: var(--route-end, 100%); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
