
:root {
  --bg: #17120F;
  --bg-2: #221917;
  --paper: #F4F1E8;

  --ink: #EEEBE1;
  --ink-dim: #B7A99E;

  --brass: #A6403F;
  --brass-deep: #7A2E2E;

  --line: #382B29;

  box-sizing: border-box;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--bg);
  color: var(--ink);

  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.45;

  min-height: 100dvh;

  display: flex;
  flex-direction: column;

  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 500;

  margin: 0;

  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

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


/* ========================================
   HEADER
======================================== */

header {
  flex: 0 0 auto;

  border-bottom: 1px solid var(--line);
}

.headbar {
  width: 100%;
  max-width: 1200px;

  height: 66px;

  margin: 0 auto;
  padding: 0 28px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: center;
  gap: 24px;
}


/* Logo */

.logo {
  justify-self: start;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  font-weight: 600;

  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.logo img {
  width: 32px;
  height: 32px;

  display: block;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}


/* Header statement */

.header-statement {
  justify-self: center;

  color: var(--ink-dim);
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.header-statement span {
  color: var(--brass);
  padding: 0 5px;
}


/* Email */

.header-email {
  justify-self: end;

  color: var(--ink);
  font-size: 14px;
  font-weight: 500;

  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;

  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.header-email:hover,
.header-email:focus-visible {
  color: var(--brass);
  border-color: var(--brass);
}


/* ========================================
   MAIN
======================================== */

main {
  flex: 1 1 auto;
  min-height: 0;

  display: flex;
  flex-direction: column;
}


/* ========================================
   MAIN DESKTOP LAYOUT
======================================== */

.main-layout {
  flex: 1 1 auto;

  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  padding:
    clamp(26px, 4vh, 44px)
    28px
    clamp(22px, 3vh, 32px);

  display: grid;

  grid-template-columns:
    minmax(230px, 0.72fr)
    minmax(0, 2fr);

  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}


/* ========================================
   INTRO
======================================== */

.intro {
  display: flex;
  align-items: center;
}

.intro-inner {
  max-width: 330px;
}

.eyebrow {
  color: var(--brass);
  font-size: 12px;
  font-weight: 500;

  margin-bottom: 13px;
  letter-spacing: 0.04em;
}

.intro h1 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.intro p {
  max-width: 350px;

  margin: 17px 0 0;

  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
}


/* ========================================
   DEMOS
======================================== */

.demos-sec {
  width: 100%;
  min-width: 0;
}


/* ========================================
   COMPACT DOWNLOAD STRIP
======================================== */

.download-strip {
  display: flex;
  align-items: center;
  gap: 16px;

  width: 100%;
  min-width: 0;

  margin: 0 0 15px;
  padding: 12px 15px;

  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.download-strip-button {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  color: #FFFFFF;
  background: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 5px;

  text-decoration: none;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.download-strip-button:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
  transform: translateY(-1px);
}

.download-strip-button:active {
  transform: translateY(0);
}

.download-strip-button svg {
  display: block;
  width: 23px;
  height: 23px;
}

.download-strip-text {
  min-width: 0;
}

.download-strip-title {
  margin: 0 0 3px;

  color: var(--ink);

  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;

  overflow-wrap: anywhere;
}

.download-strip-description {
  margin: 0;

  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1.5;
}

.industrial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  width: 100%;
  min-width: 0;
  margin: 0 0 15px;
  padding: 16px 18px;

  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 6px;

  color: var(--ink);
  text-decoration: none;

  transition: background 160ms ease, border-color 160ms ease;
}

.industrial-banner:hover {
  background: #2A1D1A;
  border-color: var(--brass);
}

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

.industrial-banner-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.industrial-banner-eyebrow {
  color: var(--brass);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.industrial-banner-title {
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.industrial-banner-description {
  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1.5;
}

.industrial-banner-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.industrial-banner-action span {
  color: var(--brass);
  font-size: 18px;
  transition: transform 160ms ease;
}

.industrial-banner:hover .industrial-banner-action span {
  transform: translateX(3px);
}


/* ========================================
   DEMO GRID
======================================== */

.demos {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;

  background: var(--line);
  border: 1px solid var(--line);
}


/* ========================================
   DEMO CARD
======================================== */

.demo {
  min-width: 0;

  background: var(--bg-2);

  padding:
    clamp(18px, 2vw, 24px)
    clamp(18px, 2vw, 24px)
    17px;

  display: flex;
  flex-direction: column;
}

.demo-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  min-height: 49px;
}

.demo-icon {
  width: 29px;
  height: 29px;

  flex: 0 0 29px;
  color: var(--brass);
}

.demo-icon svg {
  width: 100%;
  height: 100%;
}

.demo h2 {
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 3px;
}

.demo-heading p {
  margin: 0;

  color: var(--ink-dim);
  font-size: 11.5px;
}


/* ========================================
   PREVIEW
======================================== */

.demo-preview {
  position: relative;

  width: 100%;
  margin-top: 13px;

  aspect-ratio: 16 / 8.6;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 7px;

  background: #0D0A09;
}

.demo-preview video {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}


/* Preview label */

.preview-label {
  position: absolute;
  z-index: 2;

  top: 8px;
  left: 8px;

  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 4px 7px;

  border: 1px solid rgba(238, 235, 225, 0.13);
  border-radius: 4px;

  background: rgba(23, 18, 15, 0.84);
  backdrop-filter: blur(5px);

  color: var(--ink-dim);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.preview-dot {
  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--brass);
}


/* ========================================
   LEGAL PREVIEW
======================================== */

.legal-preview {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 11px;

  background:
    linear-gradient(
      135deg,
      #181210 0%,
      #241A18 100%
    );
}

.legal-screen {
  width: 88%;
  max-width: 420px;

  overflow: hidden;

  border: 1px solid #3B2D2A;
  border-radius: 5px;

  background: #F4F1E8;
  color: #1B2430;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25);
}

.legal-topbar {
  height: 25px;
  padding: 0 9px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ECE8DE;
  border-bottom: 1px solid #D8D1C5;

  font-size: 7px;
}

.legal-brand {
  font-weight: 600;
}

.legal-status {
  display: flex;
  align-items: center;
  gap: 4px;

  color: #6E665F;
}

.legal-status span {
  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: #71816B;
}

.legal-content {
  padding: 12px 13px 10px;
}

.legal-question {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.question-mark {
  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #7A2E2E;
  color: #F4F1E8;

  font-family: Georgia, serif;
  font-size: 11px;

  flex: 0 0 20px;
}

.question-label,
.answer-label {
  display: block;

  margin-bottom: 2px;

  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.08em;

  color: #9A9188;
}

.legal-question strong {
  display: block;

  font-size: 9px;
  line-height: 1.3;
}

.legal-answer {
  margin-top: 10px;
  padding-top: 8px;

  border-top: 1px solid #DED7CB;
}

.answer-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.answer-lines span {
  display: block;

  width: 94%;
  height: 3px;

  border-radius: 2px;
  background: #D6D0C6;
}

.answer-lines span:nth-child(2) {
  width: 84%;
}

.answer-lines span.short {
  width: 58%;
}

.legal-source {
  display: flex;
  align-items: center;
  gap: 5px;

  padding: 6px 9px;

  border-top: 1px solid #DED7CB;
  background: #ECE8DE;

  font-size: 6.5px;
  color: #7C746C;
}

.source-mark {
  font-family: Georgia, serif;
  font-size: 11px;
  color: #7A2E2E;
}


/* ========================================
   DEMO FOOT
======================================== */

.demo-bottom {
  min-height: 24px;
  margin-top: 8px;

  display: flex;
  align-items: center;
}

.demo-note {
  color: var(--ink-dim);
  font-size: 10.5px;
  opacity: 0.68;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--ink);
  font-size: 11.5px;
  font-weight: 500;

  text-decoration: none;

  transition:
    color 160ms ease,
    gap 160ms ease;
}

.demo-link:hover,
.demo-link:focus-visible {
  color: var(--brass);
  gap: 9px;
}


/* ========================================
   WHY
======================================== */

.why {
  flex: 0 0 auto;

  background: var(--paper);
  color: #1B2430;

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

.why-inner {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
  padding: 12px 28px;

  display: flex;
  justify-content: center;
}

.why-items {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(18px, 3vw, 42px);
  flex-wrap: wrap;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.why-item svg {
  width: 19px;
  height: 19px;

  color: var(--brass-deep);
  flex-shrink: 0;
}

.why-item span {
  font-size: 11.5px;
  font-weight: 500;
}


/* ========================================
   FOOTER
======================================== */

footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
}

.foot {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
  min-height: 34px;

  padding: 6px 28px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 10px;
  color: var(--ink-dim);
}

.foot-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.foot-logo {
  width: 17px;
  height: 17px;

  display: block;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}


/* ========================================
   FOCUS
======================================== */

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

.download-strip-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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


/* ========================================
   MEDIUM SCREENS
======================================== */

@media (max-width: 1050px) {

  .main-layout {
    grid-template-columns:
      minmax(190px, 0.55fr)
      minmax(0, 2fr);

    gap: 35px;
  }

  .intro-inner {
    max-width: 285px;
  }

  .intro h1 {
    font-size: 35px;
  }

  .intro p {
    font-size: 13px;
  }

  .demo {
    padding: 17px;
  }

  .download-strip {
    gap: 13px;
  }

}


/* ========================================
   TABLET
======================================== */

@media (max-width: 800px) {

  .headbar {
    height: 62px;
    padding: 0 20px;

    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .logo {
    font-size: 17px;
  }

  .logo img {
    width: 29px;
    height: 29px;
  }

  .header-statement {
    font-size: 10.5px;
  }

  .header-email {
    font-size: 12px;
  }

  .main-layout {
    display: block;
    padding: 28px 20px 24px;
  }

  .intro {
    margin-bottom: 26px;
  }

  .intro-inner {
    max-width: 600px;
  }

  .intro h1 {
    font-size: 38px;
  }

  .intro p {
    max-width: 600px;
  }

  .demos {
    max-width: 700px;
    margin: 0 auto;
  }

  .download-strip {
    max-width: 700px;
    margin: 0 auto 15px;
  }

  .why-inner {
    padding: 14px 20px;
  }

  .foot {
    padding: 6px 20px;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 620px) {

  .headbar {
    grid-template-columns: auto 1fr;

    height: auto;
    min-height: 60px;

    padding: 11px 18px;
  }

  .header-statement {
    display: none;
  }

  .header-email {
    justify-self: end;
    font-size: 12px;
  }

  .main-layout {
    padding: 25px 18px 22px;
  }

  .intro {
    margin-bottom: 23px;
  }

  .intro h1 {
    font-size: 32px;
  }

  .intro p {
    font-size: 13.5px;
    margin-top: 12px;
  }

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

  .demo {
    padding: 19px;
  }

  .demo-preview {
    aspect-ratio: 16 / 9;
  }

  .download-strip {
    gap: 12px;
    margin-bottom: 13px;
    padding: 11px;
  }

  .download-strip-button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .download-strip-button svg {
    width: 22px;
    height: 22px;
  }

  .download-strip-title {
    font-size: 15px;
  }

  .download-strip-description {
    font-size: 10.5px;
  }

  .why-items {
    gap: 11px 18px;
  }

  .why-item span {
    font-size: 11px;
  }

  .foot {
    font-size: 9.5px;
  }

}


/* ========================================
   VERY SMALL PHONES
======================================== */

@media (max-width: 400px) {

  .header-email {
    font-size: 11px;
  }

  .logo span {
    display: none;
  }

  .intro h1 {
    font-size: 29px;
  }

  .intro p {
    font-size: 13px;
  }

  .download-strip {
    gap: 10px;
    padding: 10px;
  }

  .download-strip-button {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
  }

  .download-strip-title {
    font-size: 14px;
  }

  .download-strip-description {
    font-size: 10px;
  }

}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

}


/* ========================================
   UNDER CONSTRUCTION
======================================== */

.construction-badge {
  position: fixed;
  right: 24px;
  bottom: 48px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 10px;

  font-family: Inter, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--ink-dim);
  background: rgba(34, 25, 23, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;

  opacity: 0.72;
  z-index: 20;
}

.construction-dot {
  width: 5px;
  height: 5px;

  flex: 0 0 5px;

  border-radius: 50%;
  background: var(--brass);
}

@media (max-width: 620px) {

  .construction-badge {
    right: 14px;
    bottom: 42px;

    font-size: 8px;
    padding: 5px 8px;
  }

}
