@font-face {
  font-family: Inter;
  src: url('/fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  --bg: #0b0d10;
  --panel: #12151a;
  --panel-raised: #171a20;
  --line: #272b32;
  --line-soft: #1d2127;
  --text: #f3f3ef;
  --muted: #a2a7af;
  --accent: #d7c39c;
  --blue: #2e7df6;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 8%, rgb(46 125 246 / 10%), transparent 27rem),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand > span > span,
.frame-brand span {
  color: var(--accent);
}

.site-header nav {
  display: flex;
  gap: 34px;
  color: #c1c5cb;
  font-size: 0.9rem;
}

.site-header nav a,
.header-action {
  transition: color 160ms ease;
}

.site-header nav a:hover,
.header-action:hover {
  color: #fff;
}

.header-action {
  justify-self: end;
  padding: 10px 15px;
  border: 1px solid #343942;
  border-radius: 8px;
  color: #e7e8ea;
  font-size: 0.86rem;
  font-weight: 600;
}

main {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(520px, 1.17fr);
  gap: 64px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 76px 0 92px;
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: 20px;
  z-index: -1;
  width: 620px;
  height: 260px;
  border-radius: 50%;
  background: rgb(215 195 156 / 5%);
  filter: blur(80px);
  content: '';
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 5.7vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: #b5bac2;
  font-size: 1.06rem;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: white;
}

.button-primary:hover {
  background: #1f6de3;
}

.button-secondary {
  border-color: #353a43;
  background: #15181d;
  color: #e8e9eb;
}

.button-secondary:hover {
  border-color: #555c68;
  background: #1a1e24;
}

body[data-windows-download='false'] .download-link {
  display: none;
}

.preview-note {
  max-width: 510px;
  margin: 15px 0 0;
  color: #777d87;
  font-size: 0.78rem;
  line-height: 1.55;
}

.product-frame {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #2e333b;
  border-radius: 16px;
  background: #101216;
  box-shadow: 0 36px 100px rgb(0 0 0 / 42%);
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.frame-bar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #242830;
  background: #171a1f;
}

.frame-brand {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.frame-status,
.connection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9da3ac;
  font-size: 0.62rem;
}

.frame-status i,
.connection i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58c58a;
  box-shadow: 0 0 0 3px rgb(88 197 138 / 10%);
}

.frame-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 470px;
}

.frame-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  border-right: 1px solid #22262d;
  background: #14171b;
}

.frame-nav span {
  display: grid;
  width: 35px;
  height: 35px;
  border-radius: 7px;
  place-items: center;
  color: #636a74;
}

.frame-nav .nav-active {
  background: #262b32;
  color: #e4e6e9;
}

.frame-nav svg,
.icon-box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.frame-content {
  min-width: 0;
  padding: 28px 26px;
}

.vehicle-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.vehicle-heading p,
.card-kicker {
  margin: 0 0 7px;
  color: #747b85;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vehicle-heading h2 {
  margin: 0;
  font-size: 1.22rem;
  letter-spacing: -0.035em;
}

.vehicle-heading div > span {
  display: block;
  margin-top: 4px;
  color: #6f757e;
  font-size: 0.64rem;
}

.connection {
  padding: 6px 9px;
  border: 1px solid #28342e;
  border-radius: 14px;
  background: #17201c;
  color: #91c9aa;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.metric-row article {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 84px;
  flex-direction: column;
  justify-content: center;
  padding: 13px 14px;
  border: 1px solid #242932;
  border-radius: 9px;
  background: #15181d;
}

.metric-row article > span {
  color: #777e87;
  font-size: 0.62rem;
}

.metric-row strong {
  margin-top: 3px;
  color: #eceeec;
  font-size: 1.28rem;
  line-height: 1.1;
}

.metric-row small {
  color: #686f79;
  font-size: 0.55rem;
  font-weight: 500;
}

.metric-row strong small {
  color: #8c929b;
  font-size: 0.65rem;
}

.metric-good {
  position: absolute;
  top: 15px;
  right: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #58c58a;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: 10px;
  margin-top: 10px;
}

.workspace-card {
  min-width: 0;
  min-height: 195px;
  padding: 17px;
  border: 1px solid #242932;
  border-radius: 9px;
  background: #15181d;
}

.workspace-card h3 {
  margin: 0;
  font-size: 0.83rem;
}

.workspace-card ul {
  display: grid;
  gap: 8px;
  margin: 15px 0;
  padding: 0;
  color: #a5abb3;
  font-size: 0.62rem;
  list-style: none;
}

.workspace-card li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.workspace-card li i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #58c58a;
}

.mock-button {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 5px;
  background: #2e7df6;
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
}

.activity p {
  margin: 9px 0 0;
  color: #818892;
  font-size: 0.64rem;
}

.activity small {
  color: #606771;
  font-size: 0.54rem;
}

.activity-line {
  display: flex;
  height: 46px;
  align-items: end;
  gap: 5px;
  margin: 19px 0 15px;
  border-bottom: 1px solid #2c3138;
}

.activity-line span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: #354155;
}

.activity-line span:nth-child(1) { height: 32%; }
.activity-line span:nth-child(2) { height: 72%; background: #416ba6; }
.activity-line span:nth-child(3) { height: 48%; }
.activity-line span:nth-child(4) { height: 88%; background: #2e7df6; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
}

.trust-strip p:last-child {
  border-right: 0;
}

.trust-strip strong {
  color: #dedfdd;
  font-size: 0.85rem;
}

.trust-strip span {
  color: #717781;
  font-size: 0.72rem;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 64px;
  align-items: end;
  margin-bottom: 55px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-heading h2,
.safety-copy h2,
.preview-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.section-heading > p:last-child,
.safety-copy > p,
.preview-section > div > p {
  max-width: 520px;
  margin: 0;
  color: #9298a1;
  font-size: 1rem;
  line-height: 1.7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid article {
  min-height: 275px;
  padding: 32px 26px;
  border-right: 1px solid var(--line);
}

.capability-grid article:last-child {
  border-right: 0;
}

.icon-box {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  border: 1px solid #343942;
  border-radius: 8px;
  place-items: center;
  color: var(--accent);
}

.capability-grid h3 {
  margin: 0 0 13px;
  font-size: 1.05rem;
}

.capability-grid p {
  margin: 0;
  color: #7f858e;
  font-size: 0.88rem;
  line-height: 1.65;
}

.safety-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 100px;
  align-items: start;
  border-top: 1px solid var(--line-soft);
}

.safety-copy {
  position: sticky;
  top: 42px;
}

.safety-copy > p {
  margin-top: 26px;
}

.safety-copy > a {
  display: inline-block;
  margin-top: 25px;
  border-bottom: 1px solid #7a6f59;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 650;
}

.safety-list {
  border-top: 1px solid var(--line);
}

.safety-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.safety-list article > span {
  color: #656c76;
  font-size: 0.72rem;
  font-weight: 700;
}

.safety-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.safety-list p {
  margin: 0;
  color: #818791;
  font-size: 0.88rem;
  line-height: 1.6;
}

.flow-section {
  padding-top: 90px;
  border-top: 1px solid var(--line-soft);
}

.section-heading.compact {
  display: block;
  margin-bottom: 64px;
}

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.flow-track::before {
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  height: 1px;
  background: #30353d;
  content: '';
}

.flow-track article {
  position: relative;
  padding-top: 35px;
}

.flow-dot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px #766c58;
}

.flow-track p {
  margin: 0 0 6px;
  font-weight: 650;
}

.flow-track small {
  display: block;
  max-width: 190px;
  color: #767d87;
  font-size: 0.78rem;
  line-height: 1.5;
}

.preview-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
  width: min(1180px, calc(100% - 48px));
  margin: 20px auto 90px;
  padding: 64px;
  border: 1px solid #313741;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 15%, rgb(46 125 246 / 15%), transparent 24rem),
    #15181d;
}

.preview-section > div > p {
  margin-top: 20px;
}

.preview-section .unsigned-warning {
  color: #777e88;
  font-size: 0.78rem;
}

.preview-actions {
  min-width: 230px;
  flex-direction: column;
  margin: 0;
}

footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: #686f79;
  font-size: 0.74rem;
}

footer p {
  margin: 0;
  text-align: center;
}

footer p:last-child {
  text-align: right;
}

.footer-brand {
  color: #d8dade;
  font-size: 0.95rem;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

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

  .product-frame {
    width: min(720px, 100%);
    transform: none;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid article:nth-child(2) {
    border-right: 0;
  }

  .capability-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .safety-section {
    gap: 55px;
  }

  .preview-section {
    grid-template-columns: 1fr;
  }

  .preview-actions {
    max-width: 320px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 32px, 1180px);
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .section,
  .trust-strip,
  .preview-section,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    min-height: auto;
    gap: 48px;
    padding: 62px 0 70px;
  }

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

  .frame-body {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .frame-content {
    padding: 22px 16px;
  }

  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .metric-row article:last-child {
    display: none;
  }

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

  .activity {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip p:nth-child(2) {
    border-right: 0;
  }

  .trust-strip p:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 24px;
  }

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

  .capability-grid article,
  .capability-grid article:nth-child(2) {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-grid article:last-child {
    border-bottom: 0;
  }

  .icon-box {
    margin-bottom: 30px;
  }

  .safety-section {
    grid-template-columns: 1fr;
  }

  .safety-copy {
    position: static;
  }

  .flow-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-track::before {
    top: 0;
    bottom: 0;
    left: 5px;
    width: 1px;
    height: auto;
  }

  .flow-track article {
    min-height: 105px;
    padding: 0 0 28px 35px;
  }

  .preview-section {
    margin-bottom: 60px;
    padding: 38px 26px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 35px 0;
    text-align: left;
  }

  footer p,
  footer p:last-child {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 72px;
  }

  .header-action {
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  .brand svg {
    width: 30px;
    height: 30px;
  }

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

  .button {
    width: 100%;
  }

  .product-frame {
    margin-right: -26px;
    margin-left: -6px;
    border-radius: 12px 0 0 12px;
  }

  .vehicle-heading {
    display: block;
  }

  .connection {
    margin-top: 10px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip p:last-child {
    border-bottom: 0;
  }
}

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

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