@charset "UTF-8";
/*==============================================================
  NeuraSec — practice layer
  ---------------------------------------------------------------
  Loaded only by /neurasec/ pages, on top of neura.css. Adds the
  components the group system does not have and changes nothing
  the other practices rely on.

  Contrast note — this practice's signal is the hardest of the
  four to read. Measured on the group surfaces:

      --d-sec        #2f80ff   4.80 : 1  → non-text only
      --d-sec-bright #35b8ff   8.02 : 1  → safe for text
      #ffffff on --d-sec       3.72 : 1  → never use
      #04101f on --d-sec       5.14 : 1  → filled chips

  So: base blue draws rules, rails, dots and borders; anything
  that has to be *read* in blue uses --accent-bright; a filled
  blue chip carries near-black ink, never white.

  Sections:
    01 shared bits
    02 the three offers
    03 boundary diagram
    04 question grid
    05 two-sided panel
    06 steps
    07 domains & outputs
    08 reduced motion
==============================================================*/

/*--------------------------------------------------------------
  01 · Shared bits
--------------------------------------------------------------*/
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

/* Near-black ink on the blue — white would measure 3.72:1. */
.tag--signal {
  color: #04101f;
  background: var(--accent);
  border-color: var(--accent);
}

.tag--outline {
  color: var(--accent-bright);
  border-color: color-mix(in srgb, var(--accent), transparent 50%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split--copy-led {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.split__copy .section-head {
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .split,
  .split--copy-led {
    grid-template-columns: minmax(0, 1fr);
  }
}

.figure {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.figure figcaption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.footnote {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--text-soft);
  max-width: 68ch;
}

.section-head--wide {
  max-width: 46rem;
}

/*--------------------------------------------------------------
  02 · The three offers
  ---------------------------------------------------------------
  The most important block on the site: a visitor should be able
  to repeat these three after half a minute. Numbered, equal
  weight, one promise each.
--------------------------------------------------------------*/
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
  list-style: none;
}

.offer {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

/* Signal hairline along the top edge — non-text, so base blue is fine. */
.offer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.8;
}

.offer:hover,
.offer:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent), transparent 55%);
  background: var(--surface-2);
}

.offer__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.offer h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  margin-bottom: 14px;
}

.offer p {
  font-size: 0.97rem;
  margin-bottom: 24px;
}

.offer .link-arrow {
  margin-top: auto;
  color: var(--accent-bright);
}

.offer .link-arrow:hover {
  color: var(--text);
}

@media (max-width: 880px) {
  .offers {
    grid-template-columns: minmax(0, 1fr);
  }
}

/*--------------------------------------------------------------
  03 · Boundary diagram
  ---------------------------------------------------------------
  The signature visual. Real text either side of a real line:
  what sits inside the boundary, what stays outside it, and the
  controls that make the line mean something.
--------------------------------------------------------------*/
.boundary {
  display: grid;
  gap: 0;
}

.boundary__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  border-radius: var(--radius-sm);
  list-style: none;
}

.boundary__controls li {
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 62%);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* The drop from the control band into the two sides. */
.boundary__drop {
  position: relative;
  height: 34px;
}

.boundary__drop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 34px;
  background: var(--accent);
  opacity: 0.6;
}

.boundary__sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.boundary__side {
  min-width: 0;
  padding: 28px 26px;
  background: var(--bg-raised);
}

/* The line itself. Two pixels of blue is the whole idea. */
.boundary__side + .boundary__side {
  border-left: 2px solid var(--accent);
  background: var(--bg);
}

.boundary__side h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.boundary__side[data-in] h3 {
  color: var(--accent-bright);
}

.boundary__side ul {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.boundary__side li {
  position: relative;
  min-width: 0;
  padding-left: 19px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Inside gets a filled marker, outside a hollow one — the state is
   carried by shape as well as by the column heading, never by hue. */
.boundary__side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.boundary__side[data-out] li::before {
  background: none;
  border: 1px solid var(--text-soft);
}

.boundary__side[data-out] li {
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .boundary__sides {
    grid-template-columns: minmax(0, 1fr);
  }

  .boundary__side + .boundary__side {
    border-left: 0;
    border-top: 2px solid var(--accent);
  }
}

/*--------------------------------------------------------------
  04 · Question grid
  ---------------------------------------------------------------
  The Secure AI questions. Phrased as questions rather than
  controls, so the page stays a buying conversation instead of
  turning into a governance matrix.
--------------------------------------------------------------*/
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
}

.qa-grid li {
  min-width: 0;
  padding: 24px 22px;
  background: var(--bg-raised);
}

.qa-grid h3 {
  margin-bottom: 9px;
  font-size: 1rem;
  color: var(--text);
}

.qa-grid p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.6;
}

/* Plain question list, used where the grid would be too heavy. */
.questions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  list-style: none;
}

.questions li {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 500;
  color: var(--text);
}

.questions li::before {
  content: "?";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--accent-bright);
}

/*--------------------------------------------------------------
  05 · Two-sided panel — AI Defence
--------------------------------------------------------------*/
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.duo__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.duo__side[data-lead] {
  border-color: color-mix(in srgb, var(--accent), transparent 58%);
  background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--accent), transparent 94%),
      transparent 58%
    ),
    var(--surface-2);
}

.duo__side h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
}

.duo__side p {
  font-size: 0.96rem;
}

/* The single implicit column has to be told it may shrink. Left as `auto`
   it sizes to the longest item's max-content, and a list of full sentences
   then pushes the whole page sideways on a phone. */
.duo__side ul {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 6px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* The marker is taken out of flow rather than made a grid or flex sibling.
   These items are full sentences, and a marker that participates in track
   sizing lets one long line set the width of the whole column. */
.duo__side li {
  position: relative;
  min-width: 0;
  padding-left: 17px;
}

.duo__side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.duo__side .link-arrow {
  margin-top: auto;
  padding-top: 24px;
  color: var(--accent-bright);
}

@media (max-width: 760px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }
}

/*--------------------------------------------------------------
  06 · Steps — assessment, prioritisation, roadmap
--------------------------------------------------------------*/
.steps {
  --step-gap: clamp(20px, 2.6vw, 32px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--step-gap);
  list-style: none;
}

.steps__item {
  position: relative;
  min-width: 0;
  padding-top: 34px;
}

.steps__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: calc(-1 * var(--step-gap));
  height: 1px;
  background: var(--border-strong);
}

.steps__item:last-child::before {
  right: 0;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}

.steps__item::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent), transparent 86%);
}

.steps__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.steps__item h3 {
  margin-bottom: 12px;
}

.steps__item p {
  font-size: 0.96rem;
  max-width: 38ch;
  margin: 0;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .steps__item {
    padding: 0 0 30px 32px;
  }

  .steps__item::before {
    top: 7px;
    bottom: 0;
    left: 4px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .steps__item:last-child::before {
    background: linear-gradient(180deg, var(--border-strong), transparent);
  }

  .steps__item::after {
    top: 3px;
  }
}

/*--------------------------------------------------------------
  07 · Domains & outputs
--------------------------------------------------------------*/
.domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 12px;
  list-style: none;
}

.domains li {
  min-width: 0;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-muted);
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  list-style: none;
}

.signals-grid li {
  min-width: 0;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-muted);
}

.ticks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  list-style: none;
}

.ticks li {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: 0.97rem;
  color: var(--text-muted);
}

.ticks svg {
  margin-top: 0.28em;
  color: var(--accent-bright);
  flex: 0 0 auto;
}

/* What you leave with — the deliverables, given a little weight. */
.outputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  list-style: none;
}

.outputs li {
  min-width: 0;
  padding: 24px 0 0;
  border-top: 2px solid var(--accent);
}

.outputs h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.outputs p {
  margin: 0;
  font-size: 0.94rem;
}

/*--------------------------------------------------------------
  08 · Reduced motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .offer:hover {
    transform: none;
  }
}
