/* ============================================================
   Cutalist — промо-лендинг. Светлая тема, бренд #3B82F6.
   ============================================================ */

:root {
  --blue: #3B82F6;
  --blue-dark: #1E40AF;
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --teal: #14B8A6;
  --sky: #38BDF8;
  --cyan: #06B6D4;

  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FC;
  --bg-tint: #EEF3FE;

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  --grad-soft: linear-gradient(135deg, #EAF1FE 0%, #EEF0FE 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow: 0 10px 30px -12px rgba(30,64,175,.22);
  --shadow-lg: 0 30px 60px -20px rgba(30,64,175,.28);

  --container: 1160px;
  --pad: clamp(20px, 5vw, 40px);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* ---- Accessibility ---- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(59,130,246,.55); outline-offset: 2px; border-radius: 4px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(59,130,246,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(59,130,246,.7); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; padding: 16px; font-size: 1rem; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--blue);
}

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
  background: var(--bg-tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* ============ LOGO (concept-45: monospace wordmark + cyan cursor) ============ */
.logo {
  display: inline-flex; align-items: baseline; gap: 1px;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -.03em;
}
.logo__word { letter-spacing: -.04em; }
.logo__c { color: var(--blue); }
.logo__cursor {
  width: .32em; height: .92em; margin-left: 3px; border-radius: 2px;
  background: var(--cyan); display: inline-block; transform: translateY(.06em);
  animation: cursor-blink 1.15s steps(1, end) infinite;
}
@keyframes cursor-blink { 50% { opacity: .25; } }
.logo--light, .logo--light .logo__word { color: #fff; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .96rem; position: relative; }
.nav a:hover { color: var(--blue-dark); }
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px var(--pad) 22px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 12px 8px; color: var(--ink); font-weight: 600; border-radius: 10px; }
.mobile-nav a:hover { background: var(--bg-alt); }
.mobile-nav .btn { margin-top: 8px; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero__glow {
  position: absolute; inset: -30% -10% auto; height: 700px;
  background:
    radial-gradient(40% 50% at 25% 20%, rgba(59,130,246,.30), transparent 70%),
    radial-gradient(40% 50% at 80% 10%, rgba(99,102,241,.28), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding-block: clamp(56px, 8vw, 110px);
}
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); margin-bottom: 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.pipeline { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pipeline li {
  font-size: .82rem; font-weight: 600; color: var(--blue-dark);
  background: rgba(255,255,255,.7); border: 1px solid rgba(59,130,246,.25);
  padding: 7px 13px; border-radius: 999px; position: relative;
}
.pipeline li:not(:last-child)::after { content: '→'; margin-left: 8px; color: var(--blue); opacity: .6; }

/* hero mock */
.hero__visual { perspective: 1400px; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: #cdd7e6; }
.mock__bar span:nth-child(1) { background: #ff5f57; } .mock__bar span:nth-child(2) { background: #febc2e; } .mock__bar span:nth-child(3) { background: #28c840; }
.mock__title { margin-left: 10px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.mock__body { padding: 18px; }
.mock__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock__coltitle { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.mock__card { height: 46px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); margin-bottom: 10px; }
.mock__card--sm { height: 30px; }
.mock__card--accent { background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(99,102,241,.16)); border-color: rgba(59,130,246,.4); }
.mock__finance { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg,#fff,var(--bg-alt)); }
.mock__fin-row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.mock__fin-row .pos { color: var(--teal); font-size: 1.1rem; font-weight: 800; }
.mock__bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 12px; }
.mock__bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: var(--grad); opacity: .85; }

/* ============ STRIP ============ */
.strip { background: var(--ink); color: #cbd5e1; }
.strip__inner { padding-block: 22px; text-align: center; font-size: 1rem; }
.strip b { color: #fff; }

/* ============ SECTIONS ============ */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section__sub { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.section__sub b, .strip b { font-weight: 700; }

/* ============ GRID ============ */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============ CARDS (problem) ============ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(59,130,246,.35); }
.card__ico {
  width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.3rem;
  border-radius: 12px; background: var(--bg-tint); color: var(--blue-dark); margin-bottom: 16px; font-weight: 700;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }

/* ============ FLOW (how it works) ============ */
.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: step;
}
.flow::before {
  content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--indigo)); opacity: .35;
}
.flow__step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.flow__num {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(59,130,246,.7);
}
.flow__step h3 { margin-bottom: 6px; }
.flow__step p { color: var(--muted); font-size: .9rem; }

/* ============ FEATURES ============ */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(59,130,246,.35); }
.feature__ico {
  width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.4rem;
  border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 18px;
  box-shadow: 0 8px 18px -8px rgba(59,130,246,.7);
}
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .96rem; }
.feature--cta {
  background: var(--grad); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.feature--cta h3 { color: #fff; font-size: 1.3rem; }
.feature--cta p { color: rgba(255,255,255,.9); }
.feature--cta .btn { align-self: flex-start; background: #fff; color: var(--blue-dark); }

/* ============ SEGMENTS ============ */
.seg {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--blue);
  transition: transform .2s ease, box-shadow .2s ease;
}
.seg:nth-child(2) { border-top-color: var(--indigo); }
.seg:nth-child(3) { border-top-color: var(--violet); }
.seg:nth-child(4) { border-top-color: var(--teal); }
.seg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.seg__size { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.seg h3 { margin-bottom: 10px; }
.seg p { color: var(--muted); font-size: .95rem; }

/* ============ STATS / PROOF ============ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 44px; }
.stat {
  background: var(--grad); color: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow);
}
.stat:nth-child(even) { background: linear-gradient(135deg, var(--indigo), var(--violet)); }
.stat b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font-size: .92rem; color: rgba(255,255,255,.92); }

.risk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,4vw,42px); box-shadow: var(--shadow-sm); }
.risk h3 { font-size: 1.4rem; margin-bottom: 22px; }
.risk__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.risk__list li { position: relative; padding-left: 30px; color: var(--muted); font-size: .98rem; }
.risk__list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: var(--bg-tint); color: var(--blue-dark); border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}
.risk__list b { color: var(--ink); font-weight: 700; }

/* ============ CTA / DEMO ============ */
.cta-section { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: -40% -10% auto;
  height: 500px; background: radial-gradient(40% 60% at 30% 0%, rgba(59,130,246,.4), transparent 70%);
  pointer-events: none;
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: center; }
.cta-copy h2 { color: #fff; margin-bottom: 16px; }
.cta-copy p { color: #cbd5e1; font-size: 1.08rem; }
.cta-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.cta-list li { position: relative; padding-left: 28px; color: #e2e8f0; }
.cta-list li::before { content: '✓'; position: absolute; left: 0; color: var(--sky); font-weight: 800; }

.form { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; font: inherit; font-size: .98rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
.field input:user-invalid { border-color: #ef4444; }
.form__note { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.form__success { margin-top: 14px; padding: 14px; background: #ecfdf5; color: #047857; border-radius: 11px; font-weight: 600; text-align: center; font-size: .95rem; }

/* ============ FOOTER ============ */
.site-footer { background: #0B1220; color: #94a3b8; padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin-top: 16px; max-width: 30em; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .92rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.footer-col a { display: block; color: #94a3b8; padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-col .btn { margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-legal { color: #64748b; }

/* ============ SCREENSHOTS (browser frame) ============ */
.shot {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
}
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cdd7e6; }
.shot__bar span:nth-child(1){ background:#ff5f57; } .shot__bar span:nth-child(2){ background:#febc2e; } .shot__bar span:nth-child(3){ background:#28c840; }
.shot__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot__zoom img { display: block; width: 100%; height: auto; }
.shot--hero { box-shadow: var(--shadow-lg); transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); }
.hero__visual { perspective: 1600px; }

/* ============ ФУНКЦИОНАЛ — feature rows ============ */
.frow {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-block: clamp(26px, 4vw, 50px);
}
.frow + .frow { border-top: 1px solid var(--line); }
.frow--rev .frow__media { order: 2; }
.frow__tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: var(--bg-tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.frow__text h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 12px; }
.frow__text > p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 18px; }
.ftlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftlist li { position: relative; padding-left: 30px; color: var(--muted); }
.ftlist li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: var(--bg-tint); color: var(--blue-dark); border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
}
.ftlist code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .85em; background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; color: var(--ink-2); }

/* ============ Secondary screenshot grid ============ */
.shots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(34px, 5vw, 56px); }
.shotcard {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.shotcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shotcard .shot__zoom img { border-bottom: 1px solid var(--line); }
.shotcard figcaption { padding: 16px 20px; color: var(--muted); font-size: .95rem; }
.shotcard figcaption b { color: var(--ink); font-weight: 700; }

/* ============ И ещё / chips ============ */
.more { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.more h3 { font-size: 1.3rem; margin-bottom: 22px; }
.chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 920px; }
.chips li {
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px); background: rgba(8, 13, 26, .9);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 94vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lightbox__close {
  position: absolute; top: 18px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock, .shot--hero { transform: none; }
  .logo__cursor { animation: none; }
  .btn:hover, .card:hover, .feature:hover, .seg:hover, .shotcard:hover { transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 560px; }
  .mock, .shot--hero { transform: none; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .frow { grid-template-columns: 1fr; gap: 24px; }
  .frow--rev .frow__media { order: 0; }
}
@media (max-width: 720px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .risk__list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shots-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pipeline li:not(:last-child)::after { content: ''; margin: 0; }
}

/* ============ FORECAST WIDGET ============ */
.fc-card__title { margin-left: 10px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.fc-card__body { padding: 26px 28px 22px; }
.fc-bars { display: flex; align-items: flex-end; gap: 14px; height: 248px; }
.fc-bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 12px; position: relative; }
.fc-bars i { width: 100%; height: var(--h); min-height: 12px; border-radius: 8px 8px 0 0; background: var(--grad); }
.fc-bars i.neg { background: linear-gradient(180deg, #fb7185, #ef4444); }
.fc-bars b { font-size: .78rem; color: var(--muted); font-weight: 600; }
.fc-tag {
  position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  background: #ef4444; color: #fff; font-size: .66rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.fc-note { margin-top: 18px; font-size: .8rem; color: var(--muted); }
.fc-kpis { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.fc-kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow-sm); }
.fc-kpi b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.fc-kpi span { font-size: .82rem; color: var(--muted); }
@media (max-width: 720px) { .fc-bars { height: 200px; gap: 8px; } .fc-bars b { font-size: .7rem; } }
