/* =====================================================================
   ProcureForce® — Site styles
   Institutional design system: charcoal + brand red on white/light-gray.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --red: #E11B22;
  --red-700: #B5141A;
  --red-50: #FCEDED;
  --ink: #15181C;
  --ink-700: #2A2F36;
  --muted: #5B6470;
  --muted-2: #79828E;
  --bg: #FFFFFF;
  --soft: #F6F7F9;
  --soft-2: #EEF1F4;
  --line: #E3E7EB;
  --dark: #14171B;
  --dark-2: #1B1F25;
  --dark-line: #2A2F37;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20,23,27,.06), 0 1px 3px rgba(20,23,27,.05);
  --shadow-md: 0 10px 30px -12px rgba(20,23,27,.18), 0 4px 10px -6px rgba(20,23,27,.10);
  --shadow-lg: 0 24px 60px -20px rgba(20,23,27,.28);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; }
.h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.65; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px rgba(225,27,34,.7); }
.btn--primary:hover { background: var(--red-700); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft-2); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--red);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand__accent { color: var(--red); }
.brand__r { font-size: .55em; font-weight: 600; top: -0.7em; }
.brand__logo { height: 38px; width: auto; max-width: none; display: block; }
.site-footer .brand__logo { height: 34px; }

.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__link {
  padding: 8px 11px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .93rem;
  color: var(--ink-700);
  transition: background .15s, color .15s;
}
.nav__link:hover { background: var(--soft-2); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--red); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(225,27,34,.06), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(20,23,27,.04), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.hero__title { margin-top: 18px; }
.hero__title .text-red { color: var(--red); }
.hero__lead { margin-top: 22px; max-width: 560px; }
.hero__cta { margin-top: 32px; }
.hero__note { margin-top: 22px; font-size: .92rem; color: var(--muted-2); display: flex; align-items: center; gap: 9px; }
.hero__note svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero__card::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(225,27,34,.5), transparent 70%);
  filter: blur(8px);
}
.hero__card-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.hero__stat { margin-top: 18px; }
.hero__stat + .hero__stat { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--dark-line); }
.hero__stat-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.hero__stat-num .text-red { color: #ff5a60; }
.hero__stat-text { color: rgba(255,255,255,.72); font-size: .96rem; margin-top: 4px; }

/* ---------- Audience strip ---------- */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.audience__label { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.audience__list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-700);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4d9df; }
.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card .h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card__link { margin-top: 16px; }

/* Feature card (linked) */
a.card { display: block; }
a.card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Service detail blocks ---------- */
.svc-group { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.svc-group:first-of-type { border-top: none; }
.svc-group__head { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.svc-group__title { position: sticky; top: 96px; }
.svc-group__num { font-size: .85rem; font-weight: 700; color: var(--red); letter-spacing: .1em; }
.svc-group__title .h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 8px; }
.svc-list { display: grid; gap: 18px; }

.svc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  scroll-margin-top: 100px;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.svc-item:hover { box-shadow: var(--shadow-md); border-color: #d4d9df; }
.svc-item__top { display: flex; align-items: center; gap: 14px; }
.svc-item .card__icon { margin-bottom: 0; width: 44px; height: 44px; }
.svc-item .h3 { margin: 0; }
.svc-item p { color: var(--muted); margin-top: 14px; }
.svc-item__quote {
  margin-top: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  color: var(--ink-700);
  font-weight: 500;
  font-style: italic;
}

/* ---------- Bullet list ---------- */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.checks svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 1px; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
}
.panel--dark { background: var(--dark); color: #fff; border-color: var(--dark-line); }
.panel--dark .h3, .panel--dark h2, .panel--dark h3 { color: #fff; }

/* ---------- Numbered principles ---------- */
.principles { display: grid; gap: 4px; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.principle:first-child { border-top: none; }
.principle__n { font-size: 1.05rem; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.principle h3 { margin-bottom: 6px; }
.principle p { color: var(--muted); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; margin-top: 40px; }
.founder__card { text-align: center; }
.founder__avatar { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 2rem; color: #fff; background: linear-gradient(135deg, var(--red), #ff5a60); box-shadow: 0 12px 30px -10px rgba(225,27,34,.6); }
.founder__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.founder__card h3 { color: #fff; font-size: 1.4rem; }
.founder__role { color: #fff; font-weight: 600; margin-top: 4px; }
.founder__creds { color: #ff5a60; font-weight: 700; letter-spacing: .1em; margin-top: 6px; font-size: .9rem; }
.founder__meta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--dark-line); display: grid; gap: 12px; text-align: left; }
.founder__meta li { display: flex; gap: 11px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: .94rem; }
.founder__meta svg { width: 18px; height: 18px; color: #ff5a60; flex: none; margin-top: 2px; }
.founder__bio p { color: var(--muted); font-size: 1.06rem; }
.founder__bio p + p { margin-top: 16px; }
.founder__served-label { margin-top: 24px !important; font-weight: 600; color: var(--ink) !important; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: 8px; line-height: 1.4; }
@media (max-width: 960px) { .founder { grid-template-columns: 1fr; } .founder__card { max-width: 360px; } .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  top: -60px; right: -40px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(225,27,34,.28), transparent 65%);
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 540px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-50);
  color: var(--red-700);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 999px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .badge::before { animation: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-50);
}
.contact-info { display: grid; gap: 18px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item .card__icon { margin: 0; flex: none; }
.contact-info__item h3 { font-size: 1.02rem; }
.contact-info__item a, .contact-info__item p { color: var(--muted); }
.contact-info__item a:hover { color: var(--red); }
.form-note { font-size: .85rem; color: var(--muted-2); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding-block: clamp(48px, 7vw, 72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand__name { color: #fff; }
.footer-about { max-width: 320px; margin-top: 16px; font-size: .95rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .95rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: clamp(48px, 7vw, 80px); max-width: 760px; }
.page-hero .h1 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero .lead { margin-top: 18px; }
.breadcrumb { font-size: .88rem; color: var(--muted-2); margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Software live demo ---------- */
/* Mirrors the real ProcureForce procurement portal (light theme, brand-red accents). */
.hero--demo .hero__inner { grid-template-columns: 1fr 1.18fr; }

.demo { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12.5px; color: #111827; }
.demo__chrome { display: flex; align-items: center; gap: 10px; padding: 9px 13px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.demo__dots { display: flex; gap: 6px; }
.demo__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d1d5db; }
.demo__url { flex: 1; text-align: center; font-size: 10.5px; color: #9ca3af; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 3px 10px; max-width: 230px; margin: 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo__live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: var(--red); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.demo__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }

.demo__app { display: flex; height: 524px; }
.demo__side { width: 180px; flex: none; background: #fff; border-right: 1px solid #e5e7eb; display: flex; flex-direction: column; }
.demo__logo { padding: 12px 14px 11px; border-bottom: 1px solid #f3f4f6; }
.demo__logo img { height: 20px; width: auto; max-width: none; }
.demo__portal { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 10.5px; font-weight: 500; color: #6b7280; }
.demo__portal i { width: 8px; height: 8px; border-radius: 50%; background: #9f1818; }
.demo__nav { padding: 10px 8px; display: grid; gap: 2px; }
.demo__nav a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; font-size: 12px; font-weight: 500; color: #4b5563; }
.demo__nav svg { width: 16px; height: 16px; flex: none; }
.demo__nav a.is-active { background: #c01a1a; color: #fff; }

.demo__panel { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #f9fafb; }
.demo__topbar { height: 42px; flex: none; background: #fff; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.demo__topbar .sp { flex: 1; }
.demo__bell { width: 18px; height: 18px; color: #6b7280; }
.demo__user { display: flex; align-items: center; gap: 7px; }
.demo__avatar { width: 24px; height: 24px; border-radius: 50%; background: #c01a1a; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.demo__user > span { font-size: 12px; font-weight: 600; color: #374151; }

.demo__content { position: relative; flex: 1; overflow: hidden; }
.scene { position: absolute; inset: 0; padding: 16px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; overflow: hidden; }
.scene.is-active { opacity: 1; transform: none; }

.pf-h1 { font-size: 16px; font-weight: 800; color: #111827; letter-spacing: -.01em; }
.pf-sub { font-size: 11px; color: #6b7280; margin-top: 1px; }
.pf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pf-btn { display: inline-flex; align-items: center; gap: 6px; background: #c01a1a; color: #fff; border: none; border-radius: 8px; padding: 7px 11px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pf-btn svg { width: 14px; height: 14px; }

.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pf-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 9px 12px; }
.pf-stat__ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 6px; }
.pf-stat__ic svg { width: 15px; height: 15px; }
.pf-stat__num { font-size: 17px; font-weight: 800; color: #111827; line-height: 1; font-variant-numeric: tabular-nums; }
.pf-stat__lb { font-size: 10.5px; color: #6b7280; margin-top: 3px; }
.ic-yellow { background: #fef9c3; color: #ca8a04; }
.ic-blue { background: #dbeafe; color: #2563eb; }
.ic-brand { background: var(--red-50); color: #dc2626; }
.ic-gray { background: #f3f4f6; color: #6b7280; }

.pf-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.pf-card__h { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #f3f4f6; }
.pf-card__h h3 { font-size: 12.5px; font-weight: 700; color: #111827; }
.pf-card__h span { font-size: 11px; font-weight: 600; color: #c01a1a; }
.pf-row { display: flex; align-items: center; gap: 10px; padding: 7px 14px; border-top: 1px solid #f8f8f9; opacity: 0; transform: translateY(4px); transition: .35s; }
.pf-row:first-of-type { border-top: none; }
.pf-row.is-shown { opacity: 1; transform: none; }
.pf-row__main { flex: 1; min-width: 0; }
.pf-row__t { font-size: 12px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-row__s { font-size: 10.5px; color: #6b7280; margin-top: 1px; }

.pf-badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.b-green { background: #dcfce7; color: #15803d; }
.b-yellow { background: #fef9c3; color: #a16207; }
.b-emerald { background: #d1fae5; color: #047857; }
.b-gray { background: #f3f4f6; color: #374151; }
.b-blue { background: #dbeafe; color: #1d4ed8; }

.pf-sow { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 13px; margin-top: 12px; }
.pf-sow__lb { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pf-sow__lb > span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; }
.pf-ai-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #dc2626; background: var(--red-50); padding: 3px 8px; border-radius: 999px; }
.pf-ai-pill svg { width: 12px; height: 12px; animation: pulse 1.4s infinite; }
.pf-sow__body { display: grid; gap: 7px; }
.pf-sow__body p { font-size: 11px; line-height: 1.5; color: #374151; opacity: 0; transform: translateY(3px); transition: .3s; }
.pf-sow__body p.is-shown { opacity: 1; transform: none; }
.pf-crit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pf-chip { font-size: 10px; font-weight: 600; color: #374151; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 999px; padding: 3px 9px; }
.pf-chip b { color: #c01a1a; font-weight: 700; }
.pf-chip--total { background: #dcfce7; border-color: #bbf7d0; color: #15803d; }

.pf-factors { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pf-chip--blue { background: #dbeafe; border-color: #bfdbfe; color: #1d4ed8; }
.pf-eval { display: grid; gap: 8px; }
.pf-eval__row { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 9px 12px; opacity: 0; transform: translateY(4px); transition: .35s; }
.pf-eval__row.is-shown { opacity: 1; transform: none; }
.pf-eval__rank { width: 20px; height: 20px; border-radius: 50%; background: #f3f4f6; color: #6b7280; font-size: 10px; font-weight: 800; display: grid; place-items: center; flex: none; }
.pf-eval__row.is-top .pf-eval__rank { background: #dcfce7; color: #15803d; }
.pf-eval__main { flex: 1; min-width: 0; }
.pf-eval__co { font-size: 12px; font-weight: 600; color: #111827; display: flex; align-items: center; gap: 6px; }
.pf-eval__rec { font-size: 9px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 1px 7px; border-radius: 999px; }
.pf-eval__bar { height: 5px; background: #f1f3f5; border-radius: 999px; margin-top: 6px; overflow: hidden; }
.pf-eval__fill { height: 100%; width: 0; background: #c01a1a; border-radius: 999px; transition: width 1s var(--ease); }
.pf-eval__row.is-top .pf-eval__fill { background: #16a34a; }
.pf-eval__score { font-size: 13px; font-weight: 800; color: #111827; font-variant-numeric: tabular-nums; flex: none; }

@media (max-width: 980px) { .hero--demo .hero__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .demo__app { height: auto; min-height: 540px; }
  .demo__side { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo__live i, .pf-ai-pill svg, .caret { animation: none; }
  .scene, .pf-row, .pf-sow__body p, .pf-eval__row, .pf-eval__fill { transition: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin-top: 36px; }
.faq__item { padding: 22px 0; border-top: 1px solid var(--line); }
.faq__item:first-child { border-top: none; }
.faq__q { font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.faq__a { color: var(--muted); margin-top: 8px; max-width: 760px; }

/* ---------- Footer contact (NAP) ---------- */
.footer-contact { margin-top: 16px; display: grid; gap: 6px; font-size: .95rem; color: rgba(255,255,255,.7); }
.footer-contact a { color: rgba(255,255,255,.7); transition: color .15s; }
.footer-contact a:hover { color: #fff; }

/* ---------- Expert note (software page) ---------- */
.expert-note { display: flex; gap: 20px; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; max-width: 860px; margin-inline: auto; }
.expert-note__photo { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 6px 18px -8px rgba(20,23,27,.4); }
.expert-note__text { color: var(--ink-700); font-size: 1rem; line-height: 1.6; }
.expert-note__text strong { color: var(--ink); }
.expert-note .link-arrow { margin-top: 8px; }
@media (max-width: 560px) { .expert-note { flex-direction: column; align-items: flex-start; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .svc-group__head { grid-template-columns: 1fr; gap: 18px; }
  .svc-group__title { position: static; }
  .split, .contact-grid, .cta-band__inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav {
    height: 64px;
  }
  .brand__logo { height: 32px; }
  .nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px clamp(20px,5vw,40px) 20px;
    box-shadow: var(--shadow-md);
  }
  .nav__menu.is-open .nav__link { padding: 12px 14px; font-size: 1.05rem; }
  .nav__menu.is-open .nav__cta-mobile { display: block; margin-top: 10px; }
  .nav__menu.is-open .nav__cta-mobile .btn { width: 100%; }
}

@media (max-width: 760px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}


/* ---------- Launch-party popup ---------- */
.pop { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20,23,27,.62); }
.pop.is-open { display: flex; }
.pop__card { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 460px; padding: 36px 30px 30px; box-shadow: var(--shadow-lg); }
.pop__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: none; background: var(--soft-2); border-radius: 10px; color: var(--ink-700); font-size: 20px; line-height: 1; cursor: pointer; }
.pop__close:hover { background: var(--line); }
.pop__title { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-top: 12px; line-height: 1.15; }
.pop__text { color: var(--muted); margin-top: 10px; }
.pop form { margin-top: 18px; display: grid; gap: 10px; }
.pop input { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.pop input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.pop .btn { width: 100%; margin-top: 2px; }
.pop__note { font-size: .82rem; color: var(--muted-2); margin-top: 12px; text-align: center; }
.pop__success { display: none; text-align: center; padding: 8px 0; }
