/* v7 enterprise: carried over from the prototype's site.css in its cascade order, colours bound to tokens.
   Generated as a starting point by the port, then edited: the sales form's rules are gone with the form, the
   reveal entrance lives in site.css, and the frame's measures, the moved style attributes and the close without
   its form are at the end. */

.hero__copy { display: grid; gap: 20px; justify-items: start; max-width: 760px; }
.hero__copy .btn-row { margin-top: 12px; }
.checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 22px; color: var(--fg-2); }
.checks .ico { width: 18px; height: 18px; color: var(--fg); margin-top: 2px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 20px 0; text-align: left; font-size: 17px; line-height: 24px; font-weight: 500; color: var(--fg); }
.qa__q i { position: relative; width: 14px; height: 14px; flex: none; color: var(--fg-3); transition: transform 240ms var(--ease); }
.qa__q i::before, .qa__q i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: currentColor; border-radius: 1px; }
.qa__q i::after { transform: rotate(90deg); transition: transform 240ms var(--ease); }
.qa__q[aria-expanded='true'] i::after { transform: rotate(0deg); }
.qa__q:hover i { color: var(--fg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease); }
.qa__a.is-open { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding-bottom: 22px; font-size: 15px; line-height: 24px; color: var(--fg-3); max-width: 680px; }
.qa__a a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-interactive); }
.close { background: var(--bg); padding-block: 112px 120px; }
.close__copy { display: grid; gap: 18px; justify-items: start; align-content: start; }
.close__title { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; color: var(--fg); }
.close__links { display: grid; gap: 10px; margin-top: 12px; }
.close__links .link-arrow { color: var(--fg-2); }
.close__links .link-arrow:hover { color: var(--fg); }
@media (max-width: 960px) {
  .close { padding-block: 72px; }
}
@media (max-width: 560px) {
  .close { padding-block: 56px; }
}
.close__copy .checks { margin-top: 6px; }
.eh2-hero { background: var(--bg); }
.eh2-frame { display: grid; grid-template-rows: auto minmax(0, 1fr); height: clamp(640px, calc(100svh - var(--nav-h)), 900px); overflow: hidden; }
.eh2-copy { position: relative; z-index: 1; padding: 40px var(--cell) 28px; }
.eh2-copy .hero__copy { gap: 16px; }
/* The prototype's later [data-std] .t-lead (560) overrides this; here site.css comes first, so it is left out */
.eh2-copy .hero__copy { margin-inline: auto; max-width: 1040px; justify-items: center; text-align: center; }
/* The prototype tightened the headline's letters; at the system's 0 the first line needs a little more room to stay one line */
.site[data-page='enterprise'] .eh2-copy .hero__copy { max-width: 1080px; }
.eh2-copy .t-lead { margin-inline: auto; }
.eh2-copy .btn-row { justify-content: center; }
@media (max-width: 760px) {
  .eh2-frame { height: auto; }
  .eh2-copy { padding: 56px var(--cell) 32px; }
}
[data-std] #principles.s-sec, [data-std] #researchers.s-sec { padding-block: 0; }
[data-std] .checks li { font: var(--t-body); }
.s-sec { position: relative; border-top: 1px solid var(--line); background: var(--bg); }
.s-col { width: min(1280px, calc(100% - 32px)); margin-inline: auto; border-inline: 1px solid var(--line); }
.s-head { display: grid; justify-items: start; gap: 20px; padding: 96px var(--cell) 56px; border-bottom: 1px solid var(--line); }
.s-headline { font: var(--t-headline); letter-spacing: var(--tr-headline); color: var(--fg); }
.s-headline-col { font: var(--t-headline-col); letter-spacing: var(--tr-headline-col); color: var(--fg); }
.s-title { font: var(--t-title); color: var(--fg); }
.s-body { font: var(--t-body); color: var(--fg-3); }
.s-meta { font: var(--t-meta); color: var(--fg-4); }
.s-cells { display: grid; gap: 1px; background: var(--line); }
.s-cells + .s-cells { border-top: 1px solid var(--line); }
.s-cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s-cell { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: var(--cell); background: var(--bg); color: var(--fg); }
.s-cell > .s-meta { margin-bottom: 8px; }
.s-label { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.s-label > .s-label__head { display: grid; align-content: start; justify-items: start; gap: 20px; padding: 96px var(--cell) 72px; border-right: 1px solid var(--line); }
.s-label > .s-label__body { min-width: 0; padding: 80px var(--cell) 72px; }
.s-label .qa__q { font: var(--t-title); }
.s-label .qa__a p { font: var(--t-body); color: var(--fg-3); }
.s-label .qas > .qa:first-child { border-top: 0; }
.s-close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.s-close > .close__copy { padding: 96px var(--cell); }
.s-close .close__title { font: var(--t-close); letter-spacing: var(--tr-headline); }
.s-sec.close { padding-block: 0; }
.s-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.s-head--row > div { display: grid; justify-items: start; gap: 20px; }
.s-cell .link-arrow { margin-top: 16px; }
@media (max-width: 1023px) {
  .s-cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-close { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .s-cells--4 { grid-template-columns: minmax(0, 1fr); }
  .s-label { grid-template-columns: minmax(0, 1fr); }
  .s-label > .s-label__head { padding: 64px var(--cell) 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .s-label > .s-label__body { padding: 32px var(--cell) 56px; }
  .s-head { padding: 64px var(--cell) 40px; }
  .s-close > .close__copy { padding: 64px var(--cell); }
}
.site[data-page='enterprise'] #close { border-top: 0; padding-block: 112px 120px; }
.site[data-page='enterprise'] #close > .s-close { width: min(1200px, calc(100% - 2 * var(--gutter))); border-inline: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 80px; align-items: start; }
.site[data-page='enterprise'] #close > .s-close > .close__copy { padding: 0; }
@media (max-width: 1023px) {
  .site[data-page='enterprise'] #close { padding-block: 72px; }
  .site[data-page='enterprise'] #close > .s-close { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .site[data-page='enterprise'] #close { padding-block: 56px; }
}
.site[data-frame] main > .s-sec:not(.close) { padding-block: 0; border-top: 0; }
.site[data-frame] main > .s-sec:not(.close) > .s-col { width: var(--frame-w); max-width: none; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site[data-frame] main > .s-sec:not(.close) .s-head { padding: 120px var(--frame-pad) 56px; border: 0; }
.site[data-frame] main > .s-sec:not(.close) .s-head + * { margin-inline: var(--frame-pad); padding-bottom: 120px; }
.site[data-frame] .s-cell .s-meta { margin-bottom: 0; font: var(--t-small); color: var(--fg-3); }
.site[data-frame] :is(#types, #controls, #jobs) .s-head { border-bottom: 1px solid var(--line); }
.site[data-frame] :is(#types, #controls, #jobs) .ptx { display: grid; grid-template-columns: 320px minmax(0, 1fr); margin: 0; padding: 0; }
.site[data-frame] .ptx__rail { padding: 40px 0; }
.site[data-frame] .ptx__tabs { position: sticky; top: calc(var(--nav-h) + 40px); }
.site[data-frame] .ptx__tabs ol { display: grid; margin: 0; padding: 0; list-style: none; }
.site[data-frame] .ptx__tab { position: relative; display: block; padding: 6px 24px 6px var(--frame-pad); text-align: left; font: 400 18px/26px var(--sans); color: color-mix(in srgb, var(--fg) 25%, var(--bg)); transition: color 140ms ease; }
.site[data-frame] .ptx__tab:hover { color: var(--fg-3); }
.site[data-frame] .ptx__tab[aria-current='true'] { color: var(--fg); }
.site[data-frame] .ptx__panel + .ptx__panel { border-top: 1px solid var(--line); }
.site[data-frame] .ptx__tab[aria-current='true']::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--fg); }
.site[data-frame] .ptx__body { min-width: 0; border-left: 1px solid var(--line); }
.site[data-frame] .ptx__lead { display: grid; justify-items: start; gap: 20px; padding: 72px 56px; border-bottom: 1px solid var(--line); }
.site[data-frame] .ptx__lead p { max-width: 600px; font: 500 20px/30px var(--sans); color: var(--fg-3); text-wrap: pretty; }
.site[data-frame] .ptx__lead strong { font-weight: 500; color: var(--fg); }
@media (max-width: 1100px) {
  .site[data-frame] :is(#types, #controls, #jobs) .ptx { grid-template-columns: 240px minmax(0, 1fr); }
  .site[data-frame] .ptx__tab { padding-left: 32px; font-size: 16px; line-height: 24px; }
}
@media (max-width: 760px) {
  .site[data-frame] main > .s-sec:not(.close) > .s-col { border-inline: 0; }
  .site[data-frame] main > .s-sec:not(.close) .s-head { padding-top: 72px; padding-bottom: 40px; }
  .site[data-frame] main > .s-sec:not(.close) .s-head + * { padding-bottom: 72px; }
  .site[data-frame] :is(#types, #controls, #jobs) .ptx { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .site[data-frame] .ptx__rail { display: none; }
  .site[data-frame] .ptx__body { border-left: 0; }
  .site[data-frame] .ptx__lead { padding: 32px var(--frame-pad); }
  .site[data-frame] .ptx__lead p { font-size: 18px; line-height: 28px; }
}
.site[data-frame] :is(#why, #security) .s-cells { margin: 0; padding: 0; gap: 0; border-top: 1px solid var(--line); background: none; }
.site[data-frame] :is(#why, #security) .s-cell { gap: 10px; padding: 32px 32px 40px; background: none; }
.site[data-frame] :is(#why, #security) .s-cell + .s-cell { border-left: 1px solid var(--line); }
.site[data-frame] :is(#how, #rollout) .hw { margin: 0; padding: 0 0 120px; }
.site[data-frame] .hw__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site[data-frame] .hw__steps li { display: flex; flex-direction: column; gap: 70px; min-height: 240px; padding: 28px 32px 32px; }
.site[data-frame] .hw__steps li + li { border-left: 1px solid var(--line); }
.site[data-frame] .hw__n { font: var(--t-small); color: var(--fg-3); }
.site[data-frame] .hw__txt { display: grid; gap: 6px; }
.site[data-frame] .hw__t { font: 500 16px/24px var(--sans); color: var(--fg); text-wrap: balance; }
.site[data-frame] .hw__p { margin: 0; font: var(--t-small); color: var(--fg-3); text-wrap: pretty; }
.site[data-frame] .hw__facts { display: grid; margin: 24px 0 0; }
.site[data-frame] .hw__facts > div { display: grid; grid-template-columns: calc((100% + 64px) / 4) minmax(0, 1fr); margin-inline: 32px; padding-block: 20px; }
.site[data-frame] .hw__facts > div + div { border-top: 1px solid var(--line); }
.site[data-frame] .hw__facts dt { padding-top: 3px; font: var(--t-small); color: var(--fg-3); }
.site[data-frame] .hw__facts dd { margin: 0; font: var(--t-small); color: var(--fg-3); }
.site[data-frame] .hw__facts strong { display: block; margin-bottom: 4px; font: 500 16px/24px var(--sans); color: var(--fg); }
.site[data-frame] :is(#resellers, #buying) .s-cells { gap: 24px; background: none; border: 0; }
.site[data-frame] :is(#resellers, #buying) .s-cell { gap: 10px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); box-shadow: 0 1px 2px color-mix(in srgb, var(--lt-foreground-primary-strong) 6%, transparent); }
@media (max-width: 1100px) {
  .site[data-frame] :is(:is(#why, #security) .s-cells, .hw__steps) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site[data-frame] :is(:is(#why, #security) .s-cell, .hw__steps li):nth-child(odd) { border-left: 0; }
  .site[data-frame] :is(:is(#why, #security) .s-cell, .hw__steps li):nth-child(n + 3) { border-top: 1px solid var(--line); }
  .site[data-frame] .hw__steps li { min-height: 200px; gap: 48px; }
  .site[data-frame] .hw__facts > div { grid-template-columns: calc((100% + 64px) / 2) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .site[data-frame] :is(:is(#why, #security) .s-cells, .hw__steps, .hw__facts, :is(#resellers, #buying) .s-cells) { grid-template-columns: minmax(0, 1fr); }
  .site[data-frame] :is(:is(#why, #security) .s-cell, .hw__steps li) { padding: 24px var(--frame-pad); border-left: 0; }
  .site[data-frame] :is(:is(#why, #security) .s-cell, .hw__steps li) + :is(.s-cell, li) { border-top: 1px solid var(--line); border-left: 0; }
  .site[data-frame] .hw__steps li { min-height: 0; gap: 20px; }
  .site[data-frame] :is(#how, #rollout) .hw { padding-bottom: 72px; }
  .site[data-frame] .hw__facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; margin-inline: var(--frame-pad); }
  .site[data-frame] .hw__facts dt { padding-top: 0; }
  .site[data-frame] :is(#resellers, #buying) .s-cell { padding: 24px; }
}
.site[data-page='enterprise'] .nav:not(.is-scrolled) { border-bottom-color: transparent; }
.site[data-page='enterprise'] #controls > .s-col { width: 100%; border-inline: 0; }
.site[data-page='enterprise'] #controls .s-head { padding-inline: calc((100% - var(--frame-w)) / 2 + var(--frame-pad)); }
.site[data-page='enterprise'] #controls .ptx { width: var(--frame-w); margin-inline: auto; border-bottom: 1px solid var(--line); }
.site[data-page='enterprise'] #controls > .s-col { border-bottom: 0; }
.site[data-page='enterprise'] .eh2-frame { display: grid; gap: 48px; height: auto; padding-block: 96px 96px; overflow: visible; border-inline: 0; }
.site[data-page='enterprise'] .eh2-copy { padding: 0 var(--cell); }
.site[data-page='enterprise'] .eh2-copy .t-display { font: var(--t-headline); letter-spacing: var(--tr-headline); text-wrap: balance; }
.site[data-page='enterprise'] .eh2-frame { width: 100%; grid-template-columns: minmax(0, 1fr); }
.site[data-page='enterprise'] :is(.eh2-copy, .eh2-shot) { min-width: 0; }
.site[data-page='enterprise'] .eh2-shot { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.site[data-page='enterprise'] #faq .s-label { padding: 120px var(--frame-pad); border: 0; }
.site[data-page='enterprise'] #faq .s-label__head { padding: 0; border: 0; }
.site[data-page='enterprise'] #faq .s-label__body { padding: 0; border: 0; }
@media (max-width: 760px) {
  .site[data-page='enterprise'] .eh2-frame { padding-block: 56px; gap: 32px; }
  .site[data-page='enterprise'] .eh2-shot { width: calc(100% - 2 * var(--gutter)); }
  .site[data-page='enterprise'] #faq .s-label { padding-block: 72px; }
}
.site[data-page='enterprise'] #attestation .s-head { border-bottom: 1px solid var(--line); }
.site[data-page='enterprise'] #attestation .rpv { margin: 0; padding: 0; }
.site[data-page='enterprise'] .rpv__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.site[data-page='enterprise'] .rpv__row + .rpv__row { border-top: 1px solid var(--line); }
.site[data-page='enterprise'] .rpv__copy { padding: 56px var(--frame-pad); }
.site[data-page='enterprise'] .rpv__copy p { max-width: 380px; font: 500 20px/30px var(--sans); color: var(--fg-3); text-wrap: pretty; }
.site[data-page='enterprise'] .rpv__copy strong { font-weight: 500; color: var(--fg); }
.site[data-page='enterprise'] .rpv__demo { min-width: 0; }
@media (max-width: 1100px) {
  .site[data-page='enterprise'] .rpv__row { grid-template-columns: minmax(0, 1fr); }
  .site[data-page='enterprise'] .rpv__copy p { max-width: 600px; }
  .site[data-page='enterprise'] .rpv__copy { padding-bottom: 40px; }
}
@media (max-width: 760px) {
  .site[data-page='enterprise'] .rpv__copy { padding: 32px var(--frame-pad); }
  .site[data-page='enterprise'] .rpv__copy p { font-size: 18px; line-height: 28px; }
}
.site[data-page='enterprise'] :is(#security, #rollout) .s-head--row { align-items: flex-end; }
.site[data-page='enterprise'] :is(#security, #rollout) .s-head--row .link-arrow { margin-bottom: 10px; }
.site[data-page='enterprise'] #security .s-cells { align-items: stretch; }
.site[data-page='enterprise'] #rollout .hw { padding-bottom: 120px; }
.site[data-page='enterprise'] .hw__facts--buy > div { align-items: baseline; }
.site[data-page='enterprise'] .hw__facts--buy dt { padding-top: 0; font: 500 16px/24px var(--sans); color: var(--fg); }
.site[data-page='enterprise'] .hw__facts--buy dd { max-width: 560px; }
@media (max-width: 760px) {
  .site[data-page='enterprise'] :is(#security, #rollout) .s-head--row { align-items: flex-start; }
  .site[data-page='enterprise'] :is(#security, #rollout) .s-head--row .link-arrow { margin-bottom: 0; }
  .site[data-page='enterprise'] #rollout .hw { padding-bottom: 72px; }
}

/* ── The frame's measures: the prototype set them on .site[data-frame], which the port leaves to no page ── */
.site[data-frame] { --frame-w: min(1280px, calc(100% - 32px)); --frame-pad: 40px; }
@media (max-width: 760px) {
  .site[data-frame] { --frame-w: 100%; --frame-pad: var(--gutter); }
}

/* Until the sales form has a real endpoint the close has no form column, so the copy takes the row; the
   title keeps the measure it had beside the form, so it breaks where the prototype's does */
.site[data-page='enterprise'] #close > .s-close:not(:has(.close__form)) { grid-template-columns: minmax(0, 1fr); }
.site[data-page='enterprise'] #close > .s-close:not(:has(.close__form)) .close__title { max-width: 660px; }

/* The controls on a tablet and a phone, as Product's jobs: the contents rail drops and the seven panels run one
   under another at full width, each its statement then its shot (Johnny, 12 Nov: the sideways tab strip that
   showed one panel at a time did not work on a phone) */
@media (max-width: 1023px) {
  .site[data-frame] #controls .ptx { grid-template-columns: minmax(0, 1fr); }
  .site[data-frame] .ptx__rail { display: none; }
  .site[data-frame] .ptx__body { border-left: 0; }
}

/* Vertical rhythm on a phone: 130 to 200px sat between the hero map and the first section, and 72px between a
   head and its content; both come down to the 40 to 56px a phone's sections use */
@media (max-width: 760px) {
  .site[data-page='enterprise'] .eh2-frame { padding-bottom: 0; }
  .site[data-frame] main > .s-sec:not(.close) .s-head { padding-top: 56px; padding-bottom: 32px; }
  .site[data-frame] main > .s-sec:not(.close) .s-head + * { padding-bottom: 56px; }
  .site[data-frame] .ptx__lead { padding-top: 24px; }
  .site[data-page='enterprise'] .rpv__copy { padding-top: 24px; }
  .site[data-page='enterprise'] #faq .s-label { padding-block: 56px; }
  .site[data-page='enterprise'] #rollout .hw { padding-bottom: 56px; }
}

/* A headline's second tone balances on its own on a phone, so neither part ends on a word alone */
@media (max-width: 760px) {
  .site[data-page='enterprise'] main :is(h1, h2) .tone-2 { display: block; text-wrap: balance; }
}
/* At 320 a headline takes one step down, as the display does in site.css, so "organisation wide." and
   "organisation runs." keep their pair on one line rather than leaving a word alone */
@media (max-width: 360px) {
  .site[data-page='enterprise'] :is(.eh2-copy .t-display, main .s-headline, .close__title) { font-size: 28px; line-height: 36px; }
}
/* "to the whole company." is about eleven times its type size wide, and no break of it leaves two words on
   each line, so on a phone the rollout headline sizes to keep that line whole: 32px from 400 up, a little
   less below */
@media (max-width: 760px) {
  .site[data-page='enterprise'] #rollout .s-headline { font-size: min(32px, calc((100vw - var(--gutter) - var(--gutter-r) - 4px) / 11)); line-height: 1.25; }
}

/* ── Product shots from Figma (css/v7/figma-shots.css) ────────────────────────────────────────────────────
   Each names its frame (--iw x --ih, in the frame's 1x pixels) and the crop a phone shows (--fx, --fy, --fw,
   --fh): the part of the frame that tells the story, at close to full size. */

/* 21 Enterprise hero, the org tree (one state). A phone shows the Payments branch: the group, its two
   workspaces and Fraud Lab behind its boundary. The whole tree would put its text at seven pixels on a
   tablet too, so from 561 to 1023 the shot shows that branch under the org, from Branch Systems across. */
.fshot--21 { --iw: 1280; --ih: 820; --fx: 690; --fy: 278; --fw: 408; --fh: 486; }
@media (min-width: 561px) and (max-width: 1023px) {
  .site[data-page='enterprise'] .eh2-shot { max-width: 720px; }
  .fshot.fshot--21 { --fx: 480; --fy: 100; --fw: 730; --fh: 664; display: block; aspect-ratio: var(--fw) / var(--fh); }
  .fshot--21 .fshot__state { position: absolute; max-width: none; width: calc(100% * var(--iw) / var(--fw)); left: calc(-100% * var(--fx) / var(--fw)); top: calc(-100% * var(--fy) / var(--fh)); }
}

/* 22 to 28, the controls. Their rows run the frame's width, so a phone keeps the column that changes. */
/* 22 Org tree and roles: the team names and their boxes being ticked */
.fshot--22 { --iw: 927; --ih: 536; --fx: 44; --fy: 50; --fw: 420; --fh: 440; }
/* 23 Policies: the setting, its menu, and where it is managed, marked Tightened */
.fshot--23 { --iw: 927; --ih: 542; --fx: 360; --fy: 60; --fw: 440; --fh: 420; }
/* 24 Governance: where each request or policy sits and its state */
.fshot--24 { --iw: 927; --ih: 542; --fx: 420; --fy: 60; --fw: 446; --fh: 420; }
/* 25 Identity: Okta and its people, with the person SCIM adds */
.fshot--25 { --iw: 927; --ih: 562; --fx: 56; --fy: 60; --fw: 410; --fh: 440; }
/* 26 Audit trail: the filter and who did what. Filtered to one person the frame is 460 tall, not 508, so the
   shot keeps the taller frame's height and the shorter state sits at its top, over the grey its stage ends on */
.fshot--26 { --iw: 927; --ih: 508; --fx: 56; --fy: 56; --fw: 400; --fh: 392; }
.fshot.fshot--26 { background: linear-gradient(90deg, var(--lt-outline-subtle), var(--lt-outline-default) 13% 87%, var(--lt-outline-subtle)); }
.fshot--26 .fshot__state { align-self: start; }
/* 27 Data boundaries: the workspaces and the dialog saying who will see findings and who counts only (the
   Boundary on chip sits at the far right of its row, so a phone ends on Fraud Lab's row picked out instead) */
.fshot--27 { --iw: 927; --ih: 482; --fx: 56; --fy: 50; --fw: 484; --fh: 372; }
/* 28 Teams: the roles and the dialog moving Card Processing from Payments to Retail */
.fshot--28 { --iw: 927; --ih: 468; --fx: 456; --fy: 56; --fw: 412; --fh: 324; }
/* Phone frames for 22 to 28 (12 Nov, Figma "Enterprise controls · Phone, 12 Nov"): at 560px and below each shot serves its
   own 400 wide phone image, the card in one column with every row whole, in place of a crop of the desktop frame */
@media (max-width: 560px) {
  .fshot--22 { --iw: 400; --ih: 498; --fx: 0; --fy: 0; --fw: 400; --fh: 498; }
  .fshot--23 { --iw: 400; --ih: 575; --fx: 0; --fy: 0; --fw: 400; --fh: 575; }
  .fshot--24 { --iw: 400; --ih: 643; --fx: 0; --fy: 0; --fw: 400; --fh: 643; }
  .fshot--25 { --iw: 400; --ih: 542; --fx: 0; --fy: 0; --fw: 400; --fh: 542; }
  .fshot--26 { --iw: 400; --ih: 550; --fx: 0; --fy: 0; --fw: 400; --fh: 550; }
  .fshot--27 { --iw: 400; --ih: 448; --fx: 0; --fy: 0; --fw: 400; --fh: 448; }
  .fshot--28 { --iw: 400; --ih: 432; --fx: 0; --fy: 0; --fw: 400; --fh: 432; }
}

/* 49 Enterprise hero, the agent record in the app window; 47 the board page and 48 the pull requests then the code
   (approved in Figma, 12 Nov). 47 and 48 are elements of the app, not windows: each image is the card alone with room
   for its shadow, flattened on the sunken grey, and sits on a grey stage under its copy at its real size (its text at
   13px, as in the app) */
/* 49 is the app window on the white hero, no stage of its own (Johnny, 12 Nov: "the hero doesn't need a BG"): the
   image is the window with room for its shadow, flattened on white, shown at its real size */
.fshot--49 { --iw: 1350; --ih: 960; }
.fshot--47 { --iw: 1092; --ih: 592; }
.fshot--48 { --iw: 1222; --ih: 587; }
.fshot.fshot--49 { aspect-ratio: auto; padding: 0; background: none; border-radius: 0; }
.site[data-page='enterprise'] .eh2-shot.fshot--49 { width: min(1350px, 100%); }
.site[data-page='enterprise'] .eh2-frame:has(.fshot--49) { padding-bottom: 32px; }
/* The rails start at Attestation, so a full-width line opens it, as on Product: no rail begins in mid-air */
.site[data-page='enterprise'] #attestation { border-top: 1px solid var(--line); }
@media (min-width: 561px) and (max-width: 1023px) { .site[data-page='enterprise'] .eh2-shot.fshot--49 { max-width: none; } }
.site[data-page='enterprise'] .rpv__demo { background: var(--bg-sunken); }
.site[data-page='enterprise'] .rpv__demo > .fshot { width: min(100%, calc(var(--iw) * 1px)); margin-inline: auto; padding-top: 56px; aspect-ratio: auto; background: none; }
.site[data-page='enterprise'] .rpv__demo > .rpv__cap { position: relative; margin-top: -40px; padding: 0 var(--frame-pad) 48px; text-align: center; }
@media (max-width: 560px) {
  .fshot:is(.fshot--47, .fshot--48, .fshot--49) { display: grid; aspect-ratio: auto; }
  .fshot:is(.fshot--47, .fshot--48, .fshot--49) .fshot__state { position: static; width: 100%; }
  .site[data-page='enterprise'] .rpv__demo > .fshot { padding-top: 24px; }
  .site[data-page='enterprise'] .rpv__demo > .rpv__cap { margin-top: -16px; padding-bottom: 24px; }
}

/* 14 Board report (one state): the report's left column, licence cost, time to fix and the workspaces */
.fshot--14 { --iw: 820; --ih: 616; --fx: 50; --fy: 40; --fw: 362; --fh: 524; }
/* 15 Enterprise agent record (Warned, then Fixed): the outcome, the agent and model, and the engineer */
.fshot--15 { --iw: 820; --ih: 540; --fx: 372; --fy: 104; --fw: 394; --fh: 370; }

/* ══ Enterprise to the website standard, with Home as the bar (Johnny, 11 Nov; the skill leotrace-website) ════
   Layout only: the copy, the shots and the animations are the page's own. As on Home and Product: quieter
   rails, heads 96 above and 40 below, sections ending 96 under their content, no section labels (the hero's
   Trust Centre pill stays: it names a destination), two statements at the headline size (Controls and
   Reporting) and every other head a column headline, a head that runs on keeping its grey half inline. ════ */
.site[data-page='enterprise'] main > .s-sec:not(.close) > .s-col { border-inline-color: var(--line-faint); }
.site[data-page='enterprise'] main > .s-sec:not(.close) .s-head { gap: 16px; padding: 96px var(--frame-pad) 40px; }
.site[data-page='enterprise'] main > .s-sec:not(.close) .s-head + * { padding-bottom: 96px; }
.site[data-page='enterprise'] main .s-sec .s-headline { font: var(--t-headline-col); letter-spacing: var(--tr-headline-col); text-wrap: balance; }
.site[data-page='enterprise'] main :is(#controls, #attestation) .s-headline { font: var(--t-headline); letter-spacing: var(--tr-headline); }
.site[data-page='enterprise'] main .s-headline--run .tone-2 { display: inline; }

/* The hero's Trust Centre pill, as Home's announcement: an outline card at its smallest, the label in a soft
   inset tag, the title beside it and an arrow that nudges on hover */
.site[data-page='enterprise'] .eh2-copy .chip-link { gap: 10px; height: 32px; padding: 0 12px 0 4px; border-color: var(--line); background: var(--surface); box-shadow: var(--lt-shadow-raised); font: 500 14px/20px var(--sans); color: var(--fg-2); transition: border-color 150ms ease, color 150ms ease; }
.site[data-page='enterprise'] .eh2-copy .chip-link:hover { border-color: var(--line-strong); background: var(--surface); color: var(--fg); }
.site[data-page='enterprise'] .eh2-copy .chip-link__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--bg-sunken); font: 400 12px/16px var(--mono); color: var(--fg-3); }
.site[data-page='enterprise'] .eh2-copy .chip-link .ico { transition: transform 150ms ease; }
.site[data-page='enterprise'] .eh2-copy .chip-link:hover .ico { transform: translateX(2px); }

/* Controls keeps its structure, as Home's What we do: the head cell with its line and its own room, the tab
   column on the rail, the panels split by lines; a tab not chosen is quiet but readable */
/* the side padding stays the section's own: on a wide screen Controls runs full width and its head lines up
   with the frame by calculation (above) */
.site[data-page='enterprise'] main > #controls .s-head { gap: 20px; padding-block: 120px 56px; }
.site[data-page='enterprise'] main > #controls .s-head + * { padding-bottom: 0; }
.site[data-page='enterprise'] .ptx__tab { color: var(--fg-4); }
.site[data-page='enterprise'] .ptx__tab:hover { color: var(--fg-2); }

/* Reporting: each row a split head, its title left and its copy right from one top line, the shot full
   width under them (Home's LeoSweep), where short copy beside a tall shot left a dead block */
.site[data-page='enterprise'] .rpv__row { grid-template-columns: minmax(0, 1fr); }
.site[data-page='enterprise'] .rpv__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 64px; row-gap: 16px; padding: 48px var(--frame-pad) 40px; }
.site[data-page='enterprise'] .rpv__t { margin: 0; font: var(--t-headline-col); letter-spacing: var(--tr-headline-col); color: var(--fg); text-wrap: balance; }
.site[data-page='enterprise'] .rpv__copy p { max-width: 520px; font: var(--t-lead); color: var(--fg-3); }

/* Security: four keylined cells (a set is a grid); a title held to two lines so each cell's copy starts on one
   line across the row */
.site[data-page='enterprise'] #security .s-cell { gap: 8px; padding: 40px var(--frame-pad) 48px; }
.site[data-page='enterprise'] #security .s-title { min-height: 44px; }
.site[data-page='enterprise'] :is(#security, #rollout) .s-head--row .link-arrow { margin-bottom: 4px; }

/* Rollout: four numbered steps on the rail (a line above them and lines between), then the two ways to buy as
   rows; the steps draw no second line under them */
.site[data-page='enterprise'] :is(#how, #rollout) .hw { padding-bottom: 96px; }
.site[data-page='enterprise'] .hw__steps { border-bottom: 1px solid var(--line); }
.site[data-page='enterprise'] .hw__steps li { gap: 64px; padding: 32px; }
.site[data-page='enterprise'] .hw__steps li:first-child { padding-left: var(--frame-pad); }
.site[data-page='enterprise'] .hw__txt { gap: 8px; }
.site[data-page='enterprise'] .hw__t { font: var(--t-title); }

/* The FAQ: the head over the questions, the list at full width with a line above it and under each row */
.site[data-page='enterprise'] #faq .s-label, .site[data-page='enterprise'] #faq .s-label { padding: 0; }
.site[data-page='enterprise'] #faq .s-label { grid-template-columns: minmax(0, 1fr); }
.site[data-page='enterprise'] #faq .s-label > .s-label__head { gap: 16px; padding: 96px var(--frame-pad) 40px; border-right: 0; }
.site[data-page='enterprise'] #faq .s-label > .s-label__body { padding: 0 var(--frame-pad) 96px; }
.site[data-page='enterprise'] .s-label .qas > .qa:first-child { border-top: 1px solid var(--line); }
.site[data-page='enterprise'] .qa__a p { padding-bottom: 24px; }

/* The close: one tone, its copy starting level with the form's first field */
.site[data-page='enterprise'] #close { padding-block: 96px; }
.site[data-page='enterprise'] #close > .s-close { gap: 64px; }
.site[data-page='enterprise'] #close > .s-close > .close__copy { gap: 16px; padding-top: 32px; }
.site[data-page='enterprise'] #close .checks { gap: 8px; }
.site[data-page='enterprise'] #close .close__form { padding: 32px; }
.site[data-page='enterprise'] #close .form-fields .field { gap: 8px; }

/* Motion: the answers open within 160ms; a set settles 70ms apart */
.site[data-page='enterprise'] .qa__a, .site[data-page='enterprise'] .qa__q i, .site[data-page='enterprise'] .qa__q i::after { transition-duration: 160ms; }
.site[data-page='enterprise'] :is(#security .s-cell, .hw__steps li) { transition: opacity 500ms var(--settle), transform 500ms var(--settle); }
.site[data-page='enterprise'] :is(#security .s-cells.reveal.is-pre .s-cell, .hw.reveal.is-pre .hw__steps li) { opacity: 0; transform: translateY(12px); }
.site[data-page='enterprise'] :is(#security .s-cell, .hw__steps li):nth-child(2) { transition-delay: 70ms; }
.site[data-page='enterprise'] :is(#security .s-cell, .hw__steps li):nth-child(3) { transition-delay: 140ms; }
.site[data-page='enterprise'] :is(#security .s-cell, .hw__steps li):nth-child(4) { transition-delay: 210ms; }

@media (max-width: 1100px) {
  .site[data-page='enterprise'] .hw__steps li { gap: 48px; }
}
@media (max-width: 760px) {
  .site[data-page='enterprise'] main > .s-sec:not(.close) .s-head { padding: 64px var(--frame-pad) 24px; }
  .site[data-page='enterprise'] main > .s-sec:not(.close) .s-head + * { padding-bottom: 64px; }
  .site[data-page='enterprise'] main > #controls .s-head { padding-block: 64px 40px; }
  .site[data-page='enterprise'] main #rollout .s-headline { font: var(--t-headline-col); letter-spacing: var(--tr-headline-col); }
  .site[data-page='enterprise'] .eh2-frame { padding-top: 64px; }
  .site[data-page='enterprise'] .rpv__copy { grid-template-columns: minmax(0, 1fr); padding: 32px var(--frame-pad) 24px; }
  .site[data-page='enterprise'] .rpv__copy p { font: var(--t-lead); }
  .site[data-page='enterprise'] #security .s-cell { padding: 24px var(--frame-pad); }
  .site[data-page='enterprise'] #security .s-title { min-height: 0; }
  .site[data-page='enterprise'] :is(#how, #rollout) .hw { padding-bottom: 64px; }
  .site[data-page='enterprise'] .hw__steps li, .site[data-page='enterprise'] .hw__steps li:first-child { gap: 16px; padding: 24px var(--frame-pad); }
  .site[data-page='enterprise'] #faq .s-label > .s-label__head { padding: 64px var(--frame-pad) 24px; border-bottom: 0; }
  .site[data-page='enterprise'] #faq .s-label > .s-label__body { padding: 0 var(--frame-pad) 64px; }
  .site[data-page='enterprise'] #close { padding-block: 64px; }
  .site[data-page='enterprise'] #close > .s-close > .close__copy { padding-top: 0; }
  .site[data-page='enterprise'] #close .close__form { padding: 24px; }
}
/* ══ Attestation leads the page (Johnny, 12 Nov) ═══════════════════════════════════════════════════════════
   Reporting is now Attestation and sits above Controls; its second row shows the real Attestation screen (shot
   32) with a caption under it saying what a PR's record is and is not. Security gains a fifth cell, the
   compliance exports, so its set runs five across on a wide screen. */
.site[data-page='enterprise'] .rpv__cap { margin: 0; padding: 16px var(--frame-pad) 24px; font: var(--t-small); color: var(--fg-3); }
.s-cells--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .site[data-frame] #security .s-cells--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site[data-frame] #security .s-cells--5 > .s-cell:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site[data-frame] #security .s-cells--5 { grid-template-columns: minmax(0, 1fr); }
  .site[data-page='enterprise'] .rpv__cap { padding-block: 12px 20px; }
}

/* Phone frames for 49, 47 and 48 (12 Nov): at 560px and below each serves its 400 wide phone image */
@media (max-width: 560px) {
  .fshot--49 { --iw: 400; --ih: 606; }
  .fshot--47 { --iw: 400; --ih: 638; }
  .fshot--48 { --iw: 400; --ih: 463; }
}
