/* Enterprise page (rebuilt Nov 2026 from "Enterprise page final copy").
   Page-only styles live here so the shared product.css / sections.css still serve
   the OLD Enterprise markup (archive/old-enterprise, tag old-enterprise). */

:root {
  --en-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px -4px rgba(16, 24, 40, 0.10);
  --en-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 12px 32px -12px rgba(16, 24, 40, 0.16);
}

/* Shared heads */
.en-head { max-width: 760px; margin: 0 0 56px; }
.en-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.en-head .lead { margin-top: 18px; }
.en-src { margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--muted); }

/* 01 · Hero additions */
.en-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.en-hero__alt { margin-top: 18px; font-size: 14px; color: var(--muted); }
.en-hero__alt a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.en-hero__alt a:hover { text-decoration-color: currentColor; }
.en-logos { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 56px; }
.en-logos p { font-size: 14px; color: var(--muted); }
.en-logos ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 56px; list-style: none; }
.en-logos img { display: block; width: auto; height: var(--h, 28px); filter: grayscale(1); opacity: 0.7; }
.en-logos__word { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: #a6a6a6; white-space: nowrap; }

/* Enterprise in numbers: a source line under each number */
.impact__src { grid-column: 1; margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--muted); }

/* 02 · Problem */
.en-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.en-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--en-shadow); }
.en-card h3 { margin-top: 14px; font-size: var(--text-lg); font-weight: 500; }
.en-card p { line-height: 1.5; color: var(--ink-2); }
.en-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50, #eef6ff); font-size: 20px; color: var(--blue-500); }
.en-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); list-style: none; }
.en-stats li { padding: 32px 40px 0 0; }
.en-stats li + li { padding-left: 40px; border-left: 1px solid var(--line); }
.en-stats__num { font-size: clamp(40px, 4vw, 56px); font-weight: 400; line-height: 1; letter-spacing: -0.04em; color: var(--blue-500); font-variant-numeric: tabular-nums; }
.en-stats__text { max-width: 44ch; margin-top: 14px; font-size: var(--text-lg); line-height: var(--leading-lg); }

/* 03 · Why now: a statement on the brand gradient */
.en-now__box { position: relative; overflow: hidden; isolation: isolate; padding: 72px 64px; border-radius: 32px; background: url("assets/harmony/hero-gradient.jpg?v=5d3800f471") 0% 45% / 160% auto; text-align: center; }
.en-now__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--surface) 45%, transparent); }
.en-now__body { max-width: 640px; margin: 20px auto 0; font-size: var(--text-lg); line-height: var(--leading-lg); color: var(--ink-2); }
.en-now__line { display: inline-block; margin-top: 32px; padding: 14px 22px; border-radius: var(--radius-full); background: var(--surface); box-shadow: var(--en-shadow); font-size: 17px; font-weight: 500; }
.en-now__line span { color: var(--blue-500); }

/* 04 · What BlueMind does: white UI on the brand gradient */
.en-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.en-theme { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 28px; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--en-shadow); }
.en-theme h3 { margin-top: 12px; padding: 0 16px; font-size: var(--text-lg); font-weight: 500; }
.en-theme > p { padding: 0 16px; line-height: 1.5; color: var(--ink-2); }
.en-theme__mia { font-size: 14px; color: var(--muted) !important; }
.en-theme__art { position: relative; overflow: hidden; display: grid; place-items: center; height: 220px; padding: 20px; border-radius: 20px; background: url("assets/harmony/hero-gradient.jpg?v=5d3800f471") var(--bgp, 0% 42%) / 220% auto; }
.en-theme:nth-child(2) .en-theme__art { --bgp: 100% 30%; }
.en-theme:nth-child(3) .en-theme__art { --bgp: 20% 85%; }
.en-theme__art::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--surface) 35%, transparent); }
.en-theme__art > * { position: relative; }
.en-art-list { display: grid; gap: 8px; width: 100%; max-width: 280px; }
.en-art-list p { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); box-shadow: var(--en-shadow-sm); font-size: 13px; }
.en-art-list .icon { font-size: 16px; color: var(--blue-500); }
.en-art-list b { flex: 1; font-weight: 500; }
.en-art-list em { font-style: normal; font-size: 12px; color: var(--muted); }
.en-art-list .is-go { background: var(--blue-500); color: #fff; }
.en-art-list .is-go .icon, .en-art-list .is-go em { color: rgba(255, 255, 255, 0.85); }
.en-art-360 { display: grid; gap: 10px; width: 100%; max-width: 280px; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--en-shadow-sm); font-size: 12px; }
.en-art-360 p { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
.en-art-360__head { display: flex !important; justify-content: space-between; margin-bottom: 2px; font-size: 13px; }
.en-art-360__head b { font-weight: 500; }
.en-art-360__head em { font-style: normal; color: var(--muted); }
.en-art-360 span { color: var(--ink-2); }
.en-art-360 i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--slate-200) var(--w), var(--slate-50) var(--w)); }
.en-art-360 .is-hot i { background: linear-gradient(90deg, var(--blue-500) var(--w), var(--slate-50) var(--w)); }
.en-art-360 .is-hot span { font-weight: 500; color: var(--ink); }

/* 05 · How it works: four numbered steps on a line */
.en-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.en-flow li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--en-shadow); }
.en-flow__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 50%; background: var(--blue-500); font-size: 15px; font-weight: 500; color: #fff; }
.en-flow h3 { font-size: var(--text-lg); font-weight: 500; }
.en-flow p { line-height: 1.5; color: var(--ink-2); }

/* 06 · AI you control: three stacked layers */
.en-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.en-split .lead { margin-top: 18px; }
.en-layers { display: grid; gap: 12px; padding: 40px; border-radius: 32px; background: url("assets/harmony/hero-gradient.jpg?v=5d3800f471") 0% 40% / 200% auto; }
.en-layer { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--en-shadow); }
.en-layer .icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50, #eef6ff); font-size: 20px; color: var(--blue-500); }
.en-layer b { display: block; font-weight: 500; }
.en-layer small { font-size: 13px; color: var(--muted); }
.en-layer--team { margin: 0 24px; }
.en-layer--rules { margin: 0 12px; }
.en-layer--base { background: var(--ink); }
.en-layer--base b { color: #fff; }
.en-layer--base small { color: rgba(255, 255, 255, 0.6); }
.en-layer--base .icon { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* 07–08 · Proof lines in the security head */
.en-sec__lead { margin-top: 18px; }

/* 09 · Rollout: four steps */
.en-rsteps { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .en-cards, .en-themes { grid-template-columns: 1fr; }
  .en-flow { grid-template-columns: repeat(2, 1fr); }
  .en-split { grid-template-columns: 1fr; gap: 40px; }
  .en-rsteps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .en-rsteps .rstep:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 700px) {
  .en-head { margin-bottom: 40px; }
  .en-hero__ctas .btn { flex: 1 1 100%; }
  .en-logos ul { gap: 20px 32px; }
  .en-stats { grid-template-columns: 1fr; }
  .en-stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
  .en-now__box { padding: 48px 24px; border-radius: 24px; }
  .en-now__line { border-radius: 16px; }
  .en-flow { grid-template-columns: 1fr; }
  .en-layers { padding: 24px 16px; border-radius: 24px; }
  .en-layer--team, .en-layer--rules { margin: 0; }
  .en-rsteps { grid-template-columns: 1fr; }
  .en-rsteps .rstep { padding-left: 0; border-left: 0; }
}
