/* Bubbles — ADHD Cleaning Checklist website, shared styles
   Palette pulled from the app's theme + App Store screenshots:
   sky #81D4FA · header blue #5BC8F7 · pale #DDF0FA · accent orange #FF9800 · ink #12303E */

:root {
  --navy: #0f5273;
  --slate: #3fa7dc;
  --sand: #bde8fb;
  --sand-soft: #e7f6fe;
  --teal: #ff9800;
  --teal-dark: #c2410c;
  --ink: #12303e;
  --ink-soft: #4a6473;
  --bg: #f6fbfe;
  --card: #ffffff;
  --line: #dfeef6;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 14px 40px rgba(15, 82, 115, 0.1);
  --wallpaper: linear-gradient(160deg, #0f5273 0%, #3fa7dc 48%, #bde8fb 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 251, 254, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-size: 0.9rem;
}
.nav-cta:hover { background: var(--navy); }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 26px rgba(18, 48, 62, 0.28); }
.btn-primary:hover { background: var(--navy); }
.btn-secondary { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn small { display: block; font-weight: 500; font-size: 0.7rem; opacity: 0.75; }
.btn-apple { text-align: left; line-height: 1.15; }
.btn-apple .apple-logo { font-size: 1.6rem; }

/* ---------- Official store badges ---------- */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store-badges a { display: inline-block; transition: transform 0.15s ease; }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 52px; width: auto; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }

.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-dark);
  background: rgba(255, 152, 0, 0.13); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.08;
  font-weight: 900; letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--slate); }
.hero-sub {
  font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 30px; max-width: 34rem;
}
@media (max-width: 860px) { .hero-sub { margin-left: auto; margin-right: auto; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) { .hero-actions { justify-content: center; } }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Phone mockup (pure CSS app preview) ---------- */
.phone {
  width: 290px; margin: 0 auto; border-radius: 44px; padding: 12px;
  background: #0d1a22; box-shadow: var(--shadow), inset 0 0 0 2px #23404f;
}
.phone-screen {
  border-radius: 34px; overflow: hidden; background: #f2fafe;
  aspect-ratio: 9 / 19.5; position: relative; display: flex; flex-direction: column;
}
.app-header {
  background: #5bc8f7; color: #fff; text-align: center;
  padding: 34px 16px 14px; font-weight: 800; font-size: 1rem;
}
.app-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.room-card {
  background: #fff; border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 14px rgba(15, 82, 115, 0.07);
}
.room-icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.room-card .room-info { min-width: 0; }
.room-card .room-name { font-weight: 800; font-size: 0.82rem; line-height: 1.2; }
.room-card .room-status { font-size: 0.68rem; font-weight: 700; }
.room-card .room-count {
  margin-left: auto; font-size: 0.68rem; font-weight: 800; color: var(--ink-soft);
  background: #eef7fc; border-radius: 999px; padding: 3px 8px; flex-shrink: 0;
}
.room-card .room-count.done { background: #e2f6e9; color: #1e7d43; }
.scan-chip {
  margin-top: 4px; align-self: center;
  background: #ff9800; color: #fff; font-weight: 800; font-size: 0.72rem;
  border-radius: 999px; padding: 8px 14px; box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 900; letter-spacing: -0.015em;
  margin: 10px 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Download strip ---------- */
.download-strip {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 40px 42px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.download-strip h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.download-strip p { color: rgba(255, 255, 255, 0.75); }
.download-strip .btn-primary { background: #fff; color: var(--ink); }
.download-strip .btn-primary:hover { background: var(--sand-soft); }

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot {
  aspect-ratio: 9 / 19.5; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); background: var(--sand-soft);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-soft); font-weight: 600; font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-caption { text-align: center; margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.section-alt .step { background: var(--bg); }
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 152, 0, 0.15);
  color: var(--teal-dark); font-weight: 900; display: flex; align-items: center;
  justify-content: center; margin-bottom: 14px; font-size: 1.05rem;
}
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Guides grid ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease; display: block;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card .tag {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate);
}
.guide-card h3 { font-size: 1.12rem; font-weight: 800; margin: 8px 0 8px; line-height: 1.3; }
.guide-card p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 12px; }
.guide-card .more { color: var(--teal-dark); font-weight: 700; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 12px;
}
.section-alt .faq details { background: var(--bg); }
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--slate); font-weight: 600; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-top: 12px; color: var(--ink-soft); }
.faq .answer a { color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.faq .answer a:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center; background: var(--wallpaper); border-radius: var(--radius-lg);
  padding: 70px 32px; color: #fff;
}
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 14px; letter-spacing: -0.015em; }
.final-cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; max-width: 32rem; margin: 0 auto 30px; }
.final-cta .btn-primary { background: #fff; color: var(--ink); }
.final-cta .btn-primary:hover { background: var(--sand-soft); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 76px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 0.93rem; margin-bottom: 8px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 34px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Guide article pages ---------- */
.article { padding: 56px 0 20px; }
.breadcrumb { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb a { color: var(--teal-dark); text-decoration: none; font-weight: 600; }
.article h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.7rem); font-weight: 900; line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.article .lede { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 34px; }
.article h2 { font-size: 1.5rem; font-weight: 800; margin: 40px 0 14px; letter-spacing: -0.01em; }
.article h3 { font-size: 1.15rem; font-weight: 800; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; color: #29424f; }
.article ul, .article ol { margin: 0 0 16px 24px; color: #29424f; }
.article li { margin-bottom: 8px; }
.article a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.article a:hover { text-decoration: underline; }
.article strong { color: var(--ink); }
.article table { border-collapse: collapse; margin: 0 0 20px; width: 100%; font-size: 0.95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; color: #29424f; }
.article th { background: var(--sand-soft); color: var(--ink); font-weight: 800; }
.callout {
  background: var(--sand-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0;
}
.callout-title { font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.cta-box {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 34px 32px; margin: 44px 0; text-align: center;
}
.cta-box h2 { color: #fff; margin: 0 0 8px; }
.cta-box p { color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }
.cta-box .btn-primary { background: #fff; color: var(--ink); }
.related { margin-top: 24px; }
.related h2 { font-size: 1.3rem; }
