:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  line-height: 1.5;
  color: #111827;
  background: #f5f5f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 8px 12px;
  background: #111827;
  color: #ffffff;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

/* TOP NAV */

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

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-nav-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
}

.top-nav-logo img {
  width: 100%;
  height: 100%;
  display: block;
}

.top-nav-title {
  font-size: 15px;
  font-weight: 600;
}

.top-nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #4b5563;
}

.top-nav-links a {
  text-decoration: none;
}

.top-nav-links a:hover {
  color: #111827;
}

/* HERO */

header.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.hero-left {
  flex: 1 1 280px;
  min-width: 260px;
}

.hero-right {
  flex: 0 1 320px;
  display: flex;
  justify-content: center;
}

.hero-logo-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
  max-width: 260px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-card img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #e5e7eb;
  color: #374151;
  margin-bottom: 10px;
}

.title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.subtitle {
  max-width: 540px;
  color: #4b5563;
  font-size: 16px;
  margin: 0;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  background: #2563eb;
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  text-decoration: none;
  background: #1d4ed8;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 999px;
}

.btn-ghost:hover {
  background: #f9fafb;
  text-decoration: none;
}

/* Optional: in case you accidentally styled all links inside hero-actions */
.hero-actions a:not(.app-store-badge) img {
  height: auto;
}

.hero-meta {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

.hero-meta small {
  display: block;
  margin-top: 4px;
}

/* Mac App Store badge */

.app-store-badge {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
}

.app-store-badge img {
  height: clamp(50px, 8vw, 80px);
  width: auto;
  display: block;
}

section {
  margin-bottom: 40px;
}

h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
}

p {
  font-size: 15px;
  color: #4b5563;
}

ul {
  color: #4b5563;
  font-size: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}


.feature-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.step {
  background: white;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

.step-number {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 4px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 6px;
}

/* SCREENSHOTS */

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-top: 24px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.screenshot-frame {
  background: #ffffff;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);

  display: flex;
  align-items: center;
  justify-content: center;
}

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

.faq-item {
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
}

/* FOOTER */

footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

footer nav {
  display: flex;
  gap: 16px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .top-nav-links {
    flex-wrap: wrap;
  }

  header.hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    margin-bottom: 72px;
  }
  .hero-right {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-logo-card {
     max-width: 260px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  }

  .hero-logo-card img {
    width: 150px;
  }
}
