/* Nidoway / editorial field guide. Visual layer only; existing interactions stay intact. */
:root {
  --cream: #f5f1e9;
  --card: #fdfbf6;
  --navy: #1f3434;
  --ink: #1f3434;
  --body: #4b5b58;
  --muted: #78847c;
  --terra: #a9583f;
  --terra-deep: #8e442e;
  --line: rgba(31, 52, 52, .18);
  --line-soft: rgba(31, 52, 52, .1);
  --serif: "Fraunces", "Noto Serif SC", Georgia, serif;
  --sans: "DM Sans", "Noto Sans SC", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { background: var(--cream); color: var(--ink); }
::selection { background: #d8b6a5; color: #172d2c; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .65rem 1rem; background: var(--card); color: var(--ink); }
.skip-link:focus { top: 1rem; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); }

/* A quiet masthead, with the provisional status kept plainly visible. */
.notice-bar { background: #e8e3d8; color: #4f5c55; border-bottom: 1px solid #dcd7cd; font-size: 11px; letter-spacing: .03em; }
.topbar { background: rgba(245, 241, 233, .96); border-bottom-color: var(--line); backdrop-filter: blur(18px); }
.topbar-in { max-width: 1440px; padding: 18px clamp(24px, 4vw, 68px); }
.brand { gap: 12px; }
.brand-mark { width: 37px; height: 37px; filter: saturate(.6); }
.brand-name { font-family: "Fraunces", serif; font-size: 27px; font-weight: 600; letter-spacing: -.045em; }
.topbar-in > .chips { gap: clamp(16px, 2vw, 32px) !important; }
.chips a { color: #485c55; font-size: 13px; font-weight: 500; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.chips a:hover, .chips a:focus-visible { color: var(--terra-deep); border-bottom-color: currentColor; }
.topbar .btn { font-size: 13px; padding: 11px 18px; }

.btn { border-radius: 2px; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn-primary { background: var(--terra); color: #fff9f1; box-shadow: none; }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn:active, .text-button:active { transform: translateY(1px); }
.text-button { transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.text-button:hover { color: var(--terra-deep); border-color: currentColor; }

/* The first screen reads as a cover, not another ordinary content row. */
.home .hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(68px, 7vw, 118px) max(32px, calc((100vw - 1320px) / 2)) 0; border: 0; background: var(--navy); color: #f7f1e7; }
.home .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background: radial-gradient(circle at 0 5%, #5d7971 0, transparent 39%), radial-gradient(circle at 90% 90%, #3d5751 0, transparent 38%); }
.home .hero::after { content: ""; position: absolute; width: 530px; height: 530px; top: -430px; right: -170px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.018); pointer-events: none; }
.home .hero-grid { max-width: 1320px; margin: 0 auto; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(54px, 6vw, 112px); align-items: center; }
.hero-grid > div:first-child { padding: 24px 0 70px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: #e4c6b3; font-size: 11px; font-weight: 500; letter-spacing: .17em; margin: 0 0 34px; }
.kicker-line { width: 29px; height: 1px; background: currentColor; }
.kicker-index { margin-left: auto; font-family: "DM Sans", sans-serif; font-size: 10px; letter-spacing: .12em; opacity: .65; }
.home h1 { max-width: 760px; color: #fcf8ef; font-size: clamp(37px, 3.55vw, 59px) !important; font-weight: 700; line-height: 1.52 !important; letter-spacing: .015em; margin: 0 0 32px; text-wrap: balance; }
.responsive-break { display: none; }
.home .hero-sub { max-width: 570px; color: #d3ded6; font-size: 15px; line-height: 2.05; }
.home .hero-ctas { margin-top: 42px; gap: 29px; }
.hero-ctas .btn-primary { padding: 15px 26px; background: #c47c59; color: #172e2d; font-weight: 700; }
.hero-ctas .btn-primary:hover { background: #e4a27b; }
.home .hero-ctas .btn-ghost { color: #eee8db; border-bottom-color: rgba(238, 232, 219, .5); }
.home .hero-ctas .btn-ghost:hover { color: #fff; border-bottom-color: #fff; }
.home .hero-visual { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 0 0 46px; }
.home .hero-frame { position: relative; margin: 0 0 0 20px; padding: 12px; border: 1px solid rgba(245,241,233,.45); border-radius: 0; }
.home .hero-frame::before { content: ""; position: absolute; width: 24px; height: 60%; top: 18%; left: -20px; border-left: 1px solid rgba(245,241,233,.55); border-top: 1px solid rgba(245,241,233,.55); border-bottom: 1px solid rgba(245,241,233,.55); }
.home .hero-frame img { width: 100%; height: clamp(400px, 40vw, 570px); aspect-ratio: auto; object-fit: cover; object-position: 58% center; border-radius: 0; filter: saturate(.75) sepia(.06); }
.home .hero figcaption { margin: 18px 0 0 32px; max-width: 390px; color: #c2cec3; font-size: 11px; line-height: 1.7; }
.brand-intro { max-width: 1320px; margin: 0 auto; padding: 30px 0 34px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(35px, 8vw, 120px); border-top: 1px solid rgba(250,246,239,.3); }
.brand-intro p:first-child { font-family: var(--serif); color: #f9f5e9; font-size: 21px; line-height: 1.8; }
.brand-intro strong { color: #e4b493; font-weight: 700; }
.brand-intro p:last-child { max-width: 680px; color: #c4d0c6; font-size: 13px; line-height: 2; }

/* Section rhythm and measured typography. */
.home .sec { padding: clamp(76px, 8vw, 126px) max(32px, calc((100vw - 1320px) / 2)); border-top: 1px solid var(--line); }
.band-white { background: #fdfbf7; }
.band-cream { background: var(--cream); }
.section-heading { align-items: end; margin-bottom: 58px; }
.section-heading > div { max-width: 710px; }
.section-heading h2, .workspace-layout h2, .partner-layout h2, .contact-layout h2 { font-size: clamp(34px, 3vw, 48px); line-height: 1.47; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.section-heading > p { max-width: 340px; padding-bottom: 5px; color: var(--body); font-size: 13px; line-height: 2; }
.eyebrow { display: block; padding: 0; margin: 0 0 21px; color: var(--terra-deep); font-size: 11px; font-family: "DM Sans", "Noto Sans SC", sans-serif; letter-spacing: .18em; font-weight: 700; }
.eyebrow::before { display: none; }

/* A feature story beside two compact chapters. */
.service-columns { grid-template-columns: 1.04fr .96fr; grid-template-rows: repeat(2, auto); gap: 0 clamp(50px, 7vw, 115px); }
.service-columns article { display: grid; grid-template-columns: 54px 1fr; align-items: start; column-gap: 15px; padding: 29px 0 30px; border-top: 1px solid var(--line); }
.service-columns article:first-child { grid-row: span 2; display: flex; flex-direction: column; padding: 37px clamp(32px, 4vw, 68px) 42px; background: #eae7da; border: 0; }
.service-number { color: var(--terra-deep); font-family: "Fraunces", serif; font-size: 18px; font-weight: 600; line-height: 1.7; margin: 0; }
.service-columns article:first-child .service-number { font-size: 40px; line-height: 1; margin-bottom: 56px; }
.service-columns h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.55; margin: 0 0 10px; }
.service-columns article:not(:first-child) h3, .service-columns article:not(:first-child) > p, .service-columns article:not(:first-child) ul, .service-columns article:not(:first-child) .text-link { grid-column: 2; }
.service-columns article:not(:first-child) h3 { grid-row: 1; }
.service-columns article:not(:first-child) > p { grid-row: 2; }
.service-columns article:not(:first-child) ul { grid-row: 3; }
.service-columns article:not(:first-child) .text-link { grid-row: 4; }
.service-columns p, .service-columns li { font-size: 13px; line-height: 1.9; }
.service-columns ul { margin: 18px 0 28px; }
.service-columns li + li { margin-top: 6px; }
.text-link { color: var(--terra-deep); font-size: 12px; font-weight: 700; border-bottom-color: var(--terra); transition: color .2s ease, letter-spacing .2s ease; }
.text-link:hover { color: var(--ink); letter-spacing: .04em; }
.business-entries { margin-top: 72px; padding-top: 30px; }
.entry-heading { margin-bottom: 30px; }
.entry-heading h3 { font-size: 22px; }
.business-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.business-grid article { min-height: 230px; padding: 24px 21px; background: #fdfbf7; transition: background .22s ease; }
.business-grid article:hover { background: #f2eee5; }
.business-grid h4 { font-size: 17px; }
.business-grid p { font-size: 12px; }
.business-grid .text-button { font-size: 12px; }

#resources { background: #eeeadd; }
.resource-explorer { background: #fdfbf7; padding: 34px clamp(24px, 4vw, 62px) 28px; border: 1px solid #dedace; box-shadow: 0 18px 45px rgba(36,53,48,.055); }
.resource-tabs { gap: clamp(18px, 3vw, 46px); }
.resource-tabs button { font-size: 13px; color: var(--body); padding-bottom: 15px; }
.resource-tabs button[aria-selected=true] { color: var(--terra-deep); }
.resource-panel { padding-top: 36px; }
.resource-panel h3 { font-size: 26px; }
.resource-fields { gap: 20px; margin-top: 32px; }
.resource-field label { color: var(--ink); font-size: 12px; font-weight: 700; }
.resource-field input, .resource-field select { border-radius: 0; background: #fff; border-color: #cfd4ca; }
.resource-field input:focus, .resource-field select:focus { border-color: var(--terra); }
.resource-empty { margin-top: 35px; border: 0; border-left: 3px solid var(--terra); background: #f2eee5; padding: 22px 26px; }
.coverage-note { color: var(--body); }

.process { gap: 0; border-top: 1px solid var(--line); }
.process li { padding: 28px clamp(12px, 2vw, 28px) 34px 0; border-top: 0; border-right: 1px solid var(--line); }
.process li + li { padding-left: clamp(12px, 2vw, 28px); }
.process li:last-child { border-right: 0; }
.process span { font-size: 19px; }
.process h3 { font-size: 20px; margin-top: 22px; }
.responsibilities { gap: 0; border-top: 1px solid var(--line); }
.responsibilities article { padding: 8px 30px 0 0; }
.responsibilities article + article { border-left: 1px solid var(--line); padding-left: 30px; }
.standard-examples { margin-top: 70px; }
.standard-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.standard-grid article { padding: 28px; background: #fdfbf7; }
.standard-grid h4 { font-size: 18px; }
.standard-grid dl { background: #f1eee5; }

#workspace { background: #1f3434; color: #f7f1e7; }
.band-navy h2, .band-navy h3, .band-navy h4 { color: #f7f1e7; }
#workspace .eyebrow { color: #deb799; }
.workspace-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(48px, 7vw, 105px); align-items: center; }
.workspace-layout .lead { color: #d6e0d7; font-size: 14px; line-height: 2; }
.privacy-note { color: #b7c5ba; }
.workspace-state { color: #e3bda2; }
.workspace-demo { border: 1px solid #d3d4c9; background: #f7f4eb; box-shadow: 18px 18px 0 rgba(255,255,255,.075); }
.workspace-demo .mock-head b { color: var(--ink); }
.band-navy .workspace-item h3 { color: var(--ink); }
.workspace-item { padding: 21px 0; }
.workspace-item p { line-height: 1.8; }
.academic-flow { margin-top: 76px; border-top-color: rgba(255,255,255,.24); }
.academic-flow ol { margin-top: 22px; }
.academic-flow p { color: #c5d1c7; }

.partner-layout { gap: clamp(50px, 8vw, 120px); }
.partner-layout .fig { align-self: stretch; }
.partner-layout .fig img { height: min(560px, 42vw); object-fit: cover; object-position: center; }
.partner-layout .lead, .contact-layout .lead { font-size: 14px; line-height: 2; }
.partner-flow { margin-top: 37px; }
.partner-flow li { padding: 15px 0; }
.availability { background: #e6dacb; color: var(--terra-deep); }

#contact { background: #fdfbf7; }
.contact-layout { grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); }
.contact-layout .form-card { background: #f0ede3; border: 1px solid #e1dfd3; padding: clamp(25px, 4vw, 48px); }
.contact-layout .field label { font-size: 13px; }
.contact-layout input[type=text], .contact-layout textarea, .contact-layout select { border-radius: 0; border-color: #cfd4ca; }
.contact-layout .btn[type=submit] { width: 100%; }
.demo-callout { border-left-color: var(--terra); }
.footer { margin: 0; background: #172a29; }
.footer .wrap { max-width: 1440px; padding: 0 clamp(24px, 4vw, 68px); }
.footer-brand { font-size: 37px; }
.home-footer { padding-bottom: 44px; }
.f-bottom { border-top-color: rgba(255,255,255,.19); }
.home-footer nav a { transition: color .2s ease; }
.home-footer nav a:hover { color: #deb799; }
.demo-dialog { border-color: #d8d5c9; border-radius: 0; background: #f7f4eb; box-shadow: 0 30px 90px rgba(11,31,29,.28); }
.demo-dialog::backdrop { background: rgba(10,32,31,.7); backdrop-filter: blur(4px); }
.dialog-close { border-radius: 0; }

@media (max-width: 1100px) {
  .home .hero, .home .sec { padding-left: 32px; padding-right: 32px; }
  .home .hero-grid { gap: 45px; }
  .home h1 { font-size: clamp(34px, 3.8vw, 44px) !important; }
  .responsive-break { display: initial; }
  .desktop-break { display: none; }
  .business-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-columns { column-gap: 45px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 100px; }
  .notice-bar { font-size: 10px; padding: 8px 20px; }
  .topbar-in { padding: 13px 20px; }
  .brand-name { font-size: 23px; }
  .topbar .btn { font-size: 11px; padding: 9px 11px; }
  .topbar-in > .chips { gap: 22px !important; padding: 7px 0 0 !important; }
  .chips a { font-size: 12px; }
  .home .hero { padding: 48px 22px 0; }
  .home .hero-grid { display: flex; flex-direction: column; gap: 7px; }
  .hero-grid > div:first-child { padding: 0; }
  .hero-kicker { font-size: 10px; margin-bottom: 25px; }
  .kicker-index { display: none; }
  .home h1 { font-size: clamp(30px, 8.1vw, 39px) !important; line-height: 1.48 !important; margin-bottom: 24px; }
  .home .hero-sub { font-size: 13px; line-height: 1.95; }
  .home .hero-ctas { margin-top: 28px; gap: 22px; }
  .home .hero-ctas .btn { font-size: 12px; }
  .home .hero-visual { width: 100%; padding: 43px 0 31px; }
  .home .hero-frame { margin-left: 10px; padding: 7px; }
  .home .hero-frame::before { left: -10px; width: 10px; }
  .home .hero-frame img { height: auto; aspect-ratio: 1.32; }
  .home .hero figcaption { margin: 12px 0 0 18px; font-size: 10px; }
  .brand-intro { margin: 0; padding: 25px 0 31px; gap: 14px; }
  .brand-intro p:first-child { font-size: 17px; }
  .brand-intro p:last-child { font-size: 12px; }
  .home .sec { padding: 68px 22px 76px; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .workspace-layout h2, .partner-layout h2, .contact-layout h2 { font-size: 30px; }
  .section-heading > p { margin-top: 20px; }
  .service-columns { display: block; }
  .service-columns article:first-child { padding: 29px 28px 32px; margin-bottom: 20px; }
  .service-columns article:first-child .service-number { font-size: 30px; margin-bottom: 25px; }
  .service-columns article:not(:first-child) { grid-template-columns: 35px 1fr; column-gap: 9px; padding: 25px 0; }
  .service-columns h3 { font-size: 21px; }
  .business-entries { margin-top: 38px; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-grid article { min-height: 210px; padding: 18px 15px; }
  .business-grid article:last-child { grid-column: 1 / -1; min-height: 150px; }
  .resource-explorer { padding: 22px 18px; }
  .resource-tabs { gap: 0 20px !important; }
  .resource-tabs button { font-size: 12px; padding: 8px 0 10px; }
  .resource-panel h3 { font-size: 21px; }
  .resource-fields { gap: 17px 13px; }
  .process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li, .process li + li { padding: 19px 13px 24px 0; border-bottom: 1px solid var(--line); }
  .process li:nth-child(even) { border-right: 0; padding-left: 15px; }
  .process h3 { font-size: 18px; margin-top: 12px; }
  .responsibilities { display: block; padding-top: 10px; }
  .responsibilities article, .responsibilities article + article { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .standard-examples { margin-top: 52px; }
  .standard-grid article { padding: 21px 18px; }
  .workspace-layout { display: block; }
  .workspace-demo { margin-top: 37px; box-shadow: 9px 9px 0 rgba(255,255,255,.075); }
  .academic-flow { margin-top: 58px; }
  .partner-layout .fig img { height: auto; aspect-ratio: 4/3; }
  .contact-layout .form-card { padding: 24px 19px; }
  .footer { padding-top: 55px; }
  .footer .wrap { padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .text-button, .text-link, .business-grid article { transition: none; }
}

/* A shorter route from choosing a service to keeping a useful request. */
:root { --nav-offset: 96px; }
html { scroll-padding-top: 0; }
.home .hero, .home .sec, .resource-explorer, .request-summary {
  scroll-margin-top: var(--nav-offset);
}
.home .sec { padding-top: 70px; padding-bottom: 70px; }
.home .section-heading { margin-bottom: 30px; gap: 32px; }
.home .section-heading > p { font-size: 15px; line-height: 1.85; }
.home .eyebrow { font-size: 13px; letter-spacing: .08em; margin-bottom: 13px; }
.notice-bar { font-size: 13px; line-height: 1.7; }
.topbar-in { padding-top: 12px; padding-bottom: 12px; }
.topbar-in > .chips { min-width: 0; }
.topbar-in > .chips a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px !important; }
.btn, .text-button, .text-link, .dialog-close { min-height: 44px; }
.btn, .text-button, .dialog-close { font-size: 14px; }
.text-button, .text-link { display: inline-flex; align-items: center; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--terra-deep);
  outline-offset: 4px;
}
.hero a:focus-visible, .band-navy > a:focus-visible { outline-color: #e4b493; }
.btn:hover { transform: none; }
.home .hero { padding-top: clamp(38px, 4.5vw, 64px); }
.hero-grid > div:first-child { padding-top: 0; padding-bottom: 36px; }
.hero-kicker { font-size: 13px; letter-spacing: .06em; margin-bottom: 22px; }
.home h1 { margin-bottom: 22px; }
.home .hero-sub { font-size: 16px; line-height: 1.85; }
.home .hero-ctas { margin-top: 26px; gap: 24px; }
.home .hero figcaption { font-size: 13px; }
.brand-intro { padding-top: 22px; padding-bottom: 24px; }
.brand-intro p:last-child { font-size: 14px; line-height: 1.8; }
.quick-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #ffffff30; }
.quick-services .quick-label { flex-basis: 100%; font-size: 13px; color: #c9d5cb; margin-bottom: 3px; }
.quick-services a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #a6b7a95e; color: #f7f1e7; font-size: 14px; line-height: 1.5; }
.quick-services a:hover { color: #fff; border-color: #deb799; background: #ffffff0c; }

/* Five concrete starting points; the wider service structure stays available. */
.business-entries { margin-top: 0; padding-top: 0; border-top: 0; }
.entry-heading { margin-bottom: 18px; }
.entry-heading h3 { font-size: 21px; }
.entry-heading p { font-size: 13px; color: var(--body); }
.business-grid article { min-height: 205px; padding: 22px 18px 18px; }
.business-grid h4 { font-size: 18px; line-height: 1.55; }
.business-grid p { font-size: 14px; line-height: 1.8; margin: 10px 0 14px; }
.business-grid .text-button { font-size: 14px; line-height: 1.55; }
.system-details { margin-top: 28px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: visible; }
.system-details > summary { padding: 18px 34px 18px 0; font-family: var(--sans); font-size: 16px; }
.system-details > summary::after { right: 10px; }
.system-details .service-columns { padding-bottom: 22px; }
.system-details .service-columns article:first-child { padding: 26px 28px; }
.system-details .service-columns article:first-child .service-number { font-size: 26px; margin-bottom: 20px; }
.system-details .service-columns article { padding-top: 24px; padding-bottom: 20px; }
.system-details .service-columns p, .system-details .service-columns li { font-size: 14px; }
.system-details .service-columns h3 { font-size: 23px; }
.system-details .service-columns ul { margin: 14px 0 18px; }

/* Each selection produces a readable summary and a clear next action. */
.journey-steps { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0 0 22px; list-style: none; counter-reset: journey; }
.journey-steps li { display: flex; align-items: center; gap: 9px; counter-increment: journey; font-size: 14px; color: var(--body); }
.journey-steps li::before { content: counter(journey); display: inline-grid; place-items: center; width: 27px; height: 27px; border: 1px solid #b8b9ab; color: var(--terra-deep); font-family: var(--sans); font-size: 13px; }
.resource-explorer { padding-top: 24px; padding-bottom: 24px; box-shadow: none; }
.resource-tabs { gap: 0 24px; }
.resource-tabs button { font-size: 15px; min-height: 48px; padding: 9px 0 13px; }
.resource-panel { padding-top: 24px; }
.resource-intro { font-size: 15px; line-height: 1.8; }
.resource-demo-note, .resource-choice-status, .coverage-note { font-size: 13px; }
.resource-field label { font-size: 14px; }
.resource-fields { margin-top: 22px; gap: 18px; }
.resource-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; }
.resource-actions .btn { padding: 12px 18px; }
.resource-empty { margin-top: 22px; padding: 18px 20px; }
.resource-empty p { font-size: 14px; line-height: 1.85; }
.resource-checklist { list-style: disc; padding-left: 21px; margin-top: 10px; color: var(--body); font-size: 14px; line-height: 1.8; }
.resource-checklist li + li { margin-top: 5px; }
.selection-summary { margin-top: 22px; padding: 20px; background: #f1eee5; border-left: 3px solid var(--terra); }
.selection-summary h4, .request-context h3, .request-summary h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.selection-summary > p, .request-context > p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--body); }
.condition-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 12px 0 0; }
.condition-list > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.7; }
.condition-list dt { color: var(--body); }
.condition-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

/* Smaller sections, readable explanatory text and explicit item states. */
.process p, .responsibilities p, .standard-grid article > p { font-size: 14px; line-height: 1.85; }
.process h3 { margin-top: 15px; }
.responsibilities { padding-top: 20px; }
.standard-examples { margin-top: 32px; }
.standard-grid article { padding: 22px; }
.standard-grid dl { font-size: 14px; }
.standard-grid dt { color: var(--body); }
.standard-grid small { font-size: 13px; }
.workspace-layout { gap: 44px; align-items: start; }
.workspace-layout .lead, .partner-layout .lead, .contact-layout .lead { font-size: 15px; line-height: 1.85; }
.workspace-state, .sample-label { font-size: 13px !important; }
.workspace-item { padding: 18px 0; }
.workspace-item p { font-size: 14px; }
.workspace-item .item-meta { font-size: 13px; color: var(--body); }
.item-status { display: inline-block; white-space: normal; color: #85452e; background: #ecdfce; padding: 3px 8px; font-size: 13px; line-height: 1.6; }
.workspace-demo { box-shadow: none; }
.academic-flow { margin-top: 38px; padding-top: 24px; }
.academic-flow p, .privacy-note { font-size: 14px; line-height: 1.85; }
.partner-flow { margin-top: 24px; }
.availability { font-size: 13px; }
.home figcaption { font-size: 13px; }

/* Draft recovery and an exportable request live beside the demonstration form. */
.contact-layout { gap: 50px; align-items: start; }
.contact-layout .form-card { padding: 28px; }
.contact-layout .field label { font-size: 14px; }
.contact-layout input[type=text], .contact-layout textarea, .contact-layout select { font-size: 16px; }
.demo-callout { margin-top: 22px; }
.draft-banner { background: #e5e8dc; border-left: 3px solid #587064; padding: 16px 18px; margin-bottom: 22px; }
.draft-banner p { color: var(--ink); font-size: 14px; line-height: 1.8; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; }
.draft-actions .text-button { font-size: 14px; }
.request-context { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.request-context .condition-list { grid-template-columns: 1fr; }
.request-summary { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); min-width: 0; }
.request-summary pre { font: 14px/1.85 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: #f0ede3; padding: 18px; margin: 14px 0; max-width: 100%; }
.request-summary .text-button { font-size: 14px; }
.request-summary > p, #draftState { font-size: 13px; line-height: 1.8; color: var(--body); }
#draftState { margin-top: 14px; min-height: 24px; }
.home-footer .footer-name, .f-bottom { font-size: 13px; }
.home-footer nav { flex-wrap: wrap; gap: 12px 24px; }
.home-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* The three workspace records use structures suited to their information. */
.demo-dialog { padding: 28px; }
.dialog-top > span { font-size: 13px; }
.dialog-close { display: inline-flex; align-items: center; justify-content: center; }
.dialog-footnote { font-size: 13px; line-height: 1.85; }
.version-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.version-comparison article { padding: 18px; border: 1px solid var(--line); background: #fdfbf7; min-width: 0; }
.version-comparison article:last-child { border-top: 3px solid var(--terra); }
.version-comparison h3 { font-family: var(--sans); font-size: 16px; margin-bottom: 8px; }
.version-comparison p, .version-comparison li { font-size: 14px; line-height: 1.85; color: var(--body); }
.version-comparison p + p { margin-top: 8px; }
.version-comparison ul { list-style: disc; padding-left: 18px; }
.collection-list { padding: 0; margin: 22px 0; list-style: none; border-top: 1px solid var(--line); }
.collection-list li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.state-label { display: inline-block; padding: 3px 9px; background: #e4e9df; color: #365747; font-size: 13px; line-height: 1.7; }
.collection-list li[data-state=missing] .state-label, .state-label.is-missing { background: #eee0d4; color: #85452e; }
.issue-timeline { list-style: none; padding: 0 0 0 12px; margin: 22px 0; }
.issue-timeline li { position: relative; border-left: 1px solid #aab6a9; padding: 0 0 20px 23px; font-size: 14px; line-height: 1.8; color: var(--body); }
.issue-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.issue-timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #7b9384; }
.issue-timeline li[data-state=pending]::before, .issue-timeline li[data-state=open]::before { background: var(--terra); }
.issue-timeline strong { color: var(--ink); font-weight: 600; }
.issue-timeline p { margin-top: 4px; }
.next-action { padding: 18px 20px; background: #e9e6da; border-left: 3px solid var(--terra); margin: 22px 0; }
.next-action h3 { font: 600 16px/1.65 var(--sans); }
.next-action p { font-size: 14px; line-height: 1.85; color: var(--body); margin-top: 6px; }
.demo-step-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; }
.demo-step-controls button { min-height: 44px; }
.demo-step-controls button:disabled { opacity: .65; cursor: default; }
.demo-step-note { font-size: 13px; color: var(--body); line-height: 1.8; margin-top: 12px; }

@media (max-width: 1149px) {
  :root { --nav-offset: 142px; }
  .topbar-in { gap: 6px 14px; }
  .topbar-in > .chips { flex: 1 0 100%; width: 100%; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 4px 2px 2px !important; scrollbar-width: thin; }
  .topbar-in > .chips a { padding: 4px 0; }
  .business-grid article { min-height: 185px; }
  .home .hero-grid { gap: 34px; }
}
@media (max-width: 850px) {
  .resource-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-tabs { flex-wrap: wrap; overflow: visible; gap: 0 22px !important; }
  .workspace-layout { grid-template-columns: 1fr; gap: 28px; }
  .workspace-layout .lead, .privacy-note { max-width: none; }
}
@media (max-width: 700px) {
  .notice-bar { padding: 9px 20px; }
  .topbar-in { padding: 9px 20px 6px; }
  .topbar-in > .chips { gap: 6px !important; justify-content: space-between; padding: 4px 0 2px !important; }
  .topbar .btn { font-size: 13px; min-height: 44px; padding: 9px 12px; }
  .home .hero { padding: 28px 22px 0; }
  .home .hero-grid { gap: 0; }
  .hero-grid > div:first-child { padding-bottom: 0; }
  .hero-kicker { font-size: 13px; margin-bottom: 17px; }
  .home h1 { font-size: clamp(28px, 7.6vw, 35px) !important; margin-bottom: 18px; }
  .home .hero-sub { font-size: 15px; line-height: 1.85; }
  .home .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 22px; }
  .home .hero-ctas .btn { font-size: 14px; min-width: 0; }
  .hero-ctas .btn-primary { padding: 12px 18px; }
  .quick-services { margin-top: 22px; padding-top: 16px; gap: 8px; }
  .quick-services a { padding: 8px 10px; font-size: 14px; }
  .home .hero-visual { padding: 26px 0 24px; }
  .home .hero-frame img { max-height: 280px; aspect-ratio: 1.5; }
  .home .hero figcaption { font-size: 13px; margin-top: 10px; }
  .brand-intro { gap: 10px; padding: 20px 0 24px; }
  .brand-intro p:last-child { font-size: 14px; }
  .home .sec { padding: 44px 22px; }
  .home .section-heading { margin-bottom: 24px; }
  .home .section-heading > p { margin-top: 14px; font-size: 14px; }
  .section-heading h2, .workspace-layout h2, .partner-layout h2, .contact-layout h2 { font-size: 28px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-grid article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; min-height: 0; padding: 18px; align-items: center; }
  .business-grid h4 { font-size: 17px; }
  .business-grid p { grid-column: 1; font-size: 14px; margin: 0; line-height: 1.75; }
  .business-grid .text-button { grid-column: 2; grid-row: 1 / span 2; max-width: 92px; font-size: 14px; margin: 0; }
  .business-grid article:last-child { grid-column: auto; min-height: 0; }
  .system-details { margin-top: 22px; }
  .system-details .service-columns article:first-child { padding: 22px; }
  .system-details .service-columns article { padding: 20px 0; }
  .system-details .service-columns h3 { font-size: 21px; }
  .journey-steps { gap: 8px 12px; }
  .journey-steps li { gap: 6px; font-size: 13px; }
  .journey-steps li::before { width: 23px; height: 23px; }
  .resource-explorer { padding: 18px 16px; }
  .resource-tabs { gap: 0 17px !important; }
  .resource-tabs button { font-size: 14px; }
  .resource-panel { padding-top: 20px; }
  .resource-panel h3 { font-size: 22px; }
  .resource-fields { gap: 16px 12px; }
  .resource-field input, .resource-field select { font-size: 16px; padding-left: 10px; }
  .resource-actions { align-items: stretch; gap: 12px 18px; }
  .resource-actions .btn { width: 100%; }
  .resource-empty { padding: 16px; }
  .selection-summary { padding: 17px; }
  .condition-list { grid-template-columns: 1fr; }
  .condition-list > div { grid-template-columns: 78px minmax(0, 1fr); }
  .process li, .process li + li { padding-top: 18px; padding-bottom: 20px; }
  .process p { font-size: 14px; }
  .responsibilities article, .responsibilities article + article { padding: 16px 0; }
  .standard-examples { margin-top: 24px; }
  .standard-grid { gap: 1px; }
  .standard-grid article { padding: 20px 17px; }
  .standard-grid dl { padding: 12px; }
  .standard-grid dl > div { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
  .workspace-demo { margin-top: 26px; padding: 20px; }
  .workspace-item .item-meta { line-height: 1.75; }
  .academic-flow { margin-top: 28px; }
  .partner-layout, .contact-layout, .resource-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .partner-layout > *, .contact-layout > *, .resource-layout > * { min-width: 0; }
  .partner-layout .fig img { max-height: 270px; }
  .contact-layout .form-card { padding: 22px 17px; }
  .request-summary { margin-top: 22px; }
  .request-summary pre { padding: 15px; }
  .demo-dialog { padding: 20px 18px; }
  .dialog-top > span { font-size: 13px; }
  .version-comparison { grid-template-columns: 1fr; }
  .version-comparison article { padding: 16px; }
  .next-action { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .text-button, .text-link { transition: none; }
}

/* Connected resource results keep provenance, availability and next steps visible. */
.integration-state { margin: 0; color: var(--body); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
a[data-workspace] { display: inline-flex; align-items: center; min-height: 44px; }
.catalog-results { min-width: 0; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: var(--nav-offset, 96px); }
.catalog-results > h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.55; }
.catalog-results p { font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.catalog-status { margin: 0 0 14px; color: var(--ink); font-weight: 600; }
.catalog-mode { padding: 12px 15px; margin: 0 0 18px; border-left: 3px solid #637b6e; background: #e8ebe2; color: #365248; }
.catalog-filter-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 24px; margin: 0 0 22px; padding-left: 19px; color: var(--body); font-size: 13px; line-height: 1.8; }
.catalog-filter-notes li { min-width: 0; overflow-wrap: anywhere; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; }
.catalog-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); background: var(--card); }
.catalog-card h4 { margin: 0 0 10px; font-size: 21px; line-height: 1.55; overflow-wrap: anywhere; }
.catalog-card > p { color: var(--body); margin: 0 0 10px; }
.catalog-facts { margin: 8px 0 18px; }
.catalog-facts > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.75; }
.catalog-facts dt { color: var(--body); }
.catalog-facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.catalog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 8px; }
.catalog-actions a, .catalog-actions button, .catalog-toolbar button, .catalog-empty button, .catalog-error button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; font: 500 14px/1.65 var(--sans); overflow-wrap: anywhere; }
.catalog-actions a:not(.btn), .catalog-actions button:not(.btn), .catalog-toolbar button:not(.btn), .catalog-empty button:not(.btn), .catalog-error button:not(.btn) { padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--terra-deep); cursor: pointer; text-align: left; }
.catalog-actions a:not(.btn):hover, .catalog-actions button:not(.btn):hover, .catalog-toolbar button:not(.btn):hover { border-bottom-color: currentColor; }
.catalog-actions button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--ink); }
.catalog-results button:disabled { color: var(--body); opacity: .65; cursor: default; }
.catalog-empty, .catalog-error { padding: 22px; border: 1px solid var(--line); background: #f1eee5; }
.catalog-empty h4, .catalog-error h4 { margin: 0 0 9px; font: 600 17px/1.6 var(--sans); }
.catalog-empty p, .catalog-error p { margin: 0; color: var(--body); }
.catalog-empty p + p, .catalog-error p + p { margin-top: 8px; }
.catalog-empty button, .catalog-error button { margin-top: 12px; }
.catalog-error { border-left: 3px solid var(--terra); }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; margin: 24px 0 14px; }
.catalog-toolbar p { margin: 0; color: var(--body); }
.catalog-compare { min-width: 0; margin-top: 22px; }
.compare-hint { display: none; }
.catalog-compare h4 { margin: 0 0 12px; font: 600 18px/1.6 var(--sans); }
.catalog-compare .table-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); scrollbar-width: thin; }
.catalog-compare table { width: 100%; min-width: 560px; table-layout: fixed; border-collapse: collapse; text-align: left; font: 14px/1.75 var(--sans); }
.catalog-compare th, .catalog-compare td { padding: 13px 16px; vertical-align: top; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.catalog-compare th { background: #eae7da; color: var(--ink); font-weight: 600; }
.catalog-compare th:first-child, .catalog-compare td:first-child { width: 116px; }
.catalog-compare td { background: var(--card); color: var(--body); }
.catalog-compare tr:last-child > * { border-bottom: 0; }
.catalog-compare tr > :last-child { border-right: 0; }
.catalog-compare caption { padding: 12px 16px; text-align: left; background: #f1eee5; color: var(--body); font-size: 13px; }
.catalog-next { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--body); }
.catalog-next a { color: var(--terra-deep); text-underline-offset: 4px; }

@media (max-width: 700px) {
  .catalog-results { margin-top: 24px; padding-top: 20px; }
  .catalog-results > h3 { font-size: 21px; }
  .catalog-filter-notes, .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-filter-notes { gap: 6px; margin-bottom: 18px; }
  .catalog-grid { gap: 14px; }
  .catalog-card, .catalog-empty, .catalog-error { padding: 17px; }
  .catalog-card h4 { font-size: 20px; }
  .catalog-facts > div { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
  .catalog-actions { gap: 8px 16px; }
  .catalog-actions .btn { width: 100%; padding: 10px 12px; }
  .catalog-toolbar { align-items: flex-start; margin-top: 20px; }
  .catalog-compare th, .catalog-compare td { padding: 11px 13px; }
  .compare-hint { display: block; margin-bottom: 12px; }
}
