:root {
  --black: #0b0b0b;
  --carbon: #141414;
  --carbon-2: #1a1a1a;
  --carbon-3: #222222;
  --yellow: #ffd200;
  --yellow-ink: #161200;
  --white: #f4f4f4;
  --muted: #a7a7a7;
  --muted-2: #7d7d7d;
  --line: #2c2c2c;
  --danger: #e8b4b4;
  --focus: #ffd200;
  --max: 1160px;
  --header: 72px;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header) + 12px);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: 8px 12px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--dark {
  background: var(--black);
}

.section--carbon {
  background: var(--carbon);
}

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

.lead {
  max-width: 62ch;
  color: #d8d8d8;
}

.lead--center {
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 720;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(11, 11, 11, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  height: 22px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: #d6d6d6;
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
}

.btn--yellow:hover {
  background: #ffe566;
}

.btn--ghost {
  background: transparent;
  border-color: #4a4a4a;
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn--block {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  border-radius: 8px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background: #0a0a0a;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 1fr);
  grid-template-areas:
    "copy form"
    "visual form";
  gap: 20px 32px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero__copy {
  grid-area: copy;
}

.hero-visual {
  grid-area: visual;
}

.quote-card {
  grid-area: form;
}

.hero__copy p {
  color: #d2d2d2;
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.signals li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.signals li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.micro {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-media,
.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #121212;
}

.hero-media {
  position: relative;
  aspect-ratio: 1672 / 941;
  max-height: 300px;
}

.hero-ref {
  position: absolute;
  right: 8px;
  bottom: 8px;
  margin: 0;
  padding: 2px 6px;
  background: rgba(11, 11, 11, 0.62);
  color: #bdbdbd;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  pointer-events: none;
}

.hero-media img,
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: 58% 42%;
}

.media-frame {
  aspect-ratio: 1672 / 941;
}

.media-frame--section {
  align-self: stretch;
  min-height: 280px;
  height: 100%;
  aspect-ratio: auto;
}

.media-frame--process {
  max-width: 820px;
  margin-top: 24px;
}

.media-frame img {
  object-position: 50% 45%;
}

.usage-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.usage-block__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.usage-block__lead {
  max-width: 68ch;
  color: #c8c8c8;
  margin-bottom: 18px;
}

.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.usage-card {
  background: var(--carbon-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.usage-card .media-frame {
  border: 0;
  border-radius: 0;
}

.usage-card h4,
.usage-card p {
  margin: 0;
  padding: 0 16px;
}

.usage-card h4 {
  padding-top: 14px;
  margin-bottom: 6px;
}

.usage-card p {
  padding-bottom: 16px;
  color: #c8c8c8;
  font-size: 0.95rem;
}

.usage-block__note {
  margin-top: 14px;
}

/* Form */
.quote-card {
  position: relative;
  z-index: 2;
  background: #161616;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}

.quote-card h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.quote-card .micro {
  margin-bottom: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 12px;
}

.form-grid .field {
  margin-bottom: 0;
  min-width: 0;
}

.field {
  margin-bottom: 12px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 650;
}

.req {
  color: var(--yellow);
}

.opt {
  color: var(--muted-2);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #3a3a3a;
  background: #101010;
  color: var(--white);
  border-radius: 8px;
  padding: 8px 10px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:disabled,
.field select:disabled,
.field.is-disabled input[type="date"] {
  opacity: 0.45;
  background: #0c0c0c;
}

.field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.field-error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.82rem;
}

.policy-name,
.privacy a {
  color: #e6d27a;
  font-weight: 650;
}

.privacy a {
  text-underline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 0;
  color: #cfcfcf;
  font-size: 0.92rem;
  font-weight: 500;
}

.check--compact {
  margin-top: 6px;
  font-size: 0.82rem;
  gap: 8px;
}

.check--compact input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--yellow);
  flex: 0 0 18px;
}

.privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #c8c8c8;
}

.privacy input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--yellow);
  flex: 0 0 18px;
}

.link-pending {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: not-allowed;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #5a5010;
  background: #2a2508;
  color: #f5e7a1;
  border-radius: 8px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: #6a2a2a;
  background: #2a1212;
  color: #f0c8c8;
}

.form-success {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #3d4a1a;
  background: #1b220e;
  border-radius: 8px;
}

.form-success h3 {
  margin-bottom: 6px;
}

.form-success p {
  margin: 0;
  color: #d8d8d8;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.legal-page {
  max-width: 72ch;
}

.legal-page h1 {
  margin-bottom: 12px;
}

.legal-page h2 {
  margin-top: 32px;
  font-size: 1.2rem;
}

.legal-page ul {
  padding-left: 20px;
  color: #d4d4d4;
}

.legal-page a {
  color: var(--yellow);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  padding: 16px 14px;
  border: 1px solid var(--line);
  background: var(--carbon-2);
  border-radius: var(--radius);
  min-width: 0;
}

.trust-card h3 {
  margin-bottom: 8px;
}

.trust-card p,
.op-card p,
.use-card p {
  margin: 0;
  color: #c8c8c8;
  font-size: 0.95rem;
}

.trust-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-secondary li::before {
  content: "·";
  color: var(--yellow);
  margin-right: 8px;
}

/* Services */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.use-card,
.op-card,
.size-card {
  background: var(--carbon-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}

.service-card h3,
.size-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.service-card ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: #d4d4d4;
  flex: 1;
  font-size: 0.98rem;
}

.service-card li + li {
  margin-top: 6px;
}

.service-card > .btn + .btn {
  margin-top: 10px;
}

.notice {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 210, 0, 0.06);
  color: #ececec;
  font-size: 0.92rem;
}

/* Sizes */
.sizes .cards-3 {
  align-items: stretch;
}

.size-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.size-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 240px;
  margin: 8px 0 12px;
  padding: 16px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 20px),
    #101010;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
}

.size-figure {
  color: var(--yellow);
  font-weight: 750;
  letter-spacing: 0.02em;
}

.size-meta {
  color: var(--muted);
  margin: 0 0 8px;
}

/* Use cases */
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.use-card {
  display: flex;
  flex-direction: column;
}

.icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--yellow);
}

/* CCTV */
.cctv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.point-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.point {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--carbon-2);
  border-radius: 10px;
}

.point h3 {
  margin-bottom: 6px;
}

.point p {
  margin: 0;
  color: #c8c8c8;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 20px;
}

.flow__node,
.flow__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.flow__node {
  padding: 8px 12px;
  border: 1px solid #3d3d3d;
  background: #121212;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.flow__arrow {
  color: var(--yellow);
  font-weight: 800;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 20px;
  border-top: 2px solid var(--yellow);
  background: var(--carbon-2);
  border-radius: 0 0 12px 12px;
}

.step__num {
  display: block;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

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

.step p {
  color: #c8c8c8;
  margin-bottom: 10px;
}

/* Operations */
.section--ops {
  padding: 56px 0;
  background: #101010;
  border-top: 1px solid var(--line);
}

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

.op-card {
  padding: 16px 18px;
}

.op-card--wide {
  margin-top: 12px;
  padding: 18px 22px;
  border-left: 3px solid var(--yellow);
  background: #16150e;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  background: #161616;
  border-radius: 10px;
}

.faq-item button {
  width: 100%;
  min-height: 52px;
  text-align: left;
  background: transparent;
  color: var(--white);
  border: 0;
  padding: 14px 48px 14px 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq-item button:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 1.2rem;
}

.faq-item button[aria-expanded="true"]::after {
  content: "–";
}

.faq-item .faq-panel {
  display: block;
  padding: 0 16px 16px;
  color: #cfcfcf;
}

.faq-item .faq-panel p {
  margin: 0;
}

html.js .faq-item .faq-panel {
  display: none;
}

html.js .faq-item.is-open .faq-panel {
  display: block;
}

/* External */
.external {
  border: 1px dashed #3a3a3a;
  background: #121212;
  padding: 28px;
  border-radius: 12px;
}

.external h2 {
  font-size: 1.35rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding-top: 88px;
  border-top: 1px solid var(--line);
}

.final-cta .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  padding: 48px 0 28px;
  background: #080808;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 28px;
}

.footer-logo img {
  height: 20px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #bdbdbd;
  font-size: 0.92rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.pending-phone {
  color: #d7c56a;
}

.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #222;
  color: #8d8d8d;
  font-size: 0.85rem;
}

/* Mobile nav */
@media (max-width: 1024px) {
  .trust-grid,
  .cards-3,
  .process,
  .use-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ops-row {
    grid-template-columns: 1fr;
  }

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

  .media-frame--section {
    min-height: 220px;
    aspect-ratio: 1672 / 941;
    height: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header: 64px;
  }

  html:not(.js) .site-header {
    height: auto;
    min-height: var(--header);
  }

  html:not(.js) .site-header__inner {
    height: auto;
    min-height: var(--header);
    flex-wrap: wrap;
    padding: 10px 0;
  }

  html:not(.js) .nav {
    display: flex;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    gap: 10px 16px;
    padding: 8px 0 4px;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }

  html.js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  html.js .nav,
  .header-actions .btn--ghost {
    display: none;
  }

  html.js .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    z-index: 45;
    max-height: calc(100vh - var(--header));
    overflow: auto;
    background: #101010;
    border-bottom: 1px solid var(--line);
    padding: 16px 16px 20px;
    gap: 14px;
  }

  html.js body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding: 24px 0 40px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "form";
    gap: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    height: auto;
    margin: 0;
    z-index: 1;
  }

  .hero-media {
    max-height: none;
    min-height: 200px;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 16px;
  }

  .hero__copy h1 {
    margin-bottom: 10px;
  }

  .hero__copy p {
    margin-bottom: 10px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .trust-card {
    padding: 14px 12px;
  }

  .cards-3,
  .use-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .step {
    padding: 16px;
  }

  .size-stage {
    min-height: 180px;
    padding: 12px;
    margin: 6px 0 8px;
  }

  .service-card,
  .size-card,
  .use-card {
    padding: 18px;
  }

  .section,
  .section--ops {
    padding: 48px 0;
  }

  .header-actions .btn--yellow {
    padding-inline: 12px;
    font-size: 0.92rem;
  }

  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 1.7rem;
  }

  .quote-card {
    padding: 16px;
  }

  .hero-media {
    min-height: 200px;
  }

  .hero-media img {
    object-position: 55% 38%;
  }

  .trust-card {
    padding: 12px 10px;
  }

  .trust-card h3,
  .op-card h3 {
    font-size: 1.05rem;
  }

  .size-stage {
    min-height: 172px;
  }

  .section,
  .section--ops {
    padding: 44px 0;
  }

  .final-cta {
    padding-top: 64px;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 20px);
  }

  .header-actions .btn--yellow {
    padding-inline: 10px;
    font-size: 0.86rem;
  }
}

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

  .btn {
    transition: none;
  }
}
