.trust { padding-block: var(--inset); }
.trust__panel { padding-block: 88px; }
.trust__grid { display: grid; gap: 56px; align-items: center; }
.trust .section-head { margin-bottom: 40px; }
.trust__points li { display: grid; grid-template-columns: 40px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.trust__points li:last-child { border-bottom: 1px solid var(--line); }
.trust__points .mono { padding-top: 3px; font-size: .75rem; color: var(--ink-2); }
.trust__points h3 { font-size: 1.125rem; letter-spacing: -.02em; }
.trust__points p { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }
.trust__visual { width: 100%; max-width: 460px; margin-inline: auto; }

/* ---- Architecture figure (templates/graphics/architecture.html) ---- */
.arch { --white: #FFFFFF; margin: 0; }
.arch__frame {
  position: relative; padding: 56px 16px 20px;
  border: 1px solid rgba(11, 11, 11, .5); border-radius: 14px;
  background: radial-gradient(rgba(11, 11, 11, .13) 1px, transparent 1.2px) 0 0 / 16px 16px, rgba(255, 255, 255, .45);
}
.arch__handle { position: absolute; width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); }
.arch__handle--tl { top: -4.5px; left: -4.5px; }
.arch__handle--tr { top: -4.5px; right: -4.5px; }
.arch__handle--bl { bottom: -4.5px; left: -4.5px; }
.arch__handle--br { bottom: -4.5px; right: -4.5px; }
.arch__frame-head { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.arch__frame-name { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 6px; background: var(--ink); color: var(--page); font-size: .75rem; font-weight: 500; }
.arch__frame-tag { display: none; font-size: .66rem; color: var(--ink-2); white-space: nowrap; }
@media (min-width: 420px) { .arch__frame-tag { display: block; } }

.arch__node {
  position: relative; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px; border: 1px solid rgba(11, 11, 11, .1); border-radius: 12px; background: var(--white);
  box-shadow: 0 1px 2px rgba(11, 11, 11, .05), 0 12px 28px -16px rgba(11, 11, 11, .3);
}
.arch__node::before, .arch__node::after {
  content: ""; position: absolute; left: 50%; width: 7px; height: 7px; margin-left: -3.5px;
  border: 1.5px solid var(--ink); border-radius: 50%; background: var(--white); z-index: 1;
}
.arch__node::before { top: -4.5px; }
.arch__node::after { bottom: -4.5px; }
.arch__node--raw::before, .arch__node--out::after { display: none; }
.arch__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--page-2); color: var(--ink); }
.arch__text { display: grid; min-width: 0; }
.arch__text b { font-size: .875rem; font-weight: 500; letter-spacing: -.01em; }
.arch__text .mono { font-size: .66rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arch__status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: .62rem; color: var(--ink-2); white-space: nowrap; }
.arch__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.arch__node--raw .arch__status i { background: #D9822B; }
.arch__node--run .arch__status i { background: var(--signal-deep); }
.arch__node--approve { background: var(--signal); border-color: rgba(14, 122, 85, .45); }
.arch__node--approve .arch__icon { background: rgba(255, 255, 255, .55); }
.arch__node--approve .arch__text .mono, .arch__node--approve .arch__status { color: var(--signal-ink); border-color: rgba(6, 40, 29, .2); }
.arch__node--out { background: var(--ink); color: var(--page); border-color: var(--ink); }
.arch__node--out .arch__icon { background: #1C1C1C; color: var(--signal); }
.arch__node--out .arch__text .mono { color: #A3A3A3; }

.arch__wire { position: relative; height: 46px; }
.arch__wire::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; margin-left: -.75px; border-left: 1.5px dashed rgba(11, 11, 11, .35); transform-origin: top; }
.arch__wire-label { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); padding: 2px 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); font-size: .62rem; color: var(--ink-2); white-space: nowrap; }
.arch__wire--out { height: 54px; }
.arch__wire--out::before { border-left-style: solid; border-color: var(--ink); }
.arch__wire--out .arch__wire-label { background: var(--ink); color: var(--page); border-color: var(--ink); }
.arch__egress {
  position: absolute; right: calc(50% + 14px); top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px 2px 6px;
  border: 1px dashed rgba(229, 72, 77, .55); border-radius: 5px; background: #FFF4F3; font-size: .62rem; color: #B4232A; white-space: nowrap;
}
.arch__egress .icon { width: 12px; height: 12px; }
.arch__egress i { font-style: normal; font-size: .8rem; line-height: 1; }

/* Scroll-driven: each node and wire arrives in order as the figure crosses the viewport. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .arch__node { animation: node-in linear both; animation-timeline: --arch; animation-range: entry calc(20% + var(--k) * 10%) entry calc(40% + var(--k) * 10%); }
    .arch__wire::before { animation: wire-draw linear both; animation-timeline: --arch; animation-range: entry calc(30% + var(--k) * 10%) entry calc(40% + var(--k) * 10%); }
    .arch__wire-label, .arch__egress { animation: fade-in linear both; animation-timeline: --arch; animation-range: entry calc(36% + var(--k) * 10%) entry calc(44% + var(--k) * 10%); }
  }
}
@keyframes node-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes wire-draw { from { transform: scaleY(0); } }
@keyframes fade-in { from { opacity: 0; } }

@media (min-width: 1000px) {
  .trust__panel { padding-block: 128px; }
  .trust__grid { grid-template-columns: 6fr 5fr; gap: 88px; }
  .arch__frame { padding: 60px 22px 24px; }
}
