/* ==========================================================================
   AccessPath — landing page stylesheet
   Hand-written, no build step, no CDN. One file, cached forever.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070b12;
  --bg-soft: #0a111c;
  --surface: #0e1624;
  --surface-2: #131f31;
  --line: #1b2a40;
  --line-soft: rgba(148, 174, 214, 0.12);

  --text: #edf2fa;
  --text-2: #a7b4c7;
  --text-3: #7b8aa0;

  --red: #d8203a;
  --red-hi: #ff4d63;
  --red-soft: rgba(216, 32, 58, 0.14);

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  --shadow-red: 0 20px 50px -18px rgba(216, 32, 58, 0.45);

  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Blueprint grid + two soft light sources, painted behind everything. */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(900px 500px at 18% -8%, rgba(216, 32, 58, 0.16), transparent 70%),
    radial-gradient(800px 520px at 88% 4%, rgba(56, 132, 255, 0.1), transparent 72%),
    linear-gradient(rgba(148, 174, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 174, 214, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 52px 52px, 52px 52px;
  -webkit-mask-image: linear-gradient(#000 0%, #000 55%, transparent 88%);
  mask-image: linear-gradient(#000 0%, #000 55%, transparent 88%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
}

.nav a {
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav a:hover {
  color: var(--text);
}

.header-cta {
  margin-left: 8px;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  background: #e82b46;
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #2c405c;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 8px;
}

/* ---------------------------------------------------------------- layout */

.section {
  padding-block: clamp(64px, 9vw, 104px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 72px);
}

/* Clear the 68px sticky header when jumping to an anchor. */
section[id] {
  scroll-margin-top: 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-hi);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.028em;
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.35rem, 5.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.lede {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
  color: var(--text-2);
}

.section-head {
  max-width: 38em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head p {
  margin: 16px 0 0;
  font-size: 1.0625rem;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- hero */

.hero {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 7vw, 84px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero__copy {
  max-width: 34rem;
}

.hero h1 .accent {
  display: block;
  color: var(--red-hi);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-3);
}

.hero__notes li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__notes svg {
  width: 14px;
  height: 14px;
  color: #4f9d7a;
  flex-shrink: 0;
}

/* product window */
.window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.window__screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 1103;
  object-fit: cover;
}

.window__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--text-3);
}

.window__meta strong {
  color: var(--text-2);
  font-weight: 600;
}

.window__meta .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.window__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.16);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero__copy {
    max-width: 38rem;
  }
}

/* ---------------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  position: relative;
  padding: 30px 26px 32px;
  background: var(--bg-soft);
}

.step__num {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red-hi);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.shot:hover {
  border-color: #2b3f5b;
  transform: translateY(-2px);
}

.shot__button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: #05080e;
  cursor: zoom-in;
}

.shot__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.18s ease;
}

.shot__button:hover .shot__img {
  opacity: 0.9;
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.shot figcaption span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
  text-align: right;
}

@media (max-width: 720px) {
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* lightbox */
.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  border: 1px solid #2a3c55;
  border-radius: var(--radius);
  background: #080d15;
  color: var(--text);
  box-shadow: 0 40px 100px -20px #000;
}

.lightbox::backdrop {
  background: rgba(3, 6, 11, 0.9);
  backdrop-filter: blur(3px);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.lightbox__caption {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.lightbox__controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: #2c405c;
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.lightbox__img {
  display: block;
  width: 100%;
  max-height: calc(94vh - 64px);
  object-fit: contain;
  background: #05080e;
}

/* ---------------------------------------------------------------- features */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012));
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--red-soft);
  color: var(--red-hi);
}

.feature__icon svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  margin-bottom: 7px;
}

.feature p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- trust band */

.trust {
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 300px at 78% 0%, rgba(216, 32, 58, 0.1), transparent 70%),
    var(--bg-soft);
}

.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.trust__points {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__points li {
  display: flex;
  gap: 14px;
}

.trust__points svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  color: #3ddc97;
}

.trust__points h3 {
  margin-bottom: 4px;
}

.trust__points p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

@media (max-width: 860px) {
  .trust__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- final cta */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(216, 32, 58, 0.18), transparent 70%),
    var(--surface);
  text-align: center;
}

.cta h2 {
  max-width: 20em;
  margin-inline: auto;
}

.cta p {
  max-width: 34em;
  margin: 16px auto 0;
  color: var(--text-2);
}

.cta .hero__actions {
  justify-content: center;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 32px;
  font-size: 13.5px;
  color: var(--text-3);
}

.site-footer .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer .brand__name {
  font-size: 14.5px;
  color: var(--text-2);
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer nav a:hover {
  color: var(--text-2);
}

/* ---------------------------------------------------------------- reveal */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
