/* ============================================================
   ROSE — Global Stylesheet
   Aesthetic: 90s power fashion / Don't Tell Mom the Babysitter's Dead
   Bold, confident, editorial. Hot magenta + black + cream.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --pink:        #C8005E;
  --pink-dark:   #96004A;
  --pink-light:  #F5E6EE;
  --black:       #0A0A0A;
  --cream:       #FFF9F4;
  --warm-white:  #FEFAF7;
  --warm-gray:   #F0E8E2;
  --text:        #1A1218;
  --text-muted:  #6B5568;
  --gold:        #B8882A;
  --border:      #E4D4DC;
  --border-dark: #C8B0BC;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius:    10px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(10,10,10,0.07);
  --shadow:    0 4px 24px rgba(10,10,10,0.10);
  --shadow-lg: 0 12px 48px rgba(10,10,10,0.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

.display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display em {
  font-style: italic;
  color: var(--pink);
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.subhead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--pink);
  color: #fff;
  letter-spacing: 0.03em;
}

.btn--primary:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,0,94,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--pink);
  border: 1.5px solid var(--pink);
}

.btn--outline:hover {
  background: var(--pink-light);
}

.btn--dark {
  background: var(--black);
  color: #fff;
}

.btn--dark:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.divider--pink {
  background: var(--pink);
  height: 2px;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nav__logo span {
  color: var(--pink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  padding: 6rem 0 5rem;
  overflow: hidden;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--pink);
}

.hero__title { margin-bottom: 1.5rem; }

.hero__body {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero graphic */
.hero__graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
}

.hero__circle--lg {
  width: 360px;
  height: 360px;
  background: var(--pink-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__circle--sm {
  width: 180px;
  height: 180px;
  background: var(--warm-gray);
  top: 30px;
  right: 20px;
}

.hero__monogram {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  user-select: none;
}

.hero__badge {
  position: absolute;
  z-index: 3;
  bottom: 50px;
  right: 10px;
  background: var(--black);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  max-width: 200px;
  box-shadow: var(--shadow-lg);
}

.hero__badge-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.hero__badge-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.hero__tag {
  position: absolute;
  z-index: 3;
  top: 60px;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero__tag strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ── MARQUEE STRIP ── */
.marquee-strip {
  background: var(--black);
  color: #fff;
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-strip__track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
}

.marquee-strip__track span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.marquee-strip__track span.accent {
  color: var(--pink);
  font-weight: 600;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HOW IT WORKS ── */
.how {
  padding: 6rem 0;
  background: var(--warm-white);
}

.how__header {
  text-align: center;
  margin-bottom: 4rem;
}

.how__header .label { margin-bottom: 0.75rem; }
.how__header .headline { margin-bottom: 1rem; }

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.how__grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 1px;
  background: var(--border-dark);
  z-index: 0;
}

.how__step {
  position: relative;
  z-index: 1;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.how__step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.how__step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.how__step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.how__step-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── WHY ROSE ── */
.why {
  padding: 7rem 0;
  background: var(--cream);
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why__left .label { margin-bottom: 0.75rem; }
.why__left .headline { margin-bottom: 1.5rem; }

.why__body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.why__cta { margin-top: 2rem; }

.why__right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why__card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
}

.why__card-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.why__card-body {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 7rem 0;
  background: var(--pink-light);
  text-align: center;
}

.cta-section .label { margin-bottom: 0.75rem; }
.cta-section .headline { margin-bottom: 1rem; }

.cta-section__body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* ── FOOTER ── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
}

.footer__logo span { color: var(--pink); }

.footer__copy {
  font-size: 0.8rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  list-style: none;
}

.footer__links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--pink); }

/* ── CHAT PAGE ── */
.chat-layout {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.chat-nav {
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  flex-shrink: 0;
}

.chat-nav__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--black);
}

.chat-nav__logo span { color: var(--pink); }

.chat-nav__back {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s;
}

.chat-nav__back:hover { color: var(--pink); }

.chat-nav__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chat-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

/* Message bubbles */
.message {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 85%;
  animation: fadeUp 0.25s ease;
}

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

.message--rose { align-self: flex-start; }
.message--user { align-self: flex-end; flex-direction: row-reverse; }

.message__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.message--user .message__avatar {
  background: var(--warm-gray);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
}

.message__bubble {
  padding: 1rem 1.25rem;
  border-radius: 2px var(--radius-lg) var(--radius-lg) var(--radius-lg);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.message--rose .message__bubble {
  background: #fff;
  border: 1px solid var(--border);
  border-top-left-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.message--user .message__bubble {
  background: var(--black);
  color: #fff;
  border-top-right-radius: 2px;
  border-top-left-radius: var(--radius-lg);
}

/* Structured response parts */
.response-part {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.response-part:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.response-part__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.response-part__body {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text);
}

/* ── FEEDBACK BAR ── */
.message__bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feedback-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
  align-self: flex-start;
}

/* Show on hover of parent message OR when feedback submitted */
.message--rose:hover .feedback-bar,
.feedback-bar:focus-within {
  opacity: 1;
}

.feedback-bar.feedback-submitted {
  opacity: 1;
}

.feedback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.feedback-btn:hover {
  background: var(--warm-gray);
  border-color: var(--border);
  color: var(--text);
}

/* Thumbs up hover */
.feedback-btn--up:hover  { color: #16a34a; }

/* Thumbs down hover */
.feedback-btn--down:hover { color: var(--text-muted); }

/* Flag hover — more prominent, it's a serious action */
.feedback-btn--flag:hover {
  color: var(--pink);
  background: var(--pink-light);
  border-color: var(--border);
}

/* After submission — dim unselected, highlight selected */
.feedback-btn--submitted {
  opacity: 0.3;
  pointer-events: none;
}

.feedback-btn--selected {
  opacity: 1 !important;
  pointer-events: none;
}

.feedback-btn--up.feedback-btn--selected   { color: #16a34a; }
.feedback-btn--down.feedback-btn--selected { color: var(--text-muted); }
.feedback-btn--flag.feedback-btn--selected { color: var(--pink); }

/* Confirmation text */
.feedback-confirm {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 6px;
  font-style: italic;
  animation: fadeUp 0.2s ease;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  align-self: flex-start;
}

.typing-indicator__dots {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 5px;
  align-items: center;
}

.typing-indicator__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.4s infinite;
}

.typing-indicator__dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator__dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input area */
.chat-input-area {
  border-top: 2px solid var(--border);
  background: var(--cream);
  padding: 1.5rem 2rem 2rem;
  flex-shrink: 0;
  box-shadow: 0 -4px 24px rgba(10,10,10,0.05);
}

/* Stacks pill row + textarea row vertically */
.chat-input-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Horizontal layout for textarea + send button */
.context-pill-inner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.chat-input-field {
  flex: 1;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  resize: none;
  line-height: 1.6;
  min-height: 96px;
  max-height: 200px;
  transition: border-color 0.15s, box-shadow 0.15s;
  overflow-y: auto;
  box-shadow: 0 2px 10px rgba(10,10,10,0.06);
}

.chat-input-field:focus {
  outline: none;
  border-color: var(--pink);
}

.chat-input-field::placeholder { color: #8c7882; }

.chat-send-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

.chat-send-btn:hover {
  background: var(--pink-dark);
  transform: scale(1.05);
}

.chat-send-btn:disabled {
  background: var(--border);
  transform: none;
  cursor: not-allowed;
}

.chat-input-hint {
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  opacity: 0.7;
}

/* ══════════════════════════════════════════════════════════
   CONTEXT ONBOARDING MODAL
   ══════════════════════════════════════════════════════════ */

.context-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 18, 24, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.context-modal-overlay--hidden { display: none !important; }

.context-modal {
  background: var(--cream);
  width: 100%;
  max-width: 560px;
  border-radius: 20px 20px 0 0;
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 600px) {
  .context-modal-overlay { align-items: center; padding: 1.5rem; }
  .context-modal { border-radius: 16px; padding: 2.25rem 2.5rem; max-height: 85vh; }
}

.context-modal__header { display: flex; justify-content: center; margin-bottom: 1.25rem; }

.context-modal__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.context-modal__logo span { color: var(--pink); }

.context-modal__intro {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.5rem;
  text-align: center;
}

.context-modal__privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
  opacity: 0.8;
}

.context-field { margin-bottom: 1.5rem; }

.context-field__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.context-field__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.context-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 2px solid var(--border-dark);
  background: white;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  min-height: 42px;
  line-height: 1;
}
.chip:hover { border-color: var(--pink); background: var(--pink-light); color: var(--pink); transform: translateY(-1px); }
.chip:active { transform: translateY(0); }
.chip--selected { background: var(--pink) !important; border-color: var(--pink) !important; color: white !important; font-weight: 600; }

.context-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-dark);
  border-radius: 10px;
  background: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  resize: none;
  line-height: 1.55;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.context-textarea:focus { outline: none; border-color: var(--pink); }
.context-textarea::placeholder { color: var(--text-muted); }

.context-modal__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.context-modal__submit {
  flex: 1;
  max-width: 240px;
  min-width: 140px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: 100px;
  background: var(--pink);
  color: white;
  border: none;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.context-modal__submit:hover { background: var(--pink-dark); transform: translateY(-1px); }
.context-modal__submit:active { transform: translateY(0); }

.context-modal__skip {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: 2px solid var(--border-dark);
  border-radius: 100px;
  cursor: pointer;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  transition: color 0.15s, border-color 0.15s;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.context-modal__skip:hover { color: var(--pink); border-color: var(--pink); }

/* ── CONTEXT PILL ROW ── */

.context-pill-row { padding: 0 0 0.6rem 0; }

.context-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem 0.3rem 0.55rem;
  border-radius: 100px;
  border: 1.5px solid var(--border-dark);
  background: transparent;
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
  min-height: 32px;
}
.context-pill:hover { border-color: var(--pink); color: var(--pink); }
.context-pill--filled { border-color: var(--pink-light); background: var(--pink-light); color: var(--pink); }
.context-pill--filled:hover { border-color: var(--pink); }

.context-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
.context-pill__icon--empty { background: var(--warm-gray); color: var(--text-muted); }
.context-pill__icon--filled { background: var(--pink); color: white; }
.context-pill__label { font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   DECODED CARD — two-part response output structure
   ══════════════════════════════════════════════════════════ */

.decoded-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-top: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.decoded-card__header {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1.5px solid var(--pink-light);
}

.decoded-card__section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.decoded-card__section:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.decoded-card__section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.decoded-card__section-body {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero__grid,
  .why__inner { grid-template-columns: 1fr; }
  .hero__graphic { height: 280px; }
  .hero__monogram { font-size: 6rem; }
  .how__grid { grid-template-columns: 1fr; }
  .how__grid::before { display: none; }
  .nav__links { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .chat-window { padding: 1.25rem; }
  .message { max-width: 95%; }
  .chat-input-area { padding: 1rem 1.25rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
