@font-face { font-family:"Plus Jakarta Sans"; src:url("/fonts/plus-jakarta-sans.woff2") format("woff2"); font-style:normal; font-weight:400; font-display:swap; }
@font-face {
  font-family: "CMU Serif";
  src: url("/fonts/cmunrm.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root { color-scheme: light; --paper: #ffffff; --ink: #161616; --muted: #525252; --accent: #c62828; }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: "CMU Serif", Georgia, serif;
  font-weight:400; font-synthesis:none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.site-header {
  padding: 30px 48px; display: flex;
  align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  font-family: "CMU Serif", Georgia, serif;
  font-size: 46px; text-decoration: none; letter-spacing: -1px;
}
.wordmark span { color: var(--accent); }
.header-note { font-size: 12px; color: var(--muted); }
main { flex: 1; display: grid; place-items: center; padding: 34px 24px 44px; }
.hero { width: 100%; max-width: 1200px; text-align: center; }
.eyebrow {
  margin: 0 0 26px; font-size: 11px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 2px; color: var(--muted);
}
.platforms { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 30px; }
.platform { display: inline-flex; align-items: center; text-decoration: none; }
.platform img { display: block; object-fit: contain; }
.platform-divider { width: 1px; height: 25px; background: #d7d9d0; }
.hermes { gap: 9px; font-family:Arial,Helvetica,sans-serif; font-synthesis:weight; font-size: 24px; font-weight: 600; letter-spacing: -.8px; }
h1 {
  margin: 0; font-family: "CMU Serif", Georgia, serif;
  font-size: clamp(44px, 6.5vw, 86px); font-weight: 400;
  line-height: 1.06; letter-spacing: -2.7px; text-wrap: balance;
}
.intro { max-width: 660px; margin: 26px auto 0; font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.services { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 13px; line-height: 1.6; }
.services span { color: var(--muted); }
.contact-button {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 28px; padding: 13px 22px; min-height: 52px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  border-radius: 6px; text-decoration: none;
  font-family: "CMU Serif", Georgia, serif; font-size: 19px; line-height: 1.25;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (any-hover:hover) {
  .contact-button:hover { background:var(--accent); border-color:var(--accent); box-shadow:0 3px 10px rgb(22 22 22 / .12); }
}
.contact-button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.contact-button:active { background:var(--accent); border-color:var(--accent); box-shadow:none; }
@media (any-hover:none) { .contact-button:active { transition:none; } }
.service-note { margin: 16px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
footer {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 22px 48px; font-size: 11px; line-height: 1.6; color: var(--muted);
}
@media (max-width: 600px) {
  .site-header { padding: 24px; }
  .site-header .wordmark { font-size: clamp(32px, 9vw, 40px); }
  .header-note { display: none; }
  main { padding: 24px 20px 34px; }
  .eyebrow { margin-bottom: 24px; font-size: 10px; letter-spacing: 1.4px; }
  .platforms { gap: 17px; margin-bottom: 28px; }
  .openclaw img { width: 136px; height: auto; }
  .hermes img { width: 32px; height: 32px; }
  .hermes { font-size: 22px; gap: 6px; }
  h1 { font-size: clamp(38px, 10.8vw, 58px); letter-spacing: -1.3px; line-height: 1.1; }
  .intro { margin-top: 22px; font-size: 15px; line-height: 1.7; max-width: 360px; }
  .desktop-break { display: none; }
  .services { margin-top: 20px; font-size: 11px; gap: 7px; }
  .contact-button { margin-top: 25px; }
  footer { padding: 18px 24px; flex-direction: column; gap: 4px; text-align: center; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .contact-button { transition: none; } }

/* Minimal header/footer: no Preline, tracking, or remote fonts. */
.header-tools,.language-switcher { display:flex; align-items:center; gap:12px; }
.language-switcher a { font-size:14px; text-decoration:none; padding:12px 4px; }
.language-switcher [aria-current] { text-decoration:underline; text-underline-offset:5px; }
footer { border-top:1px solid #eee; align-items:center; flex-wrap:wrap; }
.footer-brand { display:flex; flex-direction:column; gap:4px; }
.footer-links { display:flex; flex-wrap:wrap; gap:12px 24px; }
.footer-links a { padding:8px 0; }
.legal-page { width:100%; max-width:760px; padding:35px 0 65px; }
.legal-page h1 { font-size:clamp(36px,6vw,60px); letter-spacing:-1px; }
.legal-page p { line-height:1.8; }
.draft-notice { padding:16px; border:1px solid #ddd; border-radius:4px; background:#fafafa; }
.skip-link { position:absolute; left:12px; top:-90px; background:white; padding:14px; z-index:100; }
.skip-link:focus { top:12px; }
@media(max-width:760px) {
 .site-header { padding:16px; gap:10px; }
 .header-tools { gap:20px; }
 footer { flex-direction:column; text-align:center; gap:16px; } .footer-links { justify-content:center; }
}
@media(max-width:360px) { .site-header { padding:16px; } .site-header .wordmark { font-size:30px; } .header-tools { gap:12px; } }
/* Business-first pages. */
:root { --ink:#161616; --muted:#525252; }
.wordmark span { color:var(--accent); }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.site-header { position:relative; z-index:20; }
main { align-items:start; padding-top:24px; }
.hero h1 { font-size:clamp(42px,5.5vw,74px); }
.hero .intro { max-width:1080px; margin:48px auto 0; margin-inline:auto; color:var(--ink); text-align:center; font-family:"Plus Jakarta Sans",Arial,Helvetica,sans-serif; font-size:17px; line-height:1.65; }
.hero .intro p { margin:0; }
/* Inline brand signature only; surrounding copy remains Jakarta. */
.intro-wordmark { font-family:"CMU Serif",Georgia,serif; font-size:1.2em; font-weight:400; font-synthesis:none; letter-spacing:-.025em; white-space:nowrap; color:var(--ink); }
.intro-wordmark > span { color:var(--accent); }
.hero .intro p + p { margin-top:14px; }
.intro-accent { color:var(--accent); }
/* Standard subpage copy and analogous lists/cards; display headings and scene keep CMUNRM. */
.content-page :is(p,li,dt,dd,a), .services { font-family:"Plus Jakarta Sans",Arial,Helvetica,sans-serif; }
.content-page p { font-size:18px; line-height:1.8; margin:26px 0; }
.text-link { color:var(--accent); text-underline-offset:5px; }
@media(max-width:760px) { main { padding:18px 16px 34px; } .hero .intro { margin-top:34px; font-size:16px; } .hero .intro p+p { margin-top:12px; } .content-page p { font-size:17px; } }

/* Expanded navigation lives in the footer on every page, never in a micro-bar. */
footer { display:block; padding-top:40px; }
.site-directory { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:48px; max-width:1040px; margin:0 auto 32px; width:100%; text-align:left; align-items:start; }
.site-directory section { min-width:0; }
.site-directory h2 { margin:0 0 12px; line-height:1.25; font-family:"CMU Serif",Georgia,serif; font-size:24px; font-weight:400; color:var(--ink); }
.site-directory ul { list-style:none; padding:0; margin:0; }
.site-directory a { display:block; min-height:44px; max-width:100%; overflow-wrap:anywhere; font-family:"Plus Jakarta Sans",Arial,Helvetica,sans-serif; padding:10px 0; font-size:14px; line-height:1.5; color:var(--ink); text-decoration:none; text-underline-offset:5px; }
.site-directory a:hover { color:var(--accent); text-decoration:underline; }
.footer-meta { max-width:1040px; margin-inline:auto; border-top:1px solid #eee; padding-top:22px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }
/* One consistent reading column on phones, landscape phones and tablets. */
@media(max-width:1000px) {
 footer { padding:32px 24px 22px; text-align:left; }
 .site-directory { grid-template-columns:minmax(0,1fr); gap:28px; }
 .site-directory h2 { font-size:22px; margin-bottom:10px; }
 .footer-meta { flex-direction:column; align-items:flex-start; gap:16px; }
 .footer-brand { text-align:left; font-size:12px; line-height:1.5; }
 .footer-links { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
 .footer-links a { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; font-size:12px; line-height:1.5; }
}

/* The homepage example is an ordered list, visible without scripts or motion. */
.hero #hero-title { max-width:980px; margin-inline:auto; font-size:clamp(36px,5vw,64px); letter-spacing:-.035em; }
.hero-lead, .hero-example { font-family:"Plus Jakarta Sans",Arial,Helvetica,sans-serif; }
.hero-lead { max-width:740px; margin:18px auto 0; font-size:clamp(16px,1.6vw,19px); line-height:1.6; text-wrap:pretty; }
.hero-example { max-width:880px; margin:26px auto 0; padding:20px 24px; background:#faf9f7; border:1px solid #e8e3df; border-radius:10px; text-align:left; }
.conversation-demo { max-width:760px; }
.conversation-demo h2 { margin:0 0 12px; color:#525252; font-size:14px; font-weight:600; font-synthesis:weight; }
.conversation-turn { max-width:90%; margin-bottom:8px; padding:10px 14px; border-radius:10px; line-height:1.5; font-size:15px; }
.conversation-turn p { margin:0; }
.conversation-turn .conversation-speaker { margin-bottom:2px; font-size:12px; font-weight:600; font-synthesis:weight; }
.conversation-prompt { margin-inline-start:auto; background:#ece9e5; border-end-end-radius:3px; }
.conversation-reply { margin-inline-end:auto; background:white; border:1px solid #e8e3df; border-end-start-radius:3px; }
.conversation-reply .conversation-speaker { color:var(--accent); }
.conversation-meta { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; margin-top:8px; }
.conversation-note { margin:0; font-size:12px; color:#525252; }
.conversation-replay { visibility:hidden; font:inherit; font-size:12px; padding:6px 10px; min-height:44px; background:transparent; color:#525252; border:1px solid #ded8d2; border-radius:6px; cursor:pointer; }
.conversation-typing { display:none; }
@media(prefers-reduced-motion:no-preference) {
  .conversation-can-play .conversation-replay { visibility:visible; }
  .conversation-replay[aria-disabled="true"] { opacity:.6; cursor:default; }
  .conversation-text { display:grid; }
  .conversation-text > span { grid-area:1/1; min-width:0; }
  .conversation-demo[data-phase="typing"] [data-prompt-full], .conversation-demo[data-phase="typing"] .conversation-reply { opacity:0; }
  .conversation-demo[data-phase="typing"] .conversation-typing { display:block; }
  .conversation-caret { display:inline-block; width:1px; margin-inline-end:-1px; height:.95em; vertical-align:-.14em; background:var(--accent); animation:conversation-blink .82s steps(1,end) 3; }
  @keyframes conversation-blink { 50% { opacity:0; } }
}
.hero > .platforms { margin:22px 0 0; }
.hero > .contact-button { margin-top:18px; }
@media(max-width:650px) {
  .hero-example { margin-top:20px; padding:14px; }
  .hero > .platforms { margin-top:16px; }
  .hero > .contact-button { margin-top:14px; }
}

/* Approved logotype: only the slash is red; CMUNRM is self-hosted. */
.wordmark { color:var(--ink); }

/* Structured legal documents; local display/body fonts preserved. */
.legal-toc { margin:28px 0 40px; padding:16px 22px; border-left:3px solid var(--accent); }
.legal-toc ul,.legal-related ul { padding-left:20px; margin:0; }
.legal-toc a,.legal-related a { display:inline-block; padding:8px 0; line-height:1.5; }
.legal-section { margin-top:42px; }
.legal-section h2 { font-size:clamp(25px,4vw,34px); line-height:1.25; scroll-margin-top:24px; }
.legal-page :is(p,a,li) { overflow-wrap:anywhere; }
.legal-related { margin:40px 0; border-top:1px solid #ddd; padding-top:22px; }
@media print { .site-header,footer,.legal-toc,.legal-related { display:none; } .legal-page { max-width:none; } .legal-section { break-inside:avoid; } }

/* Legal notice: one item per paragraph, compact spacing without affecting terms. */
.notice-page .legal-section p { margin:10px 0; }
.notice-page .legal-section h2 { margin-bottom:20px; }

/* Technology profiles: clear overview, paired role/capabilities and source links. */
.technology-page { max-width:1040px; }
.technology-intro { display:grid; grid-template-columns:120px 1fr; gap:30px; align-items:center; margin:30px 0 40px; padding:28px; border:1px solid #dedede; border-top:3px solid var(--accent); border-radius:6px; }
.technology-logo { width:120px; height:120px; object-fit:contain; }
.technology-intro .technology-category { color:var(--accent); font-size:14px; margin:0 0 10px; }
.technology-intro .technology-summary { margin:0 0 16px; }
.technology-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.technology-panel { min-width:0; border:1px solid #dedede; border-radius:6px; padding:26px; }
.technology-page h2 { font-size:clamp(26px,3.5vw,34px); line-height:1.25; margin:0 0 20px; }
.technology-page li { font-size:17px; line-height:1.75; margin:10px 0; }
.technology-page ul { padding-left:22px; }
.technology-panel p { margin:0; }
.technology-section { margin:44px 0; }
.technology-related { border-top:1px solid #dedede; padding:28px 0; margin:34px 0; }
.technology-related a { display:inline-flex; align-items:center; gap:14px; min-height:54px; }
.technology-related img { width:42px; height:42px; object-fit:contain; }
@media(max-width:760px) { .technology-grid { grid-template-columns:1fr; } .technology-intro { grid-template-columns:1fr; gap:18px; padding:22px; } .technology-logo { width:90px; height:90px; } .technology-panel { padding:22px; } }

/* Supplied PNG wordmark; preserve the former text link footprint. */
.site-header .wordmark { display:flex; align-items:center; width:5em; height:1.3em; flex:none; }
.site-header .wordmark img { display:block; width:100%; height:auto; }

/* Native FAQ accordions: keyboard/touch, no JavaScript dependency. */
.faq-topics { display:flex; flex-wrap:wrap; gap:10px; margin:28px 0 36px; }
.faq-topics a { padding:10px 14px; border:1px solid #ddd; border-radius:5px; font-size:14px; text-decoration:none; }
.faq-topics a:hover { border-color:var(--accent); }
.faq-group { margin:36px 0; }
.faq-group h2 { font-size:30px; margin:0 0 20px; scroll-margin-top:24px; }
.faq-item { border:1px solid #dedede; border-radius:6px; margin:12px 0; }
.faq-item summary { font-family:"Plus Jakarta Sans",Arial,Helvetica,sans-serif; font-size:17px; line-height:1.6; padding:18px 22px; cursor:pointer; }
.faq-item summary::marker { color:var(--accent); }
.faq-item summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
.faq-item[open] summary { border-bottom:1px solid #eee; }
.faq-item p { padding:0 22px; margin:18px 0 22px; font-size:17px; }
@media(max-width:600px) { .faq-item summary { padding:16px; font-size:16px; } .faq-item p { padding:0 16px; font-size:16px; } }
