/* Kiwow marketing site — tokens from specs/007-web-url-strategy/design.md */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8fafc;
}

a {
  color: #0d6efd;
}

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

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn-primary {
  padding: 10px 20px;
  background: #0d6efd;
  border: 1px solid #0d6efd;
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background: #0b5ed7;
  border-color: #0b5ed7;
}

.btn-outline {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0d6efd;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background: #f1f5f9;
}

.btn-header {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #0f172a;
}

.lead {
  font-size: 1.05rem;
  color: #334155;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.trust-line {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* Features */
.features {
  padding: 2rem 0 3rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid #e2e8f0;
}

.feature-row:first-child {
  border-top: none;
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-row.reverse .feature-copy {
  order: 1;
}

.feature-copy h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.feature-copy p {
  margin: 0;
  color: #334155;
}

.screenshot-frame {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.screenshot-frame img {
  border-radius: 4px;
  width: 100%;
}

/* PWA band */
.pwa-band {
  background: #e8eef4;
  padding: 2.5rem 0;
  text-align: center;
}

.pwa-band h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #0f172a;
}

.pwa-band p {
  margin: 0;
  color: #334155;
  max-width: 36rem;
  margin-inline: auto;
}

/* Footer CTA */
.footer-cta {
  padding: 3.5rem 0;
  text-align: center;
}

.footer-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: #0f172a;
}

.footer-cta .hero-ctas {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #555;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .feature-row.reverse .feature-media {
    order: 2;
  }

  .feature-row.reverse .feature-copy {
    order: 1;
  }
}

@media (max-width: 480px) {
  .header-nav .btn-header {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}
