/* Hero */

.hero {
  padding: var(--hero-pad-top) 0 var(--section-pad);
  text-align: center;
}

.hero-mark {
  color: var(--red);
  margin-bottom: 20px;
}

.hero .display {
  max-width: 800px;
  margin: 0 auto;
}

.hero .lede {
  color: var(--ink-2);
  max-width: 560px;
  margin: 16px auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-sub {
  font-size: 15px;
  color: var(--ink-3);
  margin-top: 20px;
}

.hero-screenshot {
  max-width: 1080px;
  margin: 48px auto 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--mist);
}

.hero-screenshot img {
  width: 100%;
  display: block;
}

.screenshot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 500;
}

.hero-screenshot .screenshot-placeholder {
  aspect-ratio: 1200 / 750;
}

/* Mark Moment */

.mark-moment {
  background: var(--mist);
  padding: 80px 0;
  text-align: center;
}

.mark-chips {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.mark-chip {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature Rows */

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

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-text .eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.feature-text .title {
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--ink-2);
  line-height: 1.6;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.feature-tag {
  background: var(--mist);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.feature-screenshot {
  border-radius: var(--radius-card);
  background: var(--mist);
  padding: 24px;
  overflow: hidden;
}

.feature-screenshot img,
.feature-screenshot video {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.feature-screenshot .screenshot-placeholder {
  aspect-ratio: 800 / 600;
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .feature-screenshot {
    order: -1;
  }
}

/* Feature Grid */

.features-grid {
  text-align: center;
}

.features-grid .headline {
  margin-bottom: 12px;
}

.features-grid .lede {
  color: var(--ink-3);
  margin-bottom: 48px;
}

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

.grid-card {
  background: var(--mist);
  border-radius: var(--radius-card);
  padding: 40px;
}

.grid-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ink-2);
}

.grid-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.grid-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Quick Switch Demo */

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  min-width: 34px;
}

.qs-shortcut-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.qs-plus {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}

.qs-mock {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}

.qs-mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-3);
}

.qs-mock-typed {
  font-size: 15px;
  color: var(--ink);
}

.qs-mock-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--ink);
  animation: blink-cursor 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink-cursor {
  50% { opacity: 0; }
}

.qs-mock-results {
  padding: 6px;
}

.qs-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
}

.qs-mock-active {
  background: var(--mist);
}

.qs-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.qs-mock-title {
  flex: 1;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qs-mock-title mark {
  background: none;
  color: var(--red);
  font-weight: 600;
}

.qs-mock-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  flex-shrink: 0;
}

.qs-mock-hist-icon {
  color: var(--orange);
  flex-shrink: 0;
}

.qs-mock-hist-title {
  color: var(--orange) !important;
}

.qs-mock-hist-title mark {
  color: var(--orange);
}

.qs-mock-hist-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--orange);
  flex-shrink: 0;
}

.qs-mock-hints {
  display: flex;
  gap: 16px;
  padding: 8px 16px;
  border-top: 1px solid var(--hairline);
  font-size: 11px;
  color: var(--ink-3);
}

/* How It Works */

.steps-section {
  text-align: center;
}

.steps-section .headline {
  margin-bottom: 48px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: left;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 16px;
  line-height: 1;
}

.step h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Pricing */

.pricing-section {
  text-align: center;
}

.pricing-section .headline {
  margin-bottom: 48px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.pricing-card {
  background: var(--mist);
  border-radius: var(--radius-card);
  padding: 48px;
  position: relative;
}

.pricing-card-premium {
  background: var(--paper);
  border: 2px solid var(--red);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-btn);
  text-transform: uppercase;
}

.pricing-card .title {
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.pricing-period {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-3);
  margin-left: 4px;
}

.pricing-alt {
  font-size: 15px;
  color: var(--ink-3);
  margin-top: 4px;
}

.pricing-save {
  color: var(--green);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--ink-3);
  font-weight: 600;
  flex-shrink: 0;
}

.pricing-card-premium .pricing-features li::before {
  color: var(--green);
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-card-premium {
    order: -1;
  }
}

/* Privacy Strip */

.privacy-strip {
  background: var(--red);
  padding: 64px 0;
  text-align: center;
}

.privacy-strip .headline {
  color: white;
  margin-bottom: 16px;
}

.privacy-strip .lede {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 20px;
}

.privacy-strip a {
  color: white;
  text-decoration: underline;
  font-size: 15px;
}

.privacy-strip a:hover {
  opacity: 0.85;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .privacy-strip {
    --red: #FF3B30;
  }
}

:root[data-theme="dark"] .privacy-strip {
  --red: #FF3B30;
}

/* CTA Closer */

.cta-closer {
  padding: 120px 0;
  text-align: center;
}

.cta-closer .display {
  margin-bottom: 32px;
}

.cta-closer .small {
  color: var(--ink-3);
  margin-top: 20px;
}
