@charset "UTF-8";
/*==============================================================
  NeuraAI — practice layer
  ---------------------------------------------------------------
  Loaded only by the NeuraAI practice pages, on top of neura.css.
  The blog still uses the older template styles under /ai/assets.

  Signal contrast, measured on the group surfaces:

      --d-ai         #ff8a2a   dark ink on this fill is the button
      --d-ai-bright  #ffb04a   safe for text on the near-black canvas
      #ffffff on --d-ai        fails contrast, so never use white on the orange
      #04101f on --d-ai        passes — filled chips and primary buttons

  So the orange draws rules, dots and fills. Anything read in orange
  uses --accent-bright. A filled orange chip carries near-black ink.
==============================================================*/

[id] {
  scroll-margin-top: 96px;
}

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

.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;
}

.tag--signal {
  color: #04101f;
  background: var(--accent);
  border-color: var(--accent);
}

.intent {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-bright);
}

/*--------------------------------------------------------------
  Three equal offers. A visitor should be able to pick one.
--------------------------------------------------------------*/
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  list-style: none;
  align-items: stretch;
}

.offer {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  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);
}

.offer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.85;
}

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

.offer__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
}

.offer h3 {
  font-size: clamp(1.28rem, 2vw, 1.5rem);
  margin-bottom: 12px;
}

.offer p {
  font-size: 0.96rem;
  margin-bottom: 14px;
}

.offer .btn {
  margin-top: auto;
  align-self: flex-start;
}

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

@media (prefers-reduced-motion: reduce) {
  .offer:hover,
  .offer:focus-within {
    transform: none;
  }
}

/*--------------------------------------------------------------
  Included work, anchored so older URLs can land on a section.
--------------------------------------------------------------*/
.areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  list-style: none;
}

.area {
  min-width: 0;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
}

.area h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.area p {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.area p:last-child {
  margin-bottom: 0;
}

.area a {
  color: var(--accent-bright);
  font-weight: 600;
}

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

.ticks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.outputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  list-style: none;
}

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

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

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

.sequence {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sequence li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 22px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.sequence li:last-child {
  border-bottom: 1px solid var(--border);
}

.sequence h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

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

.sequence__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.9;
  color: var(--accent-bright);
}

@media (max-width: 520px) {
  .sequence li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/*--------------------------------------------------------------
  Which path — comparison. Stacks to labelled blocks on a phone.
--------------------------------------------------------------*/
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.compare th {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.compare td {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.compare a {
  color: var(--accent-bright);
  font-weight: 600;
}

@media (max-width: 720px) {
  .compare-wrap {
    overflow: visible;
  }

  .compare {
    min-width: 0;
  }

  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .compare tr {
    display: block;
    margin-bottom: 14px;
    padding: 8px 0 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
  }

  .compare td {
    display: block;
    border-bottom: 0;
    padding: 10px 16px;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
  }
}

/*--------------------------------------------------------------
  FAQ. The question is a real heading inside summary.
--------------------------------------------------------------*/
.faq {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.faq summary:hover h3,
.faq summary:focus-visible h3 {
  color: var(--text);
}

.faq__answer {
  padding: 0 18px 18px;
  max-width: 68ch;
}

.faq__answer p {
  margin: 0;
}

/*--------------------------------------------------------------
  Anonymised examples. The work, not a result.
--------------------------------------------------------------*/
.examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.examples li {
  min-width: 0;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius-sm);
}

.examples h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.examples p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.examples .link-arrow {
  margin-top: 16px;
  color: var(--accent-bright);
}

.note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--text-soft);
  max-width: 68ch;
}
