.resource-library-hero { padding-top: clamp(5.5rem, 10vw, 8rem); }
.resource-library-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.resource-library-intro { display: grid; justify-items: start; gap: 1.25rem; }
.resource-library-intro h1 { max-width: 13ch; margin: 0; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.resource-library-intro .hero-lede { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.7; }
.resource-start-card { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid rgba(255,255,255,.72); border-radius: var(--panel-radius); background: rgba(255,255,255,.8); box-shadow: 0 22px 52px rgba(104,48,7,.13), inset 0 1px rgba(255,255,255,.9); }
.resource-card-kicker { color: var(--orange-accessible); font: 700 .7rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.resource-start-card h2 { margin: .8rem 0 1.35rem; font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.16; }
.resource-start-card ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.resource-start-card li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; padding: 1rem 0; border-top: 1px solid rgba(27,28,28,.1); }
.resource-start-card li > span { color: var(--orange-accessible); font: 700 .72rem/1.5 var(--mono); }
.resource-start-card strong { display: block; margin-bottom: .25rem; }
.resource-start-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }

.resource-library { position: relative; isolation: isolate; }
.resource-library::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(242,129,29,.045), transparent 28%); pointer-events: none; }
.resource-library-heading { display: grid; grid-template-columns: 1fr minmax(280px, 520px); gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.resource-library-heading h2 { margin: .65rem 0 0; font-size: clamp(1.7rem, 3.1vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; }
.resource-library-heading > p { margin: 0; color: var(--muted); line-height: 1.65; }
.resource-library-controls { display: grid; gap: 1rem; padding: 1rem; border: 1px solid rgba(27,28,28,.1); border-radius: var(--r-card); background: rgba(255,255,255,.72); box-shadow: 0 12px 30px rgba(104,48,7,.07); }
.resource-search { position: relative; display: block; }
.resource-search .icon { position: absolute; top: 50%; left: 1rem; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.resource-search input { width: 100%; min-height: 52px; padding: .75rem 1rem .75rem 3rem; border: 1px solid rgba(27,28,28,.15); border-radius: var(--r-inner); background: #fff; color: var(--ink); font: 600 .92rem/1.3 var(--body); }
.resource-search input:focus { outline: 3px solid rgba(242,129,29,.2); border-color: var(--orange); }
.resource-filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.resource-filter { min-height: 38px; padding: .55rem .85rem; border: 1px solid rgba(27,28,28,.14); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--muted); font: 700 .72rem/1 var(--body); cursor: pointer; }
.resource-filter:hover, .resource-filter:focus-visible { border-color: rgba(242,129,29,.55); color: var(--ink); }
.resource-filter.is-active { border-color: var(--orange); background: var(--orange); color: #fff; box-shadow: 0 7px 18px rgba(194,90,10,.2); }
.resource-library-status { min-height: 1.5rem; margin: 1.1rem 0 .65rem; color: var(--muted); font: 700 .75rem/1.4 var(--mono); }
/* Card grid. Three up: each card carries a category, a format, a summary, a
   collapsed contents list and its own download, which is more than fits legibly
   in a half-width card and less than justifies a full-width row. */
.resource-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }
.resource-library-card { display: flex; flex-direction: column; height: 100%; min-width: 0; padding: clamp(1.5rem, 2.6vw, 2rem); border: 1px solid rgba(255,255,255,.74); border-radius: var(--panel-radius); background: rgba(255,255,255,.8); box-shadow: 0 14px 34px rgba(104,48,7,.09), inset 0 1px rgba(255,255,255,.9); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.resource-library-card:hover { transform: translateY(-3px); border-color: rgba(242,129,29,.5); box-shadow: 0 20px 44px rgba(104,48,7,.13), inset 0 1px rgba(255,255,255,.9); }
.resource-library-card[hidden] { display: none; }

/* The library's own hero states a "Policy first" order but nothing in the
   grid reflected it, leaving all 7 cards reading as equally-weighted
   choices. This promotes the one that matches that stated default without
   hiding the rest. */
.resource-library-card--featured { border-color: rgba(242,129,29,.55); box-shadow: 0 20px 48px rgba(194,90,10,.16), inset 0 1px rgba(255,255,255,.9); }
/* Inline, not absolutely positioned: .resource-library-card gets
   overflow:hidden further down (the glass-card treatment), which would
   clip a badge hung off the card's top edge. */
.resource-card-badge { display: inline-flex; align-self: flex-start; margin-bottom: .85rem; padding: .3rem .75rem; border-radius: 999px; background: var(--orange); color: #fff; font: 700 .7rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(194,90,10,.28); }

/* Category on the left, file format on the right: the two things a visitor
   scans for before reading a single card title. Kind icon uses the same
   chip treatment as the homepage's .tool-icon so every card grid on the
   site reads as one icon language. */
.resource-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.1rem; }
.resource-card-kind { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.resource-card-kind .icon { flex: none; width: 2.4rem; height: 2.4rem; padding: .55rem; box-sizing: border-box; border-radius: var(--r-inner); background: rgba(242,129,29,.12); color: var(--orange-accessible); }
.resource-card-format { flex: none; padding: .28rem .5rem; border: 1px solid rgba(27,28,28,.12); border-radius: .4rem; background: rgba(27,28,28,.035); color: var(--muted); font: 700 .7rem/1 var(--mono); letter-spacing: .07em; }

.resource-library-card h3 { margin: 0 0 .55rem; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.24; letter-spacing: -.02em; }
.resource-library-card h3 a { color: inherit; text-decoration: none; }
.resource-library-card h3 a:hover, .resource-library-card h3 a:focus-visible { color: var(--orange-accessible); text-decoration: underline; text-underline-offset: .18em; }
.resource-card-summary { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* Collapsed by default so the grid stays scannable; the detail is there for the
   one person in five who wants to know what is actually in the file. */
.resource-card-includes { margin: 1rem 0 0; border-top: 1px solid rgba(27,28,28,.1); }
.resource-card-includes summary { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; color: var(--ink); font-size: .8rem; font-weight: 700; cursor: pointer; list-style: none; }
.resource-card-includes summary::-webkit-details-marker { display: none; }
.resource-card-includes summary::after { content: ""; width: .5rem; height: .5rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.resource-card-includes[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.resource-card-includes summary:focus-visible { outline: 3px solid rgba(242,129,29,.3); outline-offset: 2px; }
.resource-card-includes ul { display: grid; gap: .42rem; margin: 0 0 .85rem; padding: 0; list-style: none; color: var(--ink); font-size: .82rem; line-height: 1.5; }
.resource-card-includes li { position: relative; padding-left: .95rem; }
.resource-card-includes li::before { content: ""; position: absolute; left: 0; top: .52em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* Pushed to the bottom so every card in a row lines its actions up, however
   long or short the summary above it runs. */
.resource-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: 1.1rem; }
.resource-card-download { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .6rem 1rem; border: 1px solid rgba(242,129,29,.35); border-radius: 999px; background: rgba(242,129,29,.1); color: var(--orange-accessible); font: 700 .8rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.resource-card-download .icon { width: 15px; height: 15px; }
.resource-card-download:hover, .resource-card-download:focus-visible { border-color: var(--orange); background: var(--orange); color: #fff; }
.resource-card-download[disabled] { opacity: .6; cursor: progress; }
.resource-card-details { color: var(--muted); font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.resource-card-details:hover, .resource-card-details:focus-visible { color: var(--orange-accessible); text-decoration: underline; text-underline-offset: .2em; }
.resource-card-alt { margin: .75rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.resource-card-alt-link { appearance: none; padding: 0; border: 0; background: transparent; color: var(--orange-accessible); font: 700 .75rem/1.5 var(--body); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.resource-card-alt-link[disabled] { opacity: .6; cursor: progress; }

/* The newsletter card doesn't share the other cards' shape (no download, no
   includes list), so instead of sitting alone in an otherwise-empty grid row
   it spans the full row and becomes a two-column banner, matching the
   .resource-note-panel / .final-cta-panel pattern used elsewhere on the site. */
.resource-library-card--updates {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  grid-auto-rows: min-content; align-content: center; column-gap: clamp(1.5rem, 4vw, 3rem); row-gap: .5rem;
  background: #151a20; color: #fff; border-color: rgba(255,255,255,.12);
}
.resource-library-card--updates .resource-card-top { grid-column: 1; grid-row: 1; margin-bottom: .9rem; }
.resource-library-card--updates h3 { grid-column: 1; grid-row: 2; }
.resource-library-card--updates .resource-card-summary { grid-column: 1; grid-row: 3; }
.resource-library-card--updates .resource-card-format { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); }
.resource-library-card--updates .resource-card-kind .icon { background: rgba(255,255,255,.12); color: #ffae67; }
.resource-library-card--updates h3, .resource-library-card--updates label, .resource-library-card--updates .resource-card-kind { color: #fff; }
.resource-library-card--updates .resource-card-summary, .resource-library-card--updates .resource-coming-soon { color: rgba(255,255,255,.68); }
.resource-library-card--updates .resource-subscribe { grid-column: 2; grid-row: 1; align-self: center; }
.resource-library-card--updates .resource-coming-soon { grid-column: 2; grid-row: 2; }
.resource-library-card--updates .resource-card-details { grid-column: 2; grid-row: 3; }
.resource-subscribe { display: grid; gap: .6rem; margin: 0; }
.resource-subscribe label { font-size: .74rem; font-weight: 700; }
.resource-subscribe > div { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.resource-subscribe input { min-width: 0; min-height: 46px; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-small); background: rgba(255,255,255,.08); color: #fff; }
.resource-subscribe input::placeholder { color: rgba(255,255,255,.5); }
.resource-subscribe .button { min-height: 46px; }
.resource-coming-soon { font-size: .82rem !important; }
.resource-empty { padding: 3rem 1rem; text-align: center; border: 1px dashed rgba(27,28,28,.2); border-radius: var(--panel-radius); }
.resource-empty[hidden] { display: none; }
.resource-empty h3 { margin: 0 0 .45rem; }
.resource-empty p { margin: 0 0 1rem; color: var(--muted); }
.resource-library-note { padding-top: 0; }
.resource-embedded-tool { scroll-margin-top: 5.5rem; }
.resource-embedded-tool .automation-checker-shell { position: relative; z-index: 1; }
/* Same solid-orange panel recipe and eyebrow/heading/body treatment as
   .final-cta-panel, so this closing note reads as the same family of banner
   as the rest of the site rather than a one-off dark box. */
.resource-note-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 2.8rem); border-radius: var(--panel-radius); color: #fff;
  background: linear-gradient(176deg, #f2811d 0%, #ef7a14 52%, #e26f0c 100%);
  box-shadow: 0 24px 60px rgba(194,90,10,.25);
}
.resource-note-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: var(--dots); background-size: var(--dots-size); opacity: .55; }
.resource-note-panel::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: -30%; width: min(900px, 110%); height: 70%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse 58% 100% at 50% 100%, rgba(255,246,228,.55) 0%, rgba(255,214,150,.32) 30%, rgba(242,163,65,0) 72%); }
.resource-note-panel > * { position: relative; z-index: 1; }
.resource-note-panel .eyebrow { color: rgb(255 255 255 / .82); }
.resource-note-panel h2 { margin: .75rem 0 0; color: #fff; font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.resource-note-panel > p { margin: 0; color: rgb(255 255 255 / .9); line-height: 1.65; }

/* AI Tools Guide Section */
.ai-tools-guide { position: relative; }
.ai-tools-guide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(242,129,29,.04), transparent 35%); pointer-events: none; }
.ai-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(1rem, 2.4vw, 1.5rem); margin-top: 2.5rem; }
.ai-tool-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; height: 100%; padding: clamp(1.5rem, 2.8vw, 2rem); border: 1px solid rgba(242,129,29,.15); border-radius: var(--panel-radius); background: rgba(255,255,255,.76); box-shadow: 0 12px 32px rgba(104,48,7,.08), inset 0 1px rgba(255,255,255,.85); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ai-tool-card:hover { transform: translateY(-2px); border-color: rgba(242,129,29,.3); box-shadow: 0 16px 40px rgba(104,48,7,.11), inset 0 1px rgba(255,255,255,.85); }

/* Vendor mark, held low behind the copy. `.tool-list li` below shares its class
   name with the unrelated free-tool `.tool-card` component in styles.css, whose
   `display: grid; grid-template-columns: 1.1rem 1fr` rule cascades in here too
   (same specificity, only some properties re-declared) and was splitting each
   <strong> label onto its own narrow overflowing column — hence `display: block`
   getting reasserted explicitly rather than left implicit. */
.tool-watermark { position: absolute; z-index: -1; right: -1.1rem; bottom: -1.1rem; width: 132px; height: 132px; background-color: var(--ink); opacity: .06; pointer-events: none; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.tool-watermark--openai { -webkit-mask-image: url(assets/icons/openai.svg); mask-image: url(assets/icons/openai.svg); }
.tool-watermark--microsoft { -webkit-mask-image: url(assets/icons/microsoft.svg); mask-image: url(assets/icons/microsoft.svg); }
.tool-watermark--anthropic { -webkit-mask-image: url(assets/icons/anthropic.svg); mask-image: url(assets/icons/anthropic.svg); }
.tool-watermark--gemini { -webkit-mask-image: url(assets/icons/googlegemini.svg); mask-image: url(assets/icons/googlegemini.svg); }
.tool-watermark--images { width: 118px; height: 118px; -webkit-mask-image: url(assets/icons/image-gen.svg); mask-image: url(assets/icons/image-gen.svg); }
.tool-watermark--n8n { -webkit-mask-image: url(assets/icons/n8n.svg); mask-image: url(assets/icons/n8n.svg); }

.tool-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tool-header h3 { margin: 0; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.28rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.tool-risk-badge { flex-shrink: 0; padding: 0.35rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; white-space: nowrap; }
.tool-risk-low { background: rgba(31, 157, 99, 0.12); color: var(--emerald); border: 1px solid rgba(31, 157, 99, 0.2); }
.tool-risk-medium { background: rgba(242, 163, 65, 0.15); color: var(--amber); border: 1px solid rgba(242, 163, 65, 0.25); }
.tool-risk-high { background: rgba(194, 59, 31, 0.15); color: var(--red); border: 1px solid rgba(194, 59, 31, 0.2); }

.tool-desc { margin: 0 0 1.3rem; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.tool-section { margin-bottom: 1.35rem; padding-bottom: 1.35rem; border-bottom: 1px solid rgba(27, 28, 28, 0.08); }
.tool-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tool-section h4 { margin: 0 0 0.75rem; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.tool-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.tool-list li { display: block; position: relative; margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.91rem; line-height: 1.55; }
.tool-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.tool-list strong { color: var(--ink); font-weight: 600; }

.tool-when-watch { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tool-when-watch > div { padding: 0.9rem; background: rgba(242, 129, 29, 0.06); border-radius: var(--r-small); }
.tool-label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--orange-accessible); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.tool-when-watch p { margin: 0; font-size: 0.87rem; color: var(--muted); line-height: 1.4; }

.ai-tools-note { margin-top: 2.5rem; padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid rgba(242, 129, 29, 0.2); border-radius: var(--panel-radius); background: rgba(242, 129, 29, 0.04); }
.ai-tools-note .eyebrow { margin-bottom: 1rem; }
.ai-tools-checklist h3 { margin: 0 0 1rem; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.ai-tools-checklist ul { margin: 0; padding: 0 0 0 1.8rem; }
.ai-tools-checklist li { margin-bottom: 0.75rem; color: var(--ink); font-size: 0.94rem; line-height: 1.6; }
.ai-tools-checklist strong { color: var(--orange-accessible); font-weight: 600; }

/* The guide is an editorial decision aid, not another white-card library. */
.ai-tools-guide { isolation: isolate; overflow: hidden; background: #11161d; color: #fff; }
.ai-tools-guide::before { z-index: -1; background: radial-gradient(circle at 88% 8%, rgba(242,129,29,.2), transparent 28rem), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 56px 56px, 56px 56px; }
.ai-tools-heading { max-width: 850px; margin-inline: auto; }
.ai-tools-heading h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.03; letter-spacing: -.045em; }
.ai-tools-heading .section-lede { color: rgba(255,255,255,.68); }
.ai-tools-guide .section-index { color: #ffae67; }
.ai-tools-principle { display: grid; grid-template-columns: auto minmax(220px, .7fr) minmax(300px, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: center; margin: clamp(2rem, 5vw, 3.5rem) 0 1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(242,129,29,.38); border-radius: var(--panel-radius); background: linear-gradient(120deg, rgba(242,129,29,.16), rgba(255,255,255,.035)); box-shadow: 0 24px 65px rgba(0,0,0,.2); }
.ai-tools-principle-mark { color: var(--orange); font: 700 .72rem/1 var(--mono); }
.ai-tools-principle .eyebrow { margin: 0 0 .35rem; color: #ffae67; }
.ai-tools-principle h3 { margin: 0; color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.ai-tools-principle > p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.65; }
.ai-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--panel-radius); background: rgba(255,255,255,.12); }
.ai-tool-card { min-width: 0; padding: clamp(1.4rem, 3vw, 2.15rem); border: 0; border-radius: 0; background: rgba(17,22,29,.97); box-shadow: none; }
.ai-tool-card:hover { transform: none; border-color: transparent; background: #181e26; box-shadow: none; }
.tool-header h3 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.42rem); }
.tool-risk-badge { border: 1px solid rgba(242,129,29,.38); border-radius: 999px; background: rgba(242,129,29,.1); color: #ffae67; font: 700 .7rem/1 var(--mono); letter-spacing: .07em; }
.tool-desc { color: rgba(255,255,255,.65); }
.tool-section { border-bottom-color: rgba(255,255,255,.1); }
.tool-section h4 { color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.tool-list { display: grid; gap: .55rem; padding: 0; list-style: none; }
.tool-list li { display: block; position: relative; margin: 0; padding-left: 1rem; color: rgba(255,255,255,.66); }
.tool-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.tool-list strong { color: rgba(255,255,255,.92); }
.tool-when-watch { margin-top: auto; padding-top: .15rem; }
.tool-when-watch > div { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.tool-label { color: #ffae67; font: 700 .7rem/1.2 var(--mono); }
.tool-when-watch p { color: rgba(255,255,255,.68); }
/* Same solid-orange panel recipe as the homepage's final CTA
   (.final-cta-panel): gradient, dot texture, bottom-anchored glow. */
.ai-tools-note {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 4rem);
  margin-top: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 0; color: #fff;
  background: linear-gradient(176deg, #f2811d 0%, #ef7a14 52%, #e26f0c 100%);
  box-shadow: 0 24px 60px rgba(194,90,10,.25);
}
.ai-tools-note::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: var(--dots); background-size: var(--dots-size); opacity: .55; }
.ai-tools-note::after { content: ""; position: absolute; z-index: 0; left: 50%; bottom: -30%; width: min(900px, 110%); height: 70%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse 58% 100% at 50% 100%, rgba(255,246,228,.55) 0%, rgba(255,214,150,.32) 30%, rgba(242,163,65,0) 72%); }
.ai-tools-note > * { position: relative; z-index: 1; }
/* Same eyebrow/heading/body treatment as .final-cta-panel and
   .about-reach-panel, so every orange banner reads with one voice. */
.ai-tools-note .eyebrow { margin: 0 0 .65rem; color: rgb(255 255 255 / .82); }
.ai-tools-note h3 { margin: 0; color: #fff; font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.18; }
.ai-tools-checklist ul { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.ai-tools-checklist li { position: relative; margin: 0; color: rgb(255 255 255 / .9); font-size: .9rem; line-height: 1.55; }
.ai-tools-checklist strong { color: #fff; font-weight: 700; }

@media (max-width: 840px) {
  .resource-library-hero-grid, .resource-library-heading, .resource-note-panel, .ai-tools-note { grid-template-columns: 1fr; }
  .resource-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-library-card--updates { grid-template-columns: 1fr; }
  .resource-library-card--updates .resource-card-top,
  .resource-library-card--updates h3,
  .resource-library-card--updates .resource-card-summary,
  .resource-library-card--updates .resource-subscribe,
  .resource-library-card--updates .resource-coming-soon,
  .resource-library-card--updates .resource-card-details { grid-column: 1; }
  .resource-library-card--updates .resource-subscribe { margin-top: .75rem; }
  .ai-tools-principle { grid-template-columns: auto 1fr; }
  .ai-tools-principle > p { grid-column: 2; }
}
@media (max-width: 560px) {
  .resource-library-grid { grid-template-columns: 1fr; }
  .resource-library-intro h1 { font-size: clamp(2.45rem, 14vw, 3.6rem); }
  .resource-library-controls { padding: .75rem; }
  .resource-subscribe > div { grid-template-columns: 1fr; }
  .resource-subscribe .button { width: 100%; }
  .ai-tools-grid { grid-template-columns: 1fr; }
  .ai-tools-principle { grid-template-columns: 1fr; }
  .ai-tools-principle > p { grid-column: auto; }
  .tool-when-watch { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .resource-library-card { transition: none; }
  .resource-library-card:hover { transform: none; }
}

/* Resources page alignment -------------------------------------------------
   Reuse the homepage's thick glass for content cards and the shared body
   gradient as the page canvas. The dark treatment stays in the page hero. */
body[data-page="resources"] {
  --resource-glass: rgba(255,255,255,.78);
  --resource-glass-edge: rgba(255,255,255,.88);
  --resource-glass-shadow: 0 22px 54px rgba(104,48,7,.11), inset 0 1px 0 rgba(255,255,255,.94);
}
body[data-page="resources"] .page-hero { --hero-accent: var(--hero-orange-amber); }
.resource-library::before { content: none; }
.resource-library-controls,
.resource-library-card {
  border-color: var(--resource-glass-edge);
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,247,240,.7));
  box-shadow: var(--resource-glass-shadow);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.resource-library-card { position: relative; isolation: isolate; overflow: hidden; }
.resource-library-card::before {
  content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.52), transparent 35%, rgba(242,129,29,.045));
}
.resource-library-card:hover { transform: translateY(-5px); border-color: rgba(242,129,29,.48); box-shadow: 0 28px 66px rgba(104,48,7,.16), inset 0 1px 0 rgba(255,255,255,.96); }
.resource-card-kind .icon { padding: .55rem; width: 2.4rem; height: 2.4rem; box-sizing: border-box; border: 1px solid rgba(255,255,255,.86); border-radius: var(--r-inner); background: rgba(255,255,255,.68); box-shadow: 0 7px 18px rgba(104,48,7,.1); }
.resource-library-card--updates .resource-card-kind .icon { border-color: rgba(255,255,255,.18); box-shadow: none; }

/* Vendor evaluation is a light editorial section on the same shared canvas.
   Thick glass keeps dense guidance readable; orange remains an accent. */
.ai-tools-guide { background: transparent; color: var(--ink); }
.ai-tools-guide::before { content: none; }
.ai-tools-heading { max-width: 920px; margin: 0; }
.ai-tools-heading h2 { max-width: 15ch; color: var(--ink); font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
/* Same size and ink as every other light-section heading. */
.ai-tools-heading h2 em { color: inherit; font-style: normal; }
.ai-tools-heading .section-lede { max-width: 66ch; color: var(--muted); text-wrap: pretty; }
.ai-tools-guide .section-index { color: var(--orange-accessible); }
.ai-tools-principle {
  grid-template-columns: auto minmax(0, .72fr) minmax(0, 1fr);
  border-color: var(--resource-glass-edge);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,240,226,.68));
  box-shadow: var(--resource-glass-shadow);
  backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.ai-tools-principle .eyebrow { color: var(--orange-accessible); }
.ai-tools-principle h3 { color: var(--ink); }
.ai-tools-principle > p { color: var(--muted); }
.ai-tools-grid { gap: 1rem; overflow: visible; border: 0; background: transparent; }
.ai-tool-card {
  border: 1px solid var(--resource-glass-edge); border-radius: var(--panel-radius);
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,247,240,.72));
  box-shadow: var(--resource-glass-shadow);
  backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.ai-tool-card::before {
  content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.52), transparent 35%, rgba(242,129,29,.045));
}
.ai-tool-card:hover { transform: translateY(-3px); border-color: rgba(242,129,29,.42); background: rgba(255,255,255,.9); box-shadow: 0 27px 62px rgba(104,48,7,.15); }
.tool-header { flex-wrap: wrap; }
.tool-header h3 { min-width: 0; color: var(--ink); }
.tool-risk-badge { max-width: 100%; color: #8f3d00; background: rgba(242,129,29,.1); }
.tool-desc, .tool-list li, .tool-when-watch p { color: var(--muted); }
.tool-section { border-bottom-color: var(--line); }
.tool-section h4, .tool-list strong { color: var(--ink); }
.tool-when-watch > div { border-color: rgba(242,129,29,.12); background: rgba(242,129,29,.055); }
.tool-label { color: #8f3d00; }
.ai-tools-note { box-shadow: 0 22px 54px rgba(104,48,7,.18); }

@media (max-width: 1000px) {
  .ai-tools-principle { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .ai-tools-principle > p { grid-column: 2; }
}
@media (max-width: 760px) {
  .ai-tools-grid { grid-template-columns: 1fr; }
  .tool-header { align-items: center; }
}
@media (max-width: 480px) {
  .ai-tools-principle { grid-template-columns: 1fr; }
  .ai-tools-principle > p { grid-column: auto; }
  .tool-header { display: grid; justify-items: start; }
  .tool-risk-badge { white-space: normal; line-height: 1.25; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .resource-library-controls, .resource-library-card, .ai-tools-principle, .ai-tool-card { background-color: #fffaf6; }
}
@media (prefers-reduced-transparency: reduce) {
  .resource-library-controls, .resource-library-card, .ai-tools-principle, .ai-tool-card { background-color: #fffaf6; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* The cream glass recipe above applies to every .resource-library-card,
   including the newsletter card — reassert its own treatment so it isn't
   painted as a washed-out cream/orange haze with unreadable white text.
   Same solid-orange panel recipe as the homepage's final "AI isn't separate
   from your network infrastructure" CTA (.final-cta-panel), so the one place
   this page asks for an email reads as the same kind of moment. */
.resource-library-card.resource-library-card--updates {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(176deg, #f2811d 0%, #ef7a14 52%, #e26f0c 100%);
  box-shadow: 0 24px 60px rgba(194,90,10,.25); border: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.resource-library-card.resource-library-card--updates::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--dots); background-size: var(--dots-size); opacity: .55;
}
.resource-library-card.resource-library-card--updates::after {
  content: ""; position: absolute; z-index: 0; left: 50%; bottom: -60%; width: min(900px, 110%); height: 90%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 58% 100% at 50% 100%, rgba(255,246,228,.55) 0%, rgba(255,214,150,.32) 30%, rgba(242,163,65,0) 72%);
}
.resource-library-card.resource-library-card--updates > * { position: relative; z-index: 1; }
.resource-library-card--updates .resource-card-format { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: rgba(255,255,255,.92); }
.resource-library-card--updates .resource-card-kind .icon { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); color: #fff; box-shadow: none; }
.resource-library-card--updates .resource-card-summary,
.resource-library-card--updates .resource-coming-soon { color: rgba(255,255,255,.92); }
.resource-library-card--updates .resource-subscribe input { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.16); color: #fff; }
.resource-library-card--updates .resource-subscribe input::placeholder { color: rgba(255,255,255,.72); }
/* Same white-on-orange primary button as every other orange banner
   (.hero, .page-hero, .about-reach-panel): ink fill/white text on hover,
   white focus ring. */
.resource-library-card--updates .resource-subscribe .button.button-primary { background: #fff; color: var(--ink); border-color: #fff; }
.resource-library-card--updates .resource-subscribe .button.button-primary:hover,
.resource-library-card--updates .resource-subscribe .button.button-primary:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.resource-library-card--updates .button:focus-visible { outline-color: #fff; }

/* Shares the site-wide card system (styles.css, "One card system"). */
.resource-library-card { border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.resource-library-card:hover { transform: translateY(-4px); border-color: rgb(var(--accent-warm) / .4); box-shadow: var(--shadow-card-hover); }

/* The "practical boundary" used to be a second orange panel directly below this
   one. It now closes the five-questions panel as a footnote. */
.ai-tools-boundary { grid-column: 1 / -1; margin: .5rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / .3); color: rgb(255 255 255 / .92); font-size: .86rem; line-height: 1.6; }
.ai-tools-boundary strong { color: #fff; }
/* Five vendor cards: the last one spans the row instead of leaving a hole. */
@media (min-width: 761px) { .ai-tools-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Vendor guide heading uses the split treatment; the review date is its own line. */
main > .section > .shell > .ai-tools-heading.section-heading--split { max-width: none; }
.ai-tools-heading.section-heading--split h2 { max-width: none; }
.ai-tools-reviewed { display: flex; align-items: baseline; gap: .5rem; margin: .9rem 0 0; color: var(--muted); font-size: .84rem; }
.ai-tools-reviewed::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); transform: translateY(-1px); }
.ai-tools-reviewed strong { color: var(--ink); }
.ai-tools-reviewed { display: block; }
.ai-tools-reviewed::before { display: inline-block; margin-right: .5rem; vertical-align: middle; }

/* Sentence-case labels, matching the rest of the site (2026-09-30). */
.resource-card-kicker, .resource-card-badge, .tool-label, .tool-section h4 { font-family: var(--body); letter-spacing: 0; text-transform: none; }
.tool-section h4 { font-size: .86rem; }
.tool-label { font-size: .82rem; }
/* Dark text on orange passes contrast (white was 2.65:1). */
.resource-filter.is-active, .resource-card-badge { color: var(--ink); }
/* No decorative glow behind the vendor guide (owner, 2026-09-30). */
.ai-tools-guide::before { display: none; }
