/* InboxPilot AI marketing — aligns with extension UI (Google blue family) */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-soft: #e8f0fe;
  --ink: #202124;
  --muted: #5f6368;
  --bg: #f6f8fc;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(26, 115, 232, 0.1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 115, 232, 0.12);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
  text-decoration: none;
}

.site-nav__brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-nav__brand img {
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.22);
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  font-size: 0.92rem;
}

.site-nav__links a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav__links a:hover {
  color: var(--primary-dark);
}

.hero {
  overflow: hidden;
  background: linear-gradient(145deg, #0d47a1 0%, var(--primary) 42%, #4285f4 100%);
  color: #fff;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 1.5rem 5rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__art-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero__art-wrap img.hero__banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: block;
}

.hero__logo-float {
  position: absolute;
  bottom: -12px;
  right: 12px;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  object-fit: contain;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section__title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.section__subtitle {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
}

.screenshots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .screenshots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .screenshots {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shot {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 115, 232, 0.1);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.shot figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 115, 232, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(26, 115, 232, 0.14);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--card);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Detailed setup guide (How to use) */
.guide {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 44rem;
  margin: 0 auto;
}

.guide-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.35rem 1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 115, 232, 0.1);
  border-left: 4px solid var(--primary);
  text-align: left;
}

.guide-card__step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.35rem;
}

.guide-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.guide-card__lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.guide-card ol,
.guide-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: 0.91rem;
  line-height: 1.5;
}

.guide-card li {
  margin-bottom: 0.45rem;
}

.guide-card li:last-child {
  margin-bottom: 0;
}

.guide-card code {
  font-size: 0.86em;
  background: var(--primary-soft);
  padding: 0.1em 0.38em;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.guide-aside {
  max-width: 44rem;
  margin: 2rem auto 0;
  padding: 1.05rem 1.25rem;
  background: var(--primary-soft);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--primary-dark);
  border: 1px solid rgba(26, 115, 232, 0.15);
}

.guide-aside strong {
  color: var(--ink);
}

.promo-tile {
  max-width: 440px;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(26, 115, 232, 0.12);
}

.promo-tile img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-band {
  margin: 2rem 1.5rem 3rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  font-size: 0.98rem;
}

.site-footer {
  background: #174ea6;
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 1.5rem;
  font-size: 0.88rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.95);
}

.site-footer__fine {
  font-size: 0.78rem;
  opacity: 0.75;
  max-width: 44rem;
}

.chrome-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
