:root {
  --primary: #1a1a1a;
  --secondary: #555;
  --muted: #888;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --neutral: #f5f5f7;
  --surface: #fbfbfd;
  --surface-strong: #fff;
  --border: rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-card: 28px;
  --max: 980px;
  --max-wide: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--primary);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Navigation --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--secondary);
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 20px;
  border-radius: 980px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s;
}

.button:hover {
  opacity: 0.82;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
}

.button.secondary {
  color: var(--primary);
  background: var(--neutral);
}

.button.ghost {
  color: var(--accent);
  background: transparent;
  padding: 8px 4px;
  font-weight: 500;
}

.button.ghost:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Hero --- */

.hero {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 120px 22px 100px;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 80px;
}

.hero-copy {
  max-width: 560px;
}

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

h1 {
  font-size: 56px;
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
}

h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}

h3 {
  font-size: 21px;
  line-height: 1.28;
  font-weight: 600;
  margin-bottom: 8px;
}

.lead {
  font-size: 21px;
  line-height: 1.38;
  color: var(--secondary);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-points {
  display: grid;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: baseline;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.4;
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

/* --- Phone mockup --- */

.phone-stage {
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

.phone {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  border: 8px solid #2a2a2a;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 80px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #2a2a2a;
  z-index: 2;
}

.phone-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Sections --- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 22px;
}

.band {
  width: 100%;
  background: var(--neutral);
}

.band .section {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head p,
.feature p,
.scenario p,
.article-card p,
.faq p {
  color: var(--secondary);
}

/* --- Feature grid --- */

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

.feature {
  padding: 28px 24px;
  border-radius: var(--radius-card);
  background: #fff;
  text-align: center;
}

.feature svg,
.scenario svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin: 0 auto 20px;
  opacity: 0.85;
}

.feature p {
  font-size: 15px;
  line-height: 1.47;
  margin-bottom: 0;
}

/* --- Split sections --- */

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

.scenario-list {
  display: grid;
  gap: 0;
}

.scenario {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.scenario:last-child {
  border-bottom: 0;
}

.scenario svg {
  margin: 0;
}

.scenario h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.scenario p {
  font-size: 15px;
  margin-bottom: 0;
}

/* --- Timeline --- */

.timeline {
  padding: 32px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr 10px;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-row strong {
  font-size: 14px;
  font-weight: 600;
}

.timeline-row span {
  color: var(--secondary);
  font-size: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* --- Article card --- */

.article-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-card);
  background: var(--neutral);
}

.article-card h3 {
  font-size: 19px;
}

.article-card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* --- Reviews --- */

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

.review-card {
  margin: 0;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--neutral);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

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

.review-stars {
  color: #ff9500;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-title {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--primary);
}

.review-card p {
  font-size: 15px;
  line-height: 1.53;
  color: var(--secondary);
  margin-bottom: 0;
  flex: 1;
}

.review-card cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* --- Blog --- */

.blog-hero {
  text-align: center;
  padding-bottom: 40px;
}

.blog-hero h1 {
  font-size: 48px;
  margin-bottom: 12px;
}

.blog-grid,
.blog-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-card);
  background: var(--neutral);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.blog-card-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.blog-card h2,
.blog-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.28;
}

.blog-card p {
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* --- FAQ --- */

.faq-list {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.faq {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.faq:last-child {
  border-bottom: 0;
}

.faq h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq p {
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.53;
}

/* --- CTA --- */

.cta {
  text-align: center;
  padding: 96px 40px;
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff;
}

.cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
}

/* --- Footer --- */

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

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
}

.footer-links a {
  color: var(--secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* --- Article page --- */

.article-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 22px 40px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 22px 80px;
}

.article-body article {
  display: grid;
  gap: 32px;
}

.article-body section {
  padding-top: 6px;
}

.toc,
.note,
.steps {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--neutral);
}

.toc a {
  color: var(--secondary);
}

.article-body ul {
  padding-left: 20px;
  color: var(--secondary);
  line-height: 1.7;
}

.article-body ul li {
  margin-bottom: 8px;
}

.note ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  padding-left: 44px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* --- Scroll animations --- */

.gs-reveal {
  opacity: 0;
  visibility: hidden;
}

/* --- Responsive --- */

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

  .hero {
    grid-template-columns: 1fr;
    padding: 72px 22px 64px;
    gap: 56px;
  }

  .hero-copy {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-points {
    text-align: left;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .phone-stage {
    max-width: 280px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

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

  .split,
  .article-card,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .feature {
    text-align: left;
  }

  .feature svg {
    margin: 0 0 16px;
  }

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

  .timeline-row span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .hero {
    padding: 48px 16px 48px;
    gap: 40px;
  }

  .section {
    padding: 64px 16px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .section-actions .button,
  .cta .button,
  .article-card .button {
    width: 100%;
    justify-content: center;
  }

  .nav {
    padding: 0 16px;
  }

  .nav .button {
    padding: 6px 14px;
    font-size: 13px;
  }

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

  .phone-stage {
    max-width: 240px;
  }

  .phone {
    border-width: 6px;
    border-radius: 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
  }
}
