:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-muted: #fbfbfd;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --line: #d2d2d7;
  --primary: #0071e3;
  --primary-strong: #0064cc;
  --success: #1f9d49;
  --danger: #d64045;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: radial-gradient(circle at top right, #edf4ff 0%, var(--bg) 40%) fixed;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

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

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(245, 245, 247, 0.8);
  border-bottom: 1px solid rgba(210, 210, 215, 0.6);
}

.header-inner,
.main,
.site-footer {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  font-weight: 650;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 560;
  transition: all 180ms ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

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

.main {
  padding: 56px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.06rem;
}

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

.glass {
  background: linear-gradient(160deg, #ffffff 5%, #f8fafe 92%);
  border: 1px solid rgba(210, 210, 215, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Phone frame: bezel + screen mask */
.phone-shell {
  padding: 14px;
  max-width: 280px;
  margin-left: auto;
  background: #1d1d1f;
  border-radius: 44px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.1),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.phone-shell img {
  display: block;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.section {
  margin-top: 40px;
}

.section h2 {
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.screenshot-grid {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

/* Phone-style mask for screenshot cards (rounded corners + aspect ratio) */
.shot img {
  width: 100%;
  border-radius: 28px;
  display: block;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #f0f0f3;
  border: 3px solid #1d1d1f;
  box-sizing: border-box;
}

.shot p {
  font-size: 0.9rem;
  margin-top: 8px;
}

.notice {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 4px solid var(--primary);
  background: #eff6ff;
  color: #1d355b;
  border-radius: 10px;
}

.info-layout {
  display: grid;
  gap: 22px;
}

article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
}

article h2 {
  margin-bottom: 12px;
}

article h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

article ul,
article ol {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
}

article li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.cta-banner {
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #0c68c5, #4aa3ff);
  color: #fff;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin: 8px 0 16px;
}

.cta-banner .btn-cta {
  background: #fff;
  color: #0c68c5;
  border: none;
  font-weight: 600;
}

.cta-banner .btn-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #0064cc;
}

.site-footer {
  margin-top: 40px;
  padding: 22px 0 40px;
  border-top: 1px solid rgba(210, 210, 215, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 540;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
}

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

  .phone-shell {
    margin: 0 auto;
    max-width: 260px;
  }

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

@media (max-width: 700px) {
  .main {
    padding-top: 32px;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 12px;
  }

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

  article {
    padding: 18px;
  }
}
