:root {
  color-scheme: dark;
  --bg: #080b0d;
  --surface: #101519;
  --surface-2: #151b20;
  --graphite: #1e2328;
  --slate: #2d333b;
  --line: rgba(230, 232, 234, 0.14);
  --line-soft: rgba(230, 232, 234, 0.08);
  --text: #f5f7f8;
  --muted: #aab4bb;
  --green: #2ecc71;
  --green-deep: #1b5e3b;
  --amber: #d8a84c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.12), #080b0d 92vh),
    #080b0d;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 11, 13, 0.78);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: block;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-word {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
}

.brand-word strong {
  color: #fff;
}

.brand-word em {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #c8d2d8;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.94) 0%, rgba(8, 11, 13, 0.78) 38%, rgba(8, 11, 13, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.18) 0%, rgba(8, 11, 13, 0.24) 60%, #080b0d 100%),
    url("/screenshots/rightprint-dragon-workstation.png") center right / cover no-repeat;
  filter: saturate(0.94);
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin-bottom: 30px;
  color: #d8e0e4;
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid rgba(46, 204, 113, 0.42);
  border-radius: 6px;
  background: var(--green);
  color: #06100a;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.button.secondary {
  background: rgba(16, 21, 25, 0.84);
  color: #e5ecef;
  border-color: rgba(230, 232, 234, 0.22);
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 58px;
  width: min(920px, 100%);
  border: 1px solid var(--line);
  background: var(--line-soft);
}

.hero-meta div {
  min-height: 88px;
  padding: 16px;
  background: rgba(12, 16, 19, 0.82);
}

.hero-meta b {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-meta span {
  color: #b7c1c8;
  font-size: 13px;
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-header {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.section-header p,
.lead {
  color: #c6d0d6;
  font-size: 17px;
}

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

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21, 27, 32, 0.9), rgba(12, 16, 19, 0.94));
  padding: 22px;
}

.panel h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
}

.panel p,
.panel li {
  color: #b8c2c8;
  font-size: 14px;
}

.panel ul {
  margin: 0;
  padding-left: 18px;
}

.showcase {
  display: grid;
  gap: 22px;
}

.media-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0f12;
}

.media-frame {
  width: min(1040px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1114;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.media-frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #050708;
}

.screenshot-frame {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0d1114;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.screenshot-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #050708;
  color: inherit;
  cursor: zoom-in;
  line-height: 0;
}

.screenshot-button:focus-visible {
  outline: 2px solid rgba(46, 204, 113, 0.78);
  outline-offset: -4px;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: transparent;
  background: #050708;
}

.caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--line-soft);
  color: #aeb9c0;
  font-size: 13px;
}

.caption b {
  color: #fff;
}

.caption small {
  display: block;
  margin-top: 4px;
  color: #aeb9c0;
  font-size: 12px;
  line-height: 1.45;
}

.caption > span:last-child {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.status-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0f12;
}

.status-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line-soft);
}

.focus-list div {
  min-height: 132px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(21, 27, 32, 0.9), rgba(12, 16, 19, 0.94));
}

.focus-list b {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-list span {
  color: #b8c2c8;
  font-size: 13px;
}

.contact-box {
  border: 1px solid rgba(46, 204, 113, 0.24);
  border-radius: 8px;
  background: rgba(27, 94, 59, 0.12);
  padding: 24px;
}

.contact-box a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.disclaimer {
  color: #aeb8bf;
  font-size: 13px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 8, 0.9);
}

.lightbox-surface {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1320px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0e11;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: #0d1114;
}

.lightbox-header .eyebrow {
  margin-bottom: 8px;
}

.lightbox-header h2 {
  margin-bottom: 6px;
  font-size: clamp(22px, 3vw, 34px);
}

.lightbox-header p:not(.eyebrow) {
  margin: 0;
  color: #b8c2c8;
  font-size: 14px;
}

.lightbox-close {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(230, 232, 234, 0.2);
  border-radius: 6px;
  background: rgba(16, 21, 25, 0.9);
  color: #e5ecef;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close:focus-visible,
.lightbox-close:hover {
  border-color: rgba(46, 204, 113, 0.55);
  color: #fff;
}

.lightbox-image-wrap {
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 12px;
  background: #050708;
}

.lightbox-image-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  height: auto;
  object-fit: contain;
  color: transparent;
}

.site-footer {
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: #87939b;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 11, 13, 0.88), rgba(8, 11, 13, 0.72), #080b0d),
      url("/screenshots/rightprint-dragon-workstation.png") center / cover no-repeat;
  }

  .hero-meta,
  .grid,
  .showcase-secondary,
  .status-grid,
  .focus-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox-surface {
    max-height: calc(100vh - 20px);
  }

  .lightbox-header {
    flex-direction: column;
    gap: 12px;
  }

  .lightbox-close {
    width: 100%;
  }

  .lightbox-image-wrap img {
    width: max(100%, 860px);
    max-width: none;
    max-height: none;
  }
}

@media (max-width: 560px) {
  .brand-word {
    font-size: 17px;
  }

  .brand-subtitle {
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: 42px;
  }

  .section {
    padding-block: 48px;
  }
}
