:root {
  --bg: #0d0d18;
  --bg-2: #111120;
  --surface: #17182a;
  --surface-2: #20213a;
  --ink: #f7f7fb;
  --muted: #a8a8be;
  --muted-2: #72758f;
  --line: rgba(247, 247, 251, 0.13);
  --paper: #f6f7fb;
  --paper-ink: #17182a;
  --paper-muted: #5d6277;
  --violet: #8178ff;
  --blue: #4f8bff;
  --teal: #6fa6a0;
  --warm: #f06c64;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  --header-h: 72px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 850;
}

h2 {
  font-size: clamp(32px, 4.3vw, 58px);
  font-weight: 820;
}

h3 {
  font-size: 22px;
  font-weight: 820;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 5vw, 64px);
  background: rgba(13, 13, 24, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a,
.site-footer a,
.inline-heading > a,
.back-link {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover,
.inline-heading > a:hover,
.back-link:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta,
.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 16px 34px rgba(79, 139, 255, 0.26);
}

.button.secondary {
  border: 1px solid rgba(247, 247, 251, 0.2);
  background: rgba(247, 247, 251, 0.06);
  color: var(--ink);
}

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 5.4vw, 68px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(13, 13, 24, 1) 0%, rgba(17, 17, 32, 0.98) 48%, rgba(37, 39, 68, 0.92) 100%),
    linear-gradient(180deg, #0d0d18 0%, #111120 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 247, 251, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 251, 0.045) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.86));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(13, 13, 24, 0), var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  animation: rise-in 620ms ease both;
}

.brand-kicker {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8db7ff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 640px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.45;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

.hero-tags span,
.keyword-cloud span {
  border: 1px solid rgba(247, 247, 251, 0.16);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(247, 247, 251, 0.055);
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: grid;
  place-items: center;
  animation: mockup-in 780ms ease 100ms both;
}

.device {
  position: absolute;
  margin: 0;
  width: min(34vw, 334px);
  border: 1px solid rgba(247, 247, 251, 0.22);
  border-radius: 46px;
  padding: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 16%, rgba(0, 0, 0, 0) 28%),
    linear-gradient(145deg, #343447, #07070b 58%, #1a1a25);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
}

.device::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 34%;
  height: 17px;
  border-radius: 999px;
  background: #05050a;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.14) inset;
  transform: translateX(-50%);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
  filter: none;
}

.device-primary {
  z-index: 4;
  right: min(4vw, 46px);
  top: -46px;
  transform: rotate(1deg);
}

.device-secondary {
  z-index: 1;
  left: min(4vw, 34px);
  bottom: -8px;
  width: min(24vw, 232px);
  transform: rotate(-6deg);
  opacity: 0.72;
}

.signal-line {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 118px;
  width: min(44vw, 520px);
  height: 2px;
  background: linear-gradient(90deg, rgba(111, 166, 160, 0), rgba(79, 139, 255, 0.86), rgba(129, 120, 255, 0));
  transform: rotate(-14deg);
}

.signal-line::after {
  content: "";
  position: absolute;
  right: 28%;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(79, 139, 255, 0.9);
  animation: pulse 2200ms ease-in-out infinite;
}

.metric-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -28px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.metric-strip div {
  min-height: 118px;
  padding: 22px;
  background: rgba(23, 24, 42, 0.96);
}

.metric-strip strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 32px);
}

.section-heading {
  max-width: 790px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.95fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: end;
}

.problem-copy {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}

.transport {
  max-width: none;
  padding-left: clamp(18px, 8vw, 96px);
  padding-right: clamp(18px, 8vw, 96px);
  background: #f6f7fb;
  color: var(--paper-ink);
}

.transport .eyebrow,
.product-core .eyebrow,
.audience .eyebrow,
.seo-map .eyebrow,
.faq .eyebrow {
  color: #3d64d8;
}

.transport .section-heading p,
.product-core .section-heading p,
.seo-map .section-heading p,
.download p,
.usecase p,
.news-card p,
.news-row p,
.article-body p {
  color: var(--paper-muted);
}

.transport-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  border: 1px solid rgba(23, 24, 42, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(23, 24, 42, 0.14);
}

.transport-steps article {
  min-height: 260px;
  padding: 28px;
  background: #fff;
}

.transport-steps article span {
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 36px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.transport-steps p,
.core-list p,
.security-copy p,
.faq details p {
  color: var(--muted);
}

.transport-steps p {
  color: var(--paper-muted);
}

.product-core {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.core-list {
  display: grid;
  gap: 26px;
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 5vw, 54px);
}

.core-list article {
  display: grid;
  gap: 10px;
}

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

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.usecase,
.news-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(247, 247, 251, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.usecase:hover,
.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 139, 255, 0.48);
  background: rgba(247, 247, 251, 0.07);
}

.usecase p,
.news-card p,
.news-row p,
.article-body p {
  color: var(--muted);
}

.security {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(36px, 8vw, 92px);
  align-items: center;
  max-width: none;
  padding-left: clamp(18px, 8vw, 96px);
  padding-right: clamp(18px, 8vw, 96px);
  background:
    linear-gradient(110deg, #10111f 0%, #17182a 55%, #252744 100%);
}

.security .eyebrow {
  color: #8db7ff;
}

.security-copy p {
  margin-top: 18px;
  font-size: 18px;
}

.security-points {
  display: grid;
  gap: 12px;
}

.security-points span {
  display: block;
  border: 1px solid rgba(247, 247, 251, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(247, 247, 251, 0.055);
  font-weight: 780;
}

.seo-map {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 82px);
  align-items: center;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.inline-heading > a,
.back-link {
  color: #8db7ff;
  font-weight: 800;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.news-card time,
.news-card span,
.news-row time,
.news-row span,
.article-page time {
  display: inline-flex;
  margin-right: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.news-card h3 {
  margin-top: 16px;
}

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

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 820;
}

details p {
  max-width: 820px;
  margin-top: 12px;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 64px) clamp(32px, 6vw, 72px);
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(247, 247, 251, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(79, 139, 255, 0.22), rgba(129, 120, 255, 0.12)),
    var(--surface);
}

.download h2 {
  max-width: 820px;
}

.download p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
}

.download-actions {
  display: flex;
  gap: 12px;
}

.subhero {
  padding: clamp(72px, 12vw, 140px) clamp(18px, 6vw, 92px) clamp(48px, 8vw, 84px);
  background:
    linear-gradient(115deg, #0d0d18 0%, #17182a 68%, #252744 100%);
  color: var(--ink);
}

.subhero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
}

.news-list {
  display: grid;
  gap: 0;
}

.news-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.news-row h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.article-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) clamp(18px, 4vw, 32px);
}

.article-page header {
  margin-top: 26px;
}

.article-page h1 {
  font-size: clamp(36px, 5.5vw, 64px);
}

.article-body {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  font-size: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mockup-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.86);
  }
  45% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 60px;
  }

  .hero-content {
    max-width: 820px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .device-primary {
    right: 12%;
  }

  .device-secondary {
    left: 12%;
  }

  .metric-strip,
  .transport-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem,
  .product-core,
  .security,
  .seo-map,
  .download,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .core-list {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

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

  .news-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer nav,
  .download-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand span {
    font-size: 16px;
  }

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

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(36px, 10.6vw, 42px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  h3 {
    font-size: 20px;
  }

  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 38px 16px 0;
    overflow: hidden;
  }

  .hero-content {
    max-width: 100%;
  }

  .brand-kicker {
    margin-bottom: 14px;
    font-size: 30px;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

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

  .button {
    width: 100%;
  }

  .hero-tags {
    display: none;
  }

  .hero-tags span,
  .keyword-cloud span {
    font-size: 13px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    z-index: 2;
    width: 100%;
    min-height: 0;
    margin: 10px 0 -58px;
    overflow: visible;
    opacity: 1;
    animation: none;
  }

  .device {
    position: relative;
    padding: 8px;
    border-radius: 34px;
  }

  .device img {
    border-radius: 26px;
  }

  .device::before {
    top: 16px;
    height: 13px;
  }

  .device-primary {
    width: min(76vw, 268px);
    right: auto;
    top: auto;
    margin: 0 auto;
    transform: rotate(0deg);
  }

  .device-secondary,
  .signal-line {
    display: none;
  }

  .metric-strip,
  .transport-steps,
  .usecase-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    margin-left: 16px;
    margin-right: 16px;
  }

  .metric-strip div {
    min-height: 94px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .transport-steps article {
    min-height: auto;
  }

  .inline-heading {
    align-items: start;
    flex-direction: column;
  }

  .download {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 360px) {
  .header-cta {
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-tags {
    display: none;
  }

  .device-primary {
    width: min(82vw, 254px);
    right: auto;
  }
}

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