:root {
  color-scheme: dark;
  --ink: #f4f7f6;
  --muted: #b9c4c0;
  --panel: #151918;
  --panel-2: #1e2422;
  --line: #34413d;
  --accent: #39d9bf;
  --accent-2: #f2c319;
  --danger: #ff5f4f;
  --paper: #eef3f1;
  --paper-ink: #17201d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #0d1110;
  color: var(--ink);
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 16, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-title {
  display: grid;
}

.brand-title strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand-title span {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: #07100e;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: url("assets/skyvault-overlay-preview.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 16, 0.82);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 830px;
  margin-top: 16px;
  font-size: clamp(48px, 6vw, 82px);
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  font-size: 22px;
}

.lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d8e3df;
  font-size: 20px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.proof {
  border-left: 3px solid var(--accent-2);
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.28);
}

.proof strong {
  display: block;
  font-size: 18px;
}

.proof span {
  color: var(--muted);
  font-size: 13px;
}

.hero-product-shot {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(16, 21, 19, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.hero-product-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.hero-product-shot figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.zoomable-image {
  cursor: zoom-in;
}

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

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox img {
  max-width: min(1500px, 96vw);
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #050706;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--panel-2);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.product-frame {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(16, 21, 19, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.product-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.product-top img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.product-top strong {
  display: block;
}

.product-top span {
  color: var(--muted);
  font-size: 12px;
}

.product-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 390px;
}

.side-rail {
  border-right: 1px solid var(--line);
  padding: 16px;
  background: #111514;
}

.rail-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.rail-item strong {
  color: var(--ink);
}

.editor-surface {
  padding: 16px;
}

.timeline {
  display: grid;
  gap: 8px;
}

.clip {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.clip span {
  color: var(--muted);
  font-size: 12px;
}

.status-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.status-pill {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
}

.status-pill strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--paper);
  color: var(--paper-ink);
}

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

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.alt .section-head p {
  color: #50605a;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
}

.screenshot-stack {
  display: grid;
  gap: 14px;
}

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080b0a;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.screenshot-card figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbd5d0;
  border-radius: 8px;
  background: #ffffff;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.gallery figcaption {
  padding: 10px;
  color: #4c5b56;
  font-size: 13px;
}

.feature-showcase {
  display: grid;
  gap: 18px;
}

.system-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(240px, 1.05fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
}

.showcase-card.wide {
  grid-column: 1 / -1;
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050706;
}

.showcase-card h3 {
  font-size: 26px;
}

.showcase-card p {
  color: var(--muted);
}

.video-embed {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050706;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.text-link {
  color: var(--accent-2);
  font-weight: 800;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: 24px;
  align-items: center;
  border: 1px solid #cbd5d0;
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.feature-panel.reverse {
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
}

.feature-panel.reverse img {
  order: 2;
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border: 1px solid #cbd5d0;
  border-radius: 6px;
  background: #0c1110;
}

.feature-panel h3 {
  color: #101615;
  font-size: 30px;
}

.feature-panel p {
  color: #4c5b56;
  font-size: 17px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.workflow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--accent-2);
  color: #161204;
  font-weight: 900;
}

.workflow-step h3 {
  margin-top: 14px;
  font-size: 18px;
}

.workflow-step p {
  color: var(--muted);
  font-size: 14px;
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.metric {
  border: 1px solid #cbd5d0;
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: #4c5b56;
  font-size: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.alt .card {
  border-color: #cbd5d0;
  background: #ffffff;
}

.card p,
.check-list li {
  color: var(--muted);
}

.alt .card p,
.alt .check-list li {
  color: #4c5b56;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.threat {
  border-left: 4px solid var(--danger);
}

.price-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.price-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #121716;
}

.price-number {
  margin: 8px 0;
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
}

.fine-print {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.token-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.token-table th,
.token-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  text-align: left;
}

.token-table th {
  color: var(--muted);
  font-size: 13px;
}

.promo-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  padding: 28px;
  background: #121716;
}

.promo-panel h2 {
  max-width: 780px;
}

.promo-panel p {
  max-width: 840px;
  color: var(--muted);
}

.page-hero {
  padding: 92px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #111514;
}

.page-content {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.page-content h2 {
  font-size: 30px;
  margin-top: 36px;
}

.page-content p,
.page-content li {
  color: #d5dfdb;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form-card {
  grid-row: span 2;
}

.contact-form-card form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.form-field label {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #0c1110;
  color: var(--ink);
  font: inherit;
}

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

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.form-field-hidden {
  display: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.is-success {
  color: var(--accent);
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav,
  .nav-links,
  .hero-inner,
  .grid-3,
  .grid-2,
  .feature-split,
  .price-band,
  .promo-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .nav {
    display: grid;
  }

  .nav-links {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .promo-panel {
    display: grid;
    align-items: start;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .proof-row,
  .status-strip,
  .gallery,
  .system-showcase,
  .showcase-card,
  .feature-panel,
  .feature-panel.reverse,
  .workflow-grid,
  .metric-list {
    grid-template-columns: 1fr;
  }

  .feature-panel.reverse img {
    order: 0;
  }

  .product-body {
    grid-template-columns: 1fr;
  }

  .side-rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  h1 {
    font-size: 42px;
  }

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