:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --ink: #101318;
  --muted: #59616d;
  --faint: #8a93a0;
  --line: #e2e7ef;
  --blue: #2a91fc;
  --blue-deep: #0f6ed8;
  --green: #34c759;
  --red: #ff453a;
  --teal: #28b8bd;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  --shadow-soft: 0 12px 32px rgba(16, 24, 40, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(226, 231, 239, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(42, 145, 252, 0.2);
}

.brand span {
  min-width: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #232a34;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-store,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 750;
  letter-spacing: 0;
}

.nav-store {
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(42, 145, 252, 0.22);
}

.nav-links .nav-store:hover {
  color: #fff;
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.button {
  min-height: 48px;
  padding: 0 20px;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 0.98rem;
}

.button svg {
  width: 22px;
  height: 22px;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(42, 145, 252, 0.24);
}

.button.primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero {
  background:
    linear-gradient(180deg, #fff 0%, #fff 64%, #f7faff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  min-height: min(720px, calc(100svh - 68px));
  padding: clamp(46px, 5.5vw, 68px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

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

.hero h1 {
  margin: 0;
  color: #070a0f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3.7rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-description {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.75;
}

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

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

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #4f5966;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 650;
}

.product-stage {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(42, 145, 252, 0.08), transparent 42%),
    linear-gradient(180deg, #fbfdff, #eef4fb);
  box-shadow: var(--shadow);
}

.stage-label {
  position: absolute;
  left: 28px;
  top: 24px;
  z-index: 2;
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.stage-label strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.phone {
  position: absolute;
  width: 228px;
  height: 468px;
  padding: 9px;
  border-radius: 38px;
  background: #101318;
  box-shadow: 0 24px 52px rgba(16, 24, 40, 0.22);
}

.phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 17px;
  z-index: 3;
  width: 76px;
  height: 24px;
  border-radius: 999px;
  background: #05070b;
  transform: translateX(-50%);
}

.list-phone {
  left: 120px;
  bottom: -42px;
  transform: rotate(-2deg);
}

.player-phone {
  right: 72px;
  bottom: -8px;
  transform: rotate(2deg);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.light-screen {
  padding: 42px 13px 14px;
  color: #111827;
  background: #f7f9fc;
}

.dark-screen {
  padding: 42px 13px 14px;
  color: #fff;
  background: #030407;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: currentColor;
  font-size: 0.7rem;
  font-weight: 800;
}

.phone-status i {
  width: 34px;
  height: 10px;
}

.phone-status b {
  width: 34px;
  height: 10px;
  background:
    linear-gradient(currentColor 0 0) left bottom / 5px 6px no-repeat,
    linear-gradient(currentColor 0 0) center bottom / 5px 8px no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 5px 10px no-repeat;
}

.screen-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.screen-title strong {
  font-size: 1.12rem;
}

.screen-title span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 750;
}

.filter-box {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #e4e8ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.filter-box div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-box em {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
}

.filter-box em::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.filter-box p {
  margin: 7px 0 0;
  color: var(--faint);
  font-size: 0.66rem;
}

.media-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.media-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 8px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.05);
}

.media-row.delete-row {
  grid-template-columns: 48px 1fr 46px;
  padding-right: 0;
  overflow: hidden;
}

.thumb {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}

.thumb.sunset {
  background:
    radial-gradient(circle at 54% 48%, #fff4a3 0 5%, transparent 7%),
    linear-gradient(180deg, #54708f 0 45%, #f2a142 46% 56%, #3d4654 57%);
}

.thumb.coast {
  background:
    linear-gradient(180deg, #9fc9e8 0 45%, #e2dac6 46% 60%, #465765 61%);
}

.thumb.family {
  background:
    radial-gradient(circle at 32% 44%, #d39f79 0 8%, transparent 9%),
    radial-gradient(circle at 62% 40%, #bd855f 0 8%, transparent 9%),
    linear-gradient(135deg, #d6c0a1, #6f7a87);
}

.thumb.city {
  background:
    linear-gradient(90deg, rgba(6, 12, 18, 0.5) 0 14%, transparent 15% 34%, rgba(6, 12, 18, 0.4) 35% 43%, transparent 44%),
    linear-gradient(180deg, #5a91bc 0 55%, #213444 56%);
}

.media-row p {
  margin: 0;
  min-width: 0;
}

.media-row strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
}

.media-row small,
.media-row i {
  color: var(--faint);
  font-size: 0.64rem;
  font-style: normal;
}

.media-row b {
  align-self: stretch;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  font-size: 0.72rem;
}

.player-topline {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
}

.video-scene {
  position: relative;
  height: 150px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 62% 24%, #fff 0 10%, transparent 11%),
    linear-gradient(180deg, #63a2f0 0 47%, #72c2cf 48% 50%, #163c39 51%);
}

.video-scene::before,
.video-scene::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 76%;
  height: 72%;
  background: linear-gradient(180deg, #647568, #1b352e);
  clip-path: polygon(0 100%, 20% 25%, 38% 62%, 55% 18%, 78% 68%, 100% 100%);
}

.video-scene::before {
  left: -12%;
}

.video-scene::after {
  right: -14%;
  opacity: 0.78;
}

.timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.66rem;
  font-weight: 750;
}

.timeline i {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline i::before {
  content: "";
  position: absolute;
  inset: 0 54% 0 0;
  border-radius: inherit;
  background: var(--teal);
}

.timeline i::after {
  content: "";
  position: absolute;
  left: 46%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8edf5;
  transform: translate(-50%, -50%);
}

.play-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.play-controls span {
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.play-controls span:first-child {
  transform: scaleX(-1);
}

.play-controls strong {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
}

.play-controls strong::before,
.play-controls strong::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 6px;
  height: 20px;
  border-radius: 2px;
  background: #fff;
}

.play-controls strong::before {
  left: 17px;
}

.play-controls strong::after {
  right: 17px;
}

.tool-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
}

.tool-chips span {
  min-height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.6rem;
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 88px) 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 28px;
}

.section-heading h2,
.privacy-layout h2,
.final-cta h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.12;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.workflow-section {
  background: #fff;
}

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

.workflow-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.workflow-card.emphasized {
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.step-number {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.workflow-card.emphasized .step-number {
  color: #79bdff;
}

.workflow-card h3 {
  margin: 14px 0 0;
  font-size: 1.22rem;
}

.workflow-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.workflow-card.emphasized p {
  color: rgba(255, 255, 255, 0.72);
}

.workflow-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-card li {
  position: relative;
  padding-left: 18px;
  color: #3d4652;
  font-weight: 650;
}

.workflow-card.emphasized li {
  color: rgba(255, 255, 255, 0.9);
}

.workflow-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.privacy-band {
  background: var(--surface-soft);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.privacy-layout h2,
.final-cta h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.privacy-layout p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.privacy-points {
  display: grid;
  gap: 10px;
}

.privacy-points span {
  padding: 14px 16px;
  border: 1px solid rgba(42, 145, 252, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: #26313f;
  font-weight: 700;
}

.final-cta {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta h2 {
  max-width: 680px;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  background: #fff;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a,
.policy-section a {
  color: var(--blue-deep);
  font-weight: 700;
}

.legal-page {
  --text: #111a22;
  --primary-soft: #f2f7ff;
  --document-max: 860px;
  color: var(--text);
  background: #f7f8fa;
  font-family: "DM Sans", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.legal-page .document-shell {
  width: min(var(--document-max), 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
}

.legal-page .container {
  width: 100%;
  margin: 0 auto;
}

.legal-page .hero {
  padding: 28px 0 20px;
  border: 0;
  background: transparent;
}

.legal-page .hero h1,
.legal-page .policy-section h2 {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.04em;
}

.legal-page .hero h1 {
  padding: 14px 20px 0;
  color: var(--text);
  font-size: 2rem;
  line-height: 1.15;
}

.legal-page .hero-card p,
.legal-page .policy-card p,
.legal-page .policy-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-page .hero-card p {
  margin: 18px 0 0;
  padding: 0 20px;
  font-size: 1rem;
}

.legal-page .meta {
  padding-left: 20px;
}

.legal-page .meta span {
  display: inline-flex;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.legal-page .policy {
  padding: 0 0 44px;
}

.legal-page .policy-section {
  padding: 18px 20px;
  background: transparent;
}

.legal-page .policy-section + .policy-section {
  margin-top: 8px;
}

.legal-page .policy-section h2 {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.22;
}

.legal-page .policy-section p {
  margin: 12px 0 0;
}

.legal-page .policy-section ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.legal-page .policy-section li + li {
  margin-top: 6px;
}

.legal-page .callout {
  margin-top: 14px;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: var(--primary-soft);
  font-weight: 500;
}

@media (max-width: 980px) {
  .hero-layout {
    min-height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

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

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

  .list-phone {
    left: max(22px, 14vw);
  }

  .player-phone {
    right: max(22px, 14vw);
  }

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

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

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

  .nav {
    min-height: 64px;
  }

  .brand {
    gap: 10px;
    font-size: 1rem;
  }

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

  .brand-local,
  .nav-links a[href="#features"],
  .nav-store {
    display: none;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero-layout {
    padding: 42px 0 48px;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 13vw, 3.75rem);
    line-height: 1.04;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    display: none;
  }

  .product-stage {
    min-height: 316px;
  }

  .stage-label {
    left: 16px;
    top: 16px;
  }

  .phone {
    width: 136px;
    height: 280px;
    padding: 7px;
    border-radius: 26px;
  }

  .phone::before {
    top: 13px;
    width: 56px;
    height: 18px;
  }

  .phone-screen {
    border-radius: 20px;
  }

  .light-screen,
  .dark-screen {
    padding: 28px 7px 8px;
  }

  .list-phone {
    left: 12px;
    bottom: -16px;
  }

  .player-phone {
    right: 12px;
    bottom: -10px;
  }

  .screen-title {
    margin-top: 14px;
  }

  .screen-title strong {
    font-size: 0.92rem;
  }

  .filter-box {
    margin-top: 10px;
    padding: 8px;
  }

  .media-list {
    gap: 6px;
    margin-top: 8px;
  }

  .media-row,
  .media-row.delete-row {
    grid-template-columns: 36px 1fr auto;
    min-height: 46px;
    gap: 6px;
    padding: 6px;
  }

  .media-row.delete-row b {
    display: none;
  }

  .thumb {
    width: 36px;
    height: 28px;
  }

  .video-scene {
    height: 78px;
  }

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

  .workflow-card {
    padding: 20px;
  }

  .final-cta-inner {
    display: grid;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .phone {
    width: 130px;
    height: 268px;
  }

  .product-stage {
    min-height: 306px;
  }
}

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

  .button,
  .nav-links a {
    transition: none;
  }
}
