:root {
  color-scheme: light dark;
  --bg: #f7f9fe;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #647084;
  --border: rgba(16, 24, 40, 0.10);
  --blue: #2474ff;
  --cyan: #22b8f4;
  --green: #15c970;
  --shadow: 0 22px 70px rgba(26, 52, 112, 0.15);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090d17;
    --surface: rgba(18, 24, 38, 0.78);
    --surface-strong: #111827;
    --text: #f6f8fb;
    --muted: #9aa8bb;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 116, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(34, 184, 244, 0.22), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(36, 116, 255, 0.18);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(36, 116, 255, 0.28);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 5px;
  border: 3px solid #fff;
  border-top-color: transparent;
  transform: rotate(-12deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.text-link {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
  max-width: 1120px;
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.hero h1,
.page-hero h1,
.legal h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.section-heading p,
.split p {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 40px rgba(36, 116, 255, 0.28);
}

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

.phone-art {
  display: flex;
  justify-content: center;
}

.product-shot-stack {
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shot {
  display: block;
  width: 220px;
  max-width: 100%;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.hero-shot-main {
  width: 330px;
  position: relative;
  z-index: 2;
}

.hero-shot-pair {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 560px;
  height: 520px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-shot-pair .hero-shot {
  position: absolute;
  top: 48px;
  opacity: 0.86;
  filter: saturate(1.08);
}

.hero-shot-pair .hero-shot:first-child {
  left: 0;
  transform: rotate(-9deg);
}

.hero-shot-pair .hero-shot:last-child {
  right: 0;
  transform: rotate(9deg);
}

.phone-shell {
  width: 360px;
  min-height: 650px;
  border-radius: 52px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

@media (prefers-color-scheme: dark) {
  .phone-shell {
    background: linear-gradient(160deg, rgba(22, 30, 48, 0.98), rgba(12, 18, 31, 0.92));
    border-color: rgba(255, 255, 255, 0.10);
  }
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.phone-top span {
  width: 70px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
}

.storage-card {
  padding: 22px;
  border-radius: 26px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.storage-card span,
.media-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.storage-card strong {
  display: block;
  margin-top: 6px;
  font-size: 34px;
}

.bar {
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(36, 116, 255, 0.10);
}

.bar i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.media-grid div {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62)),
    linear-gradient(135deg, #82b6ff, #2443ff);
}

.media-grid div:nth-child(2) {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62)),
    linear-gradient(135deg, #65d6ff, #0c747e);
}

.media-grid div:nth-child(3) {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62)),
    linear-gradient(135deg, #7c86ff, #111827);
}

.media-grid div:nth-child(4) {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62)),
    linear-gradient(135deg, #20d783, #0c6144);
}

.media-grid strong {
  margin-top: 4px;
  font-size: 24px;
}

.section,
.page,
.legal {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-heading {
  margin-bottom: 32px;
}

.screenshot-section {
  padding-top: 24px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.screenshot-grid figure {
  margin: 0;
  padding: 12px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 52px rgba(26, 52, 112, 0.10);
}

.screenshot-grid img,
.support-preview-strip img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.screenshot-grid figcaption {
  padding: 14px 4px 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.feature-list,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-list article,
.support-grid article {
  padding: 24px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(26, 52, 112, 0.08);
}

.feature-list p,
.support-grid p,
.legal p,
.legal li,
.faq dd {
  color: var(--muted);
  line-height: 1.7;
}

.icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  position: relative;
}

.icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 3px solid #fff;
  border-radius: 6px;
}

.icon.video::after {
  border-left-width: 8px;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.icon.compress::after {
  border-radius: 50%;
}

.icon.contacts::after {
  border-radius: 50% 50% 42% 42%;
}

.icon.email::after {
  border-top: 0;
  transform: skewY(-10deg);
}

.icon.vault::after {
  border-radius: 6px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 24px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  list-style: none;
}

.check-list li {
  padding: 14px 0 14px 34px;
  position: relative;
  color: var(--text);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.page-hero {
  padding: 36px 0 56px;
}

.support-page {
  padding-top: 52px;
}

.support-hero {
  min-width: 0;
  padding: 36px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(36, 116, 255, 0.13), rgba(34, 184, 244, 0.10)),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.support-identity {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.support-identity > div {
  min-width: 0;
  max-width: 100%;
}

.app-icon-large {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  box-shadow: 0 22px 52px rgba(36, 116, 255, 0.24);
}

.support-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.support-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.support-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-left: 146px;
}

.support-cards {
  margin-top: 22px;
}

.support-card {
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.contact-card {
  background:
    linear-gradient(135deg, rgba(36, 116, 255, 0.12), rgba(21, 201, 112, 0.08)),
    var(--surface);
}

.info-list {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px 18px;
  margin: 0;
}

.info-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  min-width: 0;
  color: var(--text);
  font-weight: 750;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.support-section {
  padding-top: 72px;
  padding-bottom: 0;
}

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

.support-preview-strip img {
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 18px 52px rgba(26, 52, 112, 0.12);
}

.support-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.support-feature {
  min-width: 0;
  padding: 24px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(26, 52, 112, 0.08);
}

.support-feature p {
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.support-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.faq-card {
  margin-top: 22px;
}

.faq {
  margin: 0;
}

.faq dt {
  margin-top: 18px;
  font-weight: 850;
}

.faq dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}

.note,
.muted {
  color: var(--muted);
  font-size: 14px;
}

.support-link-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.support-link-list a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 850;
  text-align: center;
}

.legal {
  max-width: 860px;
}

.legal h2 {
  margin-top: 40px;
  font-size: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 48px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer div {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    min-height: auto;
    padding-top: 44px;
  }

  .product-shot-stack {
    min-height: 600px;
  }

  .hero-shot-main {
    width: 300px;
  }

  .hero-shot-pair {
    width: 500px;
  }

  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .support-feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-actions {
    padding-left: 0;
  }

  .support-link-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero h1,
  .page-hero h1,
  .legal h1 {
    font-size: 42px;
  }

  .hero p,
  .page-hero p,
  .section-heading p,
  .split p {
    font-size: 17px;
  }

  .phone-shell {
    width: min(100%, 340px);
    min-height: 590px;
    padding: 22px;
    border-radius: 42px;
  }

  .product-shot-stack {
    min-height: 520px;
    overflow: hidden;
  }

  .hero-shot-main {
    width: 250px;
  }

  .hero-shot-pair {
    width: 390px;
    height: 430px;
  }

  .hero-shot-pair .hero-shot {
    width: 160px;
    top: 76px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .support-page {
    padding-top: 24px;
  }

  .support-hero {
    padding: 24px;
    border-radius: 28px;
  }

  .support-identity {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .app-icon-large {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }

  .support-hero h1 {
    font-size: 34px;
    line-height: 1.04;
    max-width: 290px;
  }

  .support-hero p {
    font-size: 16px;
    max-width: 290px;
  }

  .support-feature-grid,
  .support-link-list,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .support-preview-strip {
    display: flex;
    gap: 14px;
    margin-right: -24px;
    padding-right: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .support-preview-strip img {
    width: 210px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .info-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .support-card p,
  .support-card dd,
  .section-heading p,
  .support-feature p {
    max-width: 290px;
  }

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