/* Digital Range public site (digitalrange.com.au). Brand tokens: SPEC.md section 2 / ADR 0006. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
}

:root {
  --dr-black: #05080c;
  --dr-surface: #0d1319;
  --dr-surface-2: #121a22;
  --dr-line: #1e2a35;
  --dr-white: #f8f8f8;
  --dr-muted: #f8f8f8b8;
  --dr-olive: #5d7a22;
  --dr-neon: #d8ec44;
  --dr-danger: #e5484d;
  /* Asset Firearms brand (Brand Package v1.0): used only where the maker is branded. */
  --af-navy: #1f2f3f;
  --af-olive: #5e7f4e;
  --radius: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--dr-black);
  color: var(--dr-white);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--dr-neon);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--dr-neon);
  outline-offset: 3px;
  border-radius: 6px;
}
kbd {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 0.8em;
  border: 1px solid var(--dr-line);
  background: var(--dr-surface-2);
  border-radius: 5px;
  padding: 0.05em 0.4em;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 750;
}
h3 {
  font-size: 1.15rem;
  font-weight: 650;
}
p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 800px;
}
.center {
  text-align: center;
}
.neon {
  color: var(--dr-neon);
}
.olive {
  color: var(--dr-olive);
}
.lead {
  font-size: 1.12rem;
  color: var(--dr-muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dr-neon);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.center .eyebrow {
  justify-content: center;
}
.pill {
  display: inline-block;
  background: var(--dr-neon);
  color: var(--dr-black);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.7rem;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--dr-neon);
  color: var(--dr-black);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--dr-neon);
  color: var(--dr-black);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--dr-neon);
  border-radius: 10px;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    opacity 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px -10px #d8ec4480;
}
.btn-ghost {
  background: transparent;
  color: var(--dr-white);
  border-color: var(--dr-line);
}
.btn-ghost:hover {
  border-color: var(--dr-olive);
  box-shadow: none;
}
.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}
.btn-big {
  width: 100%;
  padding: 1.05rem 1.4rem;
  font-size: 1.08rem;
}
.btn svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn[aria-disabled='true'] {
  opacity: 0.38;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #05080cd9;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dr-line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--dr-white);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .word {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 750;
  font-size: 0.98rem;
}
.brand .by {
  font-size: 0.72rem;
  color: var(--dr-muted);
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav a:not(.btn) {
  color: var(--dr-muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav a:not(.btn):hover {
  color: var(--dr-white);
}
.nav a {
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .nav {
    gap: 1rem;
  }
}
@media (max-width: 900px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* Phone menu (built by site.js): a button that opens the header links in a panel. */
.nav-toggle,
.nav-panel {
  display: none;
}
.nav-toggle {
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--dr-line);
  border-radius: 10px;
  background: transparent;
  color: var(--dr-white);
  cursor: pointer;
}
.nav-toggle[aria-expanded='true'] {
  border-color: var(--dr-neon);
}
.nav-toggle .nav-toggle-close,
.nav-toggle[aria-expanded='true'] .nav-toggle-open {
  display: none;
}
.nav-toggle[aria-expanded='true'] .nav-toggle-close {
  display: inline;
}
@media (max-width: 900px) {
  .nav {
    gap: 0.6rem;
  }
  .nav-toggle {
    display: inline-grid;
  }
  .nav-panel:not([hidden]) {
    display: block;
    border-top: 1px solid var(--dr-line);
    max-height: calc(100vh - 67px);
    overflow-y: auto;
  }
  .nav-panel-inner {
    display: flex;
    flex-direction: column;
    padding-top: 0.4rem;
    padding-bottom: 1.2rem;
  }
  .nav-panel a:not(.btn) {
    color: var(--dr-white);
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--dr-line);
  }
  .nav-panel a[aria-current='page'] {
    color: var(--dr-neon);
  }
  .nav-panel .btn {
    margin-top: 1.1rem;
    align-self: flex-start;
  }
}
/* Too narrow for the brand, the download button and the menu button together: the download
   button moves into the menu (the page itself also offers it). */
@media (max-width: 400px) {
  .top .nav > .btn {
    display: none;
  }
}
.brand .word,
.btn {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .brand .word {
    letter-spacing: 0.12em;
    font-size: 0.86rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .btn-small {
    padding: 0.4rem 0.75rem;
    font-size: 0.84rem;
  }
  .hero-stats {
    gap: 1.4rem;
  }
  .hero-stats strong {
    font-size: 1.6rem;
  }
  .hero-stats span {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 88px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 30%, #5d7a2233, transparent 70%),
    linear-gradient(180deg, #05080c 0%, #05080cee 60%, #05080c 100%),
    url('/img/hero-bush.jpg') center / cover no-repeat;
  opacity: 0.9;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: 0.95fr 1.25fr;
  }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 2.2rem;
}
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: 2rem;
  line-height: 1;
  color: var(--dr-neon);
  font-weight: 600;
}
.hero-stats span {
  font-size: 0.8rem;
  color: var(--dr-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.35rem;
}
.hero-shot {
  margin: 0;
}
.hero-shot img {
  border-radius: var(--radius);
  border: 1px solid var(--dr-line);
  box-shadow:
    0 40px 90px -30px #000,
    0 0 0 1px #ffffff08,
    0 0 70px -20px #5d7a2266;
}

/* Notice strip */
.notice {
  background: var(--dr-surface);
  border-top: 1px solid var(--dr-line);
  border-bottom: 1px solid var(--dr-line);
  font-size: 0.93rem;
  color: var(--dr-muted);
}
.notice .wrap {
  padding-top: 14px;
  padding-bottom: 14px;
}
.notice strong {
  color: var(--dr-neon);
}
.notice a {
  margin-left: 0.4rem;
}

/* Sections */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
  scroll-margin-top: 66px;
}
.section.alt {
  background: var(--dr-surface);
  border-top: 1px solid var(--dr-line);
  border-bottom: 1px solid var(--dr-line);
}
.section-head {
  max-width: 760px;
  margin-bottom: 2.8rem;
}

/* Cards / modes */
.card {
  background: var(--dr-black);
  border: 1px solid var(--dr-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-body {
  padding: 26px 26px 22px;
}
.modes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 860px) {
  .modes {
    grid-template-columns: 1fr 1fr;
  }
}
.mode img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.mode h3 {
  font-size: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.mode p {
  color: var(--dr-muted);
}
.tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--dr-line);
  color: var(--dr-muted);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-weight: 600;
}
.tag-neon {
  border-color: var(--dr-olive);
  color: var(--dr-neon);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.35rem 0;
  font-size: 0.96rem;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--dr-neon);
  border-radius: 50%;
}

/* Features */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.feature {
  background: var(--dr-surface);
  border: 1px solid var(--dr-line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s ease;
}
.feature:hover {
  border-color: var(--dr-olive);
}
.feature p {
  color: var(--dr-muted);
  font-size: 0.96rem;
  margin: 0;
}
.ico {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--dr-neon);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .g-wide {
    grid-column: span 2;
  }
}
.gallery figure {
  margin: 0;
  background: var(--dr-black);
  border: 1px solid var(--dr-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery figure img {
  width: 100%;
}
.gallery figure:not(.g-wide) img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.gallery figcaption {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--dr-muted);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: s;
}
@media (min-width: 700px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1050px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.steps li {
  border-top: 2px solid var(--dr-olive);
  padding-top: 20px;
}
.steps p {
  color: var(--dr-muted);
  font-size: 0.96rem;
}
.step-n {
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color: var(--dr-neon);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Drills */
.drills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
@media (min-width: 900px) {
  .drills {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .drills {
    grid-template-columns: 1fr;
  }
}
.drill-group h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--dr-neon);
  border-bottom: 1px solid var(--dr-line);
  padding-bottom: 0.6rem;
}
.drill-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drill-group li {
  padding: 0.28rem 0;
  font-size: 0.98rem;
}
.targets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 14px;
  margin-top: 3rem;
}
.targets figure {
  margin: 0;
  background: var(--dr-black);
  border: 1px solid var(--dr-line);
  border-radius: 12px;
  padding: 14px 10px 10px;
  text-align: center;
}
.targets img {
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
}
.targets figcaption {
  font-size: 0.76rem;
  color: var(--dr-muted);
  margin-top: 0.4rem;
}

/* Hardware */
.hw {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--dr-line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 800px) {
  .hw {
    grid-template-columns: 1fr 1fr;
  }
}
.hw-item {
  padding: 28px;
  background: var(--dr-surface);
  border-bottom: 1px solid var(--dr-line);
}
@media (min-width: 800px) {
  .hw-item:nth-child(odd) {
    border-right: 1px solid var(--dr-line);
  }
  .hw-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}
.hw-item p {
  color: var(--dr-muted);
  margin: 0;
  font-size: 0.96rem;
}

/* Download */
.download {
  background: radial-gradient(50% 70% at 50% 0%, #5d7a2240, transparent 70%), var(--dr-black);
}
.dl-card {
  background: var(--dr-surface);
  border: 1px solid var(--dr-olive);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 80px -40px #000;
}
.dl-meta {
  color: var(--dr-muted);
}
.disclaimer {
  border: 1px solid #e5484d66;
  background: #e5484d0f;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 1.4rem 0 1.4rem;
}
.disclaimer h3 {
  color: var(--dr-white);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.disclaimer h3::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--dr-danger);
  color: var(--dr-black);
  font-weight: 800;
  font-size: 0.85rem;
}
.disclaimer ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}
.disclaimer li {
  margin: 0.45rem 0;
  font-size: 0.93rem;
  color: var(--dr-muted);
}
.disclaimer li strong {
  color: var(--dr-white);
}
.agree {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.95rem;
  border-top: 1px solid var(--dr-line);
  padding-top: 1rem;
}
.agree input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--dr-neon);
  flex: none;
}
.dl-help {
  text-align: center;
  color: var(--dr-muted);
  font-size: 0.88rem;
  margin: 0.8rem 0 0;
}

/* Footer */
.foot {
  border-top: 1px solid var(--dr-line);
  padding: 36px 0 44px;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.small {
  font-size: 0.82rem;
  color: var(--dr-muted);
  margin: 0;
  max-width: 640px;
}

/* ---- Asset Firearms branding (header, safety band, about, footer) ---- */
.maker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-right: auto;
  margin-left: 0.9rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--dr-line);
}
.maker img {
  height: 34px;
  width: auto;
}
@media (max-width: 640px) {
  .maker {
    display: none;
  }
}

.eyebrow.af {
  color: #9fbf8c;
}
.af-tagline {
  margin: 1.4rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #9fbf8c;
}

/* ---- Demo ---- */
.center-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.center-head .eyebrow {
  justify-content: center;
}
.demo {
  margin: 0;
}
.demo img,
.demo video {
  display: block;
  width: 100%;
  /* The width and height attributes reserve space; without this the video keeps its 720 px
     height on a phone and letterboxes inside a tall black box. */
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--dr-line);
  box-shadow: 0 40px 90px -40px #000;
}
.demo figcaption {
  text-align: center;
  color: var(--dr-muted);
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

/* ---- Photo band ---- */
.photo-band {
  position: relative;
  margin: 0;
}
.photo-band img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.photo-band-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(20px, 5vw, 56px);
  background: linear-gradient(0deg, #1f2f3fee 0%, #1f2f3f99 55%, transparent 100%);
}
.photo-band-text .eyebrow {
  color: #9fbf8c;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.band-quote {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.01em;
}

/* ---- Who it's for ---- */
.who {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 860px) {
  .who {
    grid-template-columns: repeat(3, 1fr);
  }
}
.who-card {
  border: 1px solid var(--dr-line);
  border-top: 3px solid var(--af-olive);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--dr-surface);
}
.who-card p {
  color: var(--dr-muted);
  margin: 0;
}
.soon {
  display: block;
  margin-top: 0.7rem;
  color: var(--dr-neon);
  font-size: 0.88rem;
}

/* ---- Train safely (Asset Firearms navy) ---- */
.safety {
  background: var(--af-navy);
  border-top: 3px solid var(--af-olive);
  border-bottom: 3px solid var(--af-olive);
  padding: clamp(56px, 8vw, 96px) 0;
  scroll-margin-top: 66px;
}
.safety-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 820px) {
  .safety-inner {
    grid-template-columns: 200px 1fr;
    gap: 56px;
  }
}
.safety-emblem {
  width: 160px;
  margin: 0 auto;
}
.safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.safety-list li {
  position: relative;
  padding-left: 1.8rem;
  margin: 0.6rem 0;
  color: #f8f8f8e6;
}
.safety-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: 2px solid #9fbf8c;
}

/* ---- Kit photo ---- */
.kit {
  margin: 0 0 24px;
}
.kit img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--dr-line);
}

/* ---- FAQ ---- */
.faq details {
  border-bottom: 1px solid var(--dr-line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 2rem 14px 0;
  font-weight: 650;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.3rem;
  top: 0.7rem;
  font-size: 1.3rem;
  color: var(--dr-neon);
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  color: var(--dr-muted);
  margin: 0 0 14px;
}

/* ---- About (Asset Firearms navy) ---- */
.about {
  background: var(--af-navy);
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 3px solid var(--af-olive);
}
.about-logo {
  width: min(320px, 80%);
  margin: 0 auto 1.6rem;
}
.about .lead {
  color: #f8f8f8d9;
}

/* ---- Footer ---- */
.foot-af {
  height: 40px;
  width: auto;
}

/* ---- Partner ads (ADR 0019) ----
   Each partner's own logo and colours, on the public site only and never in the app. Asset College:
   navy #00263d, blue #128cd2 (asset.edu.au). Asset Firearm and Crossbow Club: the Asset Firearms
   navy and olive above. */
.partners {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--dr-line);
}
.partners-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dr-muted);
  text-align: center;
  margin: 0 0 1.2rem;
}
.partner-ads {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 860px) {
  .partner-ads {
    grid-template-columns: 1fr 1fr;
  }
}
.ad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.ad:hover {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .ad {
    transition: none;
  }
  .ad:hover {
    transform: none;
  }
}
.ad img {
  height: 56px;
  width: auto;
}
.ad-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ad-text strong {
  font-size: 1.15rem;
}
.ad-text span {
  font-size: 0.95rem;
}
.ad-btn {
  margin-top: auto;
  display: inline-block;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
}
.ad-college {
  background: #fff;
  color: #00263d;
  border-top: 4px solid #128cd2;
}
.ad-college .ad-btn {
  background: #00263d;
  color: #fff;
}
.ad-club {
  background: var(--af-navy);
  color: var(--dr-white);
  border-top: 4px solid var(--af-olive);
}
.ad-club .ad-text span {
  color: #f8f8f8d9;
}
.ad-club .ad-btn {
  background: var(--af-olive);
  color: #fff;
}
.ad:focus-visible {
  outline: 2px solid var(--dr-neon);
  outline-offset: 3px;
}

/* ---- About links and footer links ---- */
.about-more {
  color: #f8f8f8d9;
  margin: 0;
}
.about a {
  color: #c3dcb4;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.88rem;
  width: 100%;
}
.foot-links a {
  color: var(--dr-white);
  text-decoration: underline;
  text-decoration-color: var(--dr-line);
  text-underline-offset: 3px;
}
.foot-links a:hover {
  text-decoration-color: var(--dr-neon);
}

/* ---- Text pages (privacy) ---- */
.prose h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
}
.prose h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-top: 2.2em;
}
.prose p,
.prose li {
  color: #f8f8f8d9;
}
.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1em;
}
.prose li {
  margin: 0.55em 0;
}
.prose strong {
  color: var(--dr-white);
}
.updated {
  font-size: 0.88rem;
  color: var(--dr-muted);
}

/* ---- Legal pages (licence.html, from the beta licence work) ---- */
.legal {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
}
.legal h2 {
  font-size: 1.25rem;
  margin: 2.2rem 0 0.6rem;
}
.legal h3 {
  font-size: 1.05rem;
  margin: 1.6rem 0 0.5rem;
  color: var(--dr-neon);
}
.legal p,
.legal li {
  color: var(--dr-muted);
}
.legal strong {
  color: var(--dr-white);
}
/* List items start with "(a)", "(b)": no bullets. */
.legal ul {
  list-style: none;
  padding-left: 1.4rem;
  margin: 0.4rem 0 1rem;
}
.legal li {
  margin: 0.35rem 0;
}
.legal-meta {
  font-size: 0.9rem;
}
.legal-draft {
  border: 1px solid var(--dr-neon);
  border-radius: var(--radius);
  background: var(--dr-surface);
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.6rem;
}
.legal-scroll {
  overflow-x: auto;
  margin: 0.8rem 0 1.4rem;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--dr-line);
}
.legal th {
  color: var(--dr-white);
  background: var(--dr-surface-2);
}

/* ---- Research link under the features ---- */
.research-link {
  margin: 1.6rem 0 0;
  color: var(--dr-muted);
}

/* ---- Articles ---- */
.article-image {
  margin: 1.2rem 0 1.6rem;
}
.article-image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--dr-line);
}
.prose h3 {
  margin-top: 1.6em;
}
.prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1em;
}
.article-cta {
  margin-top: 2.6rem;
  padding: 24px 26px;
  border: 1px solid var(--dr-line);
  border-top: 3px solid var(--dr-neon);
  border-radius: var(--radius);
  background: var(--dr-surface);
}
.article-cta h2 {
  margin-top: 0;
}
.article-cta .btn {
  color: var(--dr-black);
}
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) {
  .article-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1050px) {
  .article-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.article-list a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--dr-line);
  border-radius: var(--radius);
  background: var(--dr-surface);
  overflow: hidden;
  text-decoration: none;
  color: var(--dr-white);
}
.article-list a:hover {
  border-color: var(--dr-olive);
}
.article-list img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.article-list-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 22px;
}
.article-list-text span {
  color: var(--dr-muted);
  font-size: 0.92rem;
}

/* ---- Contact form ---- */
.contact-form {
  margin: 1.6rem 0 2.4rem;
}
.field {
  margin: 0 0 1.1rem;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.optional {
  font-weight: 400;
  color: var(--dr-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--dr-white);
  background: var(--dr-surface);
  border: 1px solid var(--dr-line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}
.field textarea {
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--dr-neon);
  outline-offset: 2px;
}
.field [aria-invalid='true'] {
  border-color: var(--dr-danger);
}
/* The honeypot: out of sight and out of the tab order. */
.field.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile {
  margin: 0.4rem 0 1rem;
  min-height: 65px;
}
.form-note {
  font-size: 0.88rem;
  color: var(--dr-muted);
}
.contact-form .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-status {
  margin-top: 1rem;
  min-height: 1.6em;
}
.form-status.ok {
  color: var(--dr-neon);
}
.form-status.error {
  color: var(--dr-danger);
}
.form-off {
  border: 1px solid var(--dr-line);
  border-radius: var(--radius);
  background: var(--dr-surface);
  padding: 1rem 1.2rem;
}
