@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:block;src:url('/architecture/fonts/lato-400.woff2') format('woff2')}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:block;src:url('/architecture/fonts/lato-700.woff2') format('woff2')}
/* TestRobin — Architecture page.
   The .pd-* system is a 1:1 replication of the shared design system's styles,
   shared verbatim with the GlassHood architecture page so the family stays
   consistent. ONE content column: container --max:1120 + page text max-width:none
   (text, hero, cards and diagrams all span the same content column).
   Diagrams are borderless (.arch-diagram): the overview spans the column; the
   detail diagram is a vertical HTML flow that fits the column at desktop widths,
   with a contained horizontal scroll on narrower viewports (see .arch-diagram--detail below). */
:root{
  --blue:#0c41cd; --navy:#000055; --orange:#e75a1e;
  --bg:#ffffff; --card:#f7f8fa; --text:#1a1a2e; --sub:#555555;
  --muted:#f0f1f4; --border:#e0e2e8; --max:1120px;
  /* The site's masthead and footer (REQ-593 Look clause): the same values as the site. */
  --nav-sub:#9a9a9a; --masthead-h:96px; --site-max:1120px;
}
@media(max-width:900px){:root{--masthead-h:84px}}
@media(max-width:768px){:root{--masthead-h:72px}}
*{box-sizing:border-box}
html{overflow-y:scroll}
body{margin:0;padding:0;background:var(--bg);color:var(--text);
  font-family:"Lato",sans-serif;font-size:16px;line-height:1.6;font-weight:400;-webkit-font-smoothing:antialiased}
a{color:var(--navy);text-decoration:none}
a:hover{text-decoration:underline}
p{margin:0 0 1em}
/* The page's column lines up with the site's pages: the title starts where theirs does. */
.container{max-width:var(--max);margin:0 auto;padding:64px 24px 96px}
@media(max-width:767px){.container{padding:40px 24px 64px}}

/* Button — the design system's .button */
a.button{display:inline-block;padding:12px 20px;border-radius:12px;border:1px solid rgba(0,0,0,.12);
  background:transparent;color:var(--sub);font-weight:500;font-family:inherit;font-size:19px;cursor:pointer;
  transition:border-color .15s ease,color .15s ease,background .15s ease,box-shadow .15s ease}
a.button:hover{background:var(--blue);border-color:var(--blue);color:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.12);text-decoration:none}
a.button:focus{outline:none}
a.button:focus-visible{outline:2px solid var(--navy);outline-offset:2px}

/* Product-detail page system (.pd-*) — exact design-system values */
.pd-page{color:var(--text)}
.pd-header{display:block;margin-bottom:16px}
.pd-logo-link{display:inline-block;text-decoration:none}
.pd-logo{height:64px;width:auto;object-fit:contain;display:block}
.pd-page-title{font-size:22px;font-weight:700;color:var(--navy);margin:14px 0 0;letter-spacing:-.01em}

.pd-hero{font-size:19px;font-weight:400;line-height:1.35;color:var(--text);max-width:none;margin:20px 0 14px;letter-spacing:-.005em}
.pd-hero .accent{color:var(--text)}
.scope-line{font-size:19px;line-height:1.55;color:var(--sub);max-width:none;margin:0 0 28px}

/* Architecture visual (in the Implementation reveal) */
.hero-diagram{margin:18px 0 24px}
.hero-diagram img{display:block;width:100%;height:auto;max-width:none;margin:0 auto}
.diagram-caption{font-size:19px;line-height:1.5;color:var(--sub);max-width:none;margin:12px auto 0;text-align:center}

/* Overview card grid — 2x2 (1-col mobile), exact design-system values */
.pd-cards{display:grid;grid-template-columns:1fr;gap:14px;margin-bottom:24px}
@media(min-width:768px){.pd-cards{grid-template-columns:repeat(2,1fr);gap:20px}}
.pd-card,.pd-card *{text-decoration:none!important}
.pd-card{position:relative;overflow:hidden;display:flex;gap:18px;padding:24px;background:#fff;
  border:1px solid var(--border);border-radius:12px;color:inherit;cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.pd-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.06);border-color:var(--blue)}
.pd-card-icon{flex:0 0 auto;width:52px;height:52px;border-radius:12px;background:rgba(0,0,85,.06);
  color:var(--blue);display:flex;align-items:center;justify-content:center;transition:transform .18s ease}
.pd-card:hover .pd-card-icon{transform:scale(1.05)}
.pd-card-body{flex:1;min-width:0}
.pd-card-title{font-size:22px;font-weight:700;margin:0 0 10px;color:var(--text);letter-spacing:-.01em}
.pd-card-summary{font-size:19px;line-height:1.5;color:var(--sub);margin:0}
.pd-card-summary::after{content:"Click to read the section →";display:block;margin-top:14px;
  font-size:19px;font-weight:500;color:rgba(0,0,0,.25);transition:opacity .15s ease}
.pd-card:hover .pd-card-summary::after{opacity:0}
.pd-card-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  opacity:0;transition:opacity .18s ease;pointer-events:none;border-radius:inherit}
.pd-card:hover .pd-card-overlay{opacity:1}
.pd-card-overlay-text{display:inline-flex;align-items:center;gap:8px;background:var(--blue);color:#fff;
  padding:10px 14px;border-radius:12px;font-size:19px;font-weight:500;box-shadow:0 4px 16px rgba(0,0,0,.12);white-space:nowrap}

/* Quiet live-view line */
.live-view-note{font-size:19px;line-height:1.55;color:var(--sub);max-width:none;margin:22px 0 0}

/* Progressive disclosure */
/* Sections are visible on load (REQ-593, 2026-11-08); the cards scroll to them. */
.pd-hidden-until-reveal{display:block}

/* Detail sections — exact design-system values */
.pd-section{padding:36px 0;border-top:1px solid rgba(0,0,0,.06);scroll-margin-top:24px}
.pd-section:first-of-type{border-top:none;padding-top:16px}
.pd-section h2{font-size:22px;font-weight:700;color:var(--blue);margin:0 0 18px;letter-spacing:-.01em}
.pd-section p{font-size:19px;line-height:1.55;color:var(--sub);max-width:none;margin:0 0 16px}

/* Lists */
ul.tight{margin:0 0 16px;padding-left:24px;max-width:none}
ul.tight li{font-size:19px;line-height:1.55;color:var(--sub);margin:8px 0}

/* In-reveal note */
.note{font-size:19px;line-height:1.55;color:var(--sub);max-width:none;margin:8px 0 16px;padding:16px 20px;
  background:var(--muted);border-radius:8px}

/* Code block (sanitized config) — monospace */
.code-label{font-size:19px;font-weight:700;color:var(--navy);margin:18px 0 6px}
pre.code{background:#f4f6fa;border-left:3px solid var(--blue);border-radius:4px;padding:18px 20px;
  font-size:16px;line-height:1.55;font-family:ui-monospace,"SF Mono",Menlo,Monaco,Consolas,monospace;
  color:#1a1a2e;overflow-x:auto;margin:8px 0;max-width:none;white-space:pre}

/* CAN / CANNOT threat model */
.can-cannot{display:grid;grid-template-columns:1fr;gap:14px;margin:10px 0 18px;max-width:none}
@media(min-width:720px){.can-cannot{grid-template-columns:1fr 1fr}}
.cc-col{padding:20px 22px;border-radius:8px;font-size:19px;line-height:1.55}
.cc-can{background:rgba(12,65,205,.06);border:1px solid rgba(12,65,205,.18)}
.cc-cannot{background:rgba(231,90,30,.06);border:1px solid rgba(231,90,30,.2)}
.cc-col h4{margin:0 0 10px;font-size:16px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.cc-can h4{color:var(--blue)}
.cc-cannot h4{color:var(--orange)}
.cc-col ul{margin:0;padding-left:22px}
.cc-col li{margin:7px 0;color:var(--text)}

/* Implementation-detail bindings grid */
.impl-grid{display:grid;grid-template-columns:1fr;gap:12px;margin:14px 0 18px;max-width:none}
@media(min-width:680px){.impl-grid{grid-template-columns:1fr 1fr}}
.impl-item{display:flex;gap:16px;padding:14px 18px;background:rgba(0,0,0,.025);border-radius:6px;font-size:19px;line-height:1.55}
.impl-item>strong{flex:0 0 130px;color:var(--navy)}
/* Up to 480 px the label sits above its text, so a long word cannot push a row past the screen. */
@media(max-width:480px){.impl-item{flex-direction:column;gap:2px}.impl-item>strong{flex:none}}

/* Collapsible "detail" block (identity mechanism) */
details.detail-block{margin:16px 0;border:1px solid var(--border);border-radius:8px;background:#fff;max-width:none}
details.detail-block>summary{cursor:pointer;padding:16px 20px;font-size:19px;font-weight:700;color:var(--navy);list-style:none}
details.detail-block>summary::-webkit-details-marker{display:none}
details.detail-block>summary::before{content:"\25B8\00a0";color:var(--navy)}
details.detail-block[open]>summary::before{content:"\25BE\00a0"}
details.detail-block>div{padding:0 20px 20px}

/* The site's footer band, as on the site's other pages. */
.footer{margin:0;border-top:1px solid var(--border);background:var(--muted)}

@media(max-width:768px){.pd-logo{height:52px}}

/* --- Architecture-reference eyebrow + integrated diagrams (REQ-GHA-015 merge) --- */
.pd-eyebrow{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;
  letter-spacing:.11em;text-transform:uppercase;color:var(--blue);margin:14px 0 0}
.pd-eyebrow::before{content:"";width:24px;height:2px;background:var(--blue);opacity:.55;display:inline-block}

/* Borderless diagrams. Overview spans the card width; detail is a vertical HTML flow. */
.arch-diagram{margin:6px 0 30px}
.arch-diagram--overview svg{display:block;width:100%;height:auto}
/* Detail diagram has no big <svg> of its own (plain HTML flow) — this only targets the small
   inline ColdVault icon glyph; without width:auto it inherits the overview's full-width sizing
   and blows up to fill the page (the documented "lock-icon blowup trap"). */
.arch-diagram--detail svg{display:inline-block;width:auto;height:auto;vertical-align:middle}
/* The detail flow's rows use fixed-width (flex-shrink:0) label/spacer columns sized for the
   1000px desktop layout (verbatim Claude Design export) — they don't reflow narrower. Scroll
   the diagram itself rather than letting it blow out the whole page's horizontal extent on
   mobile (review 2026-06-30, confirmed empirically: 245px overflow at a 375px viewport). No
   visible effect at desktop widths where the content already fits with room to spare. */
.arch-diagram--detail{overflow-x:auto;-webkit-overflow-scrolling:touch}
/* The 2026-07-01 edge-stack redesign (verbatim Claude Design export) uses uniform fixed-height
   (34px, post the 2026-07-02 font scale-up) single-line boxes. Below the 1070px design width the grid tracks compress and the
   nowrap sublabels wrap OUT of the fixed-height boxes (text spills over box borders — verified
   empirically at a 700px viewport). Pin the composition to its design width (1070px, the 2026-07-02 font-scale-up geometry) so narrower
   viewports get the documented contained scroll above instead of a squeezed, spilling layout. */
.arch-diagram--detail>div{min-width:1070px}
.arch-legend{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 18px;
  margin-top:8px;padding-top:14px;border-top:1px solid #eceef2;font-size:12px;color:var(--sub)}
.arch-legend span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.arch-legend .ln{width:26px;height:0;border-top:1.8px solid #0c41cd;display:inline-block}
.arch-legend svg{overflow:visible}
.arch-legend .sw i{width:11px;height:11px;border-radius:3px;display:inline-block}
.arch-legend .bk{font-family:ui-monospace,monospace;font-size:9px;font-weight:700;padding:2px 6px;border-radius:8px}


/* ColdVault box = gray by default, hero-card hover (orange outline + button appears). REQ-589 (Igor 2026-06-30)
   :focus-visible mirrors every :hover rule so keyboard users get the same affordance as mouse
   users (review 2026-06-30 — the hover-only CTA had no keyboard-focus parity).
   ONE text element throughout (2026-07-01, Igor): the earlier version cross-faded between two
   separate text instances (default CTA + a differently-sized/positioned button label), which
   visibly shifted/resized on hover. Now the SAME text node just changes fill/color, with a
   background pill (a sibling SVG <rect> for the overview, a ::before pseudo-element for the
   HTML detail) fading in behind it — the text itself never moves or resizes. */
.arch-diagram--overview a.cv-link{cursor:pointer;transform-box:fill-box;transform-origin:center;
  transition:transform .18s ease,filter .18s ease}
.arch-diagram--overview a.cv-link:hover,
.arch-diagram--overview a.cv-link:focus-visible{transform:translateY(-2px);filter:drop-shadow(0 6px 20px rgba(0,0,0,.06))}
.arch-diagram--overview a.cv-link .cv-hover-btn rect{opacity:0;transition:opacity .15s;fill:var(--orange)}
.arch-diagram--overview a.cv-link .cv-cta{fill:#7a818c;transition:fill .15s}
/* Hover border thickness (2026-07-01, Igor): default state stroke-width="1.2" (SVG units) is fine
   as-is, but the whole SVG scales to fill its container (viewBox width 800, rendered wider at
   desktop widths), so 1.2 SVG units render as MORE than 1.2 actual px — visibly thicker than the
   hero cards' exact 1px CSS border. Only matters on HOVER per Igor ("when highlighted they become
   the same clickable thing, should look the same; default state not matching is fine"). A review on
   2026-07-01 flagged a viewport-dependent scale-factor magic number as fragile (a narrower
   container scales the SVG down, thinning any fixed SVG-unit stroke-width proportionally) —
   `vector-effect:non-scaling-stroke` makes stroke-width mean literal device pixels regardless of
   the SVG's own scale, so `stroke-width:1` renders as an exact 1px on ANY viewport, matching the
   hero card exactly without a scale-factor calculation. */
.arch-diagram--overview a.cv-link:hover .cv-box,
.arch-diagram--overview a.cv-link:focus-visible .cv-box{stroke:var(--orange);stroke-width:1;vector-effect:non-scaling-stroke}
.arch-diagram--overview a.cv-link:hover .cv-hover-btn rect,
.arch-diagram--overview a.cv-link:focus-visible .cv-hover-btn rect{opacity:1}
.arch-diagram--overview a.cv-link:hover .cv-cta,
.arch-diagram--overview a.cv-link:focus-visible .cv-cta{fill:#fff}
.arch-diagram--detail a.cv-link-html{position:relative;
  transition:border-color .15s,transform .18s ease,box-shadow .18s ease!important}
.arch-diagram--detail a.cv-link-html:hover,
.arch-diagram--detail a.cv-link-html:focus-visible{border-color:var(--orange)!important;
  transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.06)}
.arch-diagram a.cv-link:hover, .arch-diagram a.cv-link-html:hover,
.arch-diagram a.cv-link:focus-visible, .arch-diagram a.cv-link-html:focus-visible{text-decoration:none!important}
.arch-diagram--detail a.cv-link-html .cv-cta-html{position:relative;display:inline-block;z-index:1;transition:color .15s}
.arch-diagram--detail a.cv-link-html .cv-cta-html::before{content:"";position:absolute;inset:-3px -6px;
  background:var(--orange);border-radius:6px;opacity:0;transition:opacity .15s;z-index:-1}
.arch-diagram--detail a.cv-link-html:hover .cv-cta-html,
.arch-diagram--detail a.cv-link-html:focus-visible .cv-cta-html{color:#fff!important}
.arch-diagram--detail a.cv-link-html:hover .cv-cta-html::before,
.arch-diagram--detail a.cv-link-html:focus-visible .cv-cta-html::before{opacity:1}


/* AI agents (REQ-064 clause 8, amended 2026-11-04): the third hero card spans the row, tool names
   read as code, the MCP-versus-A2A comparison (the .can-cannot geometry) and the A2A task sequence,
   which scales to the column, with no sideways scroll, down to a phone. */
@media(min-width:768px){.pd-card--wide{grid-column:1/-1}}
.pd-section code{font-family:ui-monospace,"SF Mono",Menlo,Monaco,Consolas,monospace;font-size:.9em;color:var(--navy)}
.agents-compare{display:grid;grid-template-columns:1fr;gap:14px;margin:10px 0 24px;max-width:none}
@media(min-width:720px){.agents-compare{grid-template-columns:1fr 1fr}}
.ac-col{padding:20px 22px;border-radius:8px;font-size:19px;line-height:1.55;background:rgba(12,65,205,.06);border:1px solid rgba(12,65,205,.18)}
.ac-col h4{margin:0 0 10px;font-size:16px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--blue)}
.ac-col ul{margin:0;padding-left:22px}
.ac-col li{margin:7px 0;color:var(--text)}
.pd-section p.seq-label{font-size:16px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--blue);margin:0 0 8px}
.arch-sequence{margin:0 0 28px}
.arch-sequence svg{display:block;width:100%;max-width:600px;height:auto;margin:0 auto}

/* ==== masthead and footer: start ====
   The same block as website/app/site.css, word for word: the site's masthead and
   footer (REQ-593 Look clause). A test keeps the two equal. */
.site-wrap {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 24px;
}
.masthead {
  background-image: linear-gradient(to left, var(--border), transparent 95%);
  background-size: 100% 1px;
  background-position: bottom;
  background-repeat: no-repeat;
}
.masthead-row {
  display: flex;
  align-items: center;
  height: var(--masthead-h);
}
.masthead-logo { display: block; flex-shrink: 0; }
/* The logo is the designer's, sized by its word: "TestRobin" is as tall as "GlassHood" in
   glasshood.ai's masthead (65 px, and 59 px below 768 px); the cube keeps the designer's
   proportions. It is always shown at full strength, here and in the footer: never faded, not
   changed when pointed at. */
.masthead-logo img {
  display: block;
  height: 65px;
  width: auto;
}
.masthead-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.masthead-link {
  padding: 6px 12px 4px;
  border-bottom: 2px solid transparent;
  color: var(--nav-sub);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.masthead-link:hover { color: var(--orange); text-decoration: none; }
.masthead-link[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.masthead-entry {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 28px;
  flex-shrink: 0;
}
/* Log in: the outlined button (gray text, light outline, blue when pointed at),
   sized for the masthead. */
.login-button {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  color: var(--sub);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.login-button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}
.page-title {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--blue);
}
.site-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.site-footer-brand img {
  display: block;
  height: 28px;
  width: auto;
}
.site-footer-brand p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--nav-sub);
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.site-footer-link {
  font-size: 14px;
  color: var(--nav-sub);
  transition: color 0.15s ease;
}
.site-footer-link:hover { color: var(--orange); text-decoration: none; }
/* Below 768 px the logo and Log in share the first row and the page links take a
   second, so nothing is squeezed (the logo never shrinks); Log in keeps 24 px from the logo. */
@media (max-width: 767px) {
  .masthead-logo { margin-right: 24px; }
  .masthead-logo img { height: 59px; }
  .masthead-row {
    height: auto;
    flex-wrap: wrap;
    /* The first row is centred, so Log in sits on the logo icon's centre line. */
    align-items: center;
    row-gap: 10px;
    padding-top: 14px;
    padding-bottom: 8px;
  }
  .masthead-links {
    order: 3;
    width: 100%;
    gap: 4px;
    /* The first link's text lines up with the logo. */
    margin-left: -10px;
  }
  .masthead-link { padding: 6px 10px 4px; }
  .masthead-entry {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 4px;
    margin-left: auto;
  }
  .site-footer-row { flex-direction: column; align-items: flex-start; }
}
/* On phones up to 480 px Log in is a little smaller and keeps at least 12 px from the logo, so
   the logo and Log in share the first row down to 320 px. */
@media (max-width: 480px) {
  .masthead-logo { margin-right: 12px; }
  .login-button { padding: 6px 12px; font-size: 15px; }
}
/* ==== masthead and footer: end ==== */
