:root {
  --bg: #f6f7f9;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --text: #111318;
  --muted: #667085;
  --line: rgba(17, 19, 24, 0.1);
  --soft-line: rgba(17, 19, 24, 0.07);
  --blue: #0a84ff;
  --cyan: #28c7fa;
  --green: #30d158;
  --pink: #ff2d55;
  --yellow: #ffd60a;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(31, 41, 55, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(10, 132, 255, 0.13), transparent 32rem),
    radial-gradient(circle at 85% 20%, rgba(255, 45, 85, 0.12), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #eef1f5 100%);
}

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

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

code {
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.92em;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0 38px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
}

.brand,
.footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img,
.footer img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.nav nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav nav a,
.footer nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #2f3642;
  font-size: 0.94rem;
}

.nav nav a:hover,
.footer nav a:hover {
  background: rgba(17, 19, 24, 0.06);
}

.section,
.page-hero {
  margin: 34px 0;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.hero {
  min-height: 690px;
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: 0;
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 620px;
  font-size: 1.24rem;
}

.manifesto {
  background: rgba(255, 255, 255, 0.88);
}

.manifesto h2 {
  max-width: 13ch;
}

.manifesto p {
  max-width: 820px;
  font-size: 1.12rem;
}

.pitch-card {
  width: min(620px, 100%);
  margin: 30px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.typewriter {
  display: block;
  width: 100%;
  min-height: 72px;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: clamp(1.3rem, 2.3vw, 2.05rem);
  font-weight: 740;
  line-height: 1.2;
  cursor: pointer;
}

.cursor {
  display: inline-block;
  width: 0.56rem;
  height: 1.05em;
  margin-left: 4px;
  transform: translateY(0.16em);
  border-radius: 2px;
  background: var(--blue);
  animation: blink 0.82s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 720;
}

.button.primary {
  color: #fff;
  background: #111318;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #46505f;
  font-size: 0.86rem;
}

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

.device-stage {
  position: relative;
  height: 560px;
  perspective: 1300px;
  transform: rotateX(var(--orbit-x, 0deg)) rotateY(var(--orbit-y, 0deg));
  transition: transform 180ms ease;
  cursor: grab;
}

.device-stage:active {
  cursor: grabbing;
}

.mock-device {
  position: absolute;
  overflow: hidden;
  border: 8px solid #15171c;
  background: #080a0f;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.24);
  transform-style: preserve-3d;
}

.tablet {
  inset: 32px 6px auto auto;
  width: min(94%, 520px);
  height: 380px;
  border-radius: 34px;
  transform: rotateX(56deg) rotateZ(-14deg) translate3d(0, 10px, 0);
  animation: tabletFloat 7s ease-in-out infinite;
}

.tablet-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #0f172a, #273243 48%, #101828);
}

.ar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

.paint-stroke {
  position: absolute;
  height: 28px;
  border-radius: 999px;
  filter: blur(0.2px);
}

.stroke-one {
  top: 170px;
  left: 56px;
  width: 310px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--yellow));
  transform: rotate(-15deg);
}

.stroke-two {
  top: 225px;
  left: 168px;
  width: 260px;
  background: linear-gradient(90deg, var(--pink), #af52de, var(--blue));
  transform: rotate(12deg);
}

.target-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.target-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.phone {
  right: 22px;
  bottom: 20px;
  width: 245px;
  height: 500px;
  border-radius: 46px;
  transform: rotateY(-18deg) rotateZ(6deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

.device-stage:hover .phone {
  animation: phoneSpin 1.2s ease both;
}

.phone-notch {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05070b;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 214, 10, 0.34), transparent 8rem),
    radial-gradient(circle at 22% 50%, rgba(48, 209, 88, 0.35), transparent 10rem),
    linear-gradient(160deg, #151d2e, #101114 68%, #050507);
}

.phone-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.camera-ui {
  position: absolute;
  top: 48px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.62rem;
  font-weight: 800;
}

.camera-ui .active {
  color: #ffd60a;
}

.lens-flare {
  position: absolute;
  inset: 105px 34px 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 18%),
    conic-gradient(from 140deg, var(--yellow), var(--green), var(--cyan), #af52de, var(--pink), var(--yellow));
  opacity: 0.85;
  filter: saturate(1.2);
}

.pip-window {
  position: absolute;
  right: 18px;
  bottom: 118px;
  width: 86px;
  height: 124px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  background: linear-gradient(150deg, #e8eef8, #667085);
}

.pip-window span {
  position: absolute;
  left: 27px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
}

.shutter {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 68px;
  height: 68px;
  transform: translateX(-50%);
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.shield-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.shield-demo {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), transparent),
    #111318;
  overflow: hidden;
}

.tile {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.tile.clean {
  left: 9%;
  top: 18%;
  background: linear-gradient(135deg, #eaf2ff, #48c7ff 42%, #30d158);
}

.tile.protected {
  left: 30%;
  top: 32%;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 3px 7px),
    conic-gradient(from 120deg, #ff2d55, #ffd60a, #0a84ff, #af52de, #ff2d55);
  filter: saturate(0.85) contrast(1.2);
}

.tile.restored {
  right: 9%;
  bottom: 18%;
  background: linear-gradient(135deg, #111318, #4f46e5 38%, #28c7fa);
}

.mock-caption {
  text-align: center;
  font-size: 0.88rem;
}

@keyframes tabletFloat {
  50% { transform: rotateX(55deg) rotateZ(-12deg) translate3d(0, -10px, 24px); }
}

@keyframes phoneFloat {
  50% { transform: rotateY(-12deg) rotateZ(4deg) translate3d(0, -12px, 35px); }
}

@keyframes phoneSpin {
  0% { transform: rotateY(-18deg) rotateZ(6deg); }
  48% { transform: rotateY(170deg) rotateZ(0deg) scale(0.98); }
  100% { transform: rotateY(342deg) rotateZ(6deg); }
}

.feature-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #111318;
  font-size: 0.8rem;
  font-weight: 800;
}

.mode-grid,
.video-grid,
.feature-matrix,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mode-grid article,
.video-card,
.feature-matrix article,
.steps-grid div {
  padding: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.mode-grid strong,
.steps-grid strong {
  display: block;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.comparison div {
  padding: 24px;
  border: 1px solid var(--soft-line);
  border-radius: 24px;
  background: #fff;
}

.comparison div:last-child {
  color: #fff;
  background: #111318;
}

.comparison div:last-child p,
.comparison div:last-child li {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.video-card {
  position: relative;
  overflow: hidden;
}

.video-card video,
.video-fallback {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(160deg, #111318, #2d3748);
}

.video-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.video-card.missing video {
  display: none;
}

.video-card.missing .video-fallback {
  display: flex;
}

.control-section {
  display: grid;
  grid-template-columns: auto 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.control-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #111318;
  box-shadow: 0 20px 40px rgba(17, 19, 24, 0.22);
}

.control-icon span {
  width: 42px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 10px;
  position: relative;
}

.control-icon span::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  width: 14px;
  height: 8px;
  border-radius: 5px 5px 0 0;
  background: #fff;
}

.control-icon span::after {
  content: "";
  position: absolute;
  inset: 5px 10px;
  border-radius: 50%;
  border: 4px solid #fff;
}

.control-section ol {
  margin: 0;
  padding-left: 22px;
}

.page-hero {
  max-width: 900px;
}

.page-hero.compact {
  margin-bottom: 18px;
}

.page-hero h1 {
  max-width: 13ch;
}

.feature-matrix {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-matrix ul,
.comparison ul {
  padding-left: 1.1rem;
}

.simple-band {
  background: #111318;
}

.simple-band h2,
.simple-band strong {
  color: #fff;
}

.simple-band p {
  color: rgba(255, 255, 255, 0.72);
}

.policy-page {
  width: min(900px, 100%);
  margin: 0 auto;
}

.policy-card {
  margin: 18px 0 34px;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin-top: 34px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card a {
  color: var(--blue);
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  color: #46505f;
}

@media (max-width: 920px) {
  .section-grid,
  .feature-strip,
  .split,
  .control-section,
  .shield-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

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

  .mode-grid,
  .video-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav,
  .footer {
    align-items: flex-start;
    border-radius: 26px;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .section,
  .page-hero {
    border-radius: 22px;
  }

  .mode-grid,
  .video-grid,
  .feature-matrix,
  .steps-grid,
  .comparison {
    grid-template-columns: 1fr;
  }

  .device-stage {
    height: 460px;
  }

  .tablet {
    width: 96%;
    height: 320px;
    right: 0;
  }

  .phone {
    width: 205px;
    height: 420px;
    right: 12px;
  }

  .trust-row span,
  .nav nav a {
    font-size: 0.82rem;
  }
}

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