/*
 * furti.app/features (resources/views/landing/features.blade.php). Loaded after style.css, which gives the fonts,
 * colours (--brand-600, --ink...), .wrap, buttons, menu and footer. Everything here starts with "fp-" (features
 * page), so nothing on the sales page changes. Designed in docs/workbench/website.pen, Row 1b.
 */

/* The page's icons (landing.partials.feature-icons): drawn in the colour of the text around them. */
.fi { display: inline-block; flex: none; width: 20px; height: 20px; }

/* The menu marks the page you are on. */
.nav a.on { color: var(--brand-700); font-weight: 600; }

/* ---------- 1. Top: the promise and what you get ---------- */
.fp-hero { background: var(--brand-50); padding: 64px 0 56px; }
.fp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 64px; }
.fp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--brand-200);
  color: var(--brand-700); font-size: 14px; font-weight: 600; line-height: 1.6;
}
.fp-eyebrow .fi { width: 16px; height: 16px; color: var(--brand-600); }
.fp-hero h1 { margin-top: 20px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -.01em; }
.fp-hero-sub { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.fp-hero .hero-ctas { margin-top: 28px; }
.fp-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.fp-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.fp-ticks .fi { width: 16px; height: 16px; color: var(--green-600); }

/* The "receipt": 8 groups, each Free, and the total */
.fp-receipt {
  background: #fff; border: 1px solid var(--brand-200); border-radius: 16px; padding: 28px;
  box-shadow: 0 12px 32px rgb(244 81 11 / .12);
}
.fp-receipt h2 { font-size: 18px; }
.fp-receipt ul { margin-top: 14px; display: grid; gap: 14px; }
.fp-receipt li { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.6; color: var(--text); }
.fp-receipt li a { display: inline-flex; align-items: center; gap: 10px; }
.fp-receipt li a:hover { color: var(--brand-700); }
.fp-receipt li .fi { width: 18px; height: 18px; color: var(--brand-600); }
.fp-receipt li b { font-size: 14px; font-weight: 700; color: var(--green-600); }
.fp-receipt-total {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 16px; font-weight: 600; color: var(--text);
}
.fp-price-zero { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 400; color: #64748b; }
.fp-price-zero b { font-size: 34px; line-height: 1; font-weight: 700; color: var(--brand-600); }
.fp-receipt-note {
  margin-top: 14px; display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px; border-radius: 8px; background: #f1f5f9;
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.fp-receipt-note .fi { width: 16px; height: 16px; margin-top: 2px; color: #64748b; }

/* ---------- Shared: a section's heading block ---------- */
.fp-head { max-width: 760px; }
.fp-head h2 { margin-top: 16px; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; }
.fp-head p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.fp-eyebrow-soft { background: var(--brand-50); }

/* ---------- 2. Why is it free ---------- */
.fp-why { background: #fff; padding: 72px 0 36px; }
.fp-steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; }
.fp-steps li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand-600); border-radius: 14px; padding: 24px; }
.fp-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700); font-size: 17px; font-weight: 700; line-height: 1;
}
.fp-steps h3 { margin-top: 14px; font-size: 19px; }
.fp-steps p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.fp-promise {
  margin-top: 20px; display: flex; align-items: flex-start; gap: 10px;
  padding: 16px 20px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--green-200);
  font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--green-800);
}
.fp-promise .fi { margin-top: 3px; color: var(--green-600); }

/* ---------- 3. Free, but not cheap ---------- */
.fp-speed { background: #fff; padding: 36px 0 72px; }
.fp-speed-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 48px;
  background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: 20px; padding: 44px;
}
.fp-speed-text h2 { margin-top: 16px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.fp-speed-text p { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.fp-speed-text .fp-speed-strong { color: var(--ink); font-weight: 600; }
.fp-speed-btn { margin-top: 22px; box-shadow: inset 0 0 0 1px var(--brand-200); color: var(--brand-700); }
.fp-speed-btn:hover { box-shadow: inset 0 0 0 1px var(--brand-600); }
.fp-speed-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fp-speed-number { background: #fff; border: 1px solid var(--brand-200); border-radius: 14px; padding: 18px; }
.fp-speed-number b { display: block; font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--brand-600); }
.fp-speed-number span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.fp-speed-rows { margin-top: 16px; display: grid; gap: 14px; }
.fp-speed-rows li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.fp-speed-rows .fi { margin-top: 2px; color: var(--brand-600); }
.fp-speed-rows b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- 4. Jump chips ---------- */
.fp-chips { background: #fff; padding: 0 0 56px; }
.fp-chips-label { font-size: 16px; font-weight: 600; color: var(--ink); }
.fp-chip-list { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fp-chip {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--text);
}
.fp-chip:hover { box-shadow: inset 0 0 0 1px var(--brand-600); color: var(--brand-700); }
.fp-chip .fi { width: 18px; height: 18px; color: var(--brand-600); }

/* ---------- 5. A feature group ---------- */
.fp-group { background: #fff; padding: 72px 0; }
.fp-group-soft { background: var(--soft); }
.fp-group-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start; }
.fp-group-mark { display: flex; align-items: center; gap: 12px; }
.fp-group-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.fp-group-icon .fi { width: 22px; height: 22px; }
.fp-group-number { font-size: 15px; font-weight: 700; color: var(--brand-600); letter-spacing: .04em; }
.fp-group-pain { margin-top: 18px; font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--brand-700); }
.fp-group-intro h2 { margin-top: 8px; font-size: 30px; line-height: 1.3; }
.fp-group-nomore { margin-top: 14px; display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.fp-group-nomore .fi { width: 18px; height: 18px; margin-top: 3px; color: #94a3b8; }
.fp-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; }
.fp-feature-list li { display: flex; align-items: flex-start; gap: 12px; }
/* The icon sits in a box as tall as the title's line, so it is centred on the title. */
.fp-feature-list li > .fi { margin-top: 3px; color: var(--brand-600); }
.fp-feature-list h3 { font-size: 16px; font-weight: 600; line-height: 1.6; }
.fp-feature-list p { margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.fp-pill {
  display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; vertical-align: 2px;
  background: #f1f5f9; color: #475569; font-size: 11.5px; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.fp-pill-premium { background: var(--brand-50); color: var(--brand-700); }

/* The small risk badge picture in group 02 */
.fp-risk { margin-top: 22px; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: 0 6px 18px rgb(15 23 42 / .06); }
.fp-risk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; color: var(--ink); }
.fp-risk-pill { padding: 1px 10px; border-radius: 999px; background: #991b1b; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.7; }
.fp-risk p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.fp-risk-bar { margin-top: 10px; height: 6px; border-radius: 999px; background: #fecaca; overflow: hidden; }
.fp-risk-bar span { display: block; width: 50%; height: 100%; background: var(--green-500); }

/* ---------- The middle call ---------- */
.fp-mid { background: var(--brand-50); padding: 48px 0; }
.fp-mid-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.fp-mid h2 { font-size: clamp(22px, 2.4vw, 28px); }
.fp-mid p { margin-top: 8px; font-size: 17px; color: var(--muted); }
.fp-mid .btn { flex: none; }

/* ---------- 6. The 3 plans ---------- */
.fp-pricing { background: var(--ink); padding: 80px 0; }
.fp-head-center { margin: 0 auto; text-align: center; }
.fp-pricing .fp-head h2 { margin-top: 0; color: #fff; }
.fp-pricing .fp-head p { color: #cbd5e1; }
.fp-plans { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.fp-plan { position: relative; display: flex; flex-direction: column; border-radius: 18px; padding: 28px; }
.fp-plan-free { background: #fff; border: 2px solid var(--brand-600); }
.fp-plan-dark { background: #1e293b; border: 1px solid #334155; color: #e2e8f0; }
.fp-plan h3 { font-size: 20px; }
.fp-plan-dark h3 { color: #fff; }
.fp-plan-price { margin-top: 10px; font-size: 15px; color: #64748b; }
.fp-plan-price b { font-size: 38px; line-height: 1.1; font-weight: 700; color: var(--brand-600); margin-right: 4px; }
.fp-plan-dark .fp-plan-price { color: #94a3b8; }
.fp-plan-dark .fp-plan-price b { color: #fff; }
.fp-plan-for { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.fp-plan-dark .fp-plan-for { color: #cbd5e1; }
.fp-plan-lines { margin: 20px 0 24px; display: grid; gap: 12px; align-content: start; flex: 1; }
.fp-plan-lines li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--text); }
.fp-plan-dark .fp-plan-lines li { color: #e2e8f0; }
.fp-plan-lines .fi { width: 18px; height: 18px; margin-top: 3px; color: var(--green-600); }
.fp-plan-dark .fp-plan-lines .fi { color: #34d399; }
.fp-plan-lines-rich li b { display: block; font-weight: 600; color: #fff; }
.fp-plan-lines-rich li span { font-size: 14px; color: #cbd5e1; }
.fp-plan-lines-rich li:first-child span { font-size: 15px; color: #e2e8f0; }
.fp-plan-dark .fp-plan-lines-rich li + li .fi { color: var(--sun-400); }
.fp-plan-foot { padding-top: 16px; border-top: 1px solid #334155; font-size: 13.5px; line-height: 1.6; color: #94a3b8; }
.fp-plan-soon { position: absolute; top: -13px; left: 28px; padding: 2px 12px; border-radius: 999px; background: var(--sun-400); color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.7; }

/* ---------- 7. Coming soon and the ask card ---------- */
.fp-soon { background: #fff; padding: 72px 0; }
.fp-soon-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.fp-soon h2 { font-size: 26px; }
.fp-soon-list { margin-top: 18px; display: grid; }
.fp-soon-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fp-soon-list li > .fi { margin-top: 3px; color: #64748b; }
.fp-soon-list li > div { flex: 1; min-width: 0; }
.fp-soon-list h3 { font-size: 16px; font-weight: 600; line-height: 1.6; }
.fp-soon-list p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.fp-soon-list .fp-pill { margin: 4px 0 0; }
.fp-ask { background: var(--green-50); border: 1px solid var(--green-200); border-radius: 18px; padding: 28px; }
.fp-ask > .fi { width: 28px; height: 28px; color: var(--green-600); }
.fp-ask h2 { margin-top: 12px; font-size: 21px; line-height: 1.4; }
.fp-ask p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.fp-ask-btn { margin-top: 18px; background: var(--green-600); color: #fff; }
.fp-ask-btn:hover { background: var(--green-700); }

/* ---------- 8. Last call ---------- */
.fp-final { background: var(--brand-50); padding: 72px 0; }
.fp-final-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--brand-200); border-radius: 24px; padding: 48px;
  box-shadow: 0 12px 32px rgb(244 81 11 / .10);
}
.fp-final-card h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; }
.fp-final-card p { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.fp-final-card .btn { margin-top: 24px; }
.fp-final-box { background: var(--brand-50); border-radius: 16px; padding: 24px; }
.fp-final-box > span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.fp-final-box .fp-price-zero { display: flex; margin-top: 6px; font-size: 15px; color: #64748b; }
.fp-final-box .fp-price-zero b { font-size: 44px; }
.fp-final-box ul { margin-top: 14px; display: grid; gap: 8px; }
.fp-final-box li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text); }
.fp-final-box li .fi { width: 16px; height: 16px; color: var(--green-600); }

/* The buttons that shorten and fold the groups on a phone (public/landing/js/features.js): hidden on a computer. */
.fp-more, .fp-fold { display: none; }

/* ---------- Narrower than a computer: one column ---------- */
@media (max-width: 1024px) {
  .fp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .fp-receipt { max-width: 520px; }
  .fp-speed-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .fp-chip-list { grid-template-columns: repeat(2, 1fr); }
  .fp-group-grid { grid-template-columns: 1fr; gap: 28px; }
  .fp-plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; gap: 26px; }
  .fp-soon-grid { grid-template-columns: 1fr; gap: 32px; }
  .fp-final-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .fp-hero { padding: 32px 0 28px; }
  .fp-hero h1 { margin-top: 16px; }
  .fp-hero-sub { margin-top: 14px; font-size: 16px; }
  .fp-hero .hero-ctas { margin-top: 20px; }
  .fp-hero .hero-ctas .btn { width: 100%; }
  .fp-receipt { padding: 18px; border-radius: 14px; }
  .fp-receipt ul { gap: 11px; }
  .fp-receipt li { font-size: 14px; }
  .fp-price-zero b { font-size: 28px; }

  .fp-head p { font-size: 16px; }
  .fp-why { padding: 40px 0 20px; }
  .fp-steps { margin-top: 24px; grid-template-columns: 1fr; gap: 12px; }
  .fp-steps li { padding: 18px; }
  .fp-promise { padding: 14px 16px; font-size: 15px; }
  .fp-speed { padding: 20px 0 40px; }
  .fp-speed-card { padding: 22px 18px; border-radius: 16px; }
  .fp-speed-text p { font-size: 16px; }
  .fp-speed-btn { width: 100%; }
  .fp-speed-number { padding: 14px; }
  .fp-speed-number b { font-size: 21px; }

  .fp-chips { padding-bottom: 32px; }
  .fp-group { padding: 40px 0; }
  .fp-group-intro h2 { font-size: 24px; }
  .fp-feature-list { grid-template-columns: 1fr; gap: 18px; }
  .fp-mid { padding: 32px 0; }
  .fp-mid-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .fp-mid p { font-size: 15.5px; }
  .fp-pricing { padding: 48px 0; }
  .fp-plans { margin-top: 32px; }
  .fp-plan { padding: 22px 18px; }
  .fp-soon { padding: 40px 0; }
  .fp-ask { padding: 22px 18px; }
  .fp-ask-btn { width: 100%; }
  .fp-final { padding: 40px 0; }
  .fp-final-card { padding: 22px 18px; border-radius: 18px; }
  .fp-final-card p { font-size: 16px; }
  .fp-final-card .btn { width: 100%; }

  /* Chips swipe sideways */
  .fp-chip-list { display: flex; gap: 8px; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px 0; scrollbar-width: none; }
  .fp-chip-list::-webkit-scrollbar { display: none; }
  .fp-chip { white-space: nowrap; }

  /* Groups 01 to 04: the first 3 features, then "show more" */
  .fp-group[data-fold="some"] .fp-feature-list li:nth-child(n+4) { display: none; }
  .fp-group[data-fold="some"].is-open .fp-feature-list li:nth-child(n+4) { display: flex; }
  .fp-more {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 46px; margin-top: 20px;
    border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--brand-200);
    color: var(--brand-700); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  }
  .fp-more .fi, .fp-fold .fi { width: 18px; height: 18px; transition: transform .15s ease; }
  .fp-group.is-open .fp-more .fi, .fp-group.is-open .fp-fold .fi { transform: rotate(180deg); }

  /* Groups 05 to 08: folded to one row until tapped */
  .fp-group[data-fold="all"] { padding: 22px 0; border-top: 1px solid var(--line); }
  .fp-group[data-fold="all"] .fp-group-grid { gap: 0; }
  .fp-group[data-fold="all"] .fp-group-intro { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .fp-group[data-fold="all"] .fp-group-mark { grid-row: 1 / span 2; }
  .fp-group[data-fold="all"] .fp-group-number { display: none; }
  .fp-group[data-fold="all"] .fp-group-intro h2 { grid-column: 2; margin-top: 0; font-size: 17px; line-height: 1.45; }
  .fp-group[data-fold="all"] .fp-group-pain,
  .fp-group[data-fold="all"] .fp-group-nomore,
  .fp-group[data-fold="all"] .fp-feature-list { display: none; }
  .fp-fold {
    grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 2px 0 0;
    border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-align: left; cursor: pointer;
  }
  .fp-fold .fi { color: var(--brand-600); }
  .fp-group[data-fold="all"].is-open .fp-group-pain,
  .fp-group[data-fold="all"].is-open .fp-group-nomore { display: flex; grid-column: 1 / -1; margin-top: 14px; }
  .fp-group[data-fold="all"].is-open .fp-feature-list { display: grid; margin-top: 22px; }

  /* The bar that stays at the bottom */
  .fp-sticky { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .fp-sticky-text { display: grid; line-height: 1.35; }
  .fp-sticky-text span { font-size: 12.5px; color: var(--muted); }
  .fp-sticky-text b { font-size: 16px; color: var(--ink); }
  .fp-sticky .btn { min-height: 46px; padding: 8px 18px; font-size: 16px; }
}
