/* ============================================================
   talk2megirl — design tokens
   ============================================================ */
:root{
  /* core palette — derived from the brand wordmark */
  --cream:        #FBF6EF;   /* page background */
  --sand:         #F2E7DA;   /* alt surface */
  --blush:        #F3DCD2;   /* soft rose surface */
  --rose:         #C28178;   /* primary accent */
  --rose-deep:    #A1635A;   /* hover / active */
  --rose-ink:     #7C4E47;   /* deep rose for text-on-light accents */
  --heart:        #ECD2B9;   /* peach heart accent (from logo) */
  --cocoa:        #6B4E3E;   /* logo brown — headings */
  --ink:          #4A372E;   /* body copy */
  --ink-soft:     #8A7568;   /* muted copy */
  --line:         #E7D9CB;   /* hairline borders */
  --white:        #FFFEFC;

  --shadow-sm: 0 2px 10px rgba(107,78,62,0.06);
  --shadow-md: 0 14px 34px rgba(107,78,62,0.12);
  --shadow-lg: 0 24px 60px rgba(107,78,62,0.16);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --maxw: 1180px;
  --speed: 280ms;
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================ reset */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
:focus-visible{ outline: 2.5px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }

.serif{ font-family:'Fraunces', serif; }
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow svg{ width:14px; height:14px; }

section{ position: relative; }
.section-pad{ padding: 100px 0; }
@media (max-width: 760px){ .section-pad{ padding: 64px 0; } }

.h-display{
  font-family:'Fraunces', serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--cocoa);
}
.h-display em{ font-style: italic; color: var(--rose-deep); }
.lede{ color: var(--ink-soft); font-size: 1.13rem; line-height: 1.7; max-width: 540px; }

/* ============================================================ buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease);
  white-space: nowrap;
}
.btn svg{ width:17px; height:17px; transition: transform var(--speed) var(--ease); }
.btn-primary{ background: var(--rose); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--rose-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover svg{ transform: translateX(3px); }
.btn-outline{ background: transparent; color: var(--rose-deep); border-color: var(--rose); }
.btn-outline:hover{ background: var(--blush); border-color: var(--rose-deep); transform: translateY(-2px); }
.btn-ghost{ background: var(--white); color: var(--cocoa); border-color: var(--line); }
.btn-ghost:hover{ background: var(--sand); transform: translateY(-2px); }
.btn-dark{ background: var(--cocoa); color: var(--white); }
.btn-dark:hover{ background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm{ padding: 11px 20px; font-size: .88rem; }
.btn-block{ width:100%; }

/* ============================================================ nav */
.nav{
  position: sticky; top:0; z-index: 60;
  background: rgba(251,246,239,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}
.nav.is-scrolled{ border-color: var(--line); box-shadow: 0 4px 24px rgba(107,78,62,.06); background: rgba(251,246,239,.96); }
.nav-row{ display:flex; align-items:center; justify-content:space-between; gap: 18px; height: 78px; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height: 42px; width:auto; }
.brand-word{ display:none; }
.nav-links{ display:flex; align-items:center; gap: 6px; }
.nav-links a{
  position: relative;
  padding: 9px 14px;
  font-size: .92rem; font-weight: 500; color: var(--ink);
  border-radius: 999px;
  transition: color var(--speed), background var(--speed);
}
.nav-links a:hover{ color: var(--rose-deep); background: var(--blush); }
.nav-links a.active{ color: var(--rose-deep); }
.nav-links a.active::after{
  content:''; position:absolute; left:16px; right:16px; bottom:5px; height:2px; background: var(--rose-deep); border-radius:2px;
}
.nav-actions{ display:flex; align-items:center; gap: 10px; flex-shrink:0; }
.icon-link{
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%;
  background: var(--sand); color: var(--cocoa);
  transition: background var(--speed), transform var(--speed), color var(--speed);
}
.icon-link svg{ width:18px; height:18px; }
.icon-link:hover{ background: var(--blush); color: var(--rose-deep); transform: translateY(-2px); }
.burger{ display:none; }

@media (max-width: 980px){
  .nav-links{
    position:fixed; inset: 78px 0 0 0; height: calc(100vh - 78px);
    background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 18px 24px; overflow-y:auto;
    transform: translateX(100%); transition: transform var(--speed) var(--ease);
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ padding: 14px 16px; font-size: 1.05rem; }
  .burger{
    display:flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:50%; border:1.5px solid var(--line);
    background:transparent;
  }
  .burger svg{ width:19px; height:19px; }
  .nav-chat-mobile{ margin-top:14px; }
}
@media (min-width: 981px){ .nav-chat-mobile{ display:none !important; } }
@media (max-width: 980px){ .nav-chat-desktop{ display:none !important; } .nav-chat-mobile{ display:inline-flex !important; width:100%; justify-content:center; } }

/* ============================================================ hero */
.hero{ padding: 76px 0 60px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items:center; }
.hero h1{ font-size: clamp(2.6rem, 5.1vw, 4.4rem); margin: 18px 0 22px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 32px; }
.hero-art{ position:relative; display:flex; align-items:center; justify-content:center; }
.blob{
  position:absolute; inset: 6% 4%;
  background: linear-gradient(160deg, var(--blush), var(--sand));
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  animation: blobmove 11s ease-in-out infinite;
}
@keyframes blobmove{
  0%,100%{ border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%; }
  50%{ border-radius: 58% 42% 40% 60% / 38% 56% 44% 62%; }
}
.hero-photo{
  position:relative; z-index:2; display:block; width: 78%; max-width:380px;
  aspect-ratio: 3/2; overflow:hidden;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  animation: floaty 6s ease-in-out infinite;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.hero-photo:hover{ transform: translateY(-4px) scale(1.015); box-shadow: var(--shadow-lg), 0 0 0 4px var(--blush); }
.hero-slide{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition: opacity 1.1s var(--ease);
}
.hero-slide.is-active{ opacity:1; }
.hero-photo-cta{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 0 16px;
  background: linear-gradient(to top, rgba(74,55,46,.72), rgba(74,55,46,0));
  color:var(--white); font-size:.86rem; font-weight:700;
  opacity:0; transform: translateY(6px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.hero-photo-cta svg{ width:15px; height:15px; transition: transform var(--speed) var(--ease); }
.hero-photo:hover .hero-photo-cta{ opacity:1; transform: translateY(0); }
.hero-photo:hover .hero-photo-cta svg{ transform: translateX(3px); }
.hero-photo-dots{
  position:absolute; top:14px; right:14px; z-index:3; display:flex; gap:5px;
}
.hero-photo-dots i{ width:6px; height:6px; border-radius:50%; background: rgba(255,255,255,.55); transition: background var(--speed), transform var(--speed); }
.hero-photo-dots i.is-active{ background: var(--white); transform: scale(1.3); }
@keyframes floaty{ 0%,100%{ transform: translateY(0) rotate(-1.2deg); } 50%{ transform: translateY(-14px) rotate(1deg); } }
.hero-badge{
  position:absolute; z-index:3; left: -8%; top: 9%;
  background: var(--white); border-radius: var(--radius-m);
  padding: 14px 18px; box-shadow: var(--shadow-md);
  display:flex; align-items:center; gap:10px;
  font-size:.86rem; font-weight:600; color: var(--cocoa);
  animation: floaty 6s ease-in-out infinite; animation-delay: .3s;
}
.hero-badge .dot{ width:34px; height:34px; border-radius:50%; background: var(--blush); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.hero-badge .dot svg{ width:16px; height:16px; color: var(--rose-deep); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; max-width:340px; margin: 0 auto 12px; }
  .hero-ctas{ justify-content: center; }
  .hero{ text-align:center; }
  .lede{ margin: 0 auto; }
}

/* thread signature (home only) */
.thread-wrap{ position:relative; }
.thread-svg{ position:absolute; left:50%; top:0; width:84px; transform: translateX(-50%); z-index:0; pointer-events:none; }
.thread-svg path{ fill:none; stroke: var(--blush); stroke-width:2; stroke-linecap:round; }
.thread-svg path.draw{ stroke: var(--rose); stroke-width:2.2; stroke-dasharray: 4400; stroke-dashoffset: 4400; transition: stroke-dashoffset 1.8s var(--ease); }
.thread-svg path.draw.in-view{ stroke-dashoffset: 0; }
.thread-svg circle{ fill: var(--rose); opacity:0; transition: opacity .5s var(--ease) .3s; }
.thread-svg circle.in-view{ opacity:1; }
@media (max-width: 980px){ .thread-svg{ display:none; } }

/* ============================================================ reveal */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ opacity:0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in-view > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1){ transition-delay: .03s; }
.reveal-stagger.in-view > *:nth-child(2){ transition-delay: .11s; }
.reveal-stagger.in-view > *:nth-child(3){ transition-delay: .19s; }
.reveal-stagger.in-view > *:nth-child(4){ transition-delay: .27s; }
.reveal-stagger.in-view > *:nth-child(5){ transition-delay: .35s; }
.reveal-stagger.in-view > *:nth-child(6){ transition-delay: .43s; }

/* ============================================================ section headers */
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head h2{ font-size: clamp(2rem, 3.4vw, 2.8rem); margin-top:14px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ============================================================ value cards */
.value-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.value-card{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-m);
  padding: 30px 26px; transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed);
}
.value-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.value-icon{
  width:50px; height:50px; border-radius:14px; background: var(--blush);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  transition: background var(--speed), transform var(--speed);
}
.value-icon svg{ width:22px; height:22px; color: var(--rose-deep); }
.value-card:hover .value-icon{ background: var(--rose); transform: rotate(-6deg) scale(1.05); }
.value-card:hover .value-icon svg{ color: var(--white); }
.value-card h3{ font-family:'Fraunces',serif; font-size:1.22rem; color:var(--cocoa); margin-bottom:10px; font-weight:600; }
.value-card p{ color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 980px){ .value-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .value-grid{ grid-template-columns: 1fr; } }

/* ============================================================ mission / not-list */
.mission-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.not-list{ margin-top: 26px; border-left: 3px solid var(--rose); padding-left: 22px; display:flex; flex-direction:column; gap:14px; }
.not-list li{ display:flex; gap:12px; align-items:flex-start; color: var(--ink); font-size: .98rem; }
.not-list svg{ width:18px; height:18px; flex-shrink:0; margin-top:2px; color: var(--rose-deep); }
.mission-frame{ position:relative; }
.mission-frame .blob{ inset: -6% -2%; }
.mission-frame img{
  position:relative; z-index:2; border-radius: var(--radius-l); border:6px solid var(--white); box-shadow: var(--shadow-lg);
}
@media (max-width: 900px){ .mission-grid{ grid-template-columns: 1fr; gap:34px; } .mission-frame{ order:-1; max-width:360px; margin:0 auto; } }

/* ============================================================ cards: stories / resources / shop */
.card-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
@media (max-width: 980px){ .card-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .card-grid{ grid-template-columns: 1fr; } }

.story-card{
  background: var(--white); border-radius: var(--radius-m); border:1px solid var(--line);
  padding: 28px; display:flex; flex-direction:column; gap:14px;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.story-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.story-quote{ font-family:'Fraunces', serif; font-size:2.2rem; color: var(--blush); line-height:0; }
.story-tag{ display:inline-flex; padding:4px 12px; border-radius:999px; background: var(--sand); color: var(--rose-ink); font-size:.74rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; width:fit-content; }
.story-card p.excerpt{ color: var(--ink); font-size:.98rem; line-height:1.65; }
.story-card .story-full{ color: var(--ink); font-size:.98rem; line-height:1.65; display:none; }
.story-card.expanded .story-full{ display:block; }
.story-card.expanded .excerpt{ display:none; }
.story-meta{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:6px; border-top:1px solid var(--line); }
.story-author{ font-size:.84rem; color: var(--ink-soft); font-weight:600; }
.story-toggle{ background:none; border:none; color: var(--rose-deep); font-weight:700; font-size:.84rem; padding:0; display:flex; align-items:center; gap:5px; }
.story-toggle svg{ width:14px; height:14px; transition: transform var(--speed); }
.story-card.expanded .story-toggle svg{ transform: rotate(180deg); }

.res-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius-m); padding: 30px; }
.res-card h3{ font-family:'Fraunces',serif; color:var(--cocoa); font-size:1.3rem; margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.res-card h3 svg{ width:20px; height:20px; color: var(--rose-deep); flex-shrink:0; }
.res-item{ padding: 14px 0; border-top:1px solid var(--line); }
.res-item:first-of-type{ border-top:none; padding-top:0; }
.res-item a.res-name{ font-weight:700; color: var(--rose-ink); font-size:.98rem; display:inline-flex; align-items:center; gap:5px; transition: color var(--speed); }
.res-item a.res-name:hover{ color: var(--rose-deep); text-decoration: underline; }
.res-item a.res-name svg{ width:13px; height:13px; }
.res-item .res-contact{ color: var(--cocoa); font-weight:600; font-size:.92rem; margin-top:3px; }
.res-item .res-desc{ color: var(--ink-soft); font-size:.88rem; margin-top:3px; }
.res-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px){ .res-grid{ grid-template-columns: 1fr; } }

/* shop */
.shop-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius-l); overflow:hidden; transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease); }
.shop-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.shop-img-wrap{ position:relative; aspect-ratio: 1.4/1; overflow:hidden; background: var(--sand); }
.shop-img-wrap img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.shop-card:hover .shop-img-wrap img{ transform: scale(1.045); }
.shop-body{ padding: 22px 24px 26px; }
.shop-body h3{ font-family:'Fraunces',serif; color:var(--cocoa); font-size:1.2rem; margin-bottom:8px; }
.shop-body p{ color: var(--ink-soft); font-size:.92rem; margin-bottom:18px; }

/* ============================================================ cta band */
.cta-band{ background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: var(--white); text-align:center; padding: 92px 0; }
.cta-band h2{ color: var(--white); font-size: clamp(2.1rem,4vw,3rem); }
.cta-band p{ color: rgba(255,255,255,.88); max-width:520px; margin: 18px auto 0; font-size:1.05rem; }
.cta-ctas{ display:flex; gap:14px; justify-content:center; margin-top:34px; flex-wrap:wrap; }
.cta-band .btn-primary{ background: var(--white); color: var(--rose-deep); }
.cta-band .btn-primary:hover{ background: var(--cream); }
.cta-band .btn-outline{ border-color: rgba(255,255,255,.7); color: var(--white); }
.cta-band .btn-outline:hover{ background: rgba(255,255,255,.14); border-color:var(--white); }

/* ============================================================ page headers (non-home) */
.page-hero{ padding: 64px 0 36px; text-align:center; }
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ margin: 16px 0 14px; font-size: clamp(2.3rem, 4.2vw, 3.4rem); }
.page-hero .lede{ margin: 0 auto; text-align:center; }

/* ============================================================ footer */
.footer{ background: var(--sand); padding: 74px 0 30px; margin-top: 0; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom:1px solid var(--line); }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand p{ color: var(--ink-soft); font-size:.92rem; max-width:280px; }
.footer h4{ font-family:'Fraunces',serif; color:var(--cocoa); font-size:1rem; margin-bottom:16px; }
.footer ul{ display:flex; flex-direction:column; gap:11px; }
.footer a{ color: var(--ink-soft); font-size:.92rem; transition: color var(--speed); display:inline-flex; align-items:center; gap:6px; }
.footer a svg{ width:14px; height:14px; }
.footer a:hover{ color: var(--rose-deep); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top: 26px; flex-wrap:wrap; gap:14px; }
.footer-socials{ display:flex; gap:10px; }
.footer-copy{ color: var(--ink-soft); font-size:.84rem; text-align:right; }
.disclaimer{
  margin-top: 28px; background: var(--white); border:1px solid var(--line); border-radius: var(--radius-m);
  padding: 18px 22px; font-size:.86rem; color: var(--ink-soft);
}
.disclaimer strong{ color: var(--cocoa); }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } .footer-brand{ grid-column: 1/-1; } }
@media (max-width: 540px){ .footer-grid{ grid-template-columns: 1fr; } .footer-bottom{ flex-direction:column; align-items:flex-start; } .footer-copy{ text-align:left; } }

/* ============================================================ forms */
.form-card{ background: var(--white); border:1px solid var(--line); border-radius: var(--radius-l); padding: 44px; box-shadow: var(--shadow-sm); }
.form-row{ margin-bottom: 22px; }
.form-row label{ display:block; font-weight:700; font-size:.9rem; color: var(--cocoa); margin-bottom:8px; }
.form-row .hint{ font-weight:400; color: var(--ink-soft); font-size:.82rem; margin-left:6px; }
.form-row input[type=text], .form-row input[type=email], .form-row select, .form-row textarea{
  width:100%; padding: 14px 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line);
  background: var(--cream); font-family:'Inter',sans-serif; font-size: .96rem; color: var(--ink);
  transition: border-color var(--speed), box-shadow var(--speed);
}
.form-row textarea{ resize: vertical; min-height: 160px; line-height:1.6; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ border-color: var(--rose); box-shadow: 0 0 0 4px var(--blush); outline:none; }
.radio-pair{ display:flex; gap:12px; }
.radio-pair label{
  flex:1; display:flex; align-items:center; gap:9px; font-weight:500; font-size:.92rem; color: var(--ink);
  padding: 13px 16px; border:1.5px solid var(--line); border-radius: var(--radius-s); background: var(--cream); cursor:pointer;
  transition: border-color var(--speed), background var(--speed);
}
.radio-pair input{ accent-color: var(--rose-deep); }
.radio-pair label:has(input:checked){ border-color: var(--rose); background: var(--blush); }
.check-row{ display:flex; gap:10px; align-items:flex-start; font-size:.88rem; color: var(--ink-soft); }
.check-row input{ margin-top:3px; accent-color: var(--rose-deep); }
.honeypot{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }
.form-note{ background: var(--blush); border-radius: var(--radius-s); padding: 16px 18px; font-size:.86rem; color: var(--rose-ink); margin-bottom: 28px; display:flex; gap:10px; }
.form-note svg{ width:18px; height:18px; flex-shrink:0; margin-top:1px; }
.form-success{ display:none; text-align:center; padding: 50px 20px; }
.form-success.show{ display:block; }
.form-success svg{ width:54px; height:54px; color: var(--rose-deep); margin-bottom:18px; }
.form-success h3{ font-family:'Fraunces',serif; color:var(--cocoa); font-size:1.5rem; margin-bottom:10px; }
.form-success p{ color: var(--ink-soft); max-width:420px; margin: 0 auto; }

/* ============================================================ live chat */
.auth-tabs{ display:flex; gap:8px; margin-bottom:28px; background:var(--cream); border-radius:999px; padding:5px; }
.auth-tab{ flex:1; padding:11px 14px; border:none; background:transparent; border-radius:999px; font-weight:700; font-size:.9rem; color:var(--ink-soft); transition: background var(--speed), color var(--speed); }
.auth-tab.is-active{ background:var(--white); color:var(--rose-deep); box-shadow: var(--shadow-sm); }
.name-hint{ font-size:.82rem; color:var(--ink-soft); margin-top:7px; }
.name-hint strong{ color:var(--rose-deep); }

.chat-rules{
  background: var(--blush); border-radius: var(--radius-m); padding:14px 18px; margin-bottom:18px;
  font-size:.86rem; color:var(--rose-ink); display:flex; gap:9px; align-items:flex-start;
}
.chat-rules svg{ width:17px; height:17px; flex-shrink:0; margin-top:2px; }
.chat-rules a{ text-decoration:underline; color:var(--rose-ink); }

.chat-window{
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius-l) var(--radius-l) 0 0;
  height:min(56vh, 480px); overflow-y:auto; padding: 22px;
}
.chat-messages{ display:flex; flex-direction:column; gap:14px; min-height:100%; }
.chat-empty{ margin:auto; text-align:center; color:var(--ink-soft); font-size:.92rem; max-width:280px; }
.msg{ max-width:78%; display:flex; flex-direction:column; gap:4px; }
.msg.mine{ align-self:flex-end; align-items:flex-end; }
.msg.theirs{ align-self:flex-start; align-items:flex-start; }
.msg-bubble{ padding:11px 16px; border-radius: 16px; font-size:.94rem; line-height:1.5; word-break:break-word; }
.msg.mine .msg-bubble{ background: var(--rose); color:var(--white); border-radius:16px 16px 4px 16px; }
.msg.theirs .msg-bubble{ background: var(--sand); color:var(--ink); border-radius:16px 16px 16px 4px; }
.msg-meta{ display:flex; align-items:center; gap:8px; font-size:.74rem; color:var(--ink-soft); padding:0 4px; }
.msg-meta .msg-name{ font-weight:700; color:var(--cocoa); }
.msg-meta button{ background:none; border:none; padding:0; font-size:.74rem; color:var(--ink-soft); font-weight:600; text-decoration:underline; opacity:.7; }
.msg-meta button:hover{ opacity:1; color:var(--rose-deep); }
.msg-system{ align-self:center; font-size:.8rem; color:var(--ink-soft); font-style:italic; }

.chat-input-row{ display:flex; gap:10px; background:var(--white); border:1px solid var(--line); border-top:none; border-radius: 0 0 var(--radius-l) var(--radius-l); padding:14px; }
.chat-input-row input{ flex:1; padding:13px 16px; border-radius:999px; border:1.5px solid var(--line); background:var(--cream); font-family:'Inter',sans-serif; font-size:.94rem; }
.chat-input-row input:focus{ border-color:var(--rose); outline:none; box-shadow:0 0 0 4px var(--blush); }
.chat-foot-row{ display:flex; align-items:center; justify-content:space-between; margin-top:16px; }
.chat-current-name{ font-size:.86rem; color:var(--ink-soft); }
.chat-current-name strong{ color:var(--cocoa); }
.flex-center{ display:flex; align-items:center; justify-content:center; }
.mt-48{ margin-top:48px; }
.text-center{ text-align:center; }
