/* grobot Labs: /enterprise. Loaded AFTER /pages.css, which supplies the palette,
   type, buttons, nav, FAQ, proof band, closing band and footer. This file holds
   only the blocks this page adds. Rules: no pill shapes (10px buttons, 8px small
   tags), flat colour, 2px ink borders, hard offset shadows. Product mockups keep
   the app's own dark colours. Breakpoints: phone up to 640, tablet 641 to 1040. */

.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
#contact, #adds, #rollout, #team, #proof, #faq { scroll-margin-top: var(--nav-h); }

/* ---------- hero ---------- */
.en-hero { border-bottom: 2px solid var(--ink); }
.en-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(30px, 4.5vw, 72px); align-items: center; }
.en-hero .h1 { font-size: clamp(2.6rem, 5.1vw, 4.9rem); max-width: 12ch; }
.en-hero .lede { max-width: 54ch; }
.en-alt { margin-top: 20px; font-size: 1rem; color: var(--ink-soft); }
.en-alt a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; display: inline-block; padding: 10px 0; }
.en-alt a:hover { color: var(--orange-d); }
.en-hero-art { position: relative; padding: 18px 0 8px; min-width: 0; }
.en-tag {
  position: absolute; right: 14px; top: -4px; z-index: 2; rotate: 3deg; background: var(--card); border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: 0 4px 0 var(--ink); padding: 8px 14px 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
}
.en-tag b { color: var(--orange-d); font-weight: 600; }

/* ---------- app mockups (the app's own dark colours) ---------- */
.en-app {
  container-type: inline-size; background: #0d1a2e; color: #e8edf5; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 0 var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 1.4; text-align: left;
}
.sec-navy .en-app { border-color: #22395c; box-shadow: 0 8px 0 var(--orange); }
.en-app-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; background: #081120; border-bottom: 1px solid rgba(122,146,178,.14); }
.en-app-bar img { height: 16px; width: auto; flex-shrink: 0; }
.en-app-bar span { font-size: 11.5px; color: #7a92b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.en-app-bar i { margin-left: auto; flex-shrink: 0; font-style: normal; font-size: 11px; font-weight: 600; color: #8fd457; background: rgba(125,194,68,.14); border-radius: 6px; padding: 2px 9px; }
.en-app-body { padding: 16px; }
.en-app-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-bottom: 12px; }
.en-app-h b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.en-app-h span { font-size: 12px; color: #7a92b2; }

/* roster */
.en-rost { border: 1px solid rgba(122,146,178,.16); border-radius: 10px; overflow: hidden; }
.en-rost li { display: grid; grid-template-columns: 32px minmax(0, 1fr) 64px 68px 84px; align-items: center; gap: 12px; padding: 9px 12px; min-height: 52px; border-top: 1px solid rgba(122,146,178,.12); }
.en-rost li:first-child { border-top: 0; }
.en-rost .en-rost-h { min-height: 0; padding-block: 7px; background: #0a1526; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #7a92b2; }
.en-rost .en-rost-h span:nth-child(n+3) { text-align: right; }
.en-rost .en-rost-h span:last-child { text-align: left; }
.en-av { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #3a9be0; color: #6db8ee; background: #0f1e36; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.en-who { min-width: 0; }
.en-who b { display: block; font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-who small { display: block; font-size: 11.5px; color: #7a92b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.en-num.dim { color: #9fb2cc; font-weight: 500; }
.en-bar { height: 8px; border-radius: 4px; background: #13243f; overflow: hidden; }
.en-bar i { display: block; height: 100%; width: var(--w, 50%); background: #3a9be0; border-radius: 4px; }
.en-rost li.on { background: rgba(232,122,84,.08); box-shadow: inset 3px 0 0 #e87a54; }
.en-rost li.on .en-bar i { background: #e87a54; }
.en-rost li.open { color: #7a92b2; }
.en-rost li.open .en-av { border-style: dashed; border-color: #4b6590; color: #7a92b2; background: none; }
.en-rost li.open b { color: #9fb2cc; font-weight: 500; }
.en-rost li.open .en-add { grid-column: 3 / -1; text-align: right; font-size: 12px; color: #6db8ee; font-weight: 600; }
.en-sum { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; background: #13243f; border: 1px solid rgba(122,146,178,.16); border-radius: 10px; }
.en-sum div { padding: 11px 12px; } .en-sum div + div { border-left: 1px solid rgba(122,146,178,.16); }
.en-sum b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.en-sum span { font-size: 11px; color: #7a92b2; }
.en-rec { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 11px 12px; border: 1px dashed rgba(232,122,84,.55); border-radius: 10px; font-size: 12.5px; color: #cfe0f5; }
.en-rec::before { content: ''; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #e87a54; flex-shrink: 0; }
.en-rec b { color: #fff; font-weight: 600; }
.en-rec small { display: block; color: #7a92b2; font-size: 11.5px; margin-top: 2px; }
@container (max-width: 470px) {
  .en-rost li { grid-template-columns: 32px minmax(0, 1fr) 46px 62px; gap: 9px; padding-inline: 10px; }
  .en-bar, .en-rost .en-rost-h span:last-child { display: none; }
  .en-rost li.open .en-add { grid-column: 3 / -1; }
  .en-sum b { font-size: 16px; }
}

/* ---------- spec sheet: Spark vs Enterprise ---------- */
.en-sheet { margin-top: clamp(36px, 5vw, 60px); background: var(--card); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 0 8px 0 var(--ink); overflow: hidden; }
.en-spec { width: 100%; border-collapse: collapse; table-layout: fixed; }
.en-spec col:first-child { width: 24%; } .en-spec col:nth-child(2) { width: 33%; }
.en-spec th, .en-spec td { text-align: left; vertical-align: top; padding: 16px 22px; border-top: 1px solid var(--rule); font-size: 1.03rem; line-height: 1.4; }
.en-spec thead th { border-top: 0; border-bottom: 2px solid var(--ink); padding-block: 20px 18px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; font-variation-settings: 'wdth' 82; line-height: 1; }
.en-spec thead small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-variation-settings: normal; }
.en-spec thead .en-col { background: var(--orange); } .en-spec thead .en-col small { color: var(--ink); }
.en-spec tbody th[scope="row"] { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 20px; }
.en-spec td { color: var(--ink-soft); }
.en-spec td.en-col { color: var(--ink); font-weight: 650; background: rgba(232,122,84,.1); border-left: 2px solid var(--ink); }
.en-spec thead .en-col { border-left: 2px solid var(--ink); }
.en-spec td.en-col span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .96rem; margin-top: 3px; }
.en-spec .en-spec-g th { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding-block: 9px; border-top: 0; }
.en-spec .en-spec-g th i { font-style: normal; color: var(--orange); margin-right: 8px; }
.en-spec tfoot td { border-top: 2px solid var(--ink); padding-block: 20px 24px; }
.en-spec tfoot .btn { white-space: normal; text-align: center; justify-content: center; }
.en-sheet-note { margin-top: 26px; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink-soft); max-width: 92ch; }

.en-layer { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 6vw, 100px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.en-layer h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -.035em; font-weight: 750; font-variation-settings: 'wdth' 86; max-width: 14ch; }
.en-layer h3 em { color: var(--orange-d); }
.en-layer > div > p { margin-top: 16px; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.55; max-width: 40ch; }

/* ---------- rollout ---------- */
.en-roll-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 5vw, 80px); align-items: end; }
.en-roll-head p { color: #b9c6da; font-size: 1.08rem; line-height: 1.55; max-width: 46ch; }
.en-weeks { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(44px, 5vw, 70px); padding-top: 30px; }
.en-weeks::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }
.en-week { position: relative; border: 1.5px solid rgba(243,238,227,.28); border-radius: 14px; padding: 22px 20px 20px; background: rgba(243,238,227,.03); }
.en-week::before { content: ''; position: absolute; left: 20px; top: -31px; width: 14px; height: 14px; background: var(--navy); border: 2px solid var(--orange); border-radius: 4px; }
.en-week-n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.en-week h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1; letter-spacing: -.03em; font-weight: 800; font-variation-settings: 'wdth' 82; margin: 12px 0 16px; }
.en-week dl { display: grid; gap: 14px; }
.en-week dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.en-week dl > div + div dt { color: #6db8ee; }
.en-week dd { font-size: .99rem; line-height: 1.5; color: #c9d4e5; }
.en-roll-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: clamp(36px, 4vw, 56px); padding-top: 26px; border-top: 1px solid rgba(243,238,227,.2); }
.en-roll-foot p { font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #8ea2bf; max-width: 70ch; }

/* ---------- team capabilities ---------- */
.en-team-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 5vw, 80px); align-items: end; }
.en-team-head > p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.55; max-width: 46ch; }
.en-board-wrap { margin-top: clamp(36px, 5vw, 60px); }
.en-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.en-stage { background: #0a1526; border: 1px solid rgba(122,146,178,.16); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.en-stage-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 2px 4px 4px; font-weight: 600; font-size: 13px; }
.en-stage-h span { font-size: 11.5px; font-weight: 500; color: #7a92b2; }
.en-deal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; background: #13243f; border: 1px solid rgba(122,146,178,.16); border-radius: 8px; padding: 10px 11px; }
.en-deal b { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-deal small { font-size: 12px; color: #9fb2cc; font-variant-numeric: tabular-nums; }
.en-deal .en-av { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; font-size: 10px; }
.en-deal.stuck { box-shadow: inset 3px 0 0 #e87a54; }
.en-deal.stuck small i { font-style: normal; color: #f09a7a; font-weight: 600; margin-left: 6px; }
.en-stage-f { margin-top: auto; padding: 8px 4px 2px; border-top: 1px solid rgba(122,146,178,.16); display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #7a92b2; }
.en-stage-f b { color: #8fd457; font-weight: 600; font-variant-numeric: tabular-nums; }
@container (max-width: 560px) { .en-board { grid-template-columns: 1fr; } }

.en-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(26px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.en-cap { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.en-cap > span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); padding-top: 5px; }
.en-cap b { display: block; font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.en-cap p { margin-top: 5px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.55; }
.en-not { margin-top: 30px; padding: 16px 18px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); max-width: 76ch; }
.en-not b { color: var(--ink); }

/* ---------- proof (reuses .results from pages.css) ---------- */
#proof .results { margin-top: clamp(36px, 5vw, 56px); }
#proof .proof-more a { display: inline-block; padding: 13px 0; }

/* ---------- contact ---------- */
.en-contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.en-next { margin-top: 34px; border-top: 2px solid var(--ink); max-width: 560px; }
.en-next-h { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 0 4px; }
.en-next li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 14px 0; border-bottom: 1px solid rgba(22,38,77,.3); font-size: 1.04rem; line-height: 1.5; }
.en-next li > span { width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 8px; background: var(--card); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.en-next b { font-weight: 700; }
.en-solo { margin-top: 24px; font-size: 1rem; }
.en-solo a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; display: inline-block; padding: 10px 0; }

.form { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 10px 0 var(--ink); display: grid; gap: 16px; }
.form h3 { font-size: 1.7rem; letter-spacing: -.03em; font-variation-settings: 'wdth' 84; font-weight: 750; line-height: 1.05; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; min-width: 0; }
.form label span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.form label i { text-transform: none; letter-spacing: 0; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: 13px 14px; width: 100%; min-height: 50px; }
.form select { appearance: auto; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; background: #fff; }
.form textarea { resize: vertical; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form-note { font-size: .92rem; color: var(--ink-soft); text-align: center; min-height: 1.4em; }
.form-note a { text-decoration: underline; }
.form-note.ok { color: #2f6410; font-weight: 600; }

/* ---------- tablet and below ---------- */
@media (max-width: 1040px) {
  .en-hero-grid, .en-layer, .en-roll-head, .en-team-head, .en-contact-grid { grid-template-columns: 1fr; }
  .en-hero .h1 { max-width: 14ch; }
  .en-hero-art { max-width: 640px; }
  .en-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .en-weeks::before, .en-week::before { display: none; }
  .en-weeks { padding-top: 0; }
  .en-caps { grid-template-columns: 1fr; }
  .en-spec th, .en-spec td { padding-inline: 16px; }
  .en-spec col:first-child { width: 22%; }
}
@media (min-width: 641px) and (max-width: 1040px) {
  .en-contact-grid .form { max-width: 640px; }
}
/* ---------- phone: the spec sheet becomes stacked rows ---------- */
@media (max-width: 640px) {
  .en-spec, .en-spec tbody, .en-spec tfoot, .en-spec tr, .en-spec th, .en-spec td { display: block; width: auto; }
  .en-spec colgroup { display: none; }
  .en-spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .en-spec tbody tr:not(.en-spec-g) { border-top: 1px solid var(--rule); padding: 14px 0 0; }
  .en-spec tbody th[scope="row"] { border: 0; padding: 0 16px 10px; color: var(--ink); font-weight: 600; }
  .en-spec td { border: 0; padding: 10px 16px 12px; }
  .en-spec td::before { content: attr(data-plan); display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
  .en-spec td.en-col { border-left: 0; box-shadow: inset 4px 0 0 var(--orange); }
  .en-spec td.en-col::before { color: var(--orange-d); }
  .en-spec tfoot tr { border-top: 2px solid var(--ink); padding: 6px 0 10px; }
  .en-spec tfoot td { border: 0; padding: 12px 16px 6px; }
  .en-spec tfoot td:empty { display: none; }
  .en-spec tfoot td::before { display: none; }
  .en-spec tfoot td.en-col { box-shadow: none; background: none; }
  .en-spec tfoot .btn { width: 100%; }
  .en-weeks { grid-template-columns: 1fr; }
  .en-cap { grid-template-columns: 1fr; gap: 4px; }
  .en-cap > span { padding-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .form input, .form select, .form textarea { font-size: 16px; }
  .en-tag { right: 8px; font-size: 10px; padding: 6px 10px 5px; }
  .en-app-body { padding: 12px; }
  .en-roll-foot .btn { width: 100%; justify-content: center; }
}

/* ---- optional add-on: full implementation ---- */
.en-build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(40px, 5vw, 64px); padding: clamp(26px, 3.4vw, 46px); background: var(--card, #fffdf8); color: var(--ink); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--orange); scroll-margin-top: 100px; }
.en-build-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft, #4a5878); margin: 0 0 16px; }
.en-build-tag b { color: var(--orange-d, #cf5f38); font-weight: 600; } .en-build-tag i { font-style: normal; color: var(--orange); margin: 0 8px; }
.en-build h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; font-variation-settings: 'wdth' 84; margin: 0 0 16px; color: var(--ink); }
.en-build h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--orange-d, #cf5f38); }
.en-build-copy > p:not(.en-build-tag) { font-size: 1.04rem; line-height: 1.6; color: var(--ink-soft, #4a5878); margin: 0 0 24px; max-width: 52ch; }
.en-build-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.en-build-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule, #d9d1bf); }
.en-build-steps li:first-child { border-top: 0; padding-top: 0; }
.en-build-steps span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--orange-d, #cf5f38); padding-top: 4px; }
.en-build-steps b { display: block; font-size: 1.12rem; font-weight: 750; letter-spacing: -.02em; color: var(--ink); }
.en-build-steps p { margin: 4px 0 0; font-size: .96rem; line-height: 1.5; color: var(--ink-soft, #4a5878); }
.en-cap a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); }
@media (max-width: 900px) { .en-build { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--orange); } }
