/* ═════════════════════════════════════════════════════════════════════════
   KAELI v2.1 — Phase 1 production design
   Visual system ported from RentingPilot HomeLanding (cream/coral/ink)
   - Variables match RentingPilot exactly so the design language stays consistent
   - Mobile-first: 375px is the canvas
   - Fraunces (display) + Inter (body)
   ═════════════════════════════════════════════════════════════════════════ */

:root {
  /* RentingPilot tokens — DO NOT change without updating RentingPilot too */
  --ink:        oklch(0.18 0.01 260);
  --ink-2:      oklch(0.36 0.01 260);
  --ink-3:      oklch(0.58 0.01 260);
  --paper:      oklch(0.985 0.005 80);
  --paper-2:    oklch(0.96 0.008 80);
  --line:       oklch(0.9 0.01 80);
  --coral:      oklch(0.74 0.16 30);          /* Slightly softer than RP's main */
  --coral-deep: oklch(0.62 0.18 28);
  --coral-ink:  oklch(0.42 0.16 30);
  --leaf:       oklch(0.62 0.12 150);
  --radius:     18px;
  --radius-lg:  28px;
  --radius-pill:999px;

  /* Kaeli accent — soft warm cream that flows into RP coral */
  --cream:      #FAF6F1;
  --cream-2:    #F4ECE2;
  --peach:      #FDE5DD;
  --shell:      #E8A598;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* RentingPilot serif italic accent */
em, .serif {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 96;
  color: var(--coral-deep);
}

.rp-eyebrow {
  font-family: ui-monospace, 'SF Mono', 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.rp-eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px oklch(0.74 0.16 30 / 0.18);
}

.section-h {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink);
}
.section-h em { font-weight: 400; font-style: italic; color: var(--coral-deep); }

/* ═════════ NAV ═════════ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
  position: relative;
  z-index: 50;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-name { letter-spacing: -0.01em; }
.brand-mark { display: inline-flex; }
.brand-sm .brand-name { font-size: 18px; }

.nav-center {
  display: none;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-center a { text-decoration: none; transition: color .2s; }
.nav-center a:hover { color: var(--coral-deep); }
@media (min-width: 860px) { .nav-center { display: inline-flex; } }

.nav-right { display: inline-flex; gap: 6px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: white;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.lang-btn[aria-pressed="true"] {
  background: var(--ink); color: white; border-color: var(--ink);
}
.lang-btn .fi { width: 16px; height: 12px; border-radius: 2px; }

/* ═════════ HERO ═════════ */
.hero {
  position: relative;
  isolation: isolate;
  padding: 12px 0 56px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 80% at 88% 8%, oklch(0.86 0.10 30 / 0.55), transparent 60%),
    radial-gradient(50% 70% at 12% 90%, oklch(0.85 0.08 40 / 0.5), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.4;
  background-image: radial-gradient(rgba(76,28,15,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

.hero-inner { padding-top: 18px; padding-bottom: 24px; position: relative; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px oklch(0.74 0.16 30 / 0.22);
}

.kicker {
  display: block;
  font-family: ui-monospace, 'SF Mono', 'Geist Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}

/* ═════════ PILL TABS ═════════ */
.pilltabs {
  display: inline-flex;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.6);
  border: 1.5px solid var(--line);
  backdrop-filter: blur(14px);
  position: relative;
  box-shadow: 0 6px 22px oklch(0.74 0.16 30 / 0.10);
  max-width: 100%;
  width: 100%;
  margin-bottom: 22px;
}
.pilltab {
  position: relative;
  z-index: 1;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: color .2s;
  flex: 1;
  justify-content: center;
}
.pilltab[aria-selected="true"] { color: var(--ink); }
.pilltab-pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-3);
  transition: background .2s, box-shadow .2s;
  flex-shrink: 0;
}
.pilltab[aria-selected="true"] .pilltab-pip {
  background: var(--coral);
  box-shadow: 0 0 0 4px oklch(0.74 0.16 30 / 0.25);
}
.pilltabs-thumb {
  position: absolute;
  top: 6px; left: 6px;
  height: calc(100% - 12px);
  background: white;
  border-radius: var(--radius-pill);
  transition: transform .35s cubic-bezier(.6,.1,.2,1), width .35s cubic-bezier(.6,.1,.2,1);
  box-shadow: 0 3px 14px rgba(76,28,15,0.10);
  pointer-events: none;
}
@media (min-width: 720px) {
  .pilltabs { width: auto; }
  .pilltab { flex: 0 0 auto; padding: 14px 26px; font-size: 15.5px; }
}

/* ═════════ CATEGORY CARDS ROW ═════════ */
.cat-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 8px;
  margin-bottom: 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.65);
  border: 1.5px solid var(--line);
  cursor: pointer;
  scroll-snap-align: start;
  transition: all .2s;
  min-width: 92px;
  text-align: center;
  font-family: inherit;
  color: var(--ink-2);
}
.cat-card:hover { background: white; transform: translateY(-1px); }
.cat-card.is-active {
  background: white;
  border-color: var(--coral);
  color: var(--ink);
  box-shadow: 0 8px 24px -8px oklch(0.74 0.16 30 / 0.35);
}
.cat-emoji { font-size: 26px; line-height: 1; }
.cat-label { font-size: 13px; font-weight: 500; }
.cat-soon {
  position: absolute;
  top: 6px; right: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--peach);
  color: var(--coral-deep);
  padding: 2px 6px;
  border-radius: 999px;
  font-family: ui-monospace, monospace;
}
.cat-card.is-active .cat-soon { display: none; }

@media (max-width: 600px) {
  .cat-row { grid-template-columns: repeat(5, 92px); padding-bottom: 4px; }
}

/* ═════════ HERO GRID ═════════ */
.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

.hero-pane h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(38px, 8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero-pane h1 em {
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(100deg, oklch(0.78 0.16 35), oklch(0.62 0.18 28) 60%, oklch(0.5 0.16 350));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}
.hero-pane .sub {
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 26px;
}
.hero-pane .sub strong { color: var(--ink); font-weight: 600; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: oklch(0.18 0.05 30);
  box-shadow: 0 8px 22px oklch(0.74 0.16 30 / 0.35), 0 0 0 1px oklch(0.85 0.15 30 / 0.4) inset;
}
.btn-primary:hover { background: var(--coral-deep); color: white; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,0.7);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: white; border-color: var(--coral); }
.btn-block { width: 100%; }

.trust {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.avatars { display: inline-flex; }
.av {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid white;
  margin-left: -6px;
  background-size: cover; background-position: center;
}
.av:first-child { margin-left: 0; }
.av-1 { background-image: url('https://images.dog.ceo/breeds/cavapoo/doggo2.jpg'); }
.av-2 { background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/Miniature_Schnauzer_salt_%26_pepper_%28cropped%29.jpg/600px-Miniature_Schnauzer_salt_%26_pepper_%28cropped%29.jpg'); }
.av-3 { background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Cockapoo_apricot_standing.jpg/600px-Cockapoo_apricot_standing.jpg'); }

/* Mini waitlist (soon categories) */
.mini-wait {
  display: grid; gap: 10px;
  max-width: 440px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px -8px rgba(76,28,15,0.10);
}
.mini-wait input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 15px;
  background: var(--paper);
}
.mini-wait input:focus { border-color: var(--coral); outline: none; }
.mini-wait .form-hint { margin: 4px 0 0; }

/* Ask box (consumer hero) */
.ask-box {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 18px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 28px -8px oklch(0.74 0.16 30 / 0.18);
  margin-bottom: 14px;
  max-width: 540px;
}
.ask-box:focus-within { border-color: var(--coral); }
.ask-icon { font-size: 18px; }
#ask-input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  background: transparent;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--ink);
  padding: 12px 0;
}
.ask-go {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--coral);
  color: oklch(0.18 0.05 30);
  border: 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .15s, background .2s;
}
.ask-go:hover { background: var(--coral-deep); color: white; transform: translateY(-1px); }

.ask-examples {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
}
.chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.chip:hover { background: white; border-color: var(--coral); color: var(--ink); }

/* ═════════ HERO VISUAL ═════════ */
.hero-visual { display: flex; justify-content: center; }
.visual-pane { width: 100%; max-width: 380px; }

/* Phone mock (Mode A) */
.phone {
  width: 100%;
  aspect-ratio: 9/17;
  max-height: 540px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1a1a1a, #2a2a2a);
  border-radius: 38px;
  padding: 14px;
  box-shadow:
    0 30px 60px -20px rgba(76,28,15,0.35),
    0 0 0 8px rgba(255,255,255,0.4);
  transform: rotate(-2deg);
  position: relative;
  transition: transform .4s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 1;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #FFFAF7;
  border-radius: 26px;
  overflow: hidden;
  padding: 50px 14px 18px;
  display: flex;
  flex-direction: column;
}
.sms-thread { display: flex; flex-direction: column; gap: 8px; }
.sms-meta {
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  font-family: ui-monospace, monospace;
  margin-bottom: 8px;
}
.sms {
  max-width: 80%;
  padding: 9px 13px;
  font-size: 13.5px;
  line-height: 1.4;
  border-radius: 16px;
}
.sms.received {
  align-self: flex-start;
  background: #F0EEEC;
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.sms.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, #007AFF, #0066D6);
  color: white;
  border-bottom-right-radius: 4px;
}
.sms.small { font-size: 12px; padding: 7px 11px; }
.sms-from { display: block; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.sms-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.sms-quick {
  padding: 7px 12px;
  border-radius: 14px;
  background: white;
  border: 1px solid #DCD8D2;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
}
.sms-quick.alt { background: transparent; color: var(--ink-2); }

.visual-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px auto 0;
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--ink-2);
  font-family: ui-monospace, monospace;
  width: fit-content;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); display: inline-block; }
.dot-live {
  background: var(--leaf);
  box-shadow: 0 0 0 0 oklch(0.62 0.12 150 / 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Soon card */
.soon-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 20px 50px -20px rgba(76,28,15,0.18);
}
.soon-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 14px;
}
.soon-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.soon-card h3 span { color: var(--coral-deep); }
.soon-card p { color: var(--ink-2); margin: 0 0 14px; font-size: 14.5px; }
.soon-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  text-align: left;
}
.soon-card li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 24px;
  position: relative;
}
.soon-card li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Kaja preview card (Mode B) */
.kaja-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 20px 50px -20px rgba(76,28,15,0.18);
  display: flex; flex-direction: column; gap: 10px;
}
.kaja-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.kaja-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kaja-head strong { display: block; font-weight: 600; }
.kaja-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-3);
  font-family: ui-monospace, monospace;
}
.kaja-bubble {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}
.kaja-bubble.received { align-self: flex-start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 4px; }
.kaja-bubble.sent { align-self: flex-end; background: var(--ink); color: white; border-bottom-right-radius: 4px; }
.kaja-card .btn { margin-top: 8px; }

/* ═════════ VALUE PROPS ═════════ */
.props { padding: 80px 0; }
.props-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 36px;
}
.prop-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
  transition: transform .25s ease, box-shadow .25s;
}
.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(76,28,15,0.18);
}
.prop-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--peach), oklch(0.86 0.10 30));
  font-size: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.prop-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.prop-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* ═════════ SOCIAL ═════════ */
.social { padding: 60px 0 80px; }
.testimonial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  align-items: center;
  box-shadow: 0 20px 50px -20px rgba(76,28,15,0.10);
}
@media (min-width: 720px) {
  .testimonial { grid-template-columns: 220px 1fr; gap: 32px; padding: 32px; }
}
.t-photo {
  width: 100%; max-width: 220px; aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid white;
  box-shadow: 0 14px 30px -10px rgba(76,28,15,0.18);
}
.t-stars { color: var(--coral); font-size: 16px; margin-bottom: 10px; }
.t-stars-num { color: var(--ink-3); font-size: 13px; margin-left: 6px; font-family: ui-monospace, monospace; }
.testimonial blockquote {
  margin: 0 0 14px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.t-name { font-size: 14px; color: var(--ink-2); }
.t-name strong { color: var(--ink); font-weight: 600; }
.t-pilot {
  margin-left: 10px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--peach);
  color: var(--coral-deep);
  padding: 3px 8px;
  border-radius: 999px;
  font-family: ui-monospace, monospace;
}

/* Salon cards */
.cards {
  margin-top: 28px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.salon-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.salon-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(76,28,15,0.20); }
.salon-photo {
  width: 100%;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-2);
}
.salon-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.salon-row { display: flex; justify-content: space-between; align-items: center; }
.salon-row strong { font-size: 16px; }
.salon-rating {
  font-size: 12.5px;
  color: var(--coral-deep);
  background: var(--peach);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.salon-loc { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }

/* ═════════ HOW ═════════ */
.how { padding: 80px 0; background: var(--paper-2); }
.steps {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}
.steps li {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step-num {
  display: inline-block;
  font-family: ui-monospace, 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.steps h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ═════════ PRICING ═════════ */
.pricing { padding: 80px 0; }
.price-card {
  max-width: 480px;
  margin: 30px auto 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 70px -30px oklch(0.74 0.16 30 / 0.40);
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  border-radius: var(--radius-lg);
  background: radial-gradient(80% 100% at 100% 0%, oklch(0.74 0.16 30 / 0.10), transparent 60%);
}
.price-tag { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 14px; position: relative; }
.price-old { color: var(--ink-3); text-decoration: line-through; font-family: ui-monospace, monospace; font-size: 16px; }
.price-new {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, oklch(0.78 0.16 35), var(--coral-deep));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.price-mo { font-size: 13px; color: var(--ink-3); font-family: ui-monospace, monospace; }
.price-line { color: var(--ink-2); margin: 0 0 4px; font-size: 14.5px; }
.price-line.muted { color: var(--ink-3); font-size: 13px; margin-bottom: 18px; }
.price-feats {
  list-style: none; padding: 0; margin: 0 0 22px;
  text-align: left; display: flex; flex-direction: column; gap: 10px;
}
.price-feats li {
  padding-left: 26px; position: relative;
  font-size: 14.5px; color: var(--ink-2);
}
.price-feats li::before {
  content: '✓';
  position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ═════════ SIGNUP ═════════ */
.signup { padding: 60px 0 90px; }
.signup-card {
  max-width: 540px; margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 30px 70px -30px rgba(76,28,15,0.20);
}
.signup-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.1;
}
.signup-head p { color: var(--ink-2); font-size: 15px; margin: 0 0 22px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.field input, .field select {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s;
}
.field input:focus, .field select:focus { border-color: var(--coral); outline: none; }
.field select { cursor: pointer; }

.form-hint { font-size: 12.5px; color: var(--ink-3); margin: 4px 0 0; text-align: center; }
.form-msg { margin: 6px 0 0; font-size: 13px; text-align: center; min-height: 18px; }
.form-msg.ok { color: var(--leaf); }
.form-msg.err { color: var(--coral-deep); }

/* ═════════ FOOTER ═════════ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
}
.footer-links {
  display: inline-flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--coral-deep); }

/* ═════════ KAJA CHAT WIDGET ═════════ */
.kaja-fab {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  box-shadow: 0 14px 40px -8px oklch(0.62 0.18 28 / 0.55);
  transition: transform .2s;
}
.kaja-fab:hover { transform: translateY(-2px); }
.kaja-fab-icon { font-size: 18px; }
.kaja-fab-pulse {
  position: absolute; inset: 0;
  border-radius: var(--radius-pill);
  background: var(--coral);
  opacity: 0.4;
  animation: kaja-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes kaja-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 600px) {
  .kaja-fab-text { display: none; }
  .kaja-fab { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .kaja-fab-icon { font-size: 22px; }
}

.kaja-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(20,12,8,0.4);
  backdrop-filter: blur(6px);
  display: none;
  align-items: stretch; justify-content: flex-end;
}
.kaja-overlay.is-open { display: flex; }
.kaja-overlay.is-open .kaja-drawer {
  animation: drawerSlide .35s cubic-bezier(.6,.1,.2,1);
}
@keyframes drawerSlide {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.kaja-drawer {
  width: 100%;
  max-width: 460px;
  background: var(--cream);
  display: flex; flex-direction: column;
  height: 100dvh;
  box-shadow: -30px 0 60px -10px rgba(20,12,8,0.30);
}

.kaja-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.kaja-drawer-id { display: flex; align-items: center; gap: 12px; }
.kaja-drawer-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: white;
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.kaja-drawer-id strong { display: block; font-weight: 600; font-size: 15px; }
.kaja-drawer-sub { font-size: 12px; color: var(--ink-3); font-family: ui-monospace, monospace; }
.kaja-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 16px;
  cursor: pointer;
  color: var(--ink-2);
}

.kaja-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.kaja-msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  animation: msgIn .3s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.kaja-msg.received { align-self: flex-start; background: white; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.kaja-msg.sent { align-self: flex-end; background: var(--ink); color: white; border-bottom-right-radius: 4px; }
.kaja-msg.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.kaja-msg.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-3);
  animation: typing 1.2s infinite;
}
.kaja-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.kaja-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Inline gallery in chat */
.kaja-gallery {
  align-self: flex-start;
  width: 100%;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
  animation: msgIn .3s ease;
}
@media (min-width: 380px) { .kaja-gallery { grid-template-columns: repeat(3, 1fr); } }
.kaja-gallery-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  display: flex; flex-direction: column;
  text-align: left;
  transition: all .2s;
  padding: 0;
}
.kaja-gallery-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.kaja-gallery-card .photo {
  width: 100%; aspect-ratio: 1/1;
  background-size: cover; background-position: center;
  background-color: var(--paper-2);
}
.kaja-gallery-card .label {
  padding: 8px 10px;
  font-size: 12.5px; font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.kaja-gallery-card .price {
  padding: 0 10px 10px;
  font-size: 11.5px; color: var(--ink-3);
  font-family: ui-monospace, monospace;
}

/* Time picker */
.kaja-times {
  align-self: flex-start;
  width: 100%;
  display: grid; gap: 6px;
  grid-template-columns: repeat(2, 1fr);
}
.kaja-time-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: white;
  font-size: 13.5px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all .2s;
}
.kaja-time-btn:hover { border-color: var(--coral); background: var(--peach); }

.kaja-input-row {
  display: flex; align-items: center; gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: white;
}
#kaja-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
#kaja-input:focus { border-color: var(--coral); outline: none; }
.kaja-send {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: oklch(0.18 0.05 30);
  border: 0;
  font-size: 18px; font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.kaja-send:hover { background: var(--coral-deep); color: white; transform: translateY(-1px); }
.kaja-photo-link {
  display: block;
  width: 100%;
  padding: 8px 12px 14px;
  border: 0;
  background: white;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--ink-3);
  cursor: pointer;
  text-align: center;
  border-top: 1px solid var(--line);
}
.kaja-photo-link:hover { color: var(--coral-deep); }

/* ═════════ MOBILE TWEAKS ═════════ */
@media (max-width: 600px) {
  .nav { padding: 14px 16px; }
  .container { padding: 0 16px; }
  .hero { padding-bottom: 32px; }
  .hero-pane h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-grid { gap: 24px; }
  .props, .social, .how, .pricing, .signup { padding: 50px 0; }
  .testimonial { padding: 18px; }
  .price-card { padding: 26px 20px; }
  .signup-card { padding: 24px 20px; }
  .ask-box { padding: 6px 6px 6px 14px; }
  .kaja-drawer { max-width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
