/* ═══════════════════════════════════════════════════════════════════
   Kind Kit — shared styles
   ═══════════════════════════════════════════════════════════════════
   Shared between kind_kit_page.html (standalone) and kind_kit_modal.html.
   Tokens aligned with BRAND_VOICE.md. Peach is the care color — dominant
   accent on this surface.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --paper:          #EFE9DB;
  --paper-deep:     #E8E0CC;
  --paper-warm:     #F2EBDC;
  --ink:            #1E281E;
  --ink-soft:       #3A4A3A;
  --ink-muted:      #6B7A6B;
  --rule:           rgba(30,40,30,0.15);
  --rule-soft:      rgba(30,40,30,0.08);
  --sunset:         #F27D52;
  --sunset-dark:    #C4704A;
  --eucalyptus:     #2A9D8F;
  --eucalyptus-deep:#1F7A6F;
  --amber:          #D4A053;
  --amber-deep:     #A87A2F;
  --peach:          #E8B4A0;
  --peach-deep:     #D89575;
  --peach-soft:     rgba(232,180,160,0.18);
  --cream:          #F0EDE6;
  --forest-deep:    #0E1810;
  --forest-900:     #1E281E;
}

/* ══ Body container (reset) ══ */
.kk-body * { box-sizing: border-box; }

/* ══ Hero ══ */
.kk-hero {
  text-align: center;
  padding: 24px 0 28px;
}
.kk-hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--peach-deep);
  margin-bottom: 22px;
}
/* Hero lede is split into two beats — the main reassurance sentence and
   a shorter timeframe note. Slightly smaller type + wider max-width so
   the main beat can stretch across a single line on desktop; wraps
   naturally on narrow viewports. Tight 8px between beats, 32px before
   the Kind Words frame. */
.kk-hero-lede {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 8px;
  text-align: center;
  text-wrap: balance;
}
.kk-hero-lede:last-of-type {
  margin-bottom: 32px;
}
.kk-hero-lede strong {
  font-weight: 400;
  color: var(--ink);
  font-style: normal;
}

/* ══ Kind Words whisper ══ */
.kk-kindwords-frame {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid var(--peach);
  border-bottom: 1px solid var(--peach);
  min-height: 5.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kk-kindwords {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-muted);
  text-align: center;
  opacity: 0;
  transition: opacity 500ms ease;
  padding: 0 16px;
  margin: 0;
}
.kk-kindwords-attrib {
  display: block;
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  opacity: 0.7;
  margin-top: 6px;
}

/* ══ Section heads (i. ii. iii.) ══ */
.kk-section { margin-top: 48px; }
.kk-section:first-of-type { margin-top: 36px; }
.kk-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.kk-section-left {
  display: flex; align-items: baseline; gap: 14px;
  font-family: 'DM Serif Display', Georgia, serif;
}
.kk-figure {
  font-style: italic;
  color: var(--peach-deep);
  font-size: 1.6rem;
  line-height: 1;
}
.kk-section-name {
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.kk-section-hint {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  text-align: right;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .kk-section-head { flex-wrap: wrap; }
  .kk-section-hint { text-align: left; }
}

/* ══ Breathe card ══ */
.kk-breathe-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--paper-warm);
  border: 1px solid var(--peach);
  border-left: 4px solid var(--peach);
  border-radius: 0 10px 10px 0;
  overflow: hidden;
}
.kk-breathe-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 0% 50%, var(--peach-soft) 0%, transparent 60%);
  pointer-events: none;
}
.kk-breathe-content { flex: 1; min-width: 0; position: relative; z-index: 1; }
.kk-breathe-prompt {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}
.kk-breathe-prompt em { font-style: italic; color: var(--peach-deep); }
.kk-breathe-sub {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.kk-breathe-begin {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--sunset);
  color: var(--cream);
  border: 0;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(242,125,82,0.28);
  transition: all 0.2s ease;
}
.kk-breathe-begin:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(242,125,82,0.4);
}
.kk-breathe-begin i { font-size: 1.05rem; }
@media (max-width: 560px) {
  .kk-breathe-card { flex-direction: column; align-items: stretch; text-align: left; gap: 18px; padding: 24px 22px; }
  .kk-breathe-begin { justify-content: center; }
}

/* ══ Ground — orientation + families ══ */
.kk-ground-orient {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 580px;
}
.kk-family-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--peach-deep);
  margin-top: 32px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kk-family-name::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--peach);
}
.kk-family-name:first-of-type { margin-top: 0; }

.kk-ground-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 560px) {
  .kk-ground-grid { grid-template-columns: 1fr; }
}

/* ══ Ground — interactive technique tiles ══ */
.kk-technique {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--paper-warm);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.kk-technique:hover {
  border-color: var(--peach);
  background: var(--paper-deep);
}
.kk-technique:focus-visible {
  outline: none;
  border-color: var(--peach);
  box-shadow: 0 0 0 3px var(--peach-soft);
}
.kk-technique.tried {
  border-color: var(--peach);
  background: var(--peach-soft);
}
.kk-technique.tried .kk-technique-mark {
  background: var(--peach);
  color: var(--cream);
}
.kk-technique-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--peach-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.kk-technique.tried .kk-technique-check {
  opacity: 1;
  transform: scale(1);
}
.kk-technique-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--peach-soft);
  color: var(--peach-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 200ms ease;
}
.kk-technique-body { flex: 1; min-width: 0; }
.kk-technique-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 3px;
}
.kk-technique-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.kk-technique-desc em {
  font-style: italic;
  color: var(--peach-deep);
}

/* ══ Mid-page reassurance whisper ══ */
.kk-midpage-whisper {
  max-width: 520px;
  margin: 56px auto 0;
  padding: 22px 16px;
  border-top: 1px solid var(--peach);
  border-bottom: 1px solid var(--peach);
  text-align: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ══ Support — tier 1 trust person ══ */
.kk-support-trust {
  padding: 20px 22px;
  background: var(--paper-warm);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  margin-bottom: 16px;
}
.kk-support-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
}
.kk-support-title em { color: var(--peach-deep); }
.kk-support-body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.kk-quoted-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  color: var(--ink);
}

/* ══ Support — tier 2 Fireside ══ */
.kk-fireside {
  position: relative;
  padding: 26px 28px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--eucalyptus);
  border-radius: 0 10px 10px 0;
  margin-bottom: 20px;
  overflow: hidden;
}
.kk-fireside::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 70% at 0% 50%, rgba(42,157,143,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.kk-fireside-mark { position: relative; z-index: 1; margin-bottom: 10px; }
.kk-fireside-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eucalyptus-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kk-fireside-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--eucalyptus);
}
.kk-fireside-org {
  position: relative; z-index: 1;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.kk-fireside-tagline {
  position: relative; z-index: 1;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 440px;
}
.kk-fireside-tagline em {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
}
.kk-fireside-actions {
  position: relative; z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.kk-fireside-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--eucalyptus);
  color: var(--eucalyptus-deep);
  background: transparent;
  transition: all 0.2s ease;
}
.kk-fireside-btn:hover { background: rgba(42,157,143,0.08); }
.kk-fireside-btn-primary {
  background: var(--eucalyptus);
  color: var(--cream);
  border-color: var(--eucalyptus);
}
.kk-fireside-btn-primary:hover {
  background: var(--eucalyptus-deep);
  border-color: var(--eucalyptus-deep);
}
.kk-fireside-btn i { font-size: 1rem; }
.kk-fireside-hours {
  position: relative; z-index: 1;
  font-size: 13px;
  color: var(--ink-muted);
}
.kk-fireside-number {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .kk-fireside { padding: 22px 20px; }
  .kk-fireside-actions { flex-direction: column; }
  .kk-fireside-btn { justify-content: center; }
}

/* ══ Support — tier 3 emergency (calm) ══ */
.kk-emergency {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
}
.kk-emergency strong {
  color: var(--ink);
  font-weight: 600;
}

/* ══ When you're ready — journey closure ══ */
.kk-whenready {
  margin-top: 40px;
  text-align: center;
}
.kk-whenready-line {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ══ Share — pass it along ══ */
.kk-share {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
}
.kk-share-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--peach-deep);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kk-share-label::before,
.kk-share-label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--peach);
}
.kk-share-line {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.kk-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--peach);
  color: var(--peach-deep);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.kk-share-btn:hover {
  background: var(--peach-soft);
  border-color: var(--peach-deep);
}
.kk-share-btn i { font-size: 1rem; }
.kk-share-btn.copied {
  background: var(--peach-soft);
  border-color: var(--peach-deep);
  color: var(--peach-deep);
}

/* ══ Closing mission line ══ */
.kk-closing {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-muted);
  margin-top: 28px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
}
