:root {
  --bg: #ffffff;
  --ink: #070707;
  --muted: #5f646b;
  --soft: #f5f6f7;
  --line: #e6e8eb;
  --accent: #dee95c;
  --accent-strong: #d7ef2f;
  --shadow: 0 24px 70px rgba(9, 12, 18, 0.13);
  --radius: 24px;
}

* {
  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.45;
  overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(222, 233, 92, 0.75);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(230, 232, 235, 0.82);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.brand-name {
  font-size: 19px;
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  color: rgba(7, 7, 7, 0.72);
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--ink);
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #030403;
  font-weight: 850;
  line-height: 1.08;
  box-shadow: 0 12px 26px rgba(187, 212, 20, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(187, 212, 20, 0.34);
}

.store-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.store-button.small {
  min-height: 48px;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 13px;
}

.hero {
  min-height: 720px;
  padding-top: 42px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  padding-top: 8px;
  min-width: 0;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero p {
  max-width: 490px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.app-note {
  color: rgba(7, 7, 7, 0.52);
  font-size: 13px;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 610px;
}

.phone {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(360px, 56vw);
  aspect-ratio: 402 / 874;
  transform: translate(-55%, -50%);
  padding: 13px;
  border: 7px solid #08090b;
  border-radius: 46px;
  background: #070707;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 5;
  width: 106px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #111;
}

.phone-screen img {
  width: 100%;
  height: 64%;
  object-fit: cover;
}

.editor-panel {
  height: 36%;
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, #141414, #050505);
  color: #fff;
}

.playbar {
  display: grid;
  grid-template-columns: 17px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #fff;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
}

.progress span {
  display: block;
  width: 52%;
  height: 100%;
  background: var(--accent);
}

.editor-title {
  margin: 18px 0 13px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

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

.tool {
  min-height: 74px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.tool.active {
  color: var(--accent);
  background: rgba(222, 233, 92, 0.12);
}

.tool svg {
  width: 21px;
  height: 21px;
}

.media-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.12);
}

.media-card.back {
  right: 5%;
  top: 18%;
  width: 285px;
  height: 390px;
  z-index: 1;
}

.media-card.back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass-caption {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 12%;
  width: 280px;
  min-height: 126px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.glass-caption svg {
  width: 30px;
  height: 30px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.glass-caption strong {
  display: block;
  margin-top: 12px;
  font-size: 25px;
  line-height: 1.1;
}

.glass-caption span {
  display: block;
  margin-top: 7px;
  color: rgba(7, 7, 7, 0.62);
  font-size: 14px;
  font-weight: 700;
}

.features {
  padding: 54px 0 62px;
  border-top: 1px solid var(--line);
}

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

.feature {
  min-width: 0;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #cfe100;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 39px;
  height: 39px;
}

.feature h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.08;
}

.feature p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-image {
  margin-top: 28px;
  height: 224px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--soft);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow,
.privacy-block {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  margin: 0 auto 40px;
  max-width: 620px;
  text-align: center;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 58px;
}

.workflow-step {
  position: relative;
  text-align: left;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 850;
}

.step-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 900;
}

.workflow-step p {
  min-height: 42px;
  margin: 0 0 22px 52px;
  color: var(--muted);
  font-size: 14px;
}

.phone-mini {
  width: min(260px, 100%);
  margin: 0 auto;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  background: #111;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
  max-height: 360px;
}

.phone-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.shield {
  width: min(260px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.shield svg {
  width: 100%;
  height: 100%;
}

.privacy-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.06;
}

.privacy-copy > p {
  max-width: 620px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 18px;
}

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

.trust-item {
  min-width: 0;
}

.trust-item svg {
  width: 34px;
  height: 34px;
  color: rgba(7, 7, 7, 0.72);
}

.trust-item strong {
  display: block;
  margin-top: 11px;
  font-size: 15px;
}

.trust-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.final-cta {
  padding: 40px 0 74px;
}

.cta-panel {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.08);
}

.cta-panel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.cta-copy {
  padding: 38px 48px;
}

.cta-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.05;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(7, 7, 7, 0.72);
  font-weight: 700;
}

.legal-hero {
  padding: 88px 0 42px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
}

.legal-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 72px;
  padding-top: 54px;
  padding-bottom: 82px;
}

.legal-toc {
  position: sticky;
  top: 106px;
  align-self: start;
  display: grid;
  gap: 10px;
  color: rgba(7, 7, 7, 0.62);
  font-size: 14px;
  font-weight: 800;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-content {
  min-width: 0;
  max-width: 820px;
}

.legal-content section {
  padding: 0 0 34px;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.16;
}

.legal-content p,
.legal-content li {
  color: #42464d;
  font-size: 16px;
  line-height: 1.8;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.legal-content a {
  color: #0a5f7a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.updated-note {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: rgba(7, 7, 7, 0.68);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    gap: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-stage {
    min-height: 590px;
  }

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

  .workflow-grid,
  .privacy-layout,
  .cta-panel,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section,
  .footer-inner {
    width: min(100% - 32px, 1180px);
  }

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

  .main-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 3px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .header-inner > .store-button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-stage {
    min-height: 520px;
    overflow: hidden;
    margin-inline: -16px;
  }

  .phone {
    width: min(300px, 76vw);
    transform: translate(-50%, -46%);
  }

  .media-card.back {
    display: none;
  }

  .glass-caption {
    right: 24px;
    bottom: 34px;
    width: min(218px, 58vw);
    min-height: 104px;
    padding: 18px;
  }

  .glass-caption strong {
    font-size: 20px;
  }

  .glass-caption span {
    font-size: 12px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-note {
    padding-left: 4px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .feature-image {
    height: 190px;
  }

  .workflow,
  .privacy-block {
    padding: 54px 0;
  }

  .workflow-grid {
    gap: 36px;
  }

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

  .cta-copy {
    padding: 32px 24px;
  }

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

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

  .legal-hero {
    padding-top: 58px;
  }
}

@media (max-width: 460px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .feature-image {
    grid-column: 1 / -1;
  }
}

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