/* ──────────────────────────────────────────────────────────────────────────
   FlowNest — minimal monochrome design system (Apple-inspired)
   White / black / soft grays, one quiet blue for text links.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;
  --ink:       #1d1d1f;
  --ink-2:     #6e6e73;
  --ink-3:     #86868b;
  --line:      #e8e8ed;
  --black:     #0a0a0c;
  --white:     #ffffff;
  --link:      #0066cc;

  --error:        #c0392b;
  --error-soft:   #fdf0ee;
  --success:      #1d7a46;
  --success-soft: #eef7f1;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 14px 44px rgba(0, 0, 0, 0.10);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-title { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; }
.section-title.centered, .section-sub.centered { text-align: center; }
.section-sub { color: var(--ink-2); max-width: 68ch; margin: 0 auto 18px; font-size: 18px; }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.eyebrow.centered { display: table; margin-left: auto; margin-right: auto; }

.text-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}
.text-link:hover { text-decoration: underline; }

/* ── Reveal-on-scroll ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #0a0a0c 0%, #3a3a40 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.30); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: #c8c8cf;
}
.btn-outline:hover { border-color: var(--ink); background: var(--white); }

.btn-link {
  background: transparent;
  color: var(--link);
  padding-left: 8px;
  padding-right: 8px;
}
.btn-link:hover { text-decoration: underline; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0a0a0c, #45454d);
  color: var(--white);
  font-weight: 800;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-sub { font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: #2a2a30; color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 92px 0 84px;
  background: linear-gradient(180deg, #fafafc 0%, var(--bg) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); margin-bottom: 22px; }
.grad-text {
  background: linear-gradient(95deg, #1d1d1f 10%, #8e8e93 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 56ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-reassure { font-size: 14px; color: var(--ink-3); }

/* ── Window / mockup chrome ──────────────────────────────────────────────── */
.window {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafafc;
}
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #d6d6dd; }
.window-title { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.window-body { padding: 20px; }

/* Chat mock */
.chat-body { display: flex; flex-direction: column; gap: 10px; }
.chat-bubble {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.chat-bubble.bot {
  background: var(--bg-alt);
  color: var(--ink);
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--black);
  color: var(--white);
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}
.chat-caption { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); text-align: center; font-style: italic; }

/* ── Feature band ────────────────────────────────────────────────────────── */
.feature-band { background: var(--black); color: var(--white); padding: 26px 0; }
.band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.band-item { display: flex; flex-direction: column; gap: 2px; }
.band-item strong { font-size: 15.5px; }
.band-item span { font-size: 13.5px; color: #a9a9b0; }

/* ── How it works ────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.step {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.step h3 { font-size: 20px; }
.step p { color: var(--ink-2); font-size: 15px; flex-grow: 1; }

.how-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.how-cta-note { font-size: 13.5px; color: var(--ink-3); }

/* ── Showcase carousel ───────────────────────────────────────────────────── */
.carousel { margin-top: 48px; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}
.carousel-slide { flex: 0 0 100%; min-width: 100%; padding: 4px; }
.slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.slide-quote { display: flex; flex-direction: column; gap: 14px; }
.slide-quote blockquote { font-size: 19px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.stars { color: var(--ink); letter-spacing: 3px; font-size: 15px; }

.slide-quote figcaption,
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a30, #6e6e73);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
figcaption strong { display: block; font-size: 15px; }
figcaption em { display: block; font-style: normal; font-size: 13.5px; color: var(--ink-3); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #c8c8cf;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.carousel-btn:hover { border-color: var(--ink); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #c8c8cf;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active { background: var(--black); transform: scale(1.25); }

/* ── Mockup internals ────────────────────────────────────────────────────── */
.mockup .window-body { padding: 18px; }
.mk-toolbar {
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 14px;
}
.mk-toolbar b { color: var(--ink); }
.mk-title { font-weight: 700; font-size: 15px; }
.mk-sub { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.mk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.mk-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mk-badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #2a2a30;
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mk-badge.lg { width: 38px; height: 38px; border-radius: 10px; font-size: 13px; }
.mk-sender { font-weight: 700; white-space: nowrap; }
.mk-subject { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-grow: 1; }
.mk-time { color: var(--ink-3); font-size: 12px; flex-shrink: 0; }
.mk-actions { display: flex; gap: 8px; margin-top: 14px; }
.mk-btn {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--white);
}
.mk-btn.danger { color: #b3402f; border-color: #ecc8c1; background: #fdf4f2; }
.mk-btn.warn { color: #8a6d1a; border-color: #e7dcb4; background: #fbf7e9; }

.mk-mail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mk-mail-head strong { font-size: 14.5px; display: block; }
.mk-mail-head > div { flex-grow: 1; }
.mk-mail-sub { font-size: 12.5px; color: var(--ink-2); display: block; }
.mk-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid #c8c8cf;
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 10px;
}
.mk-snippet { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.mk-ai-note {
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg-alt);
  border-radius: 9px;
  padding: 9px 12px;
  margin-bottom: 12px;
}
.mk-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.mk-drafts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.mk-draft {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
  background: #fafafc;
  font-size: 12.5px;
}
.mk-draft strong { font-size: 13px; }
.mk-draft p { color: var(--ink-2); margin-top: 5px; }
.mk-draft-key {
  display: inline-flex;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-right: 7px;
}
.mk-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--white);
}

.mk-feature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.mk-feature:last-child { border-bottom: none; }
.mk-feature strong { font-size: 14px; }
.mk-feature span { font-size: 12.5px; color: var(--ink-2); }

/* Airtable-style CRM mock */
.crm-table { font-size: 12.5px; }
.crm-head, .crm-row {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.55fr 1.1fr;
  gap: 8px;
  align-items: center;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
}
.crm-head {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.crm-client { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.crm-client .mk-badge { width: 24px; height: 24px; font-size: 9.5px; }
.crm-row > span:not(.crm-client):not(.crm-pill) { color: var(--ink-2); }
.crm-pill {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  text-align: center;
  background: var(--bg-alt);
  color: var(--ink-2);
}
.crm-pill.quoted { background: var(--white); border: 1px solid #c8c8cf; }
.crm-pill.booked { background: var(--black); color: var(--white); }
.crm-pill.paid { background: var(--success-soft); color: var(--success); }
.crm-foot { padding-top: 11px; font-size: 12px; color: var(--ink-3); }

/* ── Services ────────────────────────────────────────────────────────────── */
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 44px;
  margin-top: 36px;
}
.service-head h3 { font-size: 26px; }
.service-tagline { color: var(--ink-2); font-weight: 500; font-size: 16px; margin: 6px 0 14px; }
.service-body { color: var(--ink-2); max-width: 80ch; margin-bottom: 18px; }

.service-deliverables {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 26px;
  margin-bottom: 32px;
}
.service-deliverables li { position: relative; padding-left: 28px; font-size: 15px; }
.service-deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  background: #fafafc;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #c8c8cf; }
.tier-featured { border-color: var(--black); background: var(--white); box-shadow: var(--shadow-soft); }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h4 { font-size: 19px; }
.tier-desc { font-size: 13.5px; color: var(--ink-3); margin: 3px 0 14px; }
.tier-price { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.tier-terms { font-size: 12.5px; color: var(--ink-3); margin: 7px 0 16px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex-grow: 1; }
.tier ul li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.tier ul li::before { content: "·"; position: absolute; left: 4px; color: var(--ink); font-weight: 800; }
.tier .btn { width: 100%; }

.student-note {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  background: var(--bg-alt);
  border-radius: 11px;
  padding: 13px 18px;
}

.services-footnote {
  margin-top: 36px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px 30px;
}
.services-footnote p { color: var(--ink-2); font-size: 15px; }

/* ── Testimonials grid ───────────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-shadow: var(--shadow-soft);
}
.testimonial blockquote { font-size: 15px; color: var(--ink); line-height: 1.6; flex-grow: 1; }

/* ── Discovery form ──────────────────────────────────────────────────────── */
.discovery-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.discovery-copy p { color: var(--ink-2); margin-bottom: 20px; }
.discovery-promises { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.discovery-promises li {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.intake-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.req { color: var(--ink-3); }
.optional { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: #fafafc;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.08);
  background: var(--white);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--error);
  background: var(--error-soft);
}
.field-error { display: none; color: var(--error); font-size: 13px; font-weight: 600; }
.form-field.has-error .field-error { display: block; }

.btn-submit { width: 100%; padding: 15px; font-size: 16px; }
.btn-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }
.btn-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: none;
  border-radius: var(--radius);
  padding: 15px 19px;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.5;
}
.form-status.success { display: block; background: var(--success-soft); color: var(--success); border: 1px solid #bcdcc8; }
.form-status.error { display: block; background: var(--error-soft); color: var(--error); border: 1px solid #ecc8c1; }

/* ── Written vs call-me mode toggle ──────────────────────────────────────── */
.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 6px;
}
.mode-btn {
  border: none;
  border-radius: 9px;
  padding: 11px 12px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.mode-btn.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.mode-hint { font-size: 13px; color: var(--ink-2); line-height: 1.55; }

/* ── Rich success panel ──────────────────────────────────────────────────── */
.form-status .fs-head { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.form-status .fs-sub { font-weight: 600; margin: 12px 0 6px; }
.form-status .fs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 4px;
}
.form-status .fs-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 500;
  font-size: 14px;
}
.form-status .fs-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-status .fs-call {
  margin-top: 12px;
  background: var(--white);
  border-radius: 10px;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 14px;
}
.callback-box {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #bcdcc8;
  border-radius: 12px;
  padding: 15px 17px;
}
.callback-box p { font-size: 14px; font-weight: 500; margin-bottom: 10px; color: var(--success); }
.callback-row { display: flex; gap: 10px; flex-wrap: wrap; }
.callback-row input {
  flex: 1 1 180px;
  font-family: var(--font);
  font-size: 14.5px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
}
.callback-row input:focus { outline: none; border-color: var(--ink); }
.callback-row input.cb-error { border-color: var(--error); }
.callback-row .btn { padding: 10px 18px; font-size: 14px; }

/* ── Budget planner mock ─────────────────────────────────────────────────── */
.bud-income {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--bg-alt);
  border-radius: 11px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.bud-income span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.bud-income strong { font-size: 16px; letter-spacing: -0.02em; }
.bud-row {
  display: grid;
  grid-template-columns: 118px 1fr 52px;
  gap: 10px;
  align-items: center;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.bud-row > span:first-child { color: var(--ink-2); font-weight: 600; }
.bud-row b { text-align: right; font-size: 12.5px; }
.bud-bar {
  display: block;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 99px;
  overflow: hidden;
}
.bud-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0a0a0c, #5a5a62);
  border-radius: 99px;
}
.bud-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 13px;
}
.bud-foot strong { font-size: 22px; letter-spacing: -0.03em; display: block; }
.bud-foot span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.bud-right { text-align: right; }

/* ── Grocery finder mock ─────────────────────────────────────────────────── */
.gro-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
}
.gro-row > div:not(.gro-right) { flex-grow: 1; }
.gro-row strong { display: block; font-size: 13.5px; }
.gro-row > div span { font-size: 12px; color: var(--ink-2); }
.gro-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gro-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.gro-right b { font-size: 12.5px; }

/* ── Grocery delivery comparison mock ────────────────────────────────────── */
.del-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.del-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  background: #fafafc;
}
.del-card strong { font-size: 13.5px; display: block; margin-bottom: 3px; }
.del-card p { font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.bud-lock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  border-radius: 11px;
  padding: 11px 15px;
}
.bud-lock span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #a9a9b0; }
.bud-lock b { font-size: 13px; }

/* ── Address finder mock ─────────────────────────────────────────────────── */
.addr-input {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
  color: var(--ink-2);
  background: #fafafc;
  margin-bottom: 9px;
}
.addr-chips { display: flex; gap: 7px; margin-bottom: 9px; }
.addr-chip {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 13px;
  color: var(--ink-2);
}
.addr-chip.active { background: var(--black); border-color: var(--black); color: var(--white); }
.addr-btn {
  background: var(--black);
  color: var(--white);
  border-radius: 10px;
  padding: 11px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.addr-tip {
  position: relative;
  padding: 7px 2px 7px 24px;
  font-size: 12.5px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.addr-tip:last-child { border-bottom: none; }
.addr-tip::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Payment page ────────────────────────────────────────────────────────── */
.pay-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.pay-info { display: flex; flex-direction: column; gap: 20px; }
.pay-step { display: flex; gap: 14px; align-items: flex-start; }
.pay-step .step-num { flex-shrink: 0; }
.pay-step strong { display: block; font-size: 16px; margin-bottom: 3px; }
.pay-step span { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.pay-promise {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.pay-note { font-size: 12.5px; color: var(--ink-3); }
.interac-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
}
.interac-box p { margin-bottom: 8px; }
.interac-box ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.interac-box .interac-mail { color: var(--ink); }
.interac-box li span { font-size: 12.5px; color: var(--ink-3); }
#card-fields, #interac-fields { display: flex; flex-direction: column; gap: 20px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 60px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-tag { font-size: 14px; color: var(--ink-2); max-width: 38ch; margin-bottom: 12px; }
.footer-mail { font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.footer-mail:hover { text-decoration: underline; }

.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: var(--ink-3); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--ink); }

/* ── Inner pages (about / careers / legal) ───────────────────────────────── */
.page-hero { padding: 76px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.page-hero p { color: var(--ink-2); font-size: 18px; max-width: 64ch; margin: 0 auto; }
.page-body { padding: 30px 0 96px; }
.page-body .narrow { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.page-body h2 { font-size: 24px; margin-top: 22px; }
.page-body p, .page-body li { color: var(--ink-2); font-size: 16px; }
.page-body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.value-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.value-card h3 { font-size: 17px; margin-bottom: 7px; }
.value-card p { font-size: 14.5px; }

.job-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-card h3 { font-size: 19px; }
.job-meta { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.job-card .btn { align-self: flex-start; margin-top: 6px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .band-inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .slide-grid { grid-template-columns: 1fr; gap: 26px; }
  .tiers { grid-template-columns: 1fr; }
  .tier-featured { order: -1; }
  .service-deliverables { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .discovery-inner { grid-template-columns: 1fr; gap: 40px; }
  .pay-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 10px 24px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; font-size: 16px; }
  .site-nav .nav-cta { text-align: center; margin-top: 8px; }

  .hero { padding: 56px 0 48px; }
  .band-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .service { padding: 28px 22px; }
  .intake-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .mk-drafts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Project tracking (track.html) ───────────────────────────────────────── */
.track-form { max-width: 560px; margin: 0 auto 28px; }
.track-input-row { display: flex; gap: 10px; }
.track-input-row input { flex: 1; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.track-input-row .btn { white-space: nowrap; }

.track-help {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.tracking-id-box {
  background: var(--bg-alt);
  border: 1px dashed #c8c8cf;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.6;
}
.tracking-id-box .tracking-id { font-size: 17px; letter-spacing: 1.5px; }
.tracking-id-box span { font-size: 13px; color: var(--ink-2); }

.track-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
  padding: 26px 28px;
  margin-top: 8px;
}
.track-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.track-name { font-size: 20px; font-weight: 700; margin: 0; }
.track-meta-line { font-size: 13px; color: var(--ink-2); margin: 4px 0 0; }
.track-stage-badge {
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.track-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-bottom: 16px;
}
.track-meta-grid > div { display: flex; flex-direction: column; gap: 2px; }
.track-meta-grid span { font-size: 12px; color: var(--ink-2); }
.track-meta-grid b { font-size: 14px; }

.track-pace {
  font-size: 14px;
  line-height: 1.6;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 20px;
}
.pace-ontrack { background: #eef7ee; color: #1d5c2c; }
.pace-late { background: #fdf0ef; color: #b3261e; }
.pace-pending { background: var(--bg-alt); color: var(--ink-2); }
.pace-done { background: #eef7ee; color: #1d5c2c; font-weight: 600; }

.track-timeline { list-style: none; margin: 0 0 6px; padding: 0; }
.track-timeline li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 22px 0;
}
.track-timeline li:last-child { padding-bottom: 0; }
.track-timeline li::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.track-timeline li:last-child::before { display: none; }
.tl-dot {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 2px;
  border: 2px solid #c8c8cf;
  background: var(--white);
  z-index: 1;
}
.track-timeline li.done .tl-dot { background: var(--ink); border-color: var(--ink); }
.track-timeline li.current .tl-dot {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}
.tl-label { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.track-timeline li.done .tl-label { color: var(--ink); }
.track-timeline li.current .tl-label { color: var(--ink); font-weight: 700; }
.tl-label em { font-style: normal; font-size: 12px; color: var(--ink-2); font-weight: 600; }

.track-expedite {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 18px;
}
.track-expedite a { color: var(--link); font-weight: 600; }

@media (max-width: 640px) {
  .track-input-row { flex-direction: column; }
  .track-meta-grid { grid-template-columns: 1fr; }
  .track-head { flex-direction: column; }
}


/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq .container.narrow { max-width: 760px; }
.faq-list { margin-top: 36px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.faq-item[open] { box-shadow: var(--shadow-soft); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
}
.faq-item p b { color: var(--ink); }

/* ── Tracking: deliverable preview & feedback ────────────────────────────── */
.track-deliverable {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 18px 0;
}
.track-deliverable b { color: var(--ink); }
.track-feedback { margin: 18px 0 4px; }
.track-feedback label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.track-feedback label b { color: var(--ink); }
.track-feedback textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  font-family: var(--font);
  font-size: 14.5px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  color: var(--ink);
}
.track-feedback textarea:focus { outline: none; border-color: var(--ink); }
.track-feedback-status { font-size: 13.5px; font-weight: 600; margin-top: 10px; }
.track-feedback-status.ok { color: var(--success); }
.track-feedback-status.err { color: var(--error); }

/* ── Footer social icons ─────────────────────────────────────────────────── */
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }

/* ── Disqualified project ────────────────────────────────────────────────── */
.track-stage-badge.dq-badge { background: var(--ink-3); }
.track-disqualified .track-head { margin-bottom: 18px; }

/* ── Nav: professional polish + active section highlight ─────────────────── */
.site-nav a:not(.nav-cta) {
  position: relative;
  padding: 6px 2px;
  letter-spacing: 0.01em;
}
.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.site-nav a.active { color: var(--ink); font-weight: 600; }
.site-nav a.active::after { transform: scaleX(1); }

/* ── Site chat widget (monochrome) ───────────────────────────────────────── */
.fn-chat { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.fn-chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #0a0a0c 0%, #3a3a40 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fn-chat-toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34); }
.fn-chat .fn-ic-close { display: none; }
.fn-chat.open .fn-ic-open { display: none; }
.fn-chat.open .fn-ic-close { display: block; }

.fn-chat-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 360px;
  max-height: min(540px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.fn-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafafc;
}
.fn-chat-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0a0a0c, #45454d);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fn-chat-title { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.2; }
.fn-chat-sub { font-size: 11.5px; color: var(--ink-3); margin: 2px 0 0; }

.fn-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.fn-chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-chat-chips button {
  border: 1px solid #c8c8cf;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fn-chat-chips button:hover { border-color: var(--ink); background: var(--bg-alt); }

.fn-chat-typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.fn-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: fn-bounce 1.2s infinite;
}
.fn-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.fn-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes fn-bounce { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.fn-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.fn-chat-form input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
}
.fn-chat-form input:focus { outline: none; border-color: var(--ink); }
.fn-chat-form button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.fn-chat-form button:hover { background: #2a2a30; }

@media (max-width: 480px) {
  .fn-chat { right: 14px; bottom: 14px; }
  .fn-chat-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 84px;
    width: auto;
    max-height: calc(100vh - 110px);
  }
}
.callback-alt { font-size: 13px; margin-top: 10px; color: var(--ink-2); }

.fn-chat-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.fn-chat-close:hover { color: var(--ink); background: var(--bg-alt); }

/* hidden attribute must always win over display:flex (incl. mobile variant) */
.fn-chat-panel[hidden] { display: none !important; }

/* ── Showcase video clips ────────────────────────────────────────────────── */
.mockup-video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--white);
}
