:root {
  --blue: #2f6df6;
  --blue-dark: #134fc7;
  --ink: #141923;
  --muted: #687182;
  --line: #e5e9f2;
  --panel: #f5f7fc;
  --white: #ffffff;
  --green: #15b884;
  --amber: #f3a211;
  --red: #ef454f;
  --violet: #8557e8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 60px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.legal-links a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-download {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.2);
}

.hero {
  padding: 22px clamp(14px, 3vw, 32px) 0;
  background: var(--panel);
}

.hero-media {
  position: relative;
  width: min(1024px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
}

.hero-media img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  clip-path: inset(2px);
  transform: scale(1.065);
  transform-origin: center;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px clamp(18px, 6vw, 64px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.hero-cta p {
  margin: 0;
  color: #4d586b;
  font-size: 0.95rem;
  font-weight: 700;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(20, 25, 35, 0.18);
}

.store-button small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

.store-button.dark {
  background: var(--blue);
  box-shadow: 0 16px 32px rgba(47, 109, 246, 0.24);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--white);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 108px) 0;
}

.intro {
  padding-top: clamp(20px, 2vw, 30px);
}

.section-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  min-height: 240px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(31, 42, 68, 0.08);
}

.feature-card p {
  margin: 0;
  font-size: 0.98rem;
}

.feature-icon {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--blue);
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.feature-scan .feature-icon::before {
  inset: 13px;
  border: 4px solid var(--white);
  border-radius: 7px;
}

.feature-scan .feature-icon::after {
  left: 11px;
  right: 11px;
  top: 25px;
  height: 3px;
  background: var(--white);
}

.feature-create .feature-icon {
  background: var(--green);
}

.feature-create .feature-icon::before,
.feature-create .feature-icon::after {
  width: 13px;
  height: 13px;
  border: 3px solid var(--white);
}

.feature-create .feature-icon::before {
  left: 12px;
  top: 12px;
}

.feature-create .feature-icon::after {
  right: 12px;
  bottom: 12px;
}

.feature-save .feature-icon {
  background: var(--amber);
}

.feature-save .feature-icon::before {
  left: 14px;
  right: 14px;
  top: 12px;
  bottom: 12px;
  border: 4px solid var(--white);
  border-top-width: 8px;
}

.feature-share .feature-icon {
  background: var(--violet);
}

.feature-share .feature-icon::before {
  left: 15px;
  top: 15px;
  width: 24px;
  height: 24px;
  border: 4px solid var(--white);
  border-radius: 50%;
}

.feature-share .feature-icon::after {
  left: 26px;
  top: 10px;
  width: 4px;
  height: 34px;
  background: var(--white);
  transform: rotate(50deg);
}

.workflow-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-item {
  padding: clamp(32px, 5vw, 56px);
  background: #101828;
  color: var(--white);
}

.workflow-item:nth-child(2) {
  background: #152238;
}

.workflow-item:nth-child(3) {
  background: #1e293b;
}

.workflow-item strong,
.workflow-item span {
  display: block;
}

.workflow-item strong {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.workflow-item span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.screenshots {
  width: min(1240px, calc(100% - 36px));
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin-top: 42px;
}

figure {
  margin: 0;
}

.phone-gallery figure {
  padding: 10px;
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phone-gallery img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 6px;
}

figcaption {
  padding: 14px 4px 4px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.onboarding {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

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

.mini-gallery img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.download-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto clamp(60px, 8vw, 96px);
  padding: clamp(32px, 5vw, 52px);
  color: var(--white);
  background: #101828;
  border-radius: 8px;
}

.download-section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.download-section p {
  color: rgba(255, 255, 255, 0.72);
}

.download-section .eyebrow {
  color: #8ab0ff;
}

.download-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.2);
}

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 60px);
  color: var(--muted);
  background: #f7f9ff;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.legal-page {
  background: var(--panel);
}

.legal-main {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.legal-document {
  padding: clamp(28px, 5vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(31, 42, 68, 0.08);
}

.legal-document h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.legal-document section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.legal-document h3 {
  margin: 24px 0 10px;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.35;
}

.legal-document ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

.legal-document li + li {
  margin-top: 6px;
}

.legal-document a {
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-document .notice {
  margin-top: 28px;
  padding: 18px 20px;
  color: #6c4800;
  background: #fff7df;
  border: 1px solid #ffe0a3;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .feature-grid,
  .phone-gallery,
  .workflow-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding,
  .download-section {
    grid-template-columns: 1fr;
  }

  .download-section {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand span {
    max-width: 160px;
  }

  .header-download {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 12px 10px 0;
  }

  .hero-media img {
    min-height: 440px;
    object-position: left center;
  }

  .store-button {
    min-height: 54px;
    padding: 0 18px;
  }

  .feature-grid,
  .phone-gallery,
  .workflow-band,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .phone-gallery,
  .mini-gallery {
    max-width: 360px;
  }

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