/* Theme override: modern light, warm neutrals. Loaded after editorial.css — only colours and type change; layout, content and photo stay.
   Remove the <link> to theme-tech.css to get the original theme back. */
@import url("/fonts/fonts.css");

:root {
  --paper: #faf8f3;     /* light warm off-white page background */
  --white: #fefdfa;     /* raised surfaces: a lighter cream, not pure white */
  --ink: #16233a;      /* C5 navy */
  --muted: #5d6676;
  --accent: #16233a;   /* navy: buttons, links, eyebrows */
  --amber: #f2a541;    /* C5 highlight block */
  --amber-ink: #b8700f;/* darker amber for text on light backgrounds */
  --line: #e8e4da;
  --tint: #fdf3e2;     /* soft amber wash */
}

body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
h1, h2 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-weight: 700; letter-spacing: -.035em; }
h3, .brand { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-weight: 700; }
::selection { background: #fbe3bb; }
.button:hover { background: #0d1626; }

/* C5 amber highlights */
h1 span, h2 span { color: var(--amber-ink); }
.header-cta:hover { background: var(--accent); color: var(--white); }
.loop-figure { border-top-color: var(--amber); }
.loop-stages li:nth-child(3) .loop-number { color: var(--amber-ink); }
:focus-visible { outline-color: var(--amber); }

/* Hero background: the living code network drawn by network-bg.js, filling the whole first screen. */
.hero { position: relative; }
.hero-network { position: absolute; inset: 0; will-change: transform; width: 100%; height: 100%; display: block; z-index: 0;
  /* Faint behind the copy on the left, close to full strength on the open right side. */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.28) 0%, rgba(0,0,0,.3) 42%, rgba(0,0,0,.85) 68%, #000 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,.28) 0%, rgba(0,0,0,.3) 42%, rgba(0,0,0,.85) 68%, #000 100%); }
/* Narrow screens: the copy spans the full width, so keep the network evenly faint. */
@media (max-width: 1000px) { .hero-network { -webkit-mask-image: none; mask-image: none; opacity: .35; } }
.hero .hero-grid { position: relative; z-index: 1; }

/* Parallax (driven by parallax.js) */
.hero { overflow: hidden; }
.hero-copy, .report-art img { will-change: transform; }

/* Light/dark toggle (theme-toggle.js) */
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--muted); font: 500 11px/1 var(--mono); padding: 8px 10px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

/* Segrove Lens "Under the hood": analysis graph + CRAP explainer */
.tech-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.tech-intro h2 { font-size: clamp(2.2rem, 3.3vw, 3.3rem); }
.tech-intro p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.8; }
.graph-legend { display: flex; gap: 22px; flex-wrap: wrap; font: 500 11px/1.4 var(--mono); margin: 0; }
.graph-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -2px; }
.lg-d::before { background: var(--ink); }
.lg-a::before { border: 2px solid var(--amber); }
.analysis-graph { list-style: none; padding: 0; margin: 0 0 70px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.graph-stage { position: relative; padding: 20px 18px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.graph-stage.is-ai { border: 2px dashed var(--amber); border-top: 3px solid var(--amber); }
.graph-stage:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 22px; color: var(--amber); font-size: 15px; z-index: 1; }
.graph-num { display: block; font: 500 10px/1 var(--mono); color: var(--muted); margin-bottom: 12px; }
.graph-stage strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 17px; margin-bottom: 8px; }
.graph-stage p { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 0; }
.crap-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: 40px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); margin-bottom: 60px; }
.crap-copy h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 24px; margin-bottom: 16px; }
.crap-copy p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.crap-formula code { display: inline-block; font: 500 13px/1.4 var(--mono); color: var(--ink); background: var(--tint); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 4px; }
.crap-note { font: 500 11px/1.5 var(--mono) !important; margin: 0; }
.crap-figure { margin: 0; }
.crap-chart { width: 100%; height: auto; display: block; }
.crap-chart .ax { fill: none; stroke: var(--muted); stroke-width: 1.2; }
.crap-chart .zone { fill: var(--amber); opacity: .13; }
.crap-chart .thr { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 4 4; }
.crap-chart .pt-ok { fill: var(--muted); opacity: .55; }
.crap-chart .pt-risk { fill: var(--amber); }
.crap-chart text { font: 500 9px var(--mono); fill: var(--muted); }
.crap-chart .zone-label { fill: var(--amber-ink); font-weight: 600; }
.tech-diff h3 { font-family: "Plus Jakarta Sans", sans-serif; font-size: 22px; margin-bottom: 4px; }
@media (max-width: 1150px) {
  .analysis-graph { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .graph-stage:nth-child(3)::after { display: none; }
}
@media (max-width: 760px) {
  .tech-intro, .crap-block { grid-template-columns: 1fr; gap: 24px; }
  .crap-block { padding: 24px; }
  .analysis-graph { grid-template-columns: 1fr; gap: 18px; }
  .graph-stage:not(:last-child)::after { content: "↓"; right: auto; left: 20px; top: auto; bottom: -19px; display: block; }
}
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* Segrove Compose complexity budget grid */
.budget-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.budget-grid li { padding: 16px 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--amber); }
.budget-name { display: block; font: 500 10px/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.budget-grid strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 26px; letter-spacing: -.03em; margin: 6px 0 2px; }
.budget-grid small { font-size: 12px; color: var(--muted); }
.budget-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* an odd last item spans the row */
@media (max-width: 440px) { .budget-grid { grid-template-columns: 1fr; } }

/* ---------- Animated illustrations (illustrations.js) ---------- */
/* Segrove Compose change report: a live, tilted sheet */
.forge-art { margin: 34px 0 0; perspective: 1400px; }
.fa-sheet { transform: rotateX(12deg) rotateY(-12deg) rotateZ(-4deg); transform-origin: 40% 30%; background: #f4f4f2; color: #1f2328; border-radius: 12px; padding: 16px 14px 14px; box-shadow: 0 30px 60px rgba(0,0,0,.18); font-family: Inter, Arial, sans-serif; font-size: 11px; max-width: 520px; }
.fa-head { display: flex; align-items: baseline; gap: 10px; padding: 0 6px 10px; }
.fa-head b { font-size: 16px; font-family: "Plus Jakarta Sans", Inter, sans-serif; }
.fa-head small { color: #6a6f76; font-size: 10px; }
.fa-risk { margin-left: auto; color: #6a6f76; font-size: 10px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.fa-risk em { font-style: normal; font-weight: 700; color: #1f2328; }
.fa-bar { display: block; width: 70px; height: 5px; border-radius: 3px; background: #e2e3e6; overflow: hidden; }
.fa-bar s { display: block; height: 100%; width: 75%; background: #c0392b; border-radius: 3px; }
.fa-card { background: #fff; border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; }
.fa-title { font-weight: 700; font-size: 12.5px; line-height: 1.35; }
.fa-tag { display: inline-block; background: #1f8a4c; color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 3px; margin-right: 7px; vertical-align: 1px; }
.fa-blue { background: #2f5bd3; }
.fa-src { color: #6a6f76; font-size: 10px; margin: 3px 0 4px; }
.fa-lbl { font: 700 8.5px/1 Inter, sans-serif; letter-spacing: .12em; color: #555b62; margin: 10px 0 5px; }
.fa-diff { font: 10px/1.7 "JetBrains Mono", Menlo, monospace; background: #f6f7f8; border-radius: 5px; padding: 4px 0; }
.fa-line { padding: 0 10px; white-space: pre; overflow: hidden; }
.fa-line.ctx { color: #59606a; }
.fa-line.del { background: #fde8e8; color: #8a1c1c; }
.fa-line.add { background: #e3f5e9; color: #145c32; }
.fa-row { display: flex; flex-wrap: wrap; gap: 5px; }
.fa-chip { font: 9.5px/1 "JetBrains Mono", Menlo, monospace; background: #f1f2f3; border-radius: 4px; padding: 5px 7px; color: #1f2328; }
.fa-chip em { font-style: normal; font-weight: 700; color: #1f8a4c; }
.fa-muted { color: #6a6f76; }
.fa-next { font-weight: 700; font-size: 11.5px; }
.fa-caret { display: inline-block; width: 6px; height: 11px; background: #145c32; margin-left: 2px; vertical-align: -2px; opacity: 0; }

/* Animation timeline (only when JS marks it live) */
.forge-art .fa-line.del, .forge-art .fa-line.add, .forge-art .fa-chip, .forge-art .fa-tag, .forge-art .fa-next { opacity: 0; }
.forge-art.is-live .fa-line.del { animation: fa-in .45s ease-out .3s forwards, fa-strike .5s ease-out .8s forwards; }
.forge-art.is-live .fa-line.add:nth-child(4) { animation: fa-type .7s steps(30) 1s forwards; }
.forge-art.is-live .fa-line.add:nth-child(5) { animation: fa-type .5s steps(20) 1.6s forwards; }
.forge-art.is-live .fa-caret { animation: fa-blink .9s step-end 2.1s infinite; }
.forge-art.is-live .fa-chip { animation: fa-pop .35s cubic-bezier(.3,1.6,.5,1) forwards; }
.forge-art.is-live .fa-ver .fa-chip:nth-child(1) { animation-delay: 1.9s; }
.forge-art.is-live .fa-ver .fa-chip:nth-child(2) { animation-delay: 2.1s; }
.forge-art.is-live .fa-ver .fa-chip:nth-child(3) { animation-delay: 2.3s; }
.forge-art.is-live .fa-ver .fa-chip:nth-child(4) { animation-delay: 2.5s; }
.forge-art.is-live .fa-gate .fa-chip:nth-child(1) { animation-delay: 1.9s; }
.forge-art.is-live .fa-gate .fa-chip:nth-child(2) { animation-delay: 2.0s; }
.forge-art.is-live .fa-gate .fa-chip:nth-child(3) { animation-delay: 2.1s; }
.forge-art.is-live .fa-gate .fa-chip:nth-child(4) { animation-delay: 2.9s; }
.forge-art.is-live .fa-tag { animation: fa-pop .4s cubic-bezier(.3,1.6,.5,1) 3.2s forwards; }
.forge-art.is-live .fa-next, .forge-art.is-live .fa-next .fa-tag { animation: fa-in .5s ease-out 3.6s forwards; }
.forge-art.is-live .fa-bar s { animation: fa-bar 1.1s cubic-bezier(.3,.7,.3,1) 1.9s forwards; }
.forge-art.is-static * { animation: none !important; opacity: 1 !important; }
.forge-art.is-static .fa-bar s { width: 12%; background: #1f8a4c; }
@keyframes fa-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes fa-strike { to { opacity: .55; text-decoration: line-through; } }
@keyframes fa-type { from { opacity: 1; max-width: 0; } to { opacity: 1; max-width: 100%; } }
@keyframes fa-blink { 50% { opacity: 1; } }
@keyframes fa-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes fa-bar { to { width: 12%; background: #1f8a4c; } }


@media (max-width: 760px) { .fa-sheet { transform: none; } }

/* Segrove Lens report illustration, modelled on the real assessment report (fictional data) */
.cp-report { perspective: 1400px; margin-top: 28px; overflow: visible; pointer-events: none; }
/* Segrove Lens report card: drawn in the site palette (same family as the homepage dashboard), flat, readable sizes. */
.cr-sheet { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 22px; font-family: Inter, -apple-system, Arial, sans-serif; font-size: 12px; box-shadow: 0 18px 40px -28px rgba(22,35,58,.35); max-width: 560px; }
.cr-meta { color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .06em; }
.cr-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; font-weight: 700; margin: 4px 0 14px; letter-spacing: -.02em; }
.cr-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.cr-kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.cr-kpi b { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 20px; margin-bottom: 3px; }
.cr-kpi span { display: block; color: var(--muted); font-size: 10px; line-height: 1.35; }
.cr-kpi.cr-c b { color: #b85c2a; } .cr-kpi.cr-h b { color: #d9822b; } .cr-kpi.cr-m b { color: var(--amber-ink); }
.cr-verdict { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; line-height: 1.5; margin-bottom: 14px; }
.cr-badge { background: color-mix(in srgb, var(--amber) 22%, transparent); color: var(--amber-ink); font-weight: 700; font-size: 10px; padding: 2px 7px; border-radius: 999px; letter-spacing: .04em; }
.cr-sheet > .cr-h { font-weight: 700; font-size: 14px; font-family: "Plus Jakarta Sans", sans-serif; }
.cr-sheet > .cr-h { display: block; margin-bottom: 8px; }
.cr-issue { display: grid; grid-template-columns: 20px 1fr 90px; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-bottom: 8px; }
.cr-n { color: var(--muted); font-weight: 700; font-size: 13px; text-align: center; }
.cr-it div { font-weight: 600; font-size: 13px; line-height: 1.4; }
.cr-it small { color: var(--muted); font-size: 10px; }
.cr-tag { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; color: #fff; letter-spacing: .03em; }
.cr-tag.cr-c { background: #b85c2a; } .cr-tag.cr-h { background: #d9822b; } .cr-tag.cr-m { background: var(--amber); color: #16233a; }
.cr-risk { text-align: right; }
.cr-risk i { display: block; height: 5px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; margin-bottom: 4px; }
.cr-risk i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--r); background: var(--amber); border-radius: 3px; }
.cr-risk small { color: var(--muted); font-size: 9.5px; }
.cr-note { font: 500 10px/1.4 var(--mono); color: var(--muted); margin: 16px 0 0; }

/* CRAP chart animation (illustrations.js adds .is-live when in view) */
.crap-figure .zone, .crap-figure .thr, .crap-figure .zone-label, .crap-figure .crap-chart circle { opacity: 0; }
.crap-figure .zone, .crap-figure .thr { clip-path: inset(0 100% 0 0); }
.crap-figure circle { transform-box: fill-box; transform-origin: center; }
.crap-figure.is-live circle { animation: crap-dot .4s cubic-bezier(.3,1.6,.5,1) var(--d) forwards; }
.crap-figure.is-live .pt-risk { fill: var(--muted); animation: crap-dot .4s cubic-bezier(.3,1.6,.5,1) var(--d) forwards, crap-flag .6s ease-out 2.6s forwards; }
.crap-figure.is-live .thr { animation: crap-draw 1.2s ease-in-out 1.4s forwards; }
.crap-figure.is-live .zone { animation: crap-draw 1.2s ease-in-out 1.4s forwards; }
.crap-figure.is-live .zone-label { animation: fa-in .5s ease-out 2.5s forwards; }
.crap-figure.is-static .zone, .crap-figure.is-static .thr { clip-path: none; }
.crap-figure.is-static .zone { opacity: .13; } .crap-figure.is-static .thr, .crap-figure.is-static .zone-label, .crap-figure.is-static circle { opacity: 1; }
.crap-figure.is-static .pt-ok { opacity: .55; }
@keyframes crap-dot { from { opacity: 0; transform: scale(0); } to { opacity: var(--o, .55); transform: none; } }
.crap-figure .pt-risk { --o: 1; }
@keyframes crap-draw { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: var(--zo, 1); clip-path: inset(0 0 0 0); } }
.crap-figure .zone { --zo: .13; }
@keyframes crap-flag { 0% { fill: var(--muted); transform: scale(1); } 40% { fill: var(--amber); transform: scale(1.7); } 100% { fill: var(--amber); transform: scale(1); } }
.crap-figure.is-static .pt-risk { fill: var(--amber); }

/* Laptop and up: the hero fills the screen below the sticky header (84px + 1px border), with
   the copy vertically centred, so the first view ends exactly at the hero note. Grows if the
   copy needs more room on short screens. */
@media (min-width: 1001px) and (min-height: 600px) {
  .hero { min-height: calc(100svh - 85px); display: flex; align-items: center; }
  .hero .hero-grid { padding-block: 30px 80px; } /* more room below than above sits the copy a little above centre */
}


/* Homepage "progress" dashboard (replaces the report screenshot next to the approach intro). */
.dash { align-self: center; overflow: visible; }
.dash-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px 20px; box-shadow: 0 18px 40px -28px rgba(22,35,58,.35); }
.dash-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash-title { font: 500 10px/1 var(--mono); letter-spacing: .14em; color: var(--muted); margin-right: auto; }
.dash-chip { font: 600 11px/1 var(--mono); padding: 5px 8px; border-radius: 999px; }
.dash-new { color: #b85c2a; background: color-mix(in srgb, #b85c2a 12%, transparent); }
.dash-res { color: #1f8a4c; background: color-mix(in srgb, #1f8a4c 12%, transparent); }
.dash-big { font: 600 44px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; color: var(--ink); margin: 18px 0 22px; display: flex; align-items: center; gap: 14px; } /* caption centred on the big number */
.dash-big small { font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.4; letter-spacing: 0; color: var(--muted); max-width: 230px; }
.dash-chart { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; height: 190px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.dash-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.dash-col b { font: 600 11px/1 var(--mono); color: var(--muted); margin-bottom: 6px; }
.dash-stack { width: 100%; max-width: 46px; height: var(--h); display: flex; flex-direction: column; border-radius: 5px 5px 0 0; overflow: hidden; transform-origin: bottom; transform: scaleY(0); }
/* Plays when the card scrolls into view (illustrations.js adds .is-live), replays each time. */
.dash.is-live .dash-stack { animation: dash-grow .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.2s + var(--i) * .22s); }
.dash .dash-col b, .dash .dash-chip { opacity: 0; transition: opacity .4s ease; }
.dash.is-live .dash-col b { opacity: 1; transition-delay: calc(.7s + var(--i) * .22s); }
.dash.is-live .dash-chip { opacity: 1; transition-delay: 1.8s; }
.dash.is-static .dash-stack { transform: none; } .dash.is-static .dash-col b, .dash.is-static .dash-chip { opacity: 1; }
.dash-stack i { display: block; min-height: 2px; }
.dash-col span { position: absolute; bottom: -22px; font: 500 10px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.s-c { background: #b85c2a; } .s-h { background: #d9822b; } .s-m { background: var(--amber); } .s-l { background: color-mix(in srgb, var(--ink) 22%, transparent); }
.dash-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; font: 500 10px/1 var(--mono); color: var(--muted); }
.dash-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
@keyframes dash-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Slim bands of the same living network between homepage sections. */
.net-strip { position: relative; height: 80px; overflow: hidden; border-top: 1px solid var(--line); }
/* Taller than the strip so parallax.js can drift it up and down without showing an edge. */
.net-strip canvas { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); display: block; opacity: .75; will-change: transform; }
@media (max-width: 760px) { .net-strip { height: 60px; } }

/* Product pages: the first block fills the screen with the same living network behind it.
   The copy spans the full width, so the network stays faint everywhere except the open area
   to the right of the big product name. */
.detail-hero { position: relative; overflow: hidden; }
.detail-hero .detail-hero-inner { position: relative; z-index: 1; }
.detail-hero .hero-network {
  -webkit-mask-image: radial-gradient(ellipse 42% 42% at 80% 22%, #000 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.2) 100%);
  mask-image: radial-gradient(ellipse 42% 42% at 80% 22%, #000 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.2) 100%); }
@media (min-width: 1001px) and (min-height: 600px) {
  .detail-hero { min-height: calc(100svh - 85px); display: flex; align-items: center; }
}
@media (max-width: 1000px) { .detail-hero .hero-network { -webkit-mask-image: none; mask-image: none; opacity: .3; } }

/* Segrove Compose: guardrails around the agent (replaces the change-report card). Plays on scroll via illustrations.js. */
.guard-art { margin: 34px 0 0; }
.ga-frame { position: relative; border: 1.5px dashed var(--amber-ink); border-radius: 16px; padding: 34px 26px 26px; background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.ga-label { position: absolute; top: -9px; left: 22px; padding: 0 8px; background: var(--paper); font: 500 10px/1.6 var(--mono); letter-spacing: .14em; color: var(--amber-ink); }
.ga-in, .ga-out { list-style: none; margin: 0; padding: 0; display: contents; }
.ga-in li, .ga-out li { display: flex; align-items: center; gap: 8px; font-size: 13px; border-radius: 8px; padding: 10px 12px; }
.ga-in li { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.ga-in li svg, .ga-out li svg { width: 14px; height: 14px; flex: none; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ga-in li svg { stroke: #1f8a4c; }
.ga-agent { grid-column: 1 / -1; order: -1; justify-self: center; text-align: center; padding: 14px 26px; margin-bottom: 6px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.ga-agent b { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; }
.ga-agent small { font: 500 10px/1.4 var(--mono); opacity: .75; letter-spacing: .06em; }
.ga-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 16px; }
.ga-out li { color: var(--muted); padding: 6px 4px; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.ga-out li svg { stroke: #b85c2a; }
.ga-note { margin: 14px 0 0; font: 500 11px/1.6 var(--mono); color: var(--muted); }
/* Scroll animation: guardrail draws in, then allowed items, then refused items. */
.guard-art .ga-frame { transition: border-color .6s ease; }
.guard-art .ga-in li, .guard-art .ga-out li { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.guard-art:not(.is-live):not(.is-static) .ga-in li, .guard-art:not(.is-live):not(.is-static) .ga-out li { opacity: 0; transform: translateY(6px); }
.guard-art.is-live .ga-in li { transition-delay: calc(.3s + var(--i) * .15s); }
.guard-art.is-live .ga-out li { transition-delay: calc(1s + var(--i) * .15s); }
@media (max-width: 440px) { .ga-frame, .ga-out { grid-template-columns: 1fr; } }

/* Privacy notice: one readable column in the site's type. */
.privacy { max-width: 760px; padding-block: 48px 90px; }
.privacy .back-link { margin-bottom: 36px; }
.privacy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 8px; }
.privacy-updated { font: 500 11px/1.6 var(--mono); letter-spacing: .08em; color: var(--muted); margin: 0 0 40px; }
.privacy h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 12px; }
.privacy p, .privacy li { font-size: 15px; line-height: 1.75; color: var(--muted); }
.privacy p strong { color: var(--ink); }
.privacy ul { padding-left: 20px; }
.privacy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }


/* Contact form in the site's own design (posts to the Google Form). */
.contact-form { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 36px; display: grid; gap: 18px;
  box-shadow: 0 24px 50px -30px rgba(22,35,58,.45); overflow: hidden; }
.contact-form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--amber); }
.contact-form-head { display: grid; gap: 6px; margin-bottom: 4px; }
.contact-form-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.contact-form-head p { margin: 0; font-size: 14px; color: var(--muted); }
.cf-field { display: grid; gap: 7px; }
.cf-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.cf-field label span { font-weight: 400; color: var(--muted); }
.cf-field input, .cf-field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-field input:focus-visible, .cf-field textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.contact-form .button:disabled { opacity: .6; cursor: default; }
.cf-status:empty { display: none; }
.cf-status, .cf-failed { margin: 0; font-size: 13px; color: #b85c2a; }
.cf-sent { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.cf-failed a { color: inherit; text-decoration: underline; }
