﻿:root {
  --bg-top: #f4f7ff;
  --bg-bottom: #eef2ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-dark: #19213d;
  --text: #111827;
  --muted: #52607a;
  --line: rgba(102, 123, 184, 0.18);
  --line-strong: rgba(102, 123, 184, 0.28);
  --accent: #ff6a3d;
  --accent-strong: #ff8b5e;
  --accent-cool: #5b7cff;
  --accent-soft: rgba(91, 124, 255, 0.12);
  --success: #34c58a;
  --shadow-lg: 0 28px 70px rgba(27, 41, 84, 0.16);
  --shadow-md: 0 18px 40px rgba(27, 41, 84, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 18%, rgba(91, 124, 255, 0.26), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 106, 61, 0.2), transparent 22%),
    radial-gradient(circle at 75% 62%, rgba(52, 197, 138, 0.14), transparent 18%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 48%, #f5f7ff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%);
  pointer-events: none;
}

a {
  color: var(--accent-cool);
  text-decoration-color: rgba(91, 124, 255, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #3f61f0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.hero,
.panel,
.card,
.stat-card,
.legal-content {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(244, 247, 255, 0.64)),
    rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-lg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 124, 255, 0.32), rgba(91, 124, 255, 0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -120px auto auto -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 139, 94, 0.24), rgba(255, 139, 94, 0));
  pointer-events: none;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero-compact {
  padding-bottom: 34px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-cool);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 800;
}

.brand-title {
  max-width: min(38rem, 92%);
}

.brand-title img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-home h1 {
  max-width: 8ch;
}

.hero-home .brand-title {
  max-width: min(38rem, 92%);
}

.hero-compact h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 760;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.lead {
  max-width: 37rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
}

.hero-pills,
.hero-actions,
.stats-row,
.card-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

.hero-pills {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(91, 124, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #384766;
  font-size: 0.92rem;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-actions {
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
  margin-top: 28px;
}

.store-cta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.store-cta-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
}

.app-store-badge {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  line-height: 0;
  transition: transform 180ms ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  transform: translateY(-1px);
}

.app-store-badge:focus-visible {
  outline: 3px solid rgba(91, 124, 255, 0.3);
  outline-offset: 4px;
}

.app-store-badge img {
  display: block;
  width: 249px;
  height: 83px;
}

.store-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.store-qr {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  line-height: 0;
  transition: transform 180ms ease;
}

.store-qr:hover,
.store-qr:focus-visible {
  transform: translateY(-1px);
}

.store-qr:focus-visible {
  outline: 3px solid rgba(91, 124, 255, 0.24);
  outline-offset: 4px;
}

.store-qr img {
  display: block;
  width: 116px;
  height: 116px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 28px rgba(255, 106, 61, 0.28);
}

.button-secondary {
  color: #314260;
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(91, 124, 255, 0.16);
}

.device-preview {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
}

.device-frame {
  position: relative;
  width: min(100%, 288px);
  padding: 14px;
  border-radius: 38px;
  background:
    linear-gradient(165deg, #293556, #101629 70%);
  box-shadow:
    0 28px 60px rgba(17, 24, 39, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: float-device 7s ease-in-out infinite;
}

.device-frame::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 110px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: rgba(9, 12, 20, 0.92);
  transform: translateX(-50%);
}

.device-screen {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 0;
  border-radius: 28px;
  background: #0d1326;
}

.device-shot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: top center;
}

.device-screen::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(13, 19, 38, 0), rgba(13, 19, 38, 0.06));
  pointer-events: none;
}

main {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

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

.stat-card,
.card,
.panel,
.legal-content {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 250, 255, 0.72)),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.stat-card {
  padding: 24px;
}

.stat-value {
  margin-bottom: 8px;
  color: #1f3160;
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.stat-label {
  margin-bottom: 0;
  color: var(--muted);
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  position: relative;
  min-height: 100%;
  padding: 24px;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cool));
}

.card p,
.panel p,
.legal-section p,
.legal-section li {
  color: var(--muted);
}

.panel {
  padding: 32px;
}

.panel-head {
  margin-bottom: 18px;
}

.support-panel {
  display: grid;
  gap: 18px;
}

.contact-box {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(91, 124, 255, 0.14);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-name {
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 760;
}

.support-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.support-checklist p {
  margin-bottom: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.56);
  color: #364563;
  font-weight: 600;
}

.support-checklist p::before {
  content: "•";
  margin-right: 8px;
  color: var(--accent);
}

.hint {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.faq-list article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
}

.faq-list article p:last-child {
  margin-bottom: 0;
}

.screenshot-panel {
  display: grid;
  gap: 22px;
}

.screenshot-grid {
  display: grid;
  gap: 20px;
}

.screenshot-grid-iphone {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.screenshot-grid-ipad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shot-card {
  margin: 0;
}

.shot-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: 0 20px 44px rgba(27, 41, 84, 0.18);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-card-phone {
  width: min(100%, 300px);
}

.shot-frame-phone {
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(165deg, #293556, #101629 70%);
  box-shadow:
    0 28px 60px rgba(17, 24, 39, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.shot-frame-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 96px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  background: rgba(9, 12, 20, 0.92);
  transform: translateX(-50%);
  z-index: 1;
}

.shot-frame-phone img {
  border-radius: 24px;
}

.shot-card-tablet {
  width: 100%;
}

.shot-card-wide {
  grid-column: 1 / -1;
}

.shot-frame-tablet,
.shot-frame-tablet-landscape {
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(165deg, #2b334c, #13192b 70%);
  box-shadow:
    0 24px 52px rgba(17, 24, 39, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.shot-frame-tablet::before,
.shot-frame-tablet-landscape::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
}

.shot-frame-tablet img,
.shot-frame-tablet-landscape img {
  border-radius: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 8px 6px 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.site-footer p {
  margin-bottom: 0;
}

.legal-content {
  margin-top: 24px;
  padding: 10px 32px;
}

.legal-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  border-top: 0;
}

ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

@keyframes float-device {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 960px) {
  .hero-home,
  .stats-row,
  .screenshot-grid-ipad {
    grid-template-columns: 1fr;
  }

  .hero-home {
    gap: 28px;
  }

  .device-preview {
    order: -1;
  }

  .device-frame {
    width: min(100%, 312px);
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: calc(100% - 20px);
    padding-top: 12px;
  }

  .hero,
  .panel,
  .legal-content,
  .card,
  .stat-card {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .hero-actions,
  .hero-pills,
  .support-checklist,
  .card-grid,
  .screenshot-grid-iphone {
    grid-template-columns: 1fr;
  }

  .store-cta-links {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .app-store-badge img {
    width: min(249px, 100%);
    height: auto;
  }

  .store-qr img {
    width: 90px;
    height: 90px;
  }

  .store-cta {
    gap: 12px;
  }

  .store-note {
    max-width: 36rem;
  }

  .hero-home h1,
  .hero-compact h1 {
    max-width: none;
  }

  .device-frame {
    width: min(100%, 272px);
    padding: 12px;
  }

  .device-screen {
    min-height: 560px;
  }

  .shot-card-phone {
    width: min(100%, 272px);
  }

  .shot-frame-tablet,
  .shot-frame-tablet-landscape {
    padding: 10px;
    border-radius: 22px;
  }

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

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

  .button,
  .device-frame {
    transition: none;
    animation: none;
  }
}
