/* ==========================================================================
   SoloSuds — shared design tokens & base styles
   Converted from the Tailwind v4 @theme block
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --radius: 1rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);
  --radius-4xl: calc(var(--radius) + 16px);

  --background: oklch(0.985 0.008 200);
  --foreground: oklch(0.28 0.045 235);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.28 0.045 235);

  --primary: oklch(0.47 0.075 220);
  --primary-foreground: oklch(0.99 0.005 200);
  --secondary: oklch(0.94 0.022 200);
  --secondary-foreground: oklch(0.35 0.05 225);
  --muted: oklch(0.955 0.012 210);
  --muted-foreground: oklch(0.55 0.03 225);
  --accent: oklch(0.9 0.045 15);
  --accent-foreground: oklch(0.38 0.07 15);

  --border: oklch(0.9 0.015 210);
  --input: oklch(0.9 0.015 210);
  --ring: oklch(0.72 0.05 200);

  --teal: oklch(0.72 0.06 190);
  --deep: oklch(0.38 0.07 235);
  --pink: oklch(0.88 0.055 12);
  --pink-strong: oklch(0.8 0.09 12);

  --gradient-brand: linear-gradient(135deg, var(--deep), var(--teal));
  --gradient-soft: linear-gradient(160deg, oklch(0.97 0.02 15), oklch(0.96 0.02 195));
  --shadow-soft: 0 20px 50px -24px oklch(0.38 0.07 235 / 0.35);
  --shadow-card: 0 10px 30px -18px oklch(0.38 0.07 235 / 0.4);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

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

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

/* Layout helpers */
.wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 72rem; /* max-w-6xl */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.wrap-narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem; /* max-w-3xl */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

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

.brand img {
  border-radius: 0.75rem;
  width:2rem;
  height:2rem;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a:hover {
  color: var(--foreground);
}

.btn {
  display: inline-flex;
  border-radius: 999px;
  background-color: var(--pink);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-foreground);
  transition: background-color 0.15s ease;
}

.btn:hover {
  background-color: var(--pink-strong);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  box-shadow: var(--shadow-card);
}

/* Hero */
.hero {
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    padding-top: 4rem;
  }
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background-color: color-mix(in oklch, var(--pink) 60%, transparent);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-foreground);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 600;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero p.lead {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.text-action {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--deep);
}

.text-action:hover {
  color: var(--primary);
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--pink-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: color-mix(in oklch, var(--primary-foreground) 84%, var(--pink));
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border-radius: 2.5rem;
  background-image: var(--gradient-soft);
}

.hero-media img {
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: auto;
}

/* Features */
.section-features {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklch, var(--card) 60%, transparent);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-features h2 {
  max-width: 36rem;
  font-size: 2.25rem;
  font-weight: 600;
}

.feature-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 3rem 2.5rem;
}

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

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: color-mix(in oklch, var(--pink) 60%, transparent);
  color: var(--accent-foreground);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-grid h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-grid p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* How it works */
.section-how {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-how h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

.step-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

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

.step-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.step-card .step-n {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--pink-strong);
}

.step-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.step-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Pricing */
.section-pricing {
  padding-bottom: 7rem;
}

/* FAQ */
.section-faq {
  padding-bottom: 7rem;
}

.section-faq h2 {
  max-width: 40rem;
  font-size: 2.25rem;
  font-weight: 600;
}

.faq-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  list-style-position: outside;
}

.faq-list p {
  margin: 0.85rem 2rem 0 0;
  max-width: 46rem;
  color: var(--muted-foreground);
  font-size: 0.925rem;
  line-height: 1.65;
}

/* Founder research */
.section-founder {
  padding-bottom: 2rem;
}

.founder-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: color-mix(in oklch, var(--teal) 20%, var(--card));
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.founder-panel > div {
  max-width: 43rem;
}

.founder-panel h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

.founder-panel div > p:not(.contact-eyebrow) {
  margin: 0.8rem 0 0;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.founder-panel .founder-note {
  font-size: 0.82rem;
}

.pricing-panel {
  overflow: hidden;
  border-radius: 2.5rem;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  background-image: var(--gradient-brand);
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .pricing-panel {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.pricing-panel h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

.pricing-panel p {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 1rem;
  opacity: 0.9;
}

.pricing-panel .btn,
.pricing-panel .app-store-badge {
  margin-top: 2.25rem;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 12.5rem;
  border: 1px solid color-mix(in oklch, white 82%, transparent);
  border-radius: 0.9rem;
  background: white;
  color: var(--deep);
  padding: 0.7rem 1.15rem;
  text-align: left;
  box-shadow: 0 14px 30px -14px oklch(0.18 0.04 235 / 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  background-color: var(--primary-foreground);
  box-shadow: 0 18px 36px -14px oklch(0.18 0.04 235 / 0.72);
}

.app-store-badge:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.app-store-badge svg {
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.app-store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.app-store-copy small {
  margin-bottom: 0.22rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.app-store-copy strong {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Contact */
.section-contact {
  padding-bottom: 7rem;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: color-mix(in oklch, var(--pink) 38%, var(--card));
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.contact-panel > div {
  max-width: 38rem;
}

.contact-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--pink-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-panel h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

.contact-panel div > p:last-child {
  margin: 0.8rem 0 0;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.contact-button {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--deep);
  color: var(--primary-foreground);
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: var(--primary);
}

.contact-button:focus-visible {
  outline: 3px solid var(--pink-strong);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .contact-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 2rem;
  }

  .founder-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 2rem;
  }

  .contact-button {
    text-align: center;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-brand img {
  border-radius: 0.375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

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

/* Simple content pages (privacy / terms) */
.page-main {
  padding-top: 1.5rem;
  padding-bottom: 6rem;
}

.page-main h1 {
  font-size: 2.25rem;
  font-weight: 600;
}

.page-updated {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.page-sections {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.page-sections h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

.page-sections p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.page-sections ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted-foreground);
}

.page-sections li + li {
  margin-top: 0.5rem;
}

.page-sections a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.page-sections a:hover {
  color: var(--deep);
}
