/* ── NEW FEATURES (2026-12) — client portal, live store prices, AI assistant, crews grid ──
   Reuses the page tokens (tokens.css) and .section-heading / .section-body / .section-eyebrow (vs.css).
   Every mockup is decorative (aria-hidden) and sized to never exceed its column. */

.nf-section {
  padding: clamp(4.5rem, 8vw, 9rem) clamp(1.25rem, 5vw, 5rem);
}
.nf-section.nf-alt { background: var(--smoke-2); }
.nf-inner { max-width: 1280px; margin: 0 auto; }

.nf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.nf-grid.nf-flip > .nf-copy { order: 2; }
.nf-grid.nf-flip > .nf-visual { order: 1; }

.nf-new {
  display: inline-block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--amber);
  border-radius: 4px;
  padding: 2px 7px;
  line-height: 1.5;
}

/* feature checklist under the copy */
.nf-points {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  margin-top: -1rem;
}
.nf-points li { display: flex; gap: 12px; align-items: flex-start; }
.nf-point-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--amber-pale);
  border: 1px solid oklch(86% 0.07 60);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-deep);
}
.nf-point-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nf-point-t { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.35; }
.nf-point-d { font-size: 14px; color: var(--ink-3); margin-top: 3px; line-height: 1.55; }

/* ── Phone frame (portal + crew mockups) ── */
.nf-visual { position: relative; min-width: 0; }
.nf-phone {
  width: min(330px, 100%);
  margin: 0 auto;
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 30px 60px -20px oklch(20% 0.02 40 / 0.35), 0 2px 6px oklch(20% 0.02 40 / 0.15);
  position: relative;
  z-index: 1;
}
.nf-screen {
  background: var(--white);
  border-radius: 31px;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-size: 12px;
  color: var(--ink);
}
.nf-notch { height: 26px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.nf-notch::after { content: ''; width: 84px; height: 20px; border-radius: 12px; background: var(--ink); }

/* client portal screen */
.pt-head { padding: 6px 16px 12px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.pt-co { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; }
.pt-co-mark { width: 22px; height: 22px; border-radius: 6px; background: oklch(35% 0.05 160); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pt-title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; line-height: 1.2; }
.pt-sub { color: var(--ink-3); font-size: 11px; margin-top: 2px; }
.pt-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.pt-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; }
.pt-render { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.pt-render svg { display: block; width: 100%; height: auto; }
.pt-render-tag { position: absolute; left: 8px; bottom: 8px; background: oklch(100% 0 0 / 0.92); border-radius: 999px; font-size: 9.5px; font-weight: 600; padding: 3px 8px; display: flex; gap: 5px; align-items: center; }
.pt-render-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.pt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pt-opt { border: 1px solid var(--border); border-radius: 8px; padding: 7px 9px; }
.pt-opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pt-opt-n { font-weight: 700; font-size: 11px; }
.pt-opt-p { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pt-mat { border: 1px solid var(--border); border-radius: 8px; }
.pt-mat-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 9px; font-size: 11px; border-top: 1px solid var(--smoke-2); }
.pt-mat-row:first-child { border-top: 0; }
.pt-mat-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.pt-mat-row span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-foot { border-top: 1px solid var(--border); padding: 12px 16px 16px; flex-shrink: 0; }
.pt-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pt-total b { font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pt-btn { display: block; text-align: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 12px; border-radius: 10px; }

/* floating cards beside a phone */
.nf-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px oklch(20% 0.02 40 / 0.22);
  padding: 10px 12px;
  font-size: 11px;
  color: var(--ink);
  width: 190px;
}
.nf-float-t { font-weight: 700; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.nf-float-s { color: var(--ink-3); margin-top: 2px; }
/* each card overlaps only the phone bezel (~28px), never the screen text it would hide */
.nf-float.f-plan { top: 34%; left: calc(50% - 165px - 190px + 28px); }
.nf-float.f-sign { bottom: 30%; right: calc(50% - 165px - 190px + 28px); }
.nf-sheet { margin-top: 8px; border: 1px solid var(--border-strong); border-radius: 4px; height: 70px; position: relative; background: repeating-linear-gradient(0deg, transparent 0 9px, oklch(93% 0.004 60) 9px 10px), repeating-linear-gradient(90deg, transparent 0 9px, oklch(93% 0.004 60) 9px 10px); }
.nf-sheet::before { content: ''; position: absolute; left: 12%; top: 18%; width: 54%; height: 62%; border: 2px solid var(--ink-2); }
.nf-sheet::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 18%; border-left: 1px solid var(--border-strong); background: var(--smoke); }
.nf-sig { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 22px; color: oklch(35% 0.08 260); line-height: 1.1; margin-top: 4px; border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; }
.nf-ok { color: oklch(52% 0.13 150); font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.nf-ok svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Store-price material list mockup ── */
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 32px oklch(14% 0.01 60 / 0.08);
  overflow: hidden;
}
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.cat-head-t { font-weight: 700; font-size: 14px; }
.cat-head-s { font-size: 12px; color: var(--ink-3); }
.cat-live { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: oklch(48% 0.13 150); background: oklch(95% 0.04 150); border: 1px solid oklch(86% 0.07 150); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 18px; border-top: 1px solid var(--smoke-2); align-items: center; }
.cat-row:first-of-type { border-top: 0; }
.cat-name { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-qty { font-size: 12px; color: var(--ink-3); }
.cat-price { text-align: right; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.cat-tag { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cat-store { font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 7px; display: inline-flex; align-items: center; gap: 5px; }
.cat-store::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cat-store.s-blue { color: oklch(42% 0.13 255); background: oklch(95% 0.03 255); }
.cat-store.s-orange { color: oklch(52% 0.17 45); background: oklch(95% 0.04 50); }
.cat-store.s-ai { color: var(--ink-3); background: var(--smoke-2); }
.cat-was { font-size: 11px; color: var(--ink-3); }
.cat-was s { opacity: 0.7; }
.cat-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; background: var(--smoke); border-top: 1px solid var(--border); font-size: 13px; }
.cat-foot b { font-size: 16px; font-variant-numeric: tabular-nums; }
.cat-rfq { font-weight: 600; font-size: 12px; color: var(--ink); border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 12px; background: var(--white); display: inline-flex; gap: 6px; align-items: center; }
.cat-rfq svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.nf-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-bottom: 2.25rem; }
.nf-stat-n { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.nf-stat-n em { font-style: normal; color: var(--amber); }
.nf-stat-l { font-size: 13px; color: var(--ink-3); margin-top: 6px; max-width: 170px; line-height: 1.45; }

/* ── AI assistant chat mockup ── */
.as-panel {
  background: var(--section-dark);
  border-radius: 18px;
  border: 1px solid oklch(100% 0 0 / 0.08);
  box-shadow: 0 30px 70px -24px oklch(15% 0.02 40 / 0.55);
  overflow: hidden;
  color: oklch(94% 0.005 60);
  max-width: 520px;
  margin: 0 auto;
}
.as-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid oklch(100% 0 0 / 0.08); }
.as-avatar { width: 28px; height: 28px; border-radius: 8px; background: var(--amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.as-avatar svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.as-name { font-weight: 700; font-size: 13.5px; }
.as-status { font-size: 11px; color: oklch(72% 0.12 150); display: flex; align-items: center; gap: 5px; }
.as-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.as-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.as-msg { max-width: 88%; font-size: 13px; line-height: 1.55; border-radius: 14px; padding: 10px 13px; }
.as-me { align-self: flex-end; background: var(--amber); color: #fff; border-bottom-right-radius: 4px; }
.as-bot { align-self: flex-start; background: oklch(100% 0 0 / 0.07); border-bottom-left-radius: 4px; }
.as-bot b { color: #fff; }
.as-src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.as-src span { font-size: 10.5px; border: 1px solid oklch(100% 0 0 / 0.16); border-radius: 999px; padding: 2px 8px; color: oklch(82% 0.01 60); }
.as-voice { display: flex; align-items: center; gap: 8px; }
.as-voice svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; flex-shrink: 0; }
.as-wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.as-wave i { display: block; width: 3px; border-radius: 2px; background: oklch(100% 0 0 / 0.85); }
.as-action { align-self: stretch; background: oklch(100% 0 0 / 0.05); border: 1px solid oklch(100% 0 0 / 0.12); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; }
.as-action-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-bright); }
.as-action-t { font-weight: 700; font-size: 14px; margin-top: 4px; color: #fff; }
.as-action-m { color: oklch(78% 0.01 60); margin-top: 2px; }
.as-action-b { display: flex; gap: 8px; margin-top: 10px; }
.as-action-b span { font-weight: 700; font-size: 12px; border-radius: 8px; padding: 7px 14px; }
.as-action-b span:first-child { background: #fff; color: var(--ink); }
.as-action-b span:last-child { border: 1px solid oklch(100% 0 0 / 0.2); color: oklch(88% 0.01 60); }
.as-input { margin: 0 16px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid oklch(100% 0 0 / 0.14); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: oklch(70% 0.01 60); }
.as-input span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.as-input i svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── "Your whole operation" grid ── */
.ops-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.ops-head .section-eyebrow { justify-content: center; }
.ops-head .section-heading { margin-left: auto; margin-right: auto; }
.ops-head .section-body { margin: 0 auto; }
.ops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ops-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ops-card:hover { border-color: var(--border-strong); box-shadow: 0 10px 30px -12px oklch(20% 0.02 40 / 0.2); transform: translateY(-2px); }
.ops-card .nf-point-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px; }
.ops-card .nf-point-icon svg { width: 19px; height: 19px; }
.ops-t { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ops-d { font-size: 14.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.6; }
.ops-langs { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.ops-langs span { font-family: var(--font-mono); font-size: 10.5px; border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px; color: var(--ink-3); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nf-float { display: none; }
}
@media (max-width: 900px) {
  .nf-grid { grid-template-columns: minmax(0, 1fr); }
  .nf-grid.nf-flip > .nf-copy, .nf-grid.nf-flip > .nf-visual { order: 0; }
  .ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nf-points { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .ops-grid { grid-template-columns: minmax(0, 1fr); }
  .ops-card { padding: 20px; }
  .cat-row { padding: 11px 14px; }
  .cat-head, .cat-foot { padding-left: 14px; padding-right: 14px; }
  .nf-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ops-card { transition: none; }
  .ops-card:hover { transform: none; }
}
