/* LaundryPosts — sales site styles
   Palette: white base, bubble teal accent, deep navy ink, warm coral highlight.
   No frameworks, no build step. */

:root {
  --teal: #0EA5B7;
  --teal-dark: #0B8896;
  --ink: #0F2A3D;
  --coral: #FF8A65;
  --sunshine: #FFC857;
  --white: #FFFFFF;
  --off-white: #F5FBFC;
  --grey: #6B7C87;
  --border: #E2EEF0;
  --shadow: 0 10px 30px rgba(15, 42, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 42, 61, 0.14);
  --radius: 999px;
  --radius-card: 28px;
  --font-display: 'Fredoka', 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; color: var(--grey); }

section { padding: 88px 0; position: relative; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}

.logo svg { width: 34px; height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover { color: var(--teal-dark); }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  overflow: hidden;
  font-weight: 700;
  font-size: 0.85rem;
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--teal-dark);
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
}

.lang-toggle button.active {
  background: var(--teal);
  color: var(--white);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--font-body);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(14, 165, 183, 0.35);
}

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

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

.btn-secondary:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 138, 101, 0.35);
}

.btn-disabled {
  background: var(--border);
  color: var(--grey);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-disabled:hover { transform: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(14, 165, 183, 0.28), rgba(14, 165, 183, 0.06));
  animation: float 9s ease-in-out infinite;
}

.bubble.b1 { width: 120px; height: 120px; left: 6%; top: 18%; animation-duration: 10s; }
.bubble.b2 { width: 70px; height: 70px; left: 18%; top: 65%; animation-duration: 7.5s; animation-delay: 1s; }
.bubble.b3 { width: 190px; height: 190px; right: 8%; top: 8%; animation-duration: 12s; animation-delay: 0.5s; background: radial-gradient(circle at 30% 30%, rgba(255, 200, 87, 0.25), rgba(255, 200, 87, 0.05)); }
.bubble.b4 { width: 90px; height: 90px; right: 18%; top: 55%; animation-duration: 8s; animation-delay: 2s; }
.bubble.b5 { width: 50px; height: 50px; left: 45%; top: 10%; animation-duration: 6.5s; animation-delay: 1.5s; background: radial-gradient(circle at 30% 30%, rgba(255, 138, 101, 0.25), rgba(255, 138, 101, 0.05)); }
.bubble.b6 { width: 150px; height: 150px; right: 40%; bottom: -40px; animation-duration: 11s; animation-delay: 0.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-24px) translateX(10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  background: rgba(14, 165, 183, 0.12);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.hero .lede {
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
  max-width: 560px;
}

/* ---------- Bubble divider ---------- */

.bubble-divider {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
}

.bubble-divider span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.35;
}

.bubble-divider span:nth-child(2) { background: var(--sunshine); width: 14px; height: 14px; opacity: 0.7; }
.bubble-divider span:nth-child(3) { background: var(--coral); opacity: 0.5; }

/* ---------- Section header ---------- */

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.alt-bg { background: var(--off-white); }

/* ---------- Examples / phone mockups ---------- */

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

.phone-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 18px;
  aspect-ratio: 9 / 14;
  background: var(--ink);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: var(--ink);
  border-radius: var(--radius);
  z-index: 2;
}

.phone-notch::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 6px;
  background: #1c3a4d;
  border-radius: var(--radius);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
}

.phone-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.phone-card .theme-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--teal-dark);
  background: rgba(14, 165, 183, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.phone-card blockquote {
  font-size: 0.92rem;
  color: var(--grey);
  font-style: italic;
  margin: 12px 0;
  text-align: left;
}

.post-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.post-links a {
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--teal-dark);
}

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

/* ---------- How it works ---------- */

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

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: var(--radius);
}

.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 20px;
}

.price span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey);
}

.setup-fee {
  margin: -12px 0 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--grey);
}

.setup-fee s {
  opacity: 0.7;
}

.setup-fee strong {
  color: var(--coral);
  font-weight: 800;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.price-card li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--teal);
  font-weight: 800;
}

.price-card li.extra::before { color: var(--coral); }

/* ---------- Founder ---------- */

.founder-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.founder-photo img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  border-left: 4px solid var(--teal);
  padding-left: 20px;
  margin: 20px 0;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; }

details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

summary {
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal);
  margin-left: 12px;
  flex-shrink: 0;
}

details[open] summary::after { content: "−"; }

details p { margin-top: 12px; }

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  color: #C8D8DF;
  padding: 48px 0;
  text-align: center;
}

footer a { color: var(--sunshine); text-decoration: none; font-weight: 700; }

footer .footer-logo { color: var(--white); margin-bottom: 12px; }

/* ---------- Start page ---------- */

.start-hero {
  padding: 90px 0 60px;
  text-align: center;
  background: var(--off-white);
}

.signup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.intake-box {
  background: var(--white);
  border: 2px dashed var(--teal);
  border-radius: var(--radius-card);
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.subscribe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.subscribe-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.coming-soon {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--coral);
  background: rgba(255, 138, 101, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .examples-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .founder-section { grid-template-columns: 1fr; text-align: center; }
  .founder-photo img { max-width: 220px; margin: 0 auto; }
  .founder-quote { text-align: left; }
  .signup-steps { grid-template-columns: 1fr; }
  .subscribe-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn):not(.lang-toggle) { display: none; }
  section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero { padding: 80px 0 60px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .logo { font-size: 1.05rem; }
  .logo svg { width: 28px; height: 28px; }
  .nav-links { gap: 8px; }
  .nav-links .btn { padding: 10px 16px; font-size: 0.85rem; white-space: nowrap; }
  .lang-toggle button { padding: 5px 10px; font-size: 0.78rem; }
}
