
:root {
  color-scheme: light;
  --bg: #f8f8f6;
  --surface: #ffffff;
  --surface-soft: #f0efeb;
  --surface-elevated: rgba(255,255,255,0.82);
  --text: #171717;
  --muted: #6c6964;
  --muted-2: #96918a;
  --border: #ddd9d2;
  --border-strong: #cfc9c0;
  --brand: #b85f31;
  --brand-strong: #934824;
  --brand-soft: rgba(184,95,49,0.10);
  --shadow: 0 18px 55px rgba(37,29,24,0.07);
  --max: 1180px;
  --radius: 14px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10100f;
  --surface: #171716;
  --surface-soft: #1d1c1a;
  --surface-elevated: rgba(23,23,22,0.88);
  --text: #f1efeb;
  --muted: #aaa59e;
  --muted-2: #77736d;
  --border: #302e2a;
  --border-strong: #45413b;
  --brand: #c87348;
  --brand-strong: #dd895e;
  --brand-soft: rgba(200,115,72,0.12);
  --shadow: 0 18px 55px rgba(0,0,0,0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
  transition: background-color 160ms ease, color 160ms ease;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.site-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 30px;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.brand img {
  display: block;
  width: 164px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  transition: color 150ms ease;
}

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

.nav-action {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--text) !important;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 150ms ease, transform 150ms ease;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .icon-sun,
html[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html:not([data-theme="dark"]) .theme-toggle .icon-moon {
  display: block;
}

.hero {
  padding: 108px 0 98px;
  border-bottom: 1px solid var(--border);
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(50px, 7vw, 84px);
  line-height: .99;
  letter-spacing: -0.055em;
  font-weight: 690;
}

.hero h1 .accent {
  color: var(--brand);
  font-weight: 560;
}

.hero-copy {
  max-width: 790px;
  margin: 29px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.66;
}

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

.button {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 23px;
  border-top: 1px solid var(--border);
}

.chip {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

.section {
  display: grid;
  grid-template-columns: 210px minmax(0,1fr);
  gap: 78px;
  padding: 76px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  color: var(--muted-2);
}

.section-main {
  min-width: 0;
}

.section-main h2,
.cta h2 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.section-main > p {
  max-width: 770px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}

.product-card {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding: 31px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card::after {
  content: "";
  position: absolute;
  top: -155px;
  right: -120px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: var(--brand-soft);
  pointer-events: none;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.product-name {
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-name span {
  color: var(--brand);
  font-weight: 560;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--brand);
}

.product-description {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding-top: 23px;
  border-top: 1px solid var(--border);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mini-card {
  padding: 24px 25px 24px 0;
  border-right: 1px solid var(--border);
}

.mini-card + .mini-card {
  padding-left: 25px;
}

.mini-card:last-child {
  border-right: 0;
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.interface-frame {
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.interface-frame img,
.showcase-image img {
  display: block;
  width: 100%;
  height: auto;
}

.interface-caption {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
}

.interface-caption strong {
  color: var(--text);
}

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

.showcase-card h3 {
  margin: 0 0 7px;
  font-size: 15px;
}

.showcase-card p {
  min-height: 46px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.showcase-image {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  margin-top: 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pipeline-step {
  min-height: 136px;
  padding: 21px 18px;
  border-right: 1px solid var(--border);
}

.pipeline-step:last-child {
  border-right: 0;
}

.pipeline-step small {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.pipeline-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.pipeline-step span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.rows {
  margin-top: 34px;
  border-top: 1px solid var(--border);
}

.row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.row strong {
  font-size: 14px;
}

.row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.statement,
.status-card {
  margin-top: 34px;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.statement strong,
.status-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.statement p,
.status-card p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.status-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.status-card + .status-card {
  margin-top: 14px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 68px 0;
  border-bottom: 1px solid var(--border);
}

.cta h2 {
  margin-bottom: 0;
}

.site-footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted-2);
  font-size: 12px;
}

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

.footer-links a:hover {
  color: var(--brand);
}

@media (max-width: 860px) {
  .site-shell {
    padding: 0 20px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    padding: 66px 0;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 56px 0;
  }

  .grid-3,
  .pipeline,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .mini-card,
  .mini-card + .mini-card {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .mini-card:last-child {
    border-bottom: 0;
  }

  .pipeline-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .pipeline-step:last-child {
    border-bottom: 0;
  }

  .interface-caption,
  .row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .status-card {
    grid-template-columns: 1fr;
  }

  .product-top,
  .cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta {
    display: flex;
  }

  .site-footer {
    padding: 28px 0;
  }
}


.contact-card {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.contact-email {
  display: inline-block;
  margin-top: 18px;
  color: var(--brand);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-email:hover {
  color: var(--brand-strong);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer-contact {
  color: var(--muted);
}

.footer-contact:hover {
  color: var(--brand);
}


/* ---------------------------------------------------------
   Screenshot gallery / lightbox
   --------------------------------------------------------- */

.interface-frame,
.showcase-image {
  cursor: zoom-in;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.interface-frame:hover,
.showcase-image:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}

.gallery-trigger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 10px;
}

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

.lightbox.open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  width: min(1380px, 100%);
  max-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lightbox-image-wrap {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 145px);
  width: auto;
  height: auto;
  border: 1px solid #34312d;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 24px 80px rgba(0,0,0,0.42);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #ece9e4;
}

.lightbox-caption {
  min-width: 0;
}

.lightbox-caption strong {
  display: block;
  font-size: 14px;
}

.lightbox-caption span {
  display: block;
  margin-top: 2px;
  color: #aaa49c;
  font-size: 12px;
}

.lightbox-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.lightbox-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #44413b;
  border-radius: 999px;
  background: #191817;
  color: #f4f1ec;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.lightbox-button:hover {
  border-color: #716a61;
  background: #22201e;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 18px;
  }

  .lightbox-dialog {
    max-height: calc(100vh - 36px);
  }

  .lightbox-image {
    max-height: calc(100vh - 135px);
  }

  .lightbox-close {
    top: -48px;
  }

  .lightbox-bar {
    align-items: flex-start;
  }
}
