/* SafraVis — projeto independente.
 *
 * A linguagem visual combina a paleta do aplicativo com referências de
 * telemetria, mapas de campo e interfaces técnicas. Tudo é CSS/HTML: a página
 * não depende de imagens que possam prometer uma interface inexistente.
 */

:root {
  --bg: #07100b;
  --bg-deep: #030806;
  --surface: #0b1710;
  --surface-2: #102016;
  --surface-3: #14291b;
  --primary: #5adb7a;
  --primary-bright: #83ff9e;
  --primary-soft: rgba(90, 219, 122, 0.12);
  --cyan: #71e7cf;
  --amber: #e5be67;
  --text: #eef8ef;
  --text-dim: #a6baaa;
  --muted: #718978;
  --line: rgba(152, 197, 162, 0.17);
  --line-strong: rgba(152, 197, 162, 0.3);
  --danger: #ff756f;
  --wrap: 1180px;
  --nav-height: 74px;
  --section-y: clamp(84px, 10vw, 148px);
  --radius: 16px;
  --radius-lg: 26px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection {
  background: var(--primary);
  color: var(--bg-deep);
}

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--primary-bright);
  color: var(--bg-deep);
  font-weight: 800;
  border-radius: 8px;
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 8, 6, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}

.nav::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
  opacity: 0.65;
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(90, 219, 122, 0.22), 0 0 24px rgba(90, 219, 122, 0.12);
}

.brand-name {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--primary);
  transition: right 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 18px;
  height: 1px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.bars::before,
.bars::after {
  content: "";
  position: relative;
}

.bars::before {
  top: -6px;
}

.bars::after {
  top: 5px;
}

.nav.is-open .bars {
  transform: rotate(45deg);
}

.nav.is-open .bars::before {
  top: 0;
  opacity: 0;
}

.nav.is-open .bars::after {
  top: -1px;
  transform: rotate(-90deg);
}

.nav-mobile {
  display: none;
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
  padding: 6px 0 22px;
  border-top: 1px solid var(--line);
}

.nav-mobile a {
  display: block;
  padding: 13px 2px;
  color: var(--text-dim);
  font-weight: 650;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 18px;
}

.nav-mobile .btn-primary {
  color: #041008;
}

.nav.is-open .nav-mobile {
  display: block;
}

/* Buttons */

.btn {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 760;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #041008;
  background: var(--primary);
  box-shadow: 0 10px 30px rgba(90, 219, 122, 0.13);
}

.btn-primary:hover {
  background: var(--primary-bright);
  box-shadow: 0 12px 36px rgba(90, 219, 122, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.015);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--primary-bright);
  border-color: rgba(90, 219, 122, 0.58);
  background: var(--primary-soft);
}

.btn-sm {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.82rem;
}

.btn-lg {
  min-height: 55px;
  padding-inline: 29px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.app-link > span[aria-hidden="true"] {
  font-family: var(--font-mono);
  font-size: 0.95em;
  transition: transform 160ms ease;
}

.app-link:hover > span[aria-hidden="true"] {
  transform: translate(2px, -2px);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  place-items: center;
  padding: clamp(64px, 7vw, 104px) 0 clamp(86px, 9vw, 140px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.field-grid,
.roadmap-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(90, 219, 122, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 219, 122, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.field-grid::before {
  content: "";
  position: absolute;
  inset: -15% -10%;
  background: repeating-linear-gradient(
    103deg,
    transparent 0 69px,
    rgba(90, 219, 122, 0.045) 69px 70px
  );
  transform: perspective(600px) rotateX(55deg) translateY(22%);
  transform-origin: center bottom;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -130px;
  top: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 219, 122, 0.13), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
}

.status-line,
.kicker,
.modal-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: var(--primary-bright);
  background: rgba(90, 219, 122, 0.06);
  border: 1px solid rgba(90, 219, 122, 0.19);
  border-radius: 999px;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--primary-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(90, 219, 122, 0.09);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--primary);
  border-radius: inherit;
  animation: ping 2.3s ease-out infinite;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6.3vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 750;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero-lead {
  max-width: 650px;
  margin-top: 30px;
  color: var(--text-dim);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-signals {
  display: flex;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.hero-signals li {
  flex: 1;
  min-height: 73px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 15px 8px 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 650;
  border-right: 1px solid var(--line);
}

.hero-signals li + li {
  padding-left: 16px;
}

.hero-signals li:last-child {
  border-right: 0;
}

.hero-signals span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

/* Hero interface representation */

.hero-console {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.console-orbit {
  position: absolute;
  border: 1px solid rgba(90, 219, 122, 0.13);
  border-radius: 50%;
}

.console-orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 50%;
  left: -4px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--cyan);
}

.orbit-a {
  width: 590px;
  height: 590px;
  animation: rotate 28s linear infinite;
}

.orbit-b {
  width: 455px;
  height: 455px;
  border-style: dashed;
  animation: rotate-reverse 22s linear infinite;
}

.device-shell {
  position: relative;
  z-index: 2;
  width: min(350px, 78vw);
  padding: 12px;
  background: linear-gradient(145deg, #1b2820, #070d09 65%);
  border: 1px solid rgba(207, 255, 217, 0.22);
  border-radius: 40px;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.52), 0 0 0 6px rgba(0, 0, 0, 0.12),
    0 0 70px rgba(90, 219, 122, 0.09);
  transform: rotate(1.5deg);
}

.device-shell::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 70px;
  left: -4px;
  top: 120px;
  background: #1c2b20;
  border-radius: 4px 0 0 4px;
}

.device-sensors {
  position: absolute;
  z-index: 4;
  top: 19px;
  left: 50%;
  width: 82px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
  background: #020503;
  border-radius: 999px;
}

.device-sensors span {
  width: 28px;
  height: 3px;
  background: #172019;
  border-radius: 3px;
}

.device-sensors i {
  width: 5px;
  height: 5px;
  background: #10291b;
  border-radius: 50%;
}

.device-screen {
  min-height: 610px;
  padding: 42px 17px 18px;
  background: linear-gradient(160deg, #0d1710 0%, #071009 100%);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 30px;
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-bar > div {
  min-width: 0;
}

.app-overline {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
}

.app-bar strong {
  display: block;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offline-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  color: #edce86;
  background: rgba(229, 190, 103, 0.08);
  border: 1px solid rgba(229, 190, 103, 0.2);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 750;
}

.offline-pill i {
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

.app-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 17px;
}

.app-context > div {
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.app-context span,
.app-context strong {
  display: block;
}

.app-context span {
  color: var(--muted);
  font-size: 0.53rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-context strong {
  margin-top: 2px;
  font-size: 0.7rem;
}

.capture-block {
  margin-top: 10px;
  padding: 12px;
  background: rgba(15, 30, 20, 0.84);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.capture-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.61rem;
  font-weight: 740;
}

.capture-head b {
  min-width: 20px;
  padding: 1px 5px;
  color: var(--primary-bright);
  background: var(--primary-soft);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-align: center;
}

.audio-track {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 0 9px;
  background: rgba(3, 8, 5, 0.45);
  border-radius: 7px;
}

.record-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: #ff6d68;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 109, 104, 0.1);
  animation: record 1.5s ease-in-out infinite;
}

.wave {
  height: 24px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
}

.wave i {
  width: 2px;
  background: var(--primary);
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite alternate;
}

.wave i:nth-child(1),
.wave i:nth-child(7) { height: 5px; }
.wave i:nth-child(2),
.wave i:nth-child(6) { height: 11px; animation-delay: -0.4s; }
.wave i:nth-child(3),
.wave i:nth-child(8) { height: 17px; animation-delay: -0.8s; }
.wave i:nth-child(4) { height: 9px; animation-delay: -0.25s; }
.wave i:nth-child(5) { height: 21px; animation-delay: -0.65s; }

.audio-track time {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.capture-media {
  display: grid;
  grid-template-columns: 1fr 1fr 40px;
  gap: 7px;
  margin-top: 9px;
}

.photo-card,
.photo-add {
  min-height: 68px;
  display: flex;
  align-items: flex-end;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.photo-card {
  position: relative;
  background-color: #14231a;
}

.photo-card::before,
.photo-card::after {
  content: "";
  position: absolute;
  border-radius: 45% 55% 0 0;
}

.photo-card::before {
  width: 90px;
  height: 42px;
  left: -10px;
  bottom: 0;
  background: #294b31;
  transform: rotate(8deg);
}

.photo-card::after {
  width: 70px;
  height: 45px;
  right: -16px;
  bottom: -6px;
  background: #1e3c27;
  transform: rotate(-12deg);
}

.photo-two {
  filter: saturate(0.75) brightness(0.88);
}

.photo-card span {
  position: relative;
  z-index: 2;
  padding: 2px 4px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.45rem;
}

.photo-add {
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.diagnosis-card {
  border-color: rgba(90, 219, 122, 0.23);
}

.diagnosis-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.diagnosis-row strong,
.diagnosis-row small {
  display: block;
}

.diagnosis-row strong {
  font-size: 0.68rem;
}

.diagnosis-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.52rem;
}

.diagnosis-row > span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.app-action {
  width: 100%;
  min-height: 38px;
  margin-top: 11px;
  color: #041008;
  background: var(--primary);
  border-radius: 8px;
  font-size: 0.66rem;
  font-weight: 800;
  pointer-events: none;
}

.local-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.48rem;
}

.local-note i {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

.console-label {
  position: absolute;
  z-index: 3;
  min-width: 158px;
  padding: 10px 12px;
  background: rgba(5, 12, 8, 0.88);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.console-label::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--primary);
  border-left: 1px solid var(--primary);
}

.console-label span,
.console-label strong {
  display: block;
  font-family: var(--font-mono);
}

.console-label span {
  color: var(--muted);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.console-label strong {
  margin-top: 2px;
  color: var(--cyan);
  font-size: 0.62rem;
}

.label-sync {
  left: -2%;
  top: 20%;
}

.label-build {
  right: -3%;
  bottom: 18%;
}

.label-build strong {
  color: var(--primary-bright);
}

/* Sections */

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-dark {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}

.kicker {
  margin-bottom: 18px;
  color: var(--primary);
}

.kicker::before {
  content: "[ ";
  color: var(--muted);
}

.kicker::after {
  content: " ]";
  color: var(--muted);
}

.section h2 {
  max-width: 780px;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 720;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: 62px;
}

.section-head > p,
.roadmap-heading > p {
  max-width: 480px;
  color: var(--text-dim);
  font-size: 1.03rem;
  line-height: 1.8;
}

.section-head-narrow {
  margin-bottom: 50px;
}

/* Project */

.project {
  background: linear-gradient(180deg, #08120c, var(--bg));
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.project-copy > p {
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.86;
}

.project-copy > p + p {
  margin-top: 20px;
}

.project-note {
  position: relative;
  margin-top: 38px;
  padding: 21px 23px 21px 25px;
  background: var(--primary-soft);
  border: 1px solid rgba(90, 219, 122, 0.22);
  border-left: 2px solid var(--primary);
}

.project-note span {
  color: var(--primary-bright);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.project-note p {
  margin-top: 5px;
  font-weight: 680;
}

/* Capabilities */

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

.capability {
  position: relative;
  min-height: 350px;
  padding: 34px;
  background: linear-gradient(145deg, rgba(17, 34, 23, 0.82), rgba(8, 17, 11, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
}

.capability::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 70px;
  height: 1px;
  background: var(--primary);
  opacity: 0.75;
}

.capability:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 219, 122, 0.34);
  background: linear-gradient(145deg, rgba(20, 42, 27, 0.92), rgba(8, 17, 11, 0.9));
}

.capability-wide {
  min-height: 330px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(210px, 0.78fr);
  gap: 20px;
  align-items: start;
  grid-column: 1 / -1;
}

.capability-index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--primary-bright);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.availability::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(90, 219, 122, 0.5);
}

.capability h3 {
  max-width: 520px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.capability p {
  max-width: 560px;
  margin-top: 16px;
  color: var(--text-dim);
  line-height: 1.75;
}

.capability:not(.capability-wide) .capability-index {
  position: absolute;
  top: 34px;
  right: 34px;
}

.capability-accent {
  background: linear-gradient(145deg, rgba(30, 69, 41, 0.62), rgba(8, 22, 13, 0.9));
  border-color: rgba(90, 219, 122, 0.27);
}

.data-map {
  position: relative;
  min-height: 215px;
  align-self: center;
}

.map-node {
  position: absolute;
  min-width: 88px;
  padding: 9px 10px;
  color: var(--text-dim);
  background: rgba(3, 8, 5, 0.65);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.map-node::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 50%;
  left: -3px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

.map-main {
  top: 18px;
  left: 50%;
  color: var(--primary-bright);
  border-color: rgba(90, 219, 122, 0.34);
  transform: translateX(-50%);
}

.map-a { left: 0; bottom: 28px; }
.map-b { right: 0; bottom: 28px; }

.map-line {
  position: absolute;
  top: 78px;
  width: 47%;
  height: 80px;
  border-top: 1px solid rgba(90, 219, 122, 0.26);
}

.line-one {
  left: 5%;
  border-left: 1px solid rgba(90, 219, 122, 0.26);
  transform: skewY(-22deg);
}

.line-two {
  right: 5%;
  border-right: 1px solid rgba(90, 219, 122, 0.26);
  transform: skewY(22deg);
}

.mini-calendar,
.capture-counts {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 31px;
  display: flex;
  gap: 7px;
}

.mini-calendar span {
  flex: 1;
  padding: 13px 4px;
  color: var(--muted);
  background: rgba(2, 7, 4, 0.52);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-align: center;
}

.mini-calendar .today {
  color: var(--bg-deep);
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(90, 219, 122, 0.13);
}

.capture-counts span {
  flex: 1;
  padding: 11px 8px;
  color: var(--muted);
  background: rgba(2, 7, 4, 0.5);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
}

.capture-counts b {
  display: block;
  color: var(--primary-bright);
  font-size: 0.8rem;
}

.sync-visual {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 31px;
  display: flex;
  align-items: center;
}

.sync-device,
.sync-cloud {
  min-width: 78px;
  padding: 13px 10px;
  color: var(--primary-bright);
  background: rgba(2, 8, 4, 0.6);
  border: 1px solid rgba(90, 219, 122, 0.3);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  text-align: center;
}

.sync-path {
  flex: 1;
  display: flex;
  justify-content: space-around;
  padding-inline: 8px;
  border-top: 1px dashed rgba(90, 219, 122, 0.35);
}

.sync-path i {
  width: 5px;
  height: 5px;
  margin-top: -3px;
  background: var(--primary-bright);
  border-radius: 50%;
  animation: data-pulse 1.8s ease-in-out infinite;
}

.sync-path i:nth-child(2) { animation-delay: 0.4s; }
.sync-path i:nth-child(3) { animation-delay: 0.8s; }

.trial-scale {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 49px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.trial-scale span {
  height: 8px;
  background: var(--line-strong);
  border-radius: 999px;
}

.trial-scale span:nth-child(1) { background: #925853; }
.trial-scale span:nth-child(2) { background: #9d7248; }
.trial-scale span:nth-child(3) { background: #8c8c4d; }
.trial-scale span:nth-child(4) { background: #4f9f62; }
.trial-scale span:nth-child(5) { background: var(--primary); }

.trial-scale .active {
  box-shadow: 0 0 0 4px rgba(90, 219, 122, 0.11), 0 0 18px rgba(90, 219, 122, 0.32);
}

.capability-document {
  align-items: center;
}

.document-stack {
  position: relative;
  width: 190px;
  height: 210px;
  justify-self: center;
}

.paper {
  position: absolute;
  width: 148px;
  height: 196px;
  background: #dfe9df;
  border-radius: 4px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.paper-back {
  left: 32px;
  top: 2px;
  background: #9fb3a2;
  transform: rotate(8deg);
}

.paper-front {
  z-index: 2;
  left: 8px;
  top: 8px;
  padding: 19px;
  color: #0a150d;
  transform: rotate(-3deg);
}

.paper-front span {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  letter-spacing: 0.08em;
}

.paper-front strong {
  display: block;
  margin: 24px 0 25px;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.paper-front i {
  display: block;
  height: 4px;
  margin-top: 7px;
  background: #9bae9e;
  border-radius: 5px;
}

.paper-front i:nth-of-type(2) { width: 72%; }
.paper-front i:nth-of-type(3) { width: 88%; }

/* Workflow */

.workflow {
  background: linear-gradient(180deg, var(--bg), #08130c);
}

.workflow-list {
  counter-reset: step;
  border-top: 1px solid var(--line-strong);
}

.workflow-list li {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 180ms ease, background 180ms ease;
}

.workflow-list li::after {
  content: "";
  position: absolute;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  transform: rotate(45deg);
}

.workflow-list li:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, var(--primary-soft), transparent 64%);
}

.workflow-number {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.workflow-list li > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.5fr) minmax(260px, 1fr);
  align-items: center;
  gap: 35px;
}

.workflow-list h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
}

.workflow-list p {
  color: var(--text-dim);
}

/* Roadmap */

.roadmap {
  background: #050b07;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.roadmap-grid {
  opacity: 0.48;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 85%, transparent);
}

.roadmap-heading,
.roadmap-board,
.crm-blueprint {
  position: relative;
  z-index: 1;
}

.roadmap-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 62px;
}

.roadmap-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(6, 15, 9, 0.75);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.roadmap-column {
  min-height: 400px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.roadmap-column:last-child {
  border-right: 0;
}

.roadmap-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-ready { color: var(--primary-bright); }
.status-ready i { background: var(--primary); box-shadow: 0 0 12px rgba(90, 219, 122, 0.55); }
.status-progress { color: var(--cyan); }
.status-progress i { background: var(--cyan); box-shadow: 0 0 12px rgba(113, 231, 207, 0.45); }
.status-future { color: var(--amber); }
.status-future i { background: var(--amber); box-shadow: 0 0 12px rgba(229, 190, 103, 0.4); }

.roadmap-column ul {
  margin-top: 20px;
}

.roadmap-column li {
  padding: 17px 0;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.roadmap-column li span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
}

.roadmap-future {
  background: linear-gradient(160deg, rgba(229, 190, 103, 0.055), transparent 62%);
}

.future-card {
  margin-top: 24px;
  padding: 21px;
  background: rgba(3, 8, 5, 0.68);
  border: 1px dashed rgba(229, 190, 103, 0.3);
}

.future-card > span,
.future-card small {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.09em;
}

.future-card h3 {
  margin-top: 15px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.future-card p {
  margin-top: 13px;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.7;
}

.progress-line {
  height: 3px;
  margin: 24px 0 12px;
  background: rgba(229, 190, 103, 0.12);
  overflow: hidden;
}

.progress-line i {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--amber);
  animation: scan-progress 3s ease-in-out infinite alternate;
}

.crm-blueprint {
  margin-top: 18px;
  padding: clamp(30px, 5vw, 58px);
  background: linear-gradient(145deg, rgba(10, 29, 18, 0.92), rgba(3, 9, 5, 0.94));
  border: 1px solid rgba(113, 231, 207, 0.24);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.crm-blueprint::before,
.crm-blueprint::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.crm-blueprint::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
}

.crm-blueprint::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
}

.blueprint-heading {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.25fr);
  gap: clamp(42px, 8vw, 112px);
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.blueprint-code,
.blueprint-card-code {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.blueprint-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.blueprint-status i {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(229, 190, 103, 0.45);
}

.blueprint-heading h3 {
  max-width: 750px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.blueprint-heading > div:last-child > p {
  max-width: 750px;
  margin-top: 20px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
}

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

.blueprint-card {
  min-height: 410px;
  padding: 25px;
  background: rgba(2, 8, 4, 0.52);
  border: 1px solid var(--line);
}

.blueprint-card h4 {
  margin-top: 17px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.blueprint-card > p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.72;
}

.history-preview {
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.history-preview li {
  display: grid;
  grid-template-columns: 8px 76px 1fr;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.05em;
}

.history-preview i {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.history-preview b {
  color: var(--text-dim);
  font-size: inherit;
}

.chart-preview {
  margin-top: 25px;
  padding: 15px 15px 12px;
  background: rgba(4, 14, 8, 0.8);
  border: 1px solid rgba(113, 231, 207, 0.16);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.43rem;
  letter-spacing: 0.06em;
}

.chart-head b {
  color: var(--cyan);
}

.chart-bars {
  height: 105px;
  display: flex;
  align-items: end;
  gap: 7px;
  margin-top: 14px;
  padding-top: 8px;
  background-image: linear-gradient(rgba(113, 231, 207, 0.08) 1px, transparent 1px);
  background-size: 100% 25%;
  border-bottom: 1px solid rgba(113, 231, 207, 0.2);
}

.chart-bars i {
  height: var(--bar);
  flex: 1;
  background: linear-gradient(180deg, var(--cyan), rgba(90, 219, 122, 0.36));
  box-shadow: 0 0 12px rgba(113, 231, 207, 0.08);
}

.filter-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}

.filter-preview span {
  padding: 8px 9px;
  color: var(--text-dim);
  background: rgba(90, 219, 122, 0.055);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.05em;
}

.blueprint-note {
  margin-top: 24px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(229, 190, 103, 0.04);
  border: 1px dashed rgba(229, 190, 103, 0.2);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  line-height: 1.7;
}

.blueprint-note strong {
  color: var(--amber);
}

/* About */

.about {
  background: linear-gradient(180deg, #07100b, #09140d);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.1fr);
  gap: clamp(65px, 11vw, 160px);
  align-items: center;
}

.about-mark {
  position: relative;
  width: min(350px, 70vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(90, 219, 122, 0.035);
}

.about-mark::before,
.about-mark::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(90, 219, 122, 0.18);
  border-radius: 50%;
}

.about-mark::before { inset: 15%; }
.about-mark::after { inset: 32%; }

.about-mark span {
  position: relative;
  z-index: 2;
  color: var(--primary);
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.09em;
}

.mark-x,
.mark-y {
  position: absolute;
  background: var(--line-strong);
}

.mark-x { width: 118%; height: 1px; }
.mark-y { width: 1px; height: 118%; }

.about-copy > p:not(.kicker) {
  max-width: 680px;
  margin-top: 23px;
  color: var(--text-dim);
  font-size: 1.04rem;
  line-height: 1.84;
}

.build-stamp {
  margin-top: 38px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--primary);
  background: rgba(3, 8, 5, 0.4);
}

.build-stamp span,
.build-stamp strong {
  display: block;
  font-family: var(--font-mono);
}

.build-stamp span {
  color: var(--primary);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}

.build-stamp strong {
  margin-top: 5px;
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

/* Contact */

.contact {
  padding-top: 0;
  background: #09140d;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 60px;
  padding: clamp(40px, 7vw, 78px);
  background: linear-gradient(135deg, #12311d, #0a1a10 67%, #0d2416);
  border: 1px solid rgba(90, 219, 122, 0.26);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(90, 219, 122, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 219, 122, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}

.contact-copy,
.contact-action {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4.4vw, 4.5rem);
}

.contact-copy > p:last-child {
  max-width: 650px;
  margin-top: 22px;
  color: var(--text-dim);
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}

.contact-email {
  padding-bottom: 16px;
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  word-break: break-word;
}

.contact-email span {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

/* Footer */

.footer {
  padding: 58px 0 24px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.85fr;
  gap: 60px;
  padding-bottom: 42px;
}

.footer-brand > p {
  max-width: 350px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links a {
  width: fit-content;
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 150ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary-bright);
}

.footer-contact span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.footer-contact a {
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 150ms ease;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.footer-bottom p:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-bottom i {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(90, 219, 122, 0.5);
}

/* Contact modal */

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 3, 0.82);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: calc(100vh - 44px);
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(145deg, #0f2115, #07100a);
  border: 1px solid rgba(90, 219, 122, 0.31);
  border-radius: 20px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

.modal-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  width: 100px;
  height: 1px;
  background: var(--primary);
}

.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--primary-bright);
  border-color: rgba(90, 219, 122, 0.4);
}

.modal-kicker {
  margin-bottom: 15px;
  color: var(--primary);
}

.modal-title {
  padding-right: 40px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.modal-desc {
  max-width: 520px;
  margin-top: 16px;
  color: var(--text-dim);
}

.form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 15px;
  margin-top: 32px;
}

.field-full,
.form-status,
.form-submit,
.form-note {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.req {
  color: var(--primary);
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(2, 7, 4, 0.58);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field input {
  height: 49px;
  padding: 0 14px;
}

.field textarea {
  min-height: 140px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  background: rgba(3, 10, 6, 0.78);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(90, 219, 122, 0.09);
}

.field textarea::placeholder {
  color: #58705e;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  min-height: 18px;
  margin-top: 4px;
  color: #ffaaa6;
  font-size: 0.72rem;
}

.field-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 11px 13px;
  color: #ffd2cf;
  background: rgba(255, 117, 111, 0.08);
  border: 1px solid rgba(255, 117, 111, 0.22);
  border-radius: 8px;
  font-size: 0.8rem;
}

.form-status.is-shown {
  display: block;
}

.form-submit {
  width: 100%;
}

.btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(3, 12, 6, 0.28);
  border-top-color: #031006;
  border-radius: 50%;
  animation: rotate 0.8s linear infinite;
}

.form-submit.is-sending .btn-loader {
  display: block;
}

.form-note {
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.form-note a {
  color: var(--primary);
  border-bottom: 1px solid rgba(90, 219, 122, 0.3);
}

.form-done {
  padding: 55px 0 15px;
  text-align: center;
}

.form-done-code {
  display: inline-block;
  padding: 7px 10px;
  color: var(--primary-bright);
  background: var(--primary-soft);
  border: 1px solid rgba(90, 219, 122, 0.24);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.form-done h3 {
  margin-top: 20px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.form-done p {
  max-width: 440px;
  margin: 10px auto 24px;
  color: var(--text-dim);
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms),
    transform 620ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes ping {
  0% { transform: scale(0.55); opacity: 0.85; }
  75%, 100% { transform: scale(1.6); opacity: 0; }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes record {
  50% { opacity: 0.45; }
}

@keyframes wave {
  to { transform: scaleY(0.38); opacity: 0.62; }
}

@keyframes data-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1); box-shadow: 0 0 9px var(--primary); }
}

@keyframes scan-progress {
  from { width: 24%; }
  to { width: 52%; }
}

/* Responsive */

@media (max-width: 1080px) {
  .nav-links {
    gap: 17px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.4rem);
  }

  .console-label {
    display: none;
  }

  .orbit-a { width: 490px; height: 490px; }
  .orbit-b { width: 410px; height: 410px; }

  .capability-wide {
    grid-template-columns: 34px minmax(0, 1fr) minmax(180px, 0.65fr);
  }
}

@media (max-width: 920px) {
  :root {
    --nav-height: 68px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-console {
    min-height: 630px;
  }

  .project-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .project-layout {
    gap: 45px;
  }

  .section-head,
  .roadmap-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .section-head > p,
  .roadmap-heading > p {
    max-width: 650px;
  }

  .roadmap-board {
    grid-template-columns: 1fr 1fr;
  }

  .roadmap-column {
    min-height: 350px;
  }

  .roadmap-column:nth-child(2) {
    border-right: 0;
  }

  .roadmap-future {
    grid-column: 1 / -1;
    min-height: auto;
    border-top: 1px solid var(--line);
  }

  .future-card {
    max-width: 620px;
  }

  .blueprint-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .blueprint-card {
    min-height: auto;
  }

  .about-mark {
    width: min(320px, 70vw);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .wrap,
  .nav-mobile {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .hero {
    padding-top: 58px;
  }

  .status-line {
    align-items: flex-start;
    font-size: 0.62rem;
    line-height: 1.4;
  }

  .status-dot {
    margin-top: 2px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-lead {
    margin-top: 25px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-signals {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-signals li,
  .hero-signals li + li {
    min-height: 58px;
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-signals li:last-child {
    border-bottom: 0;
  }

  .hero-console {
    min-height: 585px;
    margin-inline: -8px;
  }

  .device-shell {
    width: min(330px, 87vw);
  }

  .orbit-a { width: 410px; height: 410px; }
  .orbit-b { width: 335px; height: 335px; }

  .section h2 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .section-head {
    margin-bottom: 42px;
  }

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

  .capability,
  .capability-wide {
    min-height: 350px;
    padding: 27px;
    grid-column: auto;
  }

  .capability-wide {
    display: block;
  }

  .capability-wide .capability-index {
    position: absolute;
    top: 27px;
    right: 27px;
  }

  .data-map,
  .document-stack {
    display: none;
  }

  .capability:not(.capability-wide) .capability-index {
    top: 27px;
    right: 27px;
  }

  .mini-calendar,
  .capture-counts,
  .sync-visual,
  .trial-scale {
    left: 27px;
    right: 27px;
  }

  .workflow-list li {
    grid-template-columns: 45px 1fr;
    gap: 12px;
    padding-right: 28px;
  }

  .workflow-list li > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .workflow-list li:hover {
    padding-left: 8px;
  }

  .roadmap-board {
    grid-template-columns: 1fr;
  }

  .roadmap-column,
  .roadmap-column:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .roadmap-future {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .crm-blueprint {
    padding: 26px 20px;
  }

  .blueprint-heading {
    padding-bottom: 30px;
  }

  .about-mark {
    width: min(280px, 78vw);
    justify-self: center;
  }

  .contact-panel {
    gap: 38px;
    padding: 34px 24px;
    border-radius: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

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

  .field-full,
  .form-status,
  .form-submit,
  .form-note {
    grid-column: auto;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }
}

@media (max-width: 390px) {
  .device-shell {
    transform: none;
  }

  .capture-media {
    grid-template-columns: 1fr 1fr 34px;
  }

  .hero-console {
    min-height: 570px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
