@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/SourceSans3.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: var(--foreground);
  
  --paper: var(--background);
  --surface: var(--secondary);
  --line: var(--border);
  --orange: #f26a21;
  
  --accent-soft: #eff7ea;
  --accent-ink: var(--accent-foreground);
  --card-radius: var(--radius);
  --detection-line: 1.5px;
  --detection-corner-stroke: 3px;
  --detection-corner-ratio: .14;
  --detection-color: #a7f35a;
  --detection-shadow: rgba(14, 33, 23, .45);
  --detection-label-background: rgba(21, 59, 43, .92);
  --detection-confidence: #b6f379;
  --detection-label-radius: 3px;
  --detection-label-height: 24px;
  --detection-label-padding: 7px;
  --detection-label-font-size: 16px;
  --pad: clamp(1.2rem, 5.8vw, 6rem);
  font-family: var(--font-interface);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 4px; }
.wrap { width: min(100%, 100rem); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; z-index: 10; left: 1rem; top: -8rem; background: white; padding: .8rem; }
.skip:focus { top: .5rem; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-inner, .brand, .main-nav, .rail, .foot, .foot nav { display: flex; align-items: center; }
.nav-inner { min-height: 4.75rem; justify-content: space-between; gap: 2rem; }
.brand { gap: .45rem; font-size: 1.55rem; font-weight: 670; letter-spacing: -.055em; }
.main-nav { align-self: stretch; align-items: stretch; gap: clamp(1.3rem, 2.7vw, 2.9rem); font-size: .91rem; font-weight: 540; }
.main-nav a { display: grid; align-items: center; position: relative; }
.main-nav a[aria-current]::after { content: ""; height: 2px; background: var(--accent); position: absolute; bottom: .9rem; left: 0; right: 0; }
.nav-contact { font-size: .91rem; font-weight: 590; border: 1px solid var(--line); padding: .6rem 1.15rem; border-radius: 2rem; }
.nav-contact:hover { background: var(--surface); border-color: #aeb4ac; }
.hero { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.38fr); gap: clamp(2rem, 4.8vw, 5.4rem); align-items: center; padding-block: clamp(3.25rem, 5vw, 5.6rem); }
.hero-art { display: block; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; object-position: right center; }
.kicker { font-size: 1rem; line-height: 1.35; letter-spacing: .012em; font-weight: 600; color: var(--muted-foreground); }
h1, h2 { letter-spacing: -.04em; font-weight: 560; line-height: 1.04; }
h1 { margin: 1.15rem 0 1.3rem; font-size: clamp(3.2rem, 5.7vw, 6rem); }
h1 > span, h2 > .heading-dot { color: var(--orange); }
.lead { max-width: 36ch; font-size: clamp(1rem, 1.27vw, 1.24rem); line-height: 1.56; color: var(--muted-foreground); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.45rem; font-size: .95rem; font-weight: 650; border-radius: 99rem; }
.primary, .dark { background: var(--ink); color: white; }
.primary { margin-top: 1.85rem; }
.primary:hover, .dark:hover { background: #363d37; }
.section-nav { position: sticky; top: 0; z-index: 4; border-block: 1px solid var(--line); background: var(--paper); }
.rail { min-height: 3.6rem; gap: clamp(1.2rem, 3.4vw, 3.5rem); }
.rail a { padding-block: .8rem; font-size: .875rem; color: var(--muted-foreground); }
.rail-title { margin-right: auto; font-weight: 650; }
.rail a:hover, .main-nav a:hover, .foot nav a:hover { text-decoration: underline; text-underline-offset: .28rem; }
.section { padding-block: clamp(4rem, 7.2vw, 8rem); }
h2 { font-size: clamp(2.7rem, 4.25vw, 5.1rem); }
.kicker + h2 { margin-top: .85rem; }
.body-copy { font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.6; color: var(--muted-foreground); }
.showcase, .app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7.5vw, 9rem); align-items: center; }
.show-copy { max-width: 35rem; }
.show-copy h2 { max-width: 13ch; }
.show-copy .body-copy { margin-top: 1.3rem; max-width: 42ch; }
.variant-control { padding: 0; border: 0; margin: 2.25rem 0 1.6rem; min-inline-size: 0; }
.variant-control legend { padding: 0; margin-bottom: .7rem; font-size: .9rem; font-weight: 640; }
.segmented { display: inline-flex; gap: .18rem; padding: .22rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--paper); }
.segmented label { cursor: pointer; position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: .68rem .85rem; border-radius: .4rem; font-size: .9rem; font-weight: 590; }
.segmented input:checked + span { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent-ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.segmented label:hover input:not(:checked) + span { background: var(--surface); }
.specs { max-width: 28rem; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); padding-block: .9rem; font-size: .91rem; }
.specs dt { color: var(--muted-foreground); }
.specs dd { font-weight: 620; }
.image-card, .screen { min-width: 0; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--paper); }
.image-card { overflow: hidden; }
.image-card figcaption { border-top: 1px solid var(--line); padding: 1rem 1.2rem; }
.detection-box { position: absolute; container-type: size; }
.detection-box::before, .detection-box::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.detection-box::before {
  box-shadow: inset 0 0 0 var(--detection-line) var(--detection-color),
    0 0 0 1px var(--detection-shadow);
}
.detection-box::after {
  --corner-length: calc(100cqmin * var(--detection-corner-ratio));
  --corner-fill: linear-gradient(var(--detection-color), var(--detection-color));
  background: var(--corner-fill) left top, var(--corner-fill) left top,
    var(--corner-fill) right top, var(--corner-fill) right top,
    var(--corner-fill) left bottom, var(--corner-fill) left bottom,
    var(--corner-fill) right bottom, var(--corner-fill) right bottom;
  background-size: var(--corner-length) var(--detection-corner-stroke),
    var(--detection-corner-stroke) var(--corner-length);
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 1px var(--detection-shadow));
}
.detection-label {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 100%;
  padding-inline: var(--detection-label-padding);
  border-radius: var(--detection-label-radius);
  background: var(--detection-label-background);
  color: white;
  font: 400 var(--detection-label-font-size) / var(--detection-label-height) var(--font-interface);
  white-space: nowrap;
}
.detection-box--label-inside .detection-label {
  inset: var(--detection-corner-stroke) auto auto var(--detection-corner-stroke);
}
.detection-label i { font-weight: 600; }
.detection-confidence { color: var(--detection-confidence); }
.system-frame figcaption, .tower-frame figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .8rem; font-size: .9rem; font-weight: 570; }
.caption-meta { font-size: .8rem; font-weight: 400; color: var(--muted-foreground); }
.tower-frame { width: min(100%, 29rem); justify-self: end; }
.tower-frame img { width: 100%; height: auto; }
.mounts { background: var(--surface); }
.mount-intro { display: grid; grid-template-columns: 1.22fr .78fr; gap: 3rem; align-items: end; margin-bottom: 2.1rem; }
.mount-intro .body-copy { max-width: 37ch; }
.mount-grid { display: grid; grid-template-columns: 1.34fr 1fr 1fr; gap: clamp(.8rem, 1.9vw, 2rem); }
.mount-grid img { width: 100%; height: clamp(15rem, 24vw, 26rem); object-fit: cover; }
.mount-grid img[src*="stamm"] { object-position: center 64%; }
.mount-grid h3 { font-size: 1.18rem; font-weight: 620; letter-spacing: -.03em; }
.mount-grid p { font-size: .94rem; color: var(--muted-foreground); line-height: 1.5; margin-top: .22rem; }
.collector { border-bottom: 1px solid var(--line); }
.app-grid { grid-template-columns: 1.2fr .8fr; }
.app-grid .body-copy { margin-top: 1.3rem; max-width: 41ch; }
.demo-note { color: var(--muted-foreground); font-size: .94rem; line-height: 1.55; max-width: 42ch; margin: 1.2rem 0 2rem; }
.underlink { font-weight: 550; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .32em; }
.screen { display: grid; place-items: center; padding: clamp(1.4rem, 3vw, 3rem); background: var(--surface); }
.screen video { background: var(--ink); border-radius: 1.1rem; width: min(100%,16rem); aspect-ratio: 540/1066; outline: 1px solid #bdc3bc; }
.close, .foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.close { padding-block: clamp(3.8rem, 6vw, 6.5rem); }
.close h2 { font-size: clamp(2rem, 3.2vw, 3.7rem); }
.close p { margin-top: .9rem; color: var(--muted-foreground); line-height: 1.5; }
.dark { flex-shrink: 0; }
footer { border-top: 1px solid var(--line); }
.foot { padding-block: 1.5rem; }
.foot .brand { font-size: 1.23rem; }
.foot nav { gap: 1.3rem; font-size: .88rem; }
@media (max-width: 900px) {
  .showcase { gap: 2.2rem; }
  .main-nav { gap: 1.15rem; }
  .mount-grid { grid-template-columns: 1.16fr 1fr 1fr; }
  .segmented span { padding-inline: .63rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 4.2rem; }
  .nav-inner { min-height: 3.8rem; gap: .9rem; }
  .main-nav { display: none; }
  .brand img { width: 30px; height: 30px; }
  .brand { font-size: 1.32rem; }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.5rem 1.75rem; }
  .hero-art img { aspect-ratio: 1.6; }
  .hero-copy { max-width: 34rem; }
  .image-card figcaption { padding: .8rem .9rem; }
  h1 { font-size: clamp(3.2rem, 10vw, 4.6rem); margin: .7rem 0 .9rem; }
  .primary { margin-top: 1.35rem; }
  .rail { justify-content: space-between; min-height: 3rem; gap: .55rem; }
  .rail-title { display: none; }
  .rail a { font-size: .85rem; }
  .showcase, .mount-intro, .app-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .show-copy { max-width: 100%; }
  .show-copy h2 { max-width: 16ch; }
  .variant-control { margin: 1.5rem 0 1rem; }
  .tower-frame { justify-self: center; }
  .mount-grid { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .mount-grid figure:first-child { grid-column: 1 / -1; }
  .mount-grid img { height: auto; aspect-ratio: 3/4; }
  .mount-grid figure:first-child img { aspect-ratio: 1.55; }
  .mount-intro { margin-bottom: 1.5rem; }
  .app-grid { gap: 2.2rem; }
  .section { padding-block: 3.7rem; }
  .close, .foot { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .foot nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
