/* One palette: champagne on the landing page, teal for actions in the workspaces. */
.component-sample, .showcase { --accent: #96703c; --tint: #faf3e7; }

.suite-card .component-sample {
  background: var(--tint); padding: 14px; margin: 0 0 18px; border-radius: 10px;
  color: #302f2d; font-size: 12px; line-height: 1.45;
}
.sample-paper {
  background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 20%, white);
  border-radius: 6px; padding: 13px; min-height: 120px;
  box-shadow: 0 3px 8px #392d1e08;
}
.sample-paper > small, .overline {
  display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .12em;
  font-size: 10px; font-weight:700; margin: 0 0 10px;
}
.sample-paper > strong { display: block; margin-bottom: 9px; font-size: 14px; letter-spacing: -.02em; }
.sample-line { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 5px 0; border-top: 1px solid #eeeae4; }
.sample-line b { color: var(--accent); font-size: 10px; text-align: right; }
.sample-excerpt { border-left: 2px solid var(--accent); padding-left: 9px; color: #554d47; }
.sample-meter, .sample-meter i { display: block; height: 5px; border-radius: 4px; background: var(--tint); }
.sample-meter i { width: 86%; background: var(--accent); }
.suite-card .suite-link { margin-top: auto; }
.hd-widget .hero-evidence { color: #524b41; font-size: 12px; line-height: 1.5; margin: 0; }
.hd-widget .hero-source { display: block; margin-top: 10px; font-size: 10px; color: #776650; }

.preview-page {
  --ink: #302d28; --muted: #6b6459; --line: #e9e3d8; --accent: #3f7873; --tint: #e9f3f1;
  color: var(--ink); margin: 0; background: #fff;
  font: 15px/1.55 Inter, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.preview-page *, .preview-page *::before, .preview-page *::after { box-sizing: border-box; }
.preview-page a { color: inherit; text-decoration: none; }
.preview-page :focus-visible { outline: 3px solid #9c7848; outline-offset: 3px; }
.preview-header {
  display: flex; align-items: center; justify-content: space-between; padding: 16px max(5vw, 20px);
  min-height: 70px; background: white; border-bottom: 1px solid var(--line);
}
.wordmark { font-size: 22px; font-weight:700; letter-spacing: -.065em; }
.wordmark span { color: #ad8147; font-size: 16px; vertical-align: top; }
.back-link { font-size: 13px; font-weight: 650; }
.back-link:hover { text-decoration: underline; }
.workbench {
  max-width: 1300px; margin: 42px auto; width: 93%;
  border: 1px solid #e6dccb; border-radius: 16px; overflow: hidden;
  display: grid; grid-template-columns: 208px minmax(0,1fr); background: #fff;
  box-shadow: 0 15px 40px #433b2c0c;
}
.product-nav { background: #fff; color: #5c5346; padding: 26px 12px; border-right: 1px solid var(--line); }
.product-nav h2 { margin: 5px 12px 20px; color: #9e866a; text-transform: uppercase; font-size: 11px; letter-spacing: .13em; }
.product-nav a { display: block; padding: 11px 13px; border-radius: 7px; margin-bottom: 3px; }
.product-nav a:hover { background: #fff7e9; }
.product-nav a[aria-current] { color: #855d2e; background: #fff4e3; }
.product-nav span, .product-nav small { display: block; }
.product-nav span { font-weight:700; letter-spacing: -.02em; }
.product-nav small { font-size: 11px; opacity: .85; }
#workspace { min-width: 0; }
.workbar, .work-footer, .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.workbar { background: white; padding: 14px clamp(16px,3.3vw,46px); border-bottom: 1px solid var(--line); font-size: 12px; }
.workbar > span > span { padding: 0 7px; color: #969e96; }
.sample-label { color: #715635; font-size: 11px; }
.sample-label::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: #b28c59; border-radius: 50%; }
.product-screen { padding: clamp(18px,3.3vw,46px); min-height: 565px; }
.preview-page .page-heading { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 0; font-size: clamp(28px,3vw,40px); font-weight:700; line-height: 1.12; letter-spacing: -.045em; }
.page-heading > p:last-child { margin: 9px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 16px; align-items: start; }
.sheet { background: white; border: 1px solid var(--line); border-radius: 9px; padding: clamp(16px,2vw,26px); min-width: 0; }
.sheet-head .overline, .sheet-head h2 { margin: 0; }
.sheet-head { margin-bottom: 18px; }
.product-screen h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.035em; margin: 0 0 12px; }
.product-screen h3 { font-size: 15px; margin: 16px 0 4px; }
.product-screen p { margin-top: 0; }
.product-screen .sheet p:last-child { margin-bottom: 0; }
.product-screen .display-title { font-size: clamp(24px,2.4vw,30px); font-weight:700; line-height: 1.15; letter-spacing: -.045em; }
.sheet.editorial, .sheet.document { border-top: 4px solid var(--accent); }
.standfirst, .byline, .sheet small, .work-footer { color: var(--muted); }
.product-screen blockquote { margin: 12px 0; padding-left: 13px; border-left: 3px solid var(--accent); font-size: 16px; line-height: 1.55; }
.product-screen hr { border: 0; border-top: 1px solid var(--line); }
.product-screen details { border-top: 1px solid var(--line); padding: 12px 0; }
.product-screen details:last-child { padding-bottom: 0; }
.product-screen summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--accent); }
.product-screen details p, .product-screen ol { margin: 10px 0 0; }
.product-screen ol { padding-left: 22px; }
.field-label, .segment legend { display: block; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.product-screen select { display: block; max-width: 100%; width: 100%; font: inherit; font-size: 15px; background: white; border: 1px solid #adb7ae; border-radius: 6px; color: var(--ink); padding: 12px 8px; margin-bottom: 18px; }
.segment { padding: 0; margin: 0 0 20px; border: 0; }
.segment label { display: inline-block; position: relative; }
.segment span { display: block; padding: 8px 13px; background: white; border: 1px solid #bbc1b9; border-radius: 6px; cursor: pointer; font-weight: 650; font-size: 13px; }
.segment input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segment input:checked + span { color: white; background: var(--accent); border-color: var(--accent); }
.segment input:focus-visible + span { outline: 3px solid #9c7848; outline-offset: 3px; }
.status { display: inline-block; background: var(--tint); color: var(--accent); padding: 3px 8px; font-size: 11px; font-weight:700; border-radius: 5px; }
.status.good { color: #286140; background: #e7f4e9; }
.status.warning { color: #8e4331; background: #f9e9df; }
.work-action { display: inline-block; border: 0; background: var(--accent); color: white; border-radius: 6px; padding: 11px 15px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.work-action:disabled { background: var(--tint); color: var(--accent); cursor: default; }
.product-screen details .work-action { margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(2,1fr); border-block: 1px solid var(--line); padding: 12px 0; margin: 16px 0; gap: 10px; }
.facts dt { font-size: 11px; color: var(--muted); }
.facts dd { font-size: 13px; font-weight: 650; margin: 2px 0 0; }
.score { margin-bottom: 4px; color: var(--muted); font-size: 13px; }
.score b { color: var(--accent); font-size: 28px; }
.product-screen meter { display: block; width: 100%; height: 12px; margin-bottom: 12px; accent-color: var(--accent); }
.receipt { font-size: 13px; margin: 10px 0 0; }
.receipt:empty { display: none; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); padding: 14px 0; }
.checklist small { display: block; }
.checklist b { font-size: 14px; }
.catalogue { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.catalogue th, .catalogue td { padding: 12px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.catalogue thead { color: var(--accent); background: var(--tint); }
.work-footer { padding: 12px clamp(16px,3.3vw,46px); border-top: 1px solid var(--line); font-size: 11px; }
@media (max-width: 950px) { .workbench { grid-template-columns: 175px minmax(0,1fr); } .split { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .workbench { display: block; width: 100%; margin: 0; border: 0; border-radius: 0; }
  .preview-header { min-height: 55px; padding-block: 8px; }
  .product-nav { display: flex; gap: 5px; overflow-x: auto; padding: 10px; }
  .product-nav h2, .product-nav small { display: none; }
  .product-nav a { flex: none; margin: 0; padding: 8px 9px; font-size: 13px; }
  .product-screen { min-height: 0; }
  .workbar { padding-block: 10px; }
  .catalogue { font-size: 12px; }
}

/* Landing page: readability and touch-target adjustments on top of the inline styles. */
.hero-dashboard, .hero-dashboard:hover { transform: none; }
/* Plain white page: no warm washes or glows behind sections. */
.hero-wrap, .cred, .problem-section, .how, .outcomes, .demo-sidebar, .demo-chrome { background: #fff; }
.featured.luminous, .cta-panel.luminous { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(125deg, #e2b97b 0%, #fff5e8 26%, #f5e4c7 51%, #d5a061 76%, #f6e2c4 100%) border-box; }
.hero-wrap::before, .hero-art::before { display: none; }
.hero h1, h2 { letter-spacing: -.045em; }
@media (min-width: 1041px) { .hero h1 { font-size: clamp(48px, 4.7vw, 66px); font-weight:700; } }
.suite-category, .suite-card p, .demo-hint, .sidebar-tab, .filter-chip, .comment-meta, .action-intro, .demo-top small, .demo-footerline p, .metric small, .metric .top, .action-body p, .evidence-label, .approval { color: #625c50; }
.suite-card p, .suite-card h4 { font-size: 14px; }
.suite-card .suite-link { font-size: 14px; min-height: 44px; }
.theme-row, .text-link, .comment p, .action-body strong, .demo-search, .insight p { font-size: 13px; }
.theme-row, .filter-chip, .evidence-controls button, #returnEvidence { min-height: 44px; }
.evidence-controls { display: flex; flex-wrap: wrap; gap: 5px 14px; }
#addAction { background: #4b827d; color: white; padding: 8px 11px; border-radius: 6px; }
.demo-top h3, .mini-panel button, #returnEvidence { scroll-margin-block: 110px 20px; }
.demo-hint { width: fit-content; font-size: 14px; color: #386d67; font-weight: 700; padding-block: 8px; }
.demo-brand { align-items: center; }

/* Workspace previews */
.product-screen { scroll-margin-top: 240px; }
.sheet { box-shadow: 0 2px 5px #372c1906; }
.mobile-picker { display: none; }
.work-action, .finding-link, .citation { min-height: 44px; }
.product-screen summary { padding-block: 8px; }
.citations { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.citation, .finding-link { color: var(--accent); background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.product-screen details { scroll-margin-block: 15px; }
.plan-note { margin-top: 16px; background: var(--tint); border-left: 3px solid var(--accent); padding: 16px 20px; }
.plan-note ul { padding-left: 18px; margin: 0; }
.plan-note li + li { margin-top: 10px; }
.plan-note textarea { display: block; width: 100%; margin: 7px 0 12px; padding: 10px; border: 1px solid #afb6ac; border-radius: 5px; font: inherit; background: white; color: var(--ink); resize: vertical; }
.save-step { margin-top: 12px; }
.save-step[aria-pressed="true"] { color: var(--accent); background: var(--tint); }
.comparison-row { background: var(--tint); }
.caption-pair dt { color: var(--muted); font-weight: 700; font-size: 12px; }
.caption-pair dd { margin: 3px 0 12px; }
@media (max-width: 760px) {
  .demo-top h3 { scroll-margin-top: 85px; }
}
@media (max-width: 700px) {
  .mobile-picker { display: flex; align-items: center; gap: 12px; padding: 10px 18px; color: #5c5346; background: #fffcf8; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 650; }
  .mobile-picker select { flex: 1; min-width: 0; padding: 8px; min-height: 44px; border: 1px solid #d9cdb9; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
  .product-nav { display: none; }
  .product-screen { scroll-margin-top: 200px; }
  .product-screen select, .plan-note textarea { font-size: 16px; }
  .segment span { min-height: 44px; }
  .product-screen summary { min-height: 44px; }
}
