/* ==========================================================================
   Success With Steph — site styles
   Brand: Poppins / deep plum #512260 / dark plum #3A184D / lilac #D1A1D5
   ========================================================================== */

:root {
  --plum-dark: #3a184d;
  --plum: #512260;
  --plum-mid: #6d3d82;
  --mauve: #9c8ca6;
  --lilac: #d1a1d5;
  --lilac-soft: #f6f0f8;
  --lilac-mist: #faf6fb;
  --cream: #fdfcfa;
  --ink: #241430;
  --ink-soft: #4d3f57;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(58, 24, 77, 0.1);
  --shadow-soft: 0 4px 16px rgba(58, 24, 77, 0.07);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--plum); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--plum-dark);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum-mid);
  background: var(--lilac-soft);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.section-intro {
  max-width: 640px;
  color: var(--ink-soft);
  margin-top: 14px;
}

.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

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

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--plum-dark); }

.btn-outline { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--lilac-soft); }

.btn-light { background: var(--white); color: var(--plum-dark); }
.btn-light-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-light-outline:hover { background: rgba(255,255,255,0.12); }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--lilac-soft);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { width: 64px; height: 64px; }

.brand span {
  font-weight: 600;
  color: var(--plum-dark);
  font-size: 1rem;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-links a:hover { color: var(--plum); }
.nav-links a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--lilac); }

.nav-links a.nav-cta {
  white-space: nowrap;
  padding: 11px 22px;
  font-size: 0.88rem;
  color: var(--white);
  border-bottom: none;
}

.nav-links a.nav-cta:hover { color: var(--white); background: var(--plum-dark); }

.nav-toggle {
  display: none; /* shown below 1024px, see media query */
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--plum-dark);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

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

.hero {
  background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 55%, var(--plum-mid) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero h1 { color: var(--white); margin: 18px 0 20px; }

.hero .eyebrow { background: rgba(255,255,255,0.14); color: var(--lilac); margin-bottom: 0; }

.hero p.lede {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-note { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 16px; }

.hero-photo {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* Page hero (inner pages) */

.page-hero {
  background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 60%, var(--plum-mid) 100%);
  color: var(--white);
  padding: 64px 0;
}

.page-hero h1 { color: var(--white); margin: 16px 0 14px; }
.page-hero .eyebrow { background: rgba(255,255,255,0.14); color: var(--lilac); margin-bottom: 0; }
.page-hero p { max-width: 620px; color: rgba(255,255,255,0.88); font-size: 1.05rem; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.bg-soft { background: var(--lilac-mist); }
.bg-plum { background: var(--plum-dark); color: var(--white); }
.bg-plum h2, .bg-plum h3 { color: var(--white); }

/* ---------- Proof strip ---------- */

.proof-strip { background: var(--lilac-soft); padding: 34px 0; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--plum);
  font-weight: 700;
}

.proof-item span { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--white);
  border: 1px solid var(--lilac-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--lilac-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }

.card p { font-size: 0.93rem; color: var(--ink-soft); flex-grow: 1; }

.card .who {
  font-size: 0.85rem;
  color: var(--plum-mid);
  font-weight: 500;
  background: var(--lilac-mist);
  border-left: 3px solid var(--lilac);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0 16px;
  flex-grow: 0;
}

.card .card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--plum);
  text-decoration: none;
}

.card .card-link:hover { text-decoration: underline; }

/* ---------- Topic tiles ---------- */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 18px;
  margin-top: 36px;
}

.topic {
  background: var(--white);
  border: 1px solid var(--lilac-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-soft);
}

.topic .t-icon { font-size: 1.4rem; line-height: 1.4; }
.topic h3 { font-size: 1rem; margin-bottom: 4px; }
.topic p { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--lilac-soft);
  display: flex;
  flex-direction: column;
}

.testimonial .quote-mark { font-size: 2.4rem; color: var(--lilac); line-height: 1; font-family: Georgia, serif; }

.testimonial p { font-size: 0.95rem; color: var(--ink-soft); flex-grow: 1; margin: 8px 0 18px; }

.testimonial footer { font-size: 0.85rem; font-weight: 600; color: var(--plum-dark); }
.testimonial footer span { display: block; font-weight: 400; color: var(--mauve); }

.testimonial .tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum-mid);
  background: var(--lilac-soft);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ---------- Lead magnet band ---------- */

.lead-magnet {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 100%);
  border-radius: var(--radius);
  color: var(--white);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.lead-magnet h2 { color: var(--white); margin-bottom: 12px; }
.lead-magnet p { color: rgba(255,255,255,0.85); font-size: 0.98rem; }

.lead-magnet ul {
  list-style: none;
  margin-top: 16px;
}

.lead-magnet ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.9);
}

.lead-magnet ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lilac);
  font-weight: 700;
}

/* ---------- Forms ---------- */

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

.form-stack label {
  font-size: 0.82rem;
  font-weight: 600;
  color: inherit;
}

.form-stack input[type="text"],
.form-stack input[type="email"] {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 18px;
  border-radius: 100px;
  border: 1px solid var(--lilac);
  width: 100%;
  background: var(--white);
  color: var(--ink);
}

.form-stack input:focus { outline: 2px solid var(--lilac); outline-offset: 1px; }

.form-note { font-size: 0.78rem; opacity: 0.75; }

.form-error {
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffc4c4;
  background: rgba(120, 20, 30, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.form-success {
  display: none;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.95rem;
}

.form-success.on-light {
  background: var(--lilac-soft);
  border-color: var(--lilac);
  color: var(--plum-dark);
}

form.submitted { display: none; }
form.submitted + .form-success { display: block; }

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.split.img-right img { order: 2; }

/* ---------- Results / track record ---------- */

.results-list { margin-top: 32px; display: grid; gap: 18px; }

.result {
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--lilac);
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.result strong { color: var(--plum-dark); }

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

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.package {
  background: var(--white);
  border: 1px solid var(--lilac-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.package.featured { border: 2px solid var(--plum); position: relative; }

.package .flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--plum);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.package h3 { margin-bottom: 6px; }

.package .format { font-size: 0.85rem; color: var(--mauve); font-weight: 500; margin-bottom: 16px; }

.package ul { list-style: none; flex-grow: 1; margin-bottom: 22px; }

.package ul li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px dashed var(--lilac-soft);
}

.package ul li::before { content: "✓"; position: absolute; left: 0; color: var(--plum-mid); font-weight: 700; }

.package .invest { font-size: 0.9rem; font-weight: 600; color: var(--plum-dark); margin-bottom: 18px; }

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

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

.faq details {
  background: var(--white);
  border: 1px solid var(--lilac-soft);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.faq summary {
  font-weight: 600;
  color: var(--plum-dark);
  cursor: pointer;
  font-size: 0.98rem;
}

.faq details p { margin-top: 12px; font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Shop ---------- */

.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--lilac-soft);
  box-shadow: var(--shadow-soft);
  padding: 40px;
  margin-top: 36px;
}

.product .price { font-size: 1.4rem; font-weight: 700; color: var(--plum); margin: 12px 0 18px; }

.product-visual {
  background: linear-gradient(135deg, var(--lilac-soft), var(--lilac));
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ---------- Blog ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--lilac-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.post-card time { font-size: 0.78rem; color: var(--mauve); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

.post-card h3 { margin: 10px 0 10px; font-size: 1.05rem; }

.post-card p { font-size: 0.9rem; color: var(--ink-soft); flex-grow: 1; }

.post-card .read-more { margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--plum); }

/* ---------- Photo grid ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 36px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

/* ---------- Blog post body ---------- */

.post-body { max-width: 760px; }

.post-body p, .post-body ul, .post-body blockquote { margin-bottom: 18px; color: var(--ink-soft); }

.post-body h2 {
  font-size: 1.25rem;
  margin: 34px 0 14px;
}

.post-body ul { padding-left: 24px; }

.post-body li { margin-bottom: 10px; }

.post-body blockquote {
  border-left: 4px solid var(--lilac);
  padding: 10px 20px;
  background: var(--lilac-mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-body .back-link { margin-top: 36px; }

.post-body .back-link a { font-weight: 600; text-decoration: none; }
.post-body .back-link a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--plum-dark), var(--plum));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.cta-band h2 { color: var(--white); margin-bottom: 14px; }

.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 30px; }

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

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 8px; }

.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: var(--lilac); }

.footer-brand img { width: 72px; margin-bottom: 12px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

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

/* Tablets and below: collapse nav to hamburger (full nav needs ~1000px) */
@media (max-width: 1023px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 22px;
    gap: 0;
    border-bottom: 1px solid var(--lilac-soft);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

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

  /* Comfortable tap targets */
  .nav-links a { display: block; padding: 14px 4px; font-size: 1rem; }
  .nav-links a[aria-current="page"] { border-bottom: none; }
  .nav-links a.nav-cta { text-align: center; }
}

/* Tablet portrait and below: single-column feature layouts */
@media (max-width: 900px) {
  .hero-grid, .split, .lead-magnet, .product { grid-template-columns: 1fr; }
  .split.img-right img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { padding-top: 48px; padding-bottom: 56px; }
  .lead-magnet { padding: 36px 28px; }
  .product { padding: 28px; }

  /* Stacked photos read better shorter; keep faces with a top-weighted crop */
  .hero-photo { aspect-ratio: 4 / 3; object-position: center 20%; }
  .split img { aspect-ratio: 4 / 3; object-position: center 25%; }
}

/* Phones */
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .page-hero { padding: 48px 0; }
  .brand img { width: 52px; height: 52px; }
  .nav-wrap { padding: 8px 18px; }
  .container { padding: 0 18px; }

  .proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Full-width, easy-to-tap buttons */
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; }
  .cta-band .btn, .lead-magnet .btn { display: block; text-align: center; width: 100%; }

  .lead-magnet { padding: 30px 20px; border-radius: var(--radius-sm); }
  .product { padding: 22px 18px; }
  .card, .testimonial, .package { padding: 24px 20px; }

  .hero-photo { aspect-ratio: 1 / 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
