:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #647085;
  --paper: #fffaf0;
  --panel: rgba(255, 255, 255, 0.84);
  --line: rgba(23, 32, 51, 0.12);
  --orange: #ff6b35;
  --orange-deep: #c94718;
  --blue: #2446ff;
  --green: #0c9b6a;
  --court: #f3c27d;
  --shadow: 0 28px 80px rgba(23, 32, 51, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.22), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(36, 70, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #fffaf0 0%, #f9f2e6 45%, #f6efe3 100%);
}

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

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 20px;
}

.brand-logo img {
  display: block;
  width: 214px;
  max-width: 48vw;
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  box-shadow: 0 14px 28px rgba(255, 107, 53, 0.22);
}

.nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav {
  color: #344052;
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.nav a:hover {
  color: var(--orange-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff8a3d 54%, var(--orange-deep));
  box-shadow: 0 18px 34px rgba(255, 107, 53, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  padding: 46px 0 76px;
}

.hero-with-video {
  padding-top: 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.2);
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.stat-value {
  font-family: "Space Grotesk", Manrope, sans-serif;
}

h1 {
  margin: 20px 0 16px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-text {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

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

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

.trust-card,
.card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(23, 32, 51, 0.06);
}

.trust-card {
  border-radius: 22px;
  padding: 16px;
}

.trust-card strong {
  display: block;
  font-size: 18px;
}

.trust-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.phone-stage {
  position: relative;
  min-height: 580px;
  border-radius: 42px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 20% 18%, rgba(255, 107, 53, 0.28), transparent 30%),
    radial-gradient(circle at 78% 76%, rgba(36, 70, 255, 0.2), transparent 34%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-video-card {
  position: relative;
  min-height: 590px;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 107, 53, 0.42), transparent 28%),
    radial-gradient(circle at 80% 72%, rgba(36, 70, 255, 0.34), transparent 34%),
    linear-gradient(145deg, #101827, #26314a 54%, #101827);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
}

.hero-video-card video:not([src]) + .video-fallback,
.video-fallback {
  position: absolute;
  inset: 0;
}

.hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.04), rgba(16, 24, 39, 0.22)),
    radial-gradient(circle at 50% 100%, rgba(255, 107, 53, 0.16), transparent 38%);
  pointer-events: none;
}

.product-window {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.window-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.window-bar strong {
  color: var(--ink);
  letter-spacing: -0.02em;
  text-transform: none;
}

.editor-window {
  left: 26px;
  right: 80px;
  top: 34px;
  height: 310px;
}

.stats-window {
  right: 24px;
  top: 238px;
  width: 260px;
}

.review-window {
  left: 38px;
  right: 30px;
  bottom: 88px;
}

.video-court {
  position: absolute;
  inset: 54px 18px 18px;
  border: 9px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(243, 194, 125, 0.95), rgba(215, 124, 49, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 42px);
  overflow: hidden;
}

.video-court .shot {
  width: 54px;
  height: 54px;
  font-size: 13px;
}

.path-line {
  position: absolute;
  left: 24%;
  top: 36%;
  width: 50%;
  height: 32%;
  border-top: 5px dashed rgba(255, 255, 255, 0.86);
  border-right: 5px dashed rgba(255, 255, 255, 0.86);
  border-radius: 0 80px 0 0;
  transform: rotate(-8deg);
}

.video-caption {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 24, 39, 0.82);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.video-caption strong {
  display: block;
  font-size: 16px;
}

.video-caption span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.video-caption {
  left: 28px;
  right: 28px;
  bottom: 24px;
  padding: 14px 16px;
  border-radius: 22px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(23, 32, 51, 0.08);
}

.stat-grid div {
  padding: 16px 12px;
  background: #fff;
}

.stat-grid strong {
  display: block;
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-grid span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.review-frame {
  position: relative;
  height: 118px;
  margin: 0 16px;
  border-radius: 20px;
  background:
    linear-gradient(140deg, rgba(23, 32, 51, 0.72), rgba(23, 32, 51, 0.2)),
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.34), transparent 12%),
    linear-gradient(135deg, #d77c31, #f3c27d);
  overflow: hidden;
}

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.play-dot::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 13px;
  border-left: 14px solid var(--orange);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.annotation-line {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 96px;
  height: 52px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  border-radius: 0 28px 0 0;
  transform: rotate(12deg);
}

.review-window p {
  margin: 12px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.video-caption code {
  color: #fff;
  font-size: 12px;
}

.phone-card {
  position: absolute;
  z-index: 2;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.16);
  backdrop-filter: blur(14px);
}

.phone-card strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.phone-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.phone-top img {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.main-card {
  top: 30px;
  left: 30px;
  right: 30px;
}

.mini-court {
  inset: 170px 42px 112px;
}

.result-card {
  right: 28px;
  bottom: 28px;
  width: 210px;
}

.progress-line {
  height: 10px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.12);
  overflow: hidden;
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.court-card {
  position: absolute;
  inset: 30px 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, #f7c986, #e9a85c);
  border: 10px solid #fcf3df;
  overflow: hidden;
}

.court-lines {
  position: absolute;
  inset: 28px;
  border: 3px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
}

.court-lines::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 58%;
  height: 42%;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 255, 255, 0.62);
  border-bottom: 0;
  border-radius: 140px 140px 0 0;
}

.court-lines::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 84px;
  height: 84px;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
}

.shot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--ink);
  box-shadow: 0 14px 26px rgba(23, 32, 51, 0.25);
}

.shot.one {
  left: 20%;
  top: 28%;
}

.shot.two {
  left: 46%;
  top: 18%;
  background: var(--blue);
}

.shot.three {
  right: 18%;
  top: 34%;
  background: var(--green);
}

.plan-chip {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(23, 32, 51, 0.88);
  color: #fff;
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.28);
}

.plan-chip strong {
  display: block;
  font-size: 18px;
}

.plan-chip span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

section {
  padding: 48px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 24px;
}

.section-head-wide {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-head p,
.card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

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

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

.gallery-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(23, 32, 51, 0.08);
  overflow: hidden;
}

.gallery-image-frame {
  padding: 22px 22px 10px;
}

.gallery-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
}

.gallery-copy {
  padding: 0 22px 22px;
}

.gallery-copy strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.gallery-copy span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.card,
.legal-card,
.use-case-card {
  border-radius: 28px;
  padding: 26px;
}

.use-case-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(23, 32, 51, 0.08);
}

.use-case-card.featured {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 107, 53, 0.55), transparent 30%),
    linear-gradient(145deg, #182033, #243452 54%, #101827);
  transform: translateY(-10px);
}

.use-case-label,
.feature-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.use-case-card.featured .use-case-label {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.card h3,
.legal-card h2,
.use-case-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.use-case-card h3 {
  font-size: clamp(26px, 3.5vw, 36px);
}

.card p,
.legal-card p,
.use-case-card p {
  margin: 0;
}

.use-case-card p,
.use-case-card li {
  color: var(--muted);
  line-height: 1.7;
}

.use-case-card.featured p,
.use-case-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.use-case-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.use-case-card li {
  position: relative;
  padding-left: 24px;
}

.use-case-card li + li {
  margin-top: 11px;
}

.use-case-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.use-case-card.featured li::before {
  background: #fff;
}

.demo-frame {
  min-height: 260px;
  border-radius: 30px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(140deg, rgba(23, 32, 51, 0.78), rgba(23, 32, 51, 0.2)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #d77c31, #f5be76);
  color: #fff;
  overflow: hidden;
}

.demo-frame.alt {
  background:
    linear-gradient(140deg, rgba(23, 32, 51, 0.78), rgba(23, 32, 51, 0.18)),
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(135deg, #2446ff, #12a57a);
}

.demo-frame.third {
  background:
    linear-gradient(140deg, rgba(23, 32, 51, 0.8), rgba(23, 32, 51, 0.18)),
    radial-gradient(circle at 28% 30%, rgba(255, 107, 53, 0.45), transparent 22%),
    linear-gradient(135deg, #101827, #7c3aed);
}

.demo-frame strong {
  display: block;
  font-size: 24px;
}

.demo-frame span {
  display: block;
  max-width: 360px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.legal-hero {
  padding: 40px 0 24px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 56px;
}

.toc {
  position: sticky;
  top: 98px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 18px;
}

.toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.toc a:hover {
  color: var(--orange-deep);
}

.legal-stack {
  display: grid;
  gap: 16px;
}

.legal-card ul,
.legal-card ol {
  margin: 0;
  padding-left: 22px;
}

.legal-card p + p,
.legal-card p + ul,
.legal-card ul + p,
.legal-card li + li {
  margin-top: 10px;
}

.footer {
  padding: 40px 0 56px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .gallery-grid,
  .use-case-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 520px;
  }

  .hero-video-card {
    min-height: 620px;
  }

  .use-case-card.featured {
    transform: none;
  }

  .toc {
    position: static;
  }
}

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

  .header-shell {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .hero {
    padding-top: 28px;
  }

  .hero-text {
    font-size: 18px;
  }

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

  .phone-stage {
    min-height: 460px;
    border-radius: 32px;
  }

  .hero-video-card {
    min-height: 650px;
    border-radius: 32px;
  }

  .court-card {
    inset: 22px 18px;
    border-radius: 28px;
  }

  .editor-window {
    left: 18px;
    right: 18px;
    top: 28px;
    height: 284px;
  }

  .stats-window {
    left: 18px;
    right: 18px;
    top: 330px;
    width: auto;
  }

  .review-window {
    left: 18px;
    right: 18px;
    bottom: 82px;
  }

  .video-court {
    inset: 54px 14px 14px;
  }

  .video-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .footer-shell {
    flex-direction: column;
  }
}
