:root {
  --ink: #11130f;
  --ink-soft: #353930;
  --paper: #e9ece6;
  --paper-bright: #ffffff;
  --signal: #c9ff57;
  --safety: #b83d26;
  --line: rgba(17, 19, 15, 0.2);
  --line-light: rgba(255, 255, 255, 0.2);
  --content: 1180px;
  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  --font-display: "Avenir Next Condensed", "Arial Narrow", var(--font-sans);
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--content));
  margin: 0 auto;
  padding: 1.5rem 0;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.wordmark {
  display: inline-flex;
  gap: 0.58rem;
  align-items: center;
  color: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.48rem;
  height: 1.48rem;
  background: currentColor;
  mask: url("assets/bounder-mark.svg") center / contain no-repeat;
  -webkit-mask: url("assets/bounder-mark.svg") center / contain no-repeat;
}

.wordmark::after {
  width: 0.38rem;
  height: 0.38rem;
  background: var(--signal);
  border-radius: 999px;
  content: "";
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.header-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.header-nav a,
.secondary-nav a {
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-nav a {
  position: relative;
}

.header-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: 100svh;
  color: white;
  background: var(--ink);
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(0.62) contrast(1.08);
}

.hero-scrim {
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 12, 9, 0.9) 0%, rgba(10, 12, 9, 0.58) 50%, rgba(10, 12, 9, 0.2) 100%);
}

.hero-content {
  align-self: center;
  width: min(calc(100% - 3rem), var(--content));
  margin: 3rem auto 0;
}

.eyebrow,
.section-label,
.status-kicker,
.application-mark {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--signal);
}

.hero h1 {
  max-width: 900px;
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(4rem, 9.3vw, 8.7rem);
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 0.82;
}

.hero-summary {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.hero-summary strong {
  color: var(--signal);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
}

.button-primary:hover {
  background: white;
  border-color: white;
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.button-secondary:hover {
  color: var(--ink);
  background: white;
}

.text-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-underline-offset: 0.35rem;
  text-transform: uppercase;
}

.text-link.dark {
  color: var(--ink);
}

.hero-note {
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--content)) / 2));
  bottom: 2rem;
  max-width: 360px;
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--signal);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
}

.section {
  width: min(calc(100% - 3rem), var(--content));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-label {
  color: var(--ink-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 720px);
  gap: 2rem;
  align-items: start;
  margin-bottom: 4.5rem;
}

.section-heading h2,
.intro h2,
.section-safety h2,
.cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.section-heading > p {
  grid-column: 2;
  max-width: 620px;
  margin: -2.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 290px;
  gap: 2rem;
  align-items: start;
}

.intro-copy p {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.status-block {
  padding: 1.4rem 0 0 1.4rem;
  border-top: 3px solid var(--safety);
  border-left: 1px solid var(--line);
}

.status-block strong {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-size: 1.15rem;
}

.status-block p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.section-dark {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: max(1.5rem, calc((100vw - var(--content)) / 2));
  padding-left: max(1.5rem, calc((100vw - var(--content)) / 2));
  color: white;
  background: var(--ink);
}

.section-dark .section-label,
.section-dark .section-heading > p {
  color: rgba(255, 255, 255, 0.6);
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.architecture-flow li {
  min-height: 290px;
  padding: 1.5rem 1.5rem 2rem;
  border-right: 1px solid var(--line-light);
}

.architecture-flow li:first-child {
  padding-left: 0;
}

.architecture-flow li:last-child {
  border-right: 0;
}

.step-mark {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
}

.architecture-flow h3 {
  margin: 0 0 0.7rem;
  font-size: 1.5rem;
}

.architecture-flow p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.boundary-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  max-width: 790px;
  margin: 4rem 0 0 auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--signal);
}

.boundary-note span {
  color: var(--signal);
  font-size: 1.6rem;
}

.boundary-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.boundary-note strong {
  color: white;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid article {
  padding: 2rem 1.6rem 2.3rem;
  border-right: 1px solid var(--line);
}

.principle-grid article:first-child {
  padding-left: 0;
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-mark {
  display: block;
  min-height: 3rem;
  color: var(--safety);
  font-size: 2rem;
}

.principle-grid h3 {
  margin: 2.5rem 0 0.7rem;
  font-size: 1.15rem;
}

.principle-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.applications {
  border-top: 1px solid var(--line);
}

.home-simulator {
  width: 100%;
  padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100vw - var(--content)) / 2));
}

.home-simulator-heading {
  display: flex;
  gap: 3rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.home-simulator-heading > div {
  max-width: 820px;
}

.home-simulator-heading h2 {
  margin: 1.25rem 0;
}

.home-simulator-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
}

.home-simulator-frame {
  display: block;
  width: 100%;
  height: 980px;
  background: var(--ink);
  border: 1px solid var(--line-light);
}

.application-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.application-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 1.2rem;
  padding: 2.2rem 2.2rem 2.2rem 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-list article:nth-child(even) {
  padding-right: 0;
  padding-left: 2.2rem;
  border-right: 0;
}

.application-mark {
  grid-row: 1 / 3;
  color: var(--safety);
  font-size: 1.25rem;
}

.application-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.application-list article > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.section-safety {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 2rem;
  width: 100%;
  max-width: none;
  padding-right: max(1.5rem, calc((100vw - var(--content)) / 2));
  padding-left: max(1.5rem, calc((100vw - var(--content)) / 2));
  color: white;
  background: var(--safety);
}

.section-safety .section-label {
  color: rgba(255, 255, 255, 0.75);
}

.section-safety p {
  max-width: 650px;
  font-size: 1.1rem;
}

.section-safety ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  list-style: none;
}

.section-safety li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.cta {
  width: 100%;
  max-width: none;
  padding-right: max(1.5rem, calc((100vw - var(--content)) / 2));
  padding-left: max(1.5rem, calc((100vw - var(--content)) / 2));
  color: white;
  background: var(--ink);
}

.cta h2 {
  max-width: 900px;
  margin: 1.2rem 0 1.5rem;
}

.cta > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem max(1.5rem, calc((100vw - var(--content)) / 2));
  color: white;
  background: var(--ink);
  border-top: 1px solid var(--line-light);
}

.site-footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.secondary-nav {
  display: flex;
  gap: 1.2rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
}

.interior-page {
  background: var(--paper-bright);
}

.interior-page .site-header {
  position: relative;
  color: var(--ink);
  border-bottom-color: var(--line);
}

.interior-page .header-nav a::after {
  background: var(--safety);
}

.interior-main {
  width: min(calc(100% - 3rem), var(--content));
  min-height: 65vh;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.interior-intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 850px);
  gap: 1.5rem 2rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.interior-intro h1,
.policy-body h1,
.error-main h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.interior-intro > p:last-child {
  grid-column: 2;
  max-width: 700px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding-top: clamp(4rem, 8vw, 7rem);
}

.contact-layout h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
}

.contact-context ul {
  margin: 0 0 2.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-context li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.contact-context p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-context a,
.policy-body a,
.form-consent a {
  text-underline-offset: 0.2rem;
}

.contact-form-wrap {
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid var(--line);
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label,
.form-consent label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font: inherit;
}

.form-field textarea {
  min-height: 170px;
  padding: 0.9rem;
  border: 1px solid var(--ink);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  background: white;
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 1.8rem 0;
}

.form-consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  accent-color: var(--ink);
}

.form-consent label {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.5;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.button-dark {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--ink);
}

.form-notice {
  margin-bottom: 2.5rem;
  padding: 1.3rem;
  border-top: 4px solid var(--signal);
  background: var(--ink);
  color: white;
}

.form-notice p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.policy-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  gap: clamp(2rem, 8vw, 8rem);
  justify-content: start;
}

.policy-aside {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.policy-aside > p:last-child {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.policy-body h1 {
  margin-bottom: 2rem;
}

.policy-lead {
  margin: 0 0 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.policy-body h2 {
  margin: 3.2rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
}

.policy-body p {
  color: var(--ink-soft);
}

.error-page {
  min-height: 100vh;
  color: white;
  background: var(--ink);
}

.error-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 100vh;
  margin: 0 auto;
}

.error-main .wordmark {
  position: absolute;
  top: 2rem;
}

.error-code {
  margin: 0 0 1rem;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.error-main > p:not(.error-code) {
  max-width: 520px;
  margin: 1.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
}

/* Compatibility for the retained legal, contact, and error pages. */
.site-title img {
  width: auto;
  height: 40px;
}

.content-inner {
  width: min(calc(100% - 3rem), 800px);
  margin: 0 auto;
}

.secondary-nav ul {
  display: flex;
  gap: 1.2rem;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .section-heading,
  .intro,
  .section-safety {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    grid-column: 1;
    margin-top: 0;
  }

  .architecture-flow,
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .architecture-flow li:nth-child(2),
  .principle-grid article:nth-child(2) {
    border-right: 0;
  }

  .architecture-flow li:first-child,
  .principle-grid article:first-child {
    padding-left: 1.5rem;
  }

  .interior-intro,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .interior-intro > p:last-child {
    grid-column: 1;
  }

  .policy-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  .header-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
    text-align: right;
  }

  .header-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 44px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-scrim {
    background: rgba(10, 12, 9, 0.7);
  }

  .hero h1 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }

  .hero-actions,
  .cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-note {
    right: 1.5rem;
    left: 1.5rem;
  }

  .architecture-flow,
  .principle-grid,
  .application-list {
    grid-template-columns: 1fr;
  }

  .home-simulator-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .architecture-flow li,
  .architecture-flow li:nth-child(2),
  .principle-grid article,
  .principle-grid article:nth-child(2) {
    min-height: auto;
    padding: 1.5rem 0 2rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .principle-grid article,
  .principle-grid article:nth-child(2) {
    padding: 1.5rem 0 2rem;
    border-bottom-color: var(--line);
  }

  .step-mark,
  .principle-grid h3 {
    margin-bottom: 1rem;
  }

  .principle-grid h3 {
    margin-top: 1rem;
  }

  .application-list article,
  .application-list article:nth-child(even) {
    padding: 1.8rem 0;
    border-right: 0;
  }

  .home-simulator-frame {
    height: 1450px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding-top: 3rem;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .cta-actions,
  .site-footer {
    display: none;
  }

  body,
  .section-dark,
  .section-safety,
  .cta {
    color: black;
    background: white;
  }
}
