@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300;1,9..40,400&display=swap');

:root {
  --cream: #FDFAF5;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-muted: #8A8A8A;
  --pastel-blue: #D6EAFF;
  --pastel-green: #D4F5E4;
  --pastel-peach: #FFE8DC;
  --pastel-yellow: #FFF5CC;
  --pastel-lavender: #EAE0FF;
  --neon-lime: #C8FF00;
  --neon-coral: #FF4D6A;
  --neon-sky: #00C2FF;
  --neon-mint: #00FFB2;
  --border: #E8E4DE;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.italic { font-style: italic; }
.neon-lime { color: var(--neon-lime); }
.neon-coral { color: var(--neon-coral); }
.neon-sky { color: var(--neon-sky); }

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

img { max-width: 100%; }

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

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--neon-lime);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--neon-lime);
  color: var(--ink) !important;
  font-weight: 500 !important;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s, box-shadow 0.15s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,255,0,0.4) !important;
}

/* Hamburger button — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: border-color 0.15s, background 0.15s;
}

.nav-toggle:hover { border-color: var(--ink); }

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animate to X when menu is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--pastel-green);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-mint);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.7rem, 3.9vw, 3.9rem);
  margin-bottom: 20px;
}

.hero-accent {
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--neon-lime);
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,26,26,0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--white);
}

/* HERO CARD STACK */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatIn 0.6s ease both;
}

.stat-card:nth-child(2) { animation-delay: 0.1s; margin-left: 24px; }
.stat-card:nth-child(3) { animation-delay: 0.2s; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-icon.lime { background: var(--neon-lime); }
.stat-icon.peach { background: var(--pastel-peach); }
.stat-icon.blue { background: var(--pastel-blue); }

.stat-label { font-size: 14px; font-style: italic; color: var(--ink-soft); margin-bottom: 2px; }
.stat-value { font-family: 'DM Serif Display', serif; font-size: 1.1rem; line-height: 1.2; color: var(--ink); }

/* SECTIONS */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--border); }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.section-header {
  max-width: 600px;
  margin-bottom: 48px;
}

.section-header p {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 1.05rem;
}

/* TOOLS GRID */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tool-emoji {
  font-size: 28px;
  line-height: 1;
}

.tool-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-free { background: var(--pastel-green); color: #0A6640; }
.badge-paid { background: var(--pastel-peach); color: #8B3000; }
.badge-fave { background: var(--neon-lime); color: var(--ink); }

.tool-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.tool-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

.tool-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s;
}

.tool-card:hover .tool-link { gap: 8px; }

/* USE CASE DIRECTORY */
.use-case-section {
  border-top: 1px solid var(--border);
}

.use-case-section.alt {
  background: var(--white);
}

.use-case-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 860px;
  margin-bottom: 34px;
  padding: 22px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--border);
  border-left: 5px solid var(--neon-lime);
  border-radius: var(--radius-lg);
}

.use-case-section.alt .use-case-header {
  background: var(--cream);
}

.use-case-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--neon-lime);
  border-radius: 14px;
  font-size: 26px;
}

.use-case-header .section-tag {
  margin-bottom: 8px;
}

.use-case-header h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.use-case-header p {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 1.01rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.use-case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.use-case-card[open] {
  border-color: rgba(26,26,26,0.22);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.use-case-card summary {
  list-style: none;
  cursor: pointer;
  padding: 16px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.use-case-card summary::-webkit-details-marker {
  display: none;
}

.use-case-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.use-case-emoji {
  font-size: 24px;
  line-height: 1;
}

.use-case-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  line-height: 1.25;
  margin: 2px 0 0;
}

.use-case-card .card-tease {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.use-case-more {
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.use-case-card summary::after {
  content: '+';
  position: absolute;
  opacity: 0;
}

.use-case-card[open] .use-case-more {
  color: var(--ink);
}

.use-case-card[open] .use-case-more {
  font-size: 0;
}

.use-case-card[open] .use-case-more::after {
  content: 'Close';
  font-size: 11px;
}

.use-case-body {
  border-top: 1px solid var(--border);
  padding: 14px 16px 16px;
  background: var(--cream);
}

.use-case-body p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}

.use-case-body p:last-child {
  margin-bottom: 0;
}

.use-case-body strong {
  color: var(--ink);
}

.use-case-card .tool-badge {
  max-width: 96px;
  white-space: normal;
  text-align: right;
  line-height: 1.2;
}

/* RESOURCES */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.resource-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.resource-card.blue { background: var(--pastel-blue); }
.resource-card.green { background: var(--pastel-green); }
.resource-card.peach { background: var(--pastel-peach); }
.resource-card.lavender { background: var(--pastel-lavender); }

.resource-card h3 { font-size: 1.2rem; }
.resource-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; flex: 1; }

.resource-tag {
  font-size: 11px;
  font-weight: 500;
  background: rgba(255,255,255,0.6);
  color: var(--ink-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  align-self: flex-start;
}

/* FREEBIE BANNER */
.freebie-banner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.freebie-banner h2 { color: var(--white); font-size: 1.8rem; }
.freebie-banner p { color: #AAAAAA; margin-top: 6px; }

.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neon-lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,255,0,0.35);
}

/* ABOUT PAGE */
.about-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--neon-lime);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}

.value-text h4 { font-size: 1rem; margin-bottom: 4px; }
.value-text p { font-size: 13px; color: var(--ink-soft); }

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.community-strip {
  background: var(--pastel-lavender);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 24px;
  text-align: center;
}

/* LEGAL / TRUST PAGES */
.legal-layout {
  max-width: 760px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.legal-card h2 {
  font-size: 1.35rem;
  margin: 30px 0 10px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-card a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-updated {
  display: inline-block;
  background: var(--pastel-yellow);
  color: var(--ink) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px !important;
}

/* PAGE HEADER */
.page-header {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--ink-muted);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--ink-muted);
}

/* PAGE VISIBILITY */
.page { display: none; }
.page.active { display: block; }

/* ── GET STARTED PAGE ─────────────────────────────── */
.start-tool-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  font-family: inherit;
  color: var(--ink);
  width: 100%;
}
.start-tool-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.start-tool-card.selected {
  border-color: var(--neon-lime);
  box-shadow: 0 0 0 4px rgba(200,255,0,0.18);
}
.start-tool-card h3 { font-size: 1.2rem; margin-bottom: 6px; }

.platform-tab {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--ink-soft);
}
.platform-tab.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.platform-tab:hover:not(.active) {
  border-color: var(--ink);
  color: var(--ink);
}
.platform-panel { display: block; }
.platform-panel.hidden { display: none; }

.setup-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.setup-step:last-of-type { border-bottom: none; }

.setup-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
}
.setup-step-content h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.setup-step-content p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.setup-step-content em {
  display: block;
  margin-top: 8px;
  font-style: italic;
  color: var(--ink-muted);
  font-size: 13px;
  background: var(--cream);
  border-left: 3px solid var(--border);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
}
.setup-tip {
  background: #F4FFD1;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.setup-tip strong { color: var(--ink); }
.setup-note {
  background: var(--pastel-peach);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.setup-note strong { color: var(--ink); }
.tool-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 16px;
}

/* ── GET STARTED: MOBILE ──────────────────────────── */
@media (max-width: 640px) {
  .start-tool-grid { grid-template-columns: 1fr !important; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 18px; }
  .use-case-header { padding: 18px; gap: 14px; }
  .use-case-icon { width: 44px; height: 44px; font-size: 22px; }
  .use-case-grid { grid-template-columns: 1fr; }
  .use-case-card summary { min-height: 0; }
}

@media (min-width: 769px) and (max-width: 900px) {
  .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* MOBILE */
@media (max-width: 768px) {
  .use-case-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .freebie-banner { padding: 28px 24px; }
  .freebie-banner h2 { font-size: 1.4rem; }
  .legal-card { padding: 26px 22px; }
  .footer-inner { align-items: flex-start; }
  .footer-links { gap: 10px 18px; width: 100%; }

  /* Show the hamburger button */
  .nav-toggle { display: inline-flex; }

  /* Turn nav-links into a slide-down panel */
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 8px 16px 20px;
    /* Hidden by default — slides into view when open */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.25s ease;
  }

  .nav-links.menu-open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 16px 8px;
    font-size: 15px;
    color: var(--ink);
  }

  /* CTA pill keeps its branding inside the menu */
  .nav-links .nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 14px 18px !important;
    font-size: 14px !important;
  }
}
