/* ============================================================
   FUNNELS — /funnels
   The page keeps the house look (white, soft shadows, no outlines).
   INSIDE the product pictures, crisp 1px hairlines (#E9ECF2) and
   10–12px radii are the rule, so the product looks like a product.
   Card colours mean an action: white nothing due, yellow due,
   red waited too long, purple no response. Green only when booked.
   ============================================================ */

.fn-page { color: #1B2A4A; background: #fff; overflow-x: clip; }
.fn-page section { position: relative; padding: 96px 24px; }
.fn-wrap { max-width: 1140px; margin: 0 auto; }
.fn-page p { font-size: 1.08rem; line-height: 1.65; color: #3C4A66; margin: 0 0 18px; }

.fn-eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: #FF6B2B; margin: 0 0 18px;
}
.fn-page h1 { font-size: clamp(2.9rem, 6vw, 4.6rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 22px; }
.fn-page h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 18px; }
.fn-page .sub { font-size: 1.22rem; color: #1B2A4A; max-width: 40ch; }
.fn-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.fn-page .hook-link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.02rem;
  color: #1B2A4A; text-decoration: none; border-bottom: 2px solid rgba(27,42,74,0.18); transition: color 0.2s, border-color 0.2s;
}
.fn-page .hook-link:hover { color: #FF6B2B; border-color: #FF6B2B; }

/* entrances */
.js .fn-in { opacity: 0; transform: translateY(22px); }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.fn-hero { padding-top: 150px !important; padding-bottom: 0 !important; }
.fn-hero-copy { max-width: 640px; }

/* the board sits under the copy, slightly larger than life, running off the right edge */
.fn-stage { position: relative; margin-top: 56px; padding-bottom: 96px; }
.fn-stage .fn-sheet { width: max(100%, min(1200px, calc(100vw - 80px))); }
@media (max-width: 899px) {
  .fn-stage .fn-sheet { width: 100%; }
}

/* ------------------------------------------------------------
   THE BOARD (the product picture)
   ------------------------------------------------------------ */
.fn-sheet {
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(27,42,74,0.12), 0 4px 16px rgba(27,42,74,0.05);
  border: 1px solid #E9ECF2;
  font-size: 0.86rem; line-height: 1.35; color: #1B2A4A;
  overflow: hidden;
}
.fn-top {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #E9ECF2; background: #fff;
}
.fn-picker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #E9ECF2; border-radius: 9px;
  font-weight: 700; font-size: 0.82rem; color: #1B2A4A; background: #fff;
}
.fn-picker svg { width: 12px; height: 12px; stroke: #7A869C; }
.fn-views { display: inline-flex; gap: 4px; margin-left: 4px; }
.fn-views i {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid #E9ECF2; display: inline-flex; align-items: center; justify-content: center; color: #7A869C;
}
.fn-views i.on { background: #F3F5F9; color: #1B2A4A; }
.fn-views svg { width: 14px; height: 14px; }
.fn-actions {
  margin-left: auto; padding: 8px 14px; border-radius: 9px; background: #FF6B2B; color: #fff; font-weight: 800; font-size: 0.8rem;
}
.fn-cols {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 14px 16px 10px; background: #FBFBFD;
  align-items: start;
}
.fn-col { background: #F3F5F9; border-radius: 12px; padding: 8px; min-height: 420px; }
.fn-colhead { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.fn-stage-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid #E9ECF2;
  font-weight: 800; font-size: 0.74rem; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.fn-stage-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #B9C2D3; flex: none; }
.fn-col[data-stage="1"] .fn-stage-pill::before { background: #1B2A4A; }
.fn-col[data-stage="2"] .fn-stage-pill::before { background: #FF6B2B; }
.fn-col[data-stage="3"] .fn-stage-pill::before { background: #F0446B; }
.fn-col[data-stage="4"] .fn-stage-pill::before { background: #16A34A; }
.fn-col[data-stage="5"] .fn-stage-pill::before { background: #7C3AED; }
.fn-count { font-weight: 700; font-size: 0.76rem; color: #7A869C; padding-left: 8px; }

/* a card: white, hairline, a coloured left rule + tint + pill when an action is owed */
.fn-card {
  position: relative; display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto auto; column-gap: 10px; row-gap: 5px;
  align-items: center; padding: 10px 10px 10px 13px; margin-bottom: 8px;
  background: #fff; border: 1px solid #E9ECF2; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(27,42,74,0.04);
  --c: transparent;
}
.fn-card::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; border-radius: 12px 0 0 12px; background: var(--c); }
.fn-card.y { --c: #F5B81C; background: #FFF6DC; border-color: #F3E3AE; }
.fn-card.r { --c: #E5484D; background: #FFECEC; border-color: #F5C4C6; }
.fn-card.p { --c: #7C3AED; background: #F3EDFF; border-color: #DDD0F7; }
.fn-av {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.66rem; font-weight: 800; color: #fff; background: #1B2A4A; grid-row: 1 / span 3; align-self: start;
}
.fn-av.a2 { background: #2D4A8A; } .fn-av.a3 { background: #FF6B2B; } .fn-av.a4 { background: #7C3AED; } .fn-av.a5 { background: #14B8A6; } .fn-av.a6 { background: #F0446B; }
.fn-name { font-weight: 800; font-size: 0.84rem; color: #1B2A4A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fn-icons { display: inline-flex; gap: 6px; color: #9AA5B8; }
.fn-icons svg { width: 14px; height: 14px; }
.fn-phone { grid-column: 2 / span 2; font-size: 0.76rem; font-weight: 500; color: #5F6B80; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; white-space: nowrap; }
.fn-pill {
  grid-column: 2 / span 2; justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px;
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap;
  color: #5F6B80; background: #F3F5F9;
}
.fn-pill svg { width: 11px; height: 11px; }
.fn-card.y .fn-pill { color: #8A6200; background: rgba(245,184,28,0.22); }
.fn-card.r .fn-pill { color: #B3262B; background: rgba(229,72,77,0.14); }
.fn-card.p .fn-pill { color: #5B2FB8; background: rgba(124,58,237,0.13); }
.fn-card.g .fn-pill { color: #15803D; background: rgba(22,163,74,0.14); }

.fn-foot { display: flex; gap: 8px; padding: 10px 16px 14px; background: #FBFBFD; border-top: 1px solid #E9ECF2; }
.fn-chip {
  padding: 7px 14px; border-radius: 9px; border: 1px solid #E9ECF2; background: #fff; font-weight: 700; font-size: 0.78rem; color: #1B2A4A;
}
.fn-chip.lost { color: #B3262B; border-color: #F5C4C6; }
.fn-chip.won { color: #15803D; border-color: #BFE6CB; }
.fn-chip.last { margin-left: auto; color: #5F6B80; }

/* the colour key under the board */
.fn-key { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 0.9rem; font-weight: 600; color: #5F6B80; }
.fn-key span { display: inline-flex; align-items: center; gap: 9px; }
.fn-key i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #E9ECF2; background: #fff; }
.fn-key i.y { background: #F5B81C; border-color: #F5B81C; }
.fn-key i.r { background: #E5484D; border-color: #E5484D; }
.fn-key i.p { background: #7C3AED; border-color: #7C3AED; }
.fn-swipe { font-size: 0.8rem; font-weight: 700; color: #7A869C; margin: 10px 0 0; }

.fn-key b { color: #1B2A4A; font-weight: 800; }
.fn-above { font-size: 1.12rem; font-weight: 700; color: #1B2A4A; margin: 0 0 18px; }

/* ------------------------------------------------------------
   THE STORY BENEATH: bands, splits, display lines
   ------------------------------------------------------------ */
.fn-cream { background: #F8F6F0; }
.js .fn-snap { opacity: 0; transform: translateY(26px); }
.fn-split { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.fn-copy { max-width: 560px; }
.fn-copy h2 { max-width: 16ch; }
.fn-page .fn-hinge {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; color: #1B2A4A;
  margin: 40px 0 0;
}
.fn-page .fn-hinge.small { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 30px; }

/* photo boxes (the owner's photos go in here) */
.fn-fig { margin: 0; }
.fn-fig-box {
  aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 80px rgba(27,42,74,0.12), 0 4px 16px rgba(27,42,74,0.05);
}
.fn-fig-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fn-fig-box.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: transparent; box-shadow: none; border: 2px dashed rgba(255,107,43,0.55);
}
.fn-fig-box.placeholder span { font-size: 0.9rem; font-weight: 700; color: #FF6B2B; max-width: 28ch; }

/* a product picture smaller than the board: same language, same hairlines */
.fn-mini {
  position: relative; background: #fff; border-radius: 20px; border: 1px solid #E9ECF2; overflow: hidden;
  box-shadow: 0 30px 80px rgba(27,42,74,0.12), 0 4px 16px rgba(27,42,74,0.05);
  font-size: 0.86rem; line-height: 1.35; color: #1B2A4A;
}
.fn-mini-pad { padding: 18px; }

/* 5 high intent: the activity feed above a crop of the first column */
.fn-feed { padding: 14px 16px 12px; border-bottom: 1px solid #E9ECF2; }
.fn-feed-head { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #7A869C; margin-bottom: 10px; }
.fn-feed-head .live { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }
.fn-feed-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-size: 0.82rem; color: #3C4A66; }
.fn-feed-row + .fn-feed-row { border-top: 1px solid #F0F2F7; }
.fn-feed-row svg { width: 16px; height: 16px; color: #FF6B2B; }
.fn-feed-row b { color: #1B2A4A; font-weight: 800; }
.fn-feed-row time { font-size: 0.72rem; font-weight: 600; color: #7A869C; white-space: nowrap; }
.fn-feed-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,107,43,0.12); color: #D14F12; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.fn-feed-tag svg { width: 12px; height: 12px; }
.fn-col.crop { border-radius: 0; background: #F3F5F9; padding: 12px 14px 6px; min-height: 0; }
.fn-slot { overflow: hidden; }
.js .fn-slot { height: 0; }
#dropCard { margin-bottom: 8px; }

/* 6 the opened card */
.fn-auto { padding: 14px 16px 10px; background: #FBFBFD; border-bottom: 1px solid #E9ECF2; }
.fn-auto-row { display: grid; grid-template-columns: 16px 1fr; column-gap: 10px; row-gap: 2px; padding: 6px 0; font-size: 0.74rem; color: #7A869C; }
.fn-auto-row svg { width: 14px; height: 14px; color: #9AA5B8; grid-row: 1 / span 2; margin-top: 2px; }
.fn-auto-row b { font-weight: 800; color: #5F6B80; }
.fn-auto-row em { font-style: normal; color: #5F6B80; }
.fn-open { padding: 16px; background: #fff; }
.fn-open-head { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #E9ECF2; }
.fn-open-head .fn-av { width: 36px; height: 36px; font-size: 0.74rem; grid-row: auto; }
.fn-open-name { font-weight: 800; font-size: 0.98rem; display: flex; flex-direction: column; gap: 2px; }
.fn-open-name small { font-weight: 500; font-size: 0.74rem; color: #5F6B80; font-variant-numeric: tabular-nums; }
.fn-pill.y { color: #8A6200; background: rgba(245,184,28,0.22); grid-column: auto; }
.fn-open-body { padding: 12px 0; }
.fn-open-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.86rem; color: #3C4A66; }
.fn-open-row svg { width: 16px; height: 16px; color: #7C3AED; flex: none; }
.fn-open-row b { color: #1B2A4A; font-weight: 800; }
.fn-open-actions { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid #E9ECF2; }
.fn-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; border: 1px solid #E9ECF2;
  background: #fff; font-weight: 800; font-size: 0.8rem; color: #1B2A4A;
}
.fn-btn svg { width: 13px; height: 13px; }
.fn-btn.call { background: #FF6B2B; border-color: #FF6B2B; color: #fff; }
.fn-btn.qr { color: #5F6B80; }
.fn-btn.send { background: #2A7CE8; border-color: #2A7CE8; color: #fff; margin-top: 12px; }

/* 7 proof */
.fn-proof {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
  background: #fff; border-radius: 24px; padding: 36px 28px;
  box-shadow: 0 30px 80px rgba(27,42,74,0.12), 0 4px 16px rgba(27,42,74,0.05);
}
.fn-page .fn-proof-num { font-size: clamp(4.2rem, 9vw, 6.4rem); line-height: 0.95; font-weight: 800; letter-spacing: -0.04em; color: #FF6B2B; margin: 0; font-variant-numeric: tabular-nums; }
.fn-page .fn-proof-lbl { font-size: 1.3rem; font-weight: 800; color: #1B2A4A; margin: 6px 0 18px; line-height: 1.25; }
.fn-video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #1B2A4A; cursor: pointer;
  box-shadow: 0 16px 40px rgba(27,42,74,0.18);
}
.fn-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.fn-video:hover img { transform: scale(1.03); }
.fn-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fn-play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #FF6B2B, #7C3AED); box-shadow: 0 10px 30px rgba(124,58,237,0.4);
  transition: transform 0.25s ease;
}
.fn-play svg { width: 30px; height: 30px; margin-left: 3px; }
.fn-video:hover .fn-play { transform: scale(1.08); }
.fn-video-cap { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 800; font-size: 0.86rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.fn-video.playing .fn-play, .fn-video.playing .fn-video-cap { display: none; }

/* 8 built in */
.fn-built { display: grid; grid-template-columns: 1fr; gap: 24px; }
.fn-built-card {
  background: #fff; border-radius: 24px; padding: 22px;
  box-shadow: 0 30px 80px rgba(27,42,74,0.12), 0 4px 16px rgba(27,42,74,0.05);
}
.fn-built-card .fn-mini { box-shadow: none; background: #FBFBFD; margin-bottom: 20px; min-height: 224px; display: flex; flex-direction: column; justify-content: center; }
.fn-mini-foot .fn-chip { white-space: nowrap; padding: 7px 11px; font-size: 0.74rem; }
.fn-page .fn-built-card p { font-size: 1rem; margin: 0; }
.fn-built-card b { color: #1B2A4A; font-weight: 800; }
.fn-picker.open svg { transform: rotate(180deg); }
.fn-menu { list-style: none; margin: 8px 0 0; padding: 6px; background: #fff; border: 1px solid #E9ECF2; border-radius: 10px; box-shadow: 0 10px 30px rgba(27,42,74,0.10); max-width: 240px; }
.fn-menu li { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 7px; font-weight: 700; font-size: 0.82rem; color: #3C4A66; }
.fn-menu li.on { background: #F3F5F9; color: #1B2A4A; }
.fn-menu li svg { width: 14px; height: 14px; color: #16A34A; }
.fn-qr-head { display: flex; align-items: center; gap: 7px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #FF6B2B; margin-bottom: 10px; }
.fn-qr-head svg { width: 13px; height: 13px; }
.fn-page .fn-qr-text { font-size: 0.9rem; line-height: 1.5; color: #1B2A4A; margin: 0; padding: 12px 14px; background: #fff; border: 1px solid #E9ECF2; border-radius: 12px; }
.fn-qr-text mark { background: rgba(124,58,237,0.14); color: #5B2FB8; font-weight: 800; border-radius: 4px; padding: 0 4px; }
.fn-mini-foot { display: flex; align-items: center; min-height: 148px; }
.fn-mini-foot .fn-foot { width: 100%; border: 1px solid #E9ECF2; border-radius: 12px; background: #fff; }
.fn-chip.won.lit { display: inline-flex; align-items: center; gap: 6px; background: #16A34A; border-color: #16A34A; color: #fff; box-shadow: 0 6px 18px rgba(22,163,74,0.35); }
.fn-chip.won.lit svg { width: 12px; height: 12px; }

/* 10 faq */
.fn-faq { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
.fn-faq-card {
  background: #fff; border-radius: 24px; padding: 28px;
  box-shadow: 0 30px 80px rgba(27,42,74,0.12), 0 4px 16px rgba(27,42,74,0.05);
}
.fn-faq-card h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.fn-page .fn-faq-card p { margin: 0; font-size: 1rem; }

/* 11 close */
.fn-close { background: linear-gradient(180deg, #16223D, #1B2A4A); color: #fff; text-align: center; padding: 120px 24px !important; }
.fn-close h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; }
.fn-page .fn-close-sub { color: rgba(255,255,255,0.78); font-size: 1.22rem; margin: 0; }
.fn-close .fn-ctas { justify-content: center; margin-top: 34px; }

/* wide screens */
@media (min-width: 900px) {
  .fn-split { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
  .fn-split.rev .fn-copy { order: 2; }
  .fn-split.rev .fn-pic { order: 1; }
  .fn-proof { grid-template-columns: 1fr 1.1fr; gap: 44px; padding: 44px; }
  .fn-built { grid-template-columns: repeat(3, 1fr); }
  .fn-faq { grid-template-columns: 1fr 1fr; }
  .fn-swipe { display: none; }
}

/* phones: the board keeps its shape and scrolls sideways inside its sheet */
@media (max-width: 899px) {
  .fn-page section { padding: 72px 20px; }
  .fn-hero { padding-top: 110px !important; }
  .fn-stage { margin-top: 40px; padding-bottom: 72px; }
  .fn-sheet { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fn-top, .fn-cols, .fn-foot { min-width: 1060px; }
  .fn-col { min-height: 0; }
  .fn-mini-foot .fn-foot { min-width: 0; flex-wrap: wrap; }
  .fn-close { padding: 90px 20px !important; }
}
