:root {
  color-scheme: dark;
  --ink: #0b0c0e;
  --ink-soft: #14161a;
  --paper: #f5f6f8;
  --paper-strong: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: #d9dde4;
  --muted-dark: #aeb5c0;
  --muted-light: #5b6470;
  --red: #d52b26;
  --red-on-light: #a61c18;
  --red-on-dark: #ff6b64;
  --red-strong: #b91f1a;
  --blue: #2f68df;
  --green: #15815e;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: #171a20; font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 12, 14, 0.94);
  color: #fff;
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand { width: fit-content; display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; color: var(--muted-dark); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { color: #cbd0d8; font-size: 13px; text-decoration: none; transition: color 160ms ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: #fff; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.language-link { padding: 5px 7px; border-bottom: 1px solid var(--red); color: #cbd0d8; font-size: 11px; font-weight: 800; text-decoration: none; }
.language-link:hover, .language-link:focus-visible { color: #fff; }
.header-action { color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.header-action::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--red); transform-origin: left; transition: transform 160ms ease; }
.header-action:hover::after { transform: scaleX(0.62); }

.product-hero {
  position: relative;
  min-height: min(86vh, 820px);
  padding: 112px max(32px, calc((100vw - var(--max)) / 2)) 80px;
  overflow: hidden;
  background-color: var(--ink);
  background-image: url("/assets/mindvaulteraser-app-build134.png");
  background-position: center top;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-overlay { position: absolute; inset: 0; background: rgba(7, 8, 11, 0.84); }
.hero-content { position: relative; z-index: 1; width: min(760px, 100%); }
.eyebrow, .section-index { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.eyebrow { color: var(--red-on-dark); }
.section-index { color: var(--red-on-light); }
.product-hero h1 { max-width: 100%; margin: 0; font-size: 84px; font-weight: 760; line-height: 0.98; letter-spacing: 0; overflow-wrap: anywhere; }
.hero-lead { max-width: 700px; margin: 30px 0 0; color: #d4d8df; font-size: 20px; line-height: 1.55; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.primary-action, .closing-band > a {
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.primary-action:hover, .closing-band > a:hover { border-color: var(--red-strong); background: var(--red-strong); transform: translateY(-1px); }
.text-action { color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-action span { margin-left: 8px; color: var(--red); }
.hero-facts { margin: 54px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-dark); list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-facts li { color: #aeb5c0; font-size: 12px; font-weight: 650; }

.truth-band, .control-band {
  padding: 94px max(32px, calc((100vw - var(--max)) / 2));
  background: var(--paper-strong);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: 80px;
}

.section-heading h2, .product-view h2, .remote-band h2, .closing-band h2 { margin: 0; font-size: 38px; line-height: 1.18; letter-spacing: 0; }
.truth-copy > p { margin: 0 0 20px; color: var(--muted-light); font-size: 17px; }
.source-links { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-light); display: flex; gap: 22px; flex-wrap: wrap; }
.source-links a { color: #344b76; font-size: 12px; font-weight: 700; }

.workflow-band, .faq-band { padding: 98px max(32px, calc((100vw - var(--max)) / 2)); background: var(--ink-soft); color: #fff; }
.workflow-band .section-index, .faq-band .section-index { color: var(--red-on-dark); }
.light-heading { max-width: 720px; }
.section-intro { max-width: 640px; margin: 20px 0 0; color: var(--muted-dark); font-size: 17px; }
.workflow-list { margin: 64px 0 0; padding: 0; border-top: 1px solid var(--line-dark); list-style: none; }
.workflow-list li { min-height: 150px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 90px 1fr; gap: 28px; align-items: start; }
.workflow-list > li > span { color: var(--red-on-dark); font-size: 13px; font-weight: 800; }
.workflow-list h3 { margin: 0 0 8px; font-size: 21px; }
.workflow-list p { max-width: 780px; margin: 0; color: var(--muted-dark); font-size: 16px; }

.product-view { padding: 96px 0 0; background: #eef0f4; }
.product-view-copy { width: min(var(--max), calc(100% - 64px)); margin: 0 auto 46px; display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr); column-gap: 80px; }
.product-view-copy .section-index, .product-view-copy h2 { grid-column: 1; }
.product-view-copy > p:last-child { grid-column: 2; grid-row: 2; margin: 0; color: var(--muted-light); font-size: 17px; }
.product-view figure { width: min(1540px, 100%); margin: 0 auto; }
.product-view figure img { width: 100%; height: auto; border-top: 1px solid #ccd1da; border-bottom: 1px solid #ccd1da; }
.product-view figcaption { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; padding: 14px 0 34px; color: #59636f; font-size: 11px; }

.control-band { grid-template-columns: minmax(280px, 0.8fr) minmax(500px, 1.2fr); }
.control-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.control-columns article { padding-top: 20px; border-top: 3px solid var(--blue); }
.control-columns article:last-child { border-top-color: var(--green); }
.control-columns h3 { margin: 0 0 18px; font-size: 18px; }
.control-columns ul { margin: 0; padding-left: 18px; color: var(--muted-light); }
.control-columns li + li { margin-top: 10px; }
.control-note { grid-column: 2; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line-light); color: #424a55; font-size: 14px; }

.remote-band { padding: 86px max(32px, calc((100vw - var(--max)) / 2)); background: #e7eaf0; display: grid; grid-template-columns: 140px minmax(0, 780px); gap: 52px; align-items: center; }
.remote-mark { width: 120px; height: 120px; border: 1px solid #c3c9d2; color: var(--red-on-light); font-size: 28px; font-weight: 850; display: grid; place-items: center; }
.remote-band p:last-child { margin: 20px 0 0; color: var(--muted-light); font-size: 17px; }

.faq-list { max-width: 900px; margin: 60px 0 0 auto; border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line-dark); }
.faq-list summary { min-height: 72px; padding: 22px 44px 22px 0; cursor: pointer; color: #f2f3f5; font-size: 17px; font-weight: 700; }
.faq-list details p { max-width: 760px; margin: -4px 0 26px; color: var(--muted-dark); }

.closing-band { padding: 76px max(32px, calc((100vw - var(--max)) / 2)); background: var(--paper-strong); display: grid; grid-template-columns: 92px 1fr auto; gap: 36px; align-items: center; }
.closing-band > div > p { margin: 0 0 8px; color: var(--red-on-light); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.closing-band h2 { max-width: 700px; font-size: 30px; }

.site-footer { min-height: 126px; padding: 34px max(32px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--muted-dark); display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: center; font-size: 12px; }
.site-footer p { margin: 0; }
.site-footer strong, .site-footer a { color: #fff; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .truth-band, .control-band, .product-view-copy { grid-template-columns: 1fr; gap: 34px; }
  .product-view-copy .section-index, .product-view-copy h2, .product-view-copy > p:last-child, .control-note { grid-column: 1; grid-row: auto; }
  .product-hero { min-height: 760px; background-position: 36% top; }
  .product-hero h1 { font-size: 60px; }
  .hero-overlay { background: rgba(7, 8, 11, 0.88); }
  .closing-band { grid-template-columns: 74px 1fr; }
  .closing-band > img { width: 74px; height: 74px; }
  .closing-band > a { grid-column: 2; width: fit-content; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 62px; padding: 0 18px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 12px; }
  .header-action { font-size: 11px; }
  .product-hero, .truth-band, .workflow-band, .control-band, .remote-band, .faq-band, .closing-band { padding-left: 20px; padding-right: 20px; }
  .product-hero { min-height: 720px; padding-top: 86px; padding-bottom: 46px; }
  .product-hero h1 { font-size: 36px; white-space: nowrap; }
  .hero-overlay { background: rgba(7, 8, 11, 0.92); }
  .hero-lead { font-size: 17px; }
  .hero-facts { gap: 12px 20px; }
  .section-heading h2, .product-view h2, .remote-band h2 { font-size: 29px; }
  .truth-band, .workflow-band, .control-band, .faq-band { padding-top: 70px; padding-bottom: 70px; }
  .workflow-list { margin-top: 44px; }
  .workflow-list li { grid-template-columns: 42px 1fr; gap: 14px; }
  .product-view { padding-top: 70px; }
  .product-view-copy, .product-view figcaption { width: calc(100% - 40px); }
  .control-columns { grid-template-columns: 1fr; }
  .remote-band { grid-template-columns: 1fr; gap: 26px; }
  .remote-mark { width: 82px; height: 82px; }
  .closing-band { grid-template-columns: 58px 1fr; gap: 22px; }
  .closing-band > img { width: 58px; height: 58px; }
  .closing-band h2 { font-size: 23px; }
  .closing-band > a { grid-column: 1 / -1; }
  .site-footer { padding: 30px 20px; }
}

@media (max-width: 360px) {
  .product-hero h1 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
