@import url('https://fonts.googleapis.com/css2?family=Schoolbell&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #f5f5f3;
  --white: #ffffff;
  --black: #111111;
  --grey: #888888;
  --light-grey: #e8e8e6;
  --border: #e0e0de;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */

.hand {
  font-family: 'Schoolbell', cursive;
}

h1, h2, h3 {
  font-family: 'Schoolbell', cursive;
  line-height: 1.15;
}

/* ─── Nav ─── */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--grey);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.75;
}

/* ─── Hero ─── */

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: 'Schoolbell', cursive;
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  max-width: 700px;
  margin-bottom: 12px;
  color: var(--black);
}

.hero h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--grey);
  font-style: italic;
  font-family: 'Schoolbell', cursive;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  background: var(--light-grey);
  transform: translateY(-1px);
}

/* ─── Hero screenshot ─── */

.hero-screenshot {
  position: relative;
  display: inline-block;
}

.hero-screenshot img {
  width: 220px;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  display: block;
}

/* doodle decorations */
.doodle {
  position: absolute;
  font-family: 'Schoolbell', cursive;
  font-size: 0.85rem;
  color: var(--grey);
  pointer-events: none;
  user-select: none;
}

.star {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0.35;
  pointer-events: none;
}

/* ─── Features / Screenshot rows ─── */

.section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Schoolbell', cursive;
  font-size: 0.9rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

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

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

.feature-text h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  line-height: 1.1;
}

.feature-text p {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 420px;
}

.feature-text .tag {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 20px;
  font-family: 'Schoolbell', cursive;
}

.feature-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: block;
}

/* ─── How it works ─── */

.how-section {
  background: var(--white);
  border-radius: 28px;
  padding: 60px 40px;
  margin: 0 24px 80px;
  max-width: 1052px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}

.how-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 48px;
}

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

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: 'Schoolbell', cursive;
  font-size: 2rem;
  color: var(--black);
  line-height: 1;
}

.step h3 {
  font-size: 1.2rem;
  color: var(--black);
}

.step p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── Pill features grid ─── */

.pills-section {
  padding: 0 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.pills-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 36px;
}

.pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.pill-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.pill-card .pill-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.pill-card h4 {
  font-family: 'Schoolbell', cursive;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pill-card p {
  font-size: 0.83rem;
  color: var(--grey);
  line-height: 1.5;
}

/* ─── CTA banner ─── */

.cta-banner {
  margin: 0 24px 80px;
  max-width: 1052px;
  margin-left: auto;
  margin-right: auto;
  background: var(--black);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 1rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-white:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ─── Footer ─── */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
  gap: 16px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--grey);
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--light-grey);
  color: #aaa;
}

/* ─── Inner pages (privacy / support) ─── */

.page-header {
  text-align: center;
  padding: 72px 24px 48px;
}

.page-header h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--grey);
  font-size: 1rem;
  font-family: 'Schoolbell', cursive;
}

.content-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.content-wrap h2 {
  font-size: 1.6rem;
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.content-wrap h2:first-of-type {
  border-top: none;
}

.content-wrap p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.content-wrap ul {
  margin: 8px 0 16px 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.75;
}

.content-wrap a {
  color: var(--black);
  font-weight: 500;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  font-family: 'Schoolbell', cursive;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--black);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-family: 'Inter', sans-serif;
  color: var(--grey);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-top: 12px;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* contact chip */
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--black);
  margin-top: 8px;
  transition: box-shadow 0.2s;
}

.contact-chip:hover {
  box-shadow: var(--shadow-sm);
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 48px 20px 60px;
  }

  .hero-screenshot img {
    width: 180px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
    margin-bottom: 64px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .how-section {
    padding: 40px 24px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .cta-banner {
    padding: 48px 24px;
  }

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

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