/* RazumOS — marketing site design system. Brand layer (navy, Onest) at the end overrides the base rules. */

:root {
  --ro-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --ro-mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --ro-bg: #ffffff;
  --ro-bg-alt: #f5f5f7;
  --ro-bg-dark: #000000;
  --ro-bg-dark-2: #1d1d1f;

  --ro-text: #1d1d1f;
  --ro-text-2: #6e6e73;
  --ro-text-3: #86868b;
  --ro-text-on-dark: #f5f5f7;
  --ro-text-2-on-dark: #a1a1a6;

  --ro-link: #0066cc;
  --ro-link-dark: #2997ff;
  --ro-btn: #0071e3;
  --ro-btn-hover: #0077ed;
  --ro-line: #d2d2d7;
  --ro-line-dark: #424245;

  --ro-radius: 18px;
  --ro-radius-lg: 28px;
  --ro-max: 980px;
  --ro-max-wide: 1240px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background: var(--ro-bg); }
body.ro-body {
  font-family: var(--ro-font);
  color: var(--ro-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.47;
  font-size: 17px;
}
body.ro-body ::selection { background: #b3d7ff; }

/* ---------- containers ---------- */
.ro-wrap { width: 100%; max-width: var(--ro-max); margin: 0 auto; padding: 0 22px; }
.ro-wrap-wide { width: 100%; max-width: var(--ro-max-wide); margin: 0 auto; padding: 0 22px; }
@media (max-width: 734px) { .ro-wrap, .ro-wrap-wide { padding: 0 16px; } }

/* ---------- typography ---------- */
.ro-display {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.ro-headline {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.ro-title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ro-subtitle {
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
}
.ro-tile-title { font-size: clamp(24px, 3vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.ro-tile-sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.33; font-weight: 400; }
.ro-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ro-text-2); }
.ro-body-lg { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.38; }
.ro-body-sm { font-size: 14px; line-height: 1.43; }
.ro-muted { color: var(--ro-text-2); }
.ro-muted-3 { color: var(--ro-text-3); }
.ro-dark .ro-muted, .ro-dark .ro-muted-3, .ro-dark .ro-eyebrow { color: var(--ro-text-2-on-dark); }
.ro-dark { background: var(--ro-bg-dark); color: var(--ro-text-on-dark); }
.ro-dark-2 { background: var(--ro-bg-dark-2); color: var(--ro-text-on-dark); }
.ro-alt { background: var(--ro-bg-alt); }

/* ---------- links & buttons ---------- */
.ro-link {
  color: var(--ro-link);
  text-decoration: none;
  font-size: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
}
.ro-link:hover { text-decoration: underline; }
.ro-link::after { content: "›"; font-weight: 400; margin-left: 2px; transform: translateY(-1px); }
.ro-link.no-arrow::after { content: none; }
.ro-dark .ro-link, .ro-dark-2 .ro-link { color: var(--ro-link-dark); }

.ro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ro-btn);
  color: #fff;
  border: 0;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
  white-space: nowrap;
}
.ro-btn:hover { background: var(--ro-btn-hover); }
.ro-btn:disabled { opacity: .6; cursor: default; }
.ro-btn-sm { padding: 8px 16px; font-size: 14px; }
.ro-btn-ghost {
  background: transparent;
  color: var(--ro-btn);
  box-shadow: inset 0 0 0 1px var(--ro-btn);
}
.ro-btn-ghost:hover { background: var(--ro-btn); color: #fff; }
.ro-dark .ro-btn-ghost, .ro-dark-2 .ro-btn-ghost { color: var(--ro-link-dark); box-shadow: inset 0 0 0 1px var(--ro-link-dark); }
.ro-dark .ro-btn-ghost:hover, .ro-dark-2 .ro-btn-ghost:hover { background: var(--ro-link-dark); color: #000; }
.ro-cta-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; }

/* ---------- navigation ---------- */
.ro-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(22, 22, 23, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ro-text-on-dark);
}
.ro-nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ro-nav-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f5f5f7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ro-nav-logo .ro-mark {
  width: 20px; height: 20px; border-radius: 6px;
  background: #f5f5f7; color: #000;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.ro-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.ro-nav-links a {
  color: rgba(245, 245, 247, 0.8);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.ro-nav-links a:hover { color: #fff; }
.ro-nav-cta {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 980px;
  background: var(--ro-btn);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.ro-nav-cta:hover { background: var(--ro-btn-hover); }
.ro-nav-burger {
  display: none;
  width: 36px; height: 36px;
  background: transparent; border: 0; color: #f5f5f7; cursor: pointer;
  align-items: center; justify-content: center;
}
.ro-nav-drawer {
  display: none;
  background: rgba(22, 22, 23, 0.98);
  padding: 8px 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ro-nav-drawer a {
  display: block;
  color: #f5f5f7;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ro-nav-drawer a:last-child { border-bottom: 0; }
.ro-nav-drawer.is-open { display: block; }
@media (max-width: 1023px) {
  .ro-nav-links { display: none; }
  .ro-nav-burger { display: inline-flex; }
}

/* ---------- sections ---------- */
.ro-section { padding: 110px 0; }
.ro-section-sm { padding: 72px 0; }
@media (max-width: 734px) { .ro-section { padding: 72px 0; } .ro-section-sm { padding: 48px 0; } }
.ro-center { text-align: center; }
.ro-stack > * + * { margin-top: 16px; }

/* ---------- hero ---------- */
.ro-hero { background: var(--ro-bg-alt); padding: 72px 0 0; overflow: hidden; }
.ro-hero .ro-hero-copy { max-width: 820px; margin: 0 auto; }
.ro-hero-media {
  margin: 56px auto 0;
  max-width: 1100px;
  padding: 0 16px;
  position: relative;
}
.ro-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45), 0 20px 40px -20px rgba(0,0,0,.25);
}
.ro-hero { padding-bottom: 96px; }
.ro-hero.ro-dark { background: var(--ro-bg-dark); }
.ro-hero.ro-dark .ro-hero-media img { box-shadow: 0 40px 80px -30px rgba(255,255,255,.08); }

/* ---------- tiles (Apple homepage grid) ---------- */
.ro-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1023px) { .ro-tiles { grid-template-columns: 1fr; } }
.ro-tile {
  background: var(--ro-bg-alt);
  border-radius: var(--ro-radius-lg);
  padding: 56px 40px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.ro-tile.ro-dark { background: #000; }
.ro-tile.ro-dark-2 { background: var(--ro-bg-dark-2); }
.ro-tile .ro-cta-row { margin-top: 8px; }
.ro-tile-media { margin-top: auto; padding-top: 28px; width: 100%; }
.ro-tile-media img { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
@media (max-width: 734px) { .ro-tile { padding: 40px 22px 36px; min-height: 0; } }

/* ---------- feature rows ---------- */
.ro-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 1023px) { .ro-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 734px) { .ro-feature-grid { grid-template-columns: 1fr; } }
.ro-card {
  background: #fff;
  border-radius: var(--ro-radius);
  padding: 32px 28px;
  text-align: left;
}
.ro-alt .ro-card { background: #fff; }
.ro-dark .ro-card, .ro-dark-2 .ro-card { background: #1d1d1f; }
.ro-card h3, .ro-card h4 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 8px; }
.ro-card p { margin: 0; color: var(--ro-text-2); font-size: 15px; line-height: 1.47; }
.ro-dark .ro-card p, .ro-dark-2 .ro-card p { color: var(--ro-text-2-on-dark); }
.ro-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.ro-card li { font-size: 15px; line-height: 1.47; color: var(--ro-text); padding: 6px 0; border-top: 1px solid #e8e8ed; }
.ro-dark .ro-card li, .ro-dark-2 .ro-card li { color: var(--ro-text-on-dark); border-color: #333336; }
.ro-card li:first-child { border-top: 0; }
.ro-card .ro-link { margin-top: 16px; font-size: 15px; }
.ro-card-lg { padding: 44px 40px; border-radius: var(--ro-radius-lg); }
@media (max-width: 734px) { .ro-card-lg { padding: 32px 22px; } }

.ro-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ro-bg-alt); color: var(--ro-text); margin-bottom: 18px;
}
.ro-alt .ro-icon { background: #e8e8ed; }
.ro-dark .ro-icon, .ro-dark-2 .ro-icon { background: #2c2c2e; color: #f5f5f7; }
.ro-icon svg { width: 22px; height: 22px; }

/* ---------- steps ---------- */
.ro-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
@media (max-width: 1023px) { .ro-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 734px) { .ro-steps { grid-template-columns: 1fr; } }
.ro-step { position: relative; padding-top: 12px; }
.ro-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--ro-text-3); margin-bottom: 12px;
}

/* ---------- segmented control (tabs) ---------- */
.ro-segment {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px;
  background: #e8e8ed; border-radius: 980px; padding: 3px;
}
.ro-dark .ro-segment, .ro-dark-2 .ro-segment { background: #2c2c2e; }
.ro-segment button {
  border: 0; background: transparent; cursor: pointer;
  border-radius: 980px; padding: 8px 16px;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ro-text-2);
  transition: background .2s, color .2s, box-shadow .2s;
}
.ro-dark .ro-segment button, .ro-dark-2 .ro-segment button { color: var(--ro-text-2-on-dark); }
.ro-segment button.is-active { background: #fff; color: var(--ro-text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.ro-dark .ro-segment button.is-active, .ro-dark-2 .ro-segment button.is-active { background: #48484a; color: #fff; }

/* ---------- showcase frame ---------- */
.ro-shot { max-width: 1100px; margin: 0 auto; }
.ro-shot img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.4); }
.ro-shot figcaption { margin-top: 16px; font-size: 14px; color: var(--ro-text-2); text-align: center; }

/* ---------- code ---------- */
.ro-code {
  background: #1d1d1f; color: #f5f5f7;
  border-radius: var(--ro-radius); overflow: hidden; text-align: left;
}
.ro-code-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid #333336;
  font-family: var(--ro-mono); font-size: 12px; color: #a1a1a6;
}
.ro-code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-family: var(--ro-mono); font-size: 13px; line-height: 1.6; color: #e8e8ed; }
.ro-code button {
  background: transparent; border: 1px solid #48484a; color: #f5f5f7;
  border-radius: 980px; padding: 4px 12px; font: inherit; font-size: 12px; cursor: pointer;
}
.ro-code button:hover { background: #2c2c2e; }
.ro-kbd, .ro-mono { font-family: var(--ro-mono); font-size: .92em; }

/* ---------- FAQ (details) ---------- */
.ro-faq { border-top: 1px solid var(--ro-line); }
.ro-faq details { border-bottom: 1px solid var(--ro-line); }
.ro-faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
}
.ro-faq summary::-webkit-details-marker { display: none; }
.ro-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 300; color: var(--ro-text-2); transition: transform .2s;
}
.ro-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ro-faq p { margin: 0 0 24px; color: var(--ro-text-2); max-width: 760px; font-size: 17px; line-height: 1.47; }

/* ---------- pricing ---------- */
.ro-price { font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.ro-price small { font-size: 15px; font-weight: 400; color: var(--ro-text-2); letter-spacing: 0; margin-left: 6px; }

/* ---------- forms ---------- */
.ro-field { display: flex; flex-direction: column; gap: 6px; }
.ro-field label, .ro-label { font-size: 13px; font-weight: 500; color: var(--ro-text-2); }
.ro-input {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--ro-text);
  background: #fff; border: 1px solid var(--ro-line); border-radius: 12px;
  padding: 13px 16px; outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.ro-input:focus { border-color: var(--ro-btn); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
textarea.ro-input { resize: vertical; min-height: 88px; }
select.ro-input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.ro-choice {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--ro-line); border-radius: 12px; padding: 12px 14px;
  font-size: 15px; cursor: pointer; background: #fff;
}
.ro-choice:has(input:checked) { border-color: var(--ro-btn); box-shadow: 0 0 0 1px var(--ro-btn) inset; }
.ro-choice input { accent-color: var(--ro-btn); }
.ro-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ro-text-2); line-height: 1.45; }
.ro-check input { margin-top: 3px; accent-color: var(--ro-btn); flex-shrink: 0; }
.ro-check a { color: var(--ro-link); text-decoration: none; }
.ro-check a:hover { text-decoration: underline; }
.ro-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 734px) { .ro-form-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ro-footer { background: var(--ro-bg-alt); color: var(--ro-text-2); font-size: 12px; line-height: 1.5; padding: 24px 0 40px; }
.ro-footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 20px 0 24px; border-bottom: 1px solid var(--ro-line); }
@media (max-width: 734px) { .ro-footer-cols { grid-template-columns: 1fr 1fr; } }
.ro-footer h4 { font-size: 12px; font-weight: 600; color: var(--ro-text); margin: 0 0 10px; }
.ro-footer ul { list-style: none; margin: 0; padding: 0; }
.ro-footer li { margin: 0 0 8px; }
.ro-footer a { color: inherit; text-decoration: none; }
.ro-footer a:hover { text-decoration: underline; }
.ro-footer-legal { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.ro-footer-note { padding: 16px 0 0; border-bottom: 1px solid var(--ro-line); padding-bottom: 16px; }

/* ---------- misc ---------- */
.ro-kpis { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 56px; }
.ro-kpi { text-align: center; }
.ro-kpi b { display: block; font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.ro-kpi span { display: block; margin-top: 8px; font-size: 14px; color: var(--ro-text-2); }
.ro-dark .ro-kpi span { color: var(--ro-text-2-on-dark); }
.ro-divider { height: 1px; background: var(--ro-line); }
.ro-dark .ro-divider { background: var(--ro-line-dark); }
.ro-chat { max-width: 640px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.ro-bubble { border-radius: 20px; padding: 12px 16px; font-size: 15px; line-height: 1.4; max-width: 86%; }
.ro-bubble.me { align-self: flex-end; background: var(--ro-btn); color: #fff; border-bottom-right-radius: 6px; }
.ro-bubble.ai { align-self: flex-start; background: #2c2c2e; color: #f5f5f7; border-bottom-left-radius: 6px; }
.ro-bubble.ai table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.ro-bubble.ai td { padding: 4px 0; border-top: 1px solid #3a3a3c; }
.ro-bubble.ai td:last-child { text-align: right; }
.ro-bubble .ro-file { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #3a3a3c; font-size: 13px; }

/* ---------- late overrides ---------- */
.ro-card.ro-alt { background: var(--ro-bg-alt); }
.ro-card.ro-dark-2 { background: var(--ro-bg-dark-2); color: var(--ro-text-on-dark); }
.ro-card.ro-dark-2 p { color: var(--ro-text-2-on-dark); }
.ro-card.ro-dark-2 li { color: var(--ro-text-on-dark); border-color: #333336; }
.ro-card.ro-dark-2 .ro-eyebrow, .ro-card.ro-dark-2 .ro-muted { color: var(--ro-text-2-on-dark); }
.ro-card.ro-dark-2 .ro-link { color: var(--ro-link-dark); }
@media (max-width: 1023px) { .ro-feature-grid > * { grid-column: auto !important; } }
@media (max-width: 734px) { .ro-form-grid[style] { grid-template-columns: 1fr !important; } }
.ro-nav-links li { margin: 0; }
.ro-body h1, .ro-body h2, .ro-body h3, .ro-body h4 { margin: 0; }
.ro-body p { margin: 0; }

/* ---------- legacy helpers still used by cabinet pages ---------- */
.glass-nav { background: rgba(22, 22, 23, 0.85); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.glass-card { background: rgba(29, 29, 31, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); }

/* ---------- review fixes ---------- */
@media (max-width: 734px) {
  .ro-steps[style] { grid-template-columns: 1fr !important; }
  .ro-bubble { max-width: 100%; }
  #api-docs table { display: block; overflow-x: auto; white-space: nowrap; }
  #api-docs pre { font-size: 12px; }
}
.ro-bubble.ai td:last-child { white-space: nowrap; padding-left: 12px; }
.ro-bubble.ai td:first-child { width: 100%; }

/* ---------- style audit fixes 2026-11-23: contrast and overflow ---------- */
:root { --ro-text-3: #6e6e73; }
.ro-dark-2 .ro-muted, .ro-dark-2 .ro-muted-3, .ro-dark-2 .ro-eyebrow,
.ro-tile.ro-dark-2 .ro-muted, .ro-tile.ro-dark-2 .ro-eyebrow { color: var(--ro-text-2-on-dark); }
.ro-segment button { color: #424245; }
.ro-btn-ghost { color: var(--ro-link); box-shadow: inset 0 0 0 1px var(--ro-link); }
.ro-btn-ghost:hover { background: var(--ro-link); }
#demo-tool-name, #demo-tool-name code { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
@media (min-width: 735px) and (max-width: 1023px) {
  .ro-tiles { grid-template-columns: 1fr 1fr; }
  .ro-tile { min-height: 0; padding: 44px 28px 40px; }
}

/* ---------- concept homepage 2026-11-25: badges, comparison tables, numbered features ---------- */
.ro-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 980px; vertical-align: middle;
  background: #fff4e5; color: #8a4b00;
}
.ro-dark .ro-badge, .ro-dark-2 .ro-badge, .ro-card.ro-dark-2 .ro-badge { background: #3a2a12; color: #ffc46b; }
.ro-badge-live { background: #e6f6ec; color: #11683a; }
.ro-dark .ro-badge-live, .ro-dark-2 .ro-badge-live { background: #123824; color: #7fdca4; }
.ro-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--ro-radius); }
.ro-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; line-height: 1.4; background: #fff; }
.ro-table th, .ro-table td { padding: 14px 18px; border-top: 1px solid #e8e8ed; vertical-align: top; }
.ro-table thead th { border-top: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ro-text-2); background: var(--ro-bg-alt); }
.ro-table td.ro-num, .ro-table th.ro-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ro-table tr.ro-total td { font-weight: 600; background: var(--ro-bg-alt); }
.ro-table tr.ro-ours td { font-weight: 600; background: #eaf3ff; color: #0b3d7a; }
@media (max-width: 734px) { .ro-table { font-size: 13px; } .ro-table th, .ro-table td { padding: 10px 8px; } .ro-table td.ro-num, .ro-table th.ro-num { white-space: normal; } }
.ro-fnum { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ro-text-3); margin-bottom: 10px; }
.ro-dark .ro-fnum, .ro-dark-2 .ro-fnum { color: var(--ro-text-2-on-dark); }
.ro-quote { font-size: 17px; line-height: 1.4; font-weight: 500; margin: 0 0 8px; }
.ro-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
@media (max-width: 1023px) { .ro-flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 734px) { .ro-flow { grid-template-columns: 1fr; } }
.ro-flow .ro-card { position: relative; }
.ro-flow .ro-card .ro-eyebrow { display: block; margin-bottom: 8px; }
.ro-card .ro-quote { font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--ro-text); margin: 0 0 8px; }
.ro-dark .ro-card .ro-quote, .ro-dark-2 .ro-card .ro-quote { color: var(--ro-text-on-dark); }
@media (max-width: 734px) { .ro-table thead th { letter-spacing: 0; font-size: 11px; } .ro-table th, .ro-table td { overflow-wrap: anywhere; hyphens: auto; } }

/* ==========================================================================
   RazumOS brand layer (#115): own palette in line with app.razumos.ru, Onest,
   left-aligned section heads, restrained radii, motion only where it helps.
   Layout: wide 1240px grid, hero = copy 5 / product shot 7, sections alternate white / cool grey / navy.
   ========================================================================== */
:root {
  --ro-font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ro-brand: #0b2a5b;          /* navy — logo, dark sections */
  --ro-accent: #1d56c9;         /* actions and links */
  --ro-accent-soft: #e9f0fb;
  --ro-bg: #ffffff;
  --ro-bg-alt: #f2f5fa;
  --ro-bg-dark: #0b1b33;
  --ro-bg-dark-2: #12284a;
  --ro-text: #0e1a2b;
  --ro-text-2: #46536a;
  --ro-text-3: #5e6a80;
  --ro-text-on-dark: #eef3fa;
  --ro-text-2-on-dark: #a9b6cc;
  --ro-link: var(--ro-accent);
  --ro-link-dark: #8db7ff;
  --ro-btn: var(--ro-accent);
  --ro-btn-hover: #1747a8;
  --ro-line: #d9e0ea;
  --ro-line-dark: #26406a;
  --ro-radius: 12px;
  --ro-radius-lg: 14px;
  --ro-nav-h: 64px;
}
body.ro-body { letter-spacing: 0; line-height: 1.55; }
body.ro-body ::selection { background: #cddcf6; }
:focus-visible { outline: 2px solid var(--ro-accent); outline-offset: 2px; }

/* type */
.ro-display { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.ro-headline { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.ro-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.ro-subtitle { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.ro-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--ro-accent); }
.ro-dark .ro-eyebrow { color: var(--ro-link-dark); }
.ro-head { text-align: left; }
.ro-head .ro-headline { max-width: 900px; }
.ro-head .ro-subtitle, .ro-head .ro-body-lg { max-width: 760px; }

/* links & buttons */
.ro-link::after { content: "→"; margin-left: 4px; transform: none; transition: transform .2s ease; }
.ro-link:hover { text-decoration: none; }
.ro-link:hover::after { transform: translateX(3px); }
.ro-btn { border-radius: 8px; font-weight: 500; padding: 12px 22px; font-size: 16px; }
.ro-btn-ghost { background: transparent; color: var(--ro-accent); box-shadow: inset 0 0 0 1px var(--ro-line); }
.ro-btn-ghost:hover { background: var(--ro-accent-soft); color: var(--ro-accent); box-shadow: inset 0 0 0 1px var(--ro-accent); }
.ro-cta-row { justify-content: flex-start; gap: 12px 20px; }
.ro-center .ro-cta-row { justify-content: center; }

/* navigation: solid, light, with reading progress and current section */
.ro-nav { background: rgba(255,255,255,.97); color: var(--ro-text); border-bottom: 1px solid var(--ro-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ro-nav-inner { max-width: var(--ro-max-wide); height: var(--ro-nav-h); }
.ro-nav-logo { color: var(--ro-brand); font-weight: 700; font-size: 18px; }
.ro-nav-logo .ro-mark { background: var(--ro-brand); color: #fff; border-radius: 6px; width: 26px; height: 26px; font-size: 14px; }
.ro-nav-links { gap: 24px; }
.ro-nav-links a { color: var(--ro-text-2); font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.ro-nav-links a:hover, .ro-nav-links a.is-current { color: var(--ro-text); }
.ro-nav-links a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ro-accent); border-radius: 2px; }
.ro-nav-cta { font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; }
.ro-nav-burger { color: var(--ro-text); }
.ro-nav-drawer { background: #fff; border-top: 1px solid var(--ro-line); }
.ro-nav-drawer a { color: var(--ro-text); border-bottom-color: var(--ro-line); }
.ro-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.ro-progress span { display: block; height: 100%; width: 100%; background: var(--ro-accent); transform-origin: 0 50%; transform: scaleX(0); }

/* sections */
.ro-section { padding: 96px 0; }
.ro-alt .ro-card, .ro-card { background: #fff; border: 1px solid var(--ro-line); border-radius: var(--ro-radius); padding: 28px 24px; }
.ro-card li { border-top-color: var(--ro-line); }
.ro-dark { background: var(--ro-bg-dark); }
.ro-dark .ro-card, .ro-dark-2 .ro-card, .ro-card.ro-dark-2 { background: var(--ro-bg-dark-2); border-color: var(--ro-line-dark); }
.ro-dark .ro-card li, .ro-card.ro-dark-2 li { border-color: var(--ro-line-dark); }
.ro-feature-text { font-size: 17px; line-height: 1.45; color: var(--ro-text); }
a.ro-card:hover { border-color: var(--ro-accent); }

/* hero */
.ro-hero { background: var(--ro-bg-alt); padding: 64px 0 48px; }
.ro-hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.ro-hero .ro-hero-copy { max-width: none; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.ro-hero .ro-cta-row { margin-top: 8px; }
.ro-hero-media { margin: 0; max-width: none; padding: 0; }
.ro-hero-media img { border-radius: 12px; border: 1px solid var(--ro-line); box-shadow: 0 24px 48px -28px rgba(11, 27, 51, .45); }
.ro-hero-media figcaption { margin-top: 10px; font-size: 13px; color: var(--ro-text-3); }
.ro-trust { list-style: none; margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid var(--ro-line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; }
.ro-trust b { display: block; font-size: 15px; font-weight: 600; color: var(--ro-text); }
.ro-trust span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ro-text-2); }
@media (max-width: 1023px) {
  .ro-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ro-trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 734px) { .ro-hero { padding: 40px 0 32px; } .ro-trust { grid-template-columns: 1fr; } }

/* "how it works": steps light up in order once visible */
.ro-flow .ro-card { transition: border-color .35s ease, background-color .35s ease; }
.ro-flow .ro-card.is-lit:not(.ro-dark-2) { border-color: var(--ro-accent); background: var(--ro-accent-soft); }
.ro-flow .ro-card.ro-dark-2.is-lit { border-color: var(--ro-link-dark); }

/* product tabs */
.ro-products-head { padding-bottom: 0; }
.ro-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; border-bottom: 1px solid var(--ro-line); }
.ro-tabs button { font: inherit; font-size: 16px; font-weight: 500; color: var(--ro-text-2); background: none; border: 0;
  padding: 12px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; cursor: pointer; transition: color .2s, border-color .2s; }
.ro-tabs button:hover { color: var(--ro-text); }
.ro-tabs button[aria-selected="true"] { color: var(--ro-text); border-bottom-color: var(--ro-accent); }
.ro-tabs-ready .ro-tab-panels > .ro-section { padding-top: 56px; }
.ro-tab-panels > .ro-section.is-entering { animation: ro-fade-in .28s ease both; }
@keyframes ro-fade-in { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* FAQ with smooth open/close */
.ro-faq summary { font-size: 18px; font-weight: 500; }
.ro-faq-body { overflow: hidden; }
.ro-faq summary::after { color: var(--ro-accent); }

/* tables */
.ro-table tr.ro-ours td { background: var(--ro-accent-soft); color: var(--ro-brand); }
.ro-table, .ro-table-wrap { border-radius: var(--ro-radius); }
.ro-table-wrap { border: 1px solid var(--ro-line); }

/* screenshots */
.ro-shot img, .ro-card img { border: 1px solid var(--ro-line-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

[id] { scroll-margin-top: calc(var(--ro-nav-h) + 12px); }
.ro-display { font-size: clamp(30px, 3.5vw, 46px); }
.ro-checklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.ro-checklist li { break-inside: avoid; position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--ro-line);
  font-size: 17px; line-height: 1.45; color: var(--ro-text); }
.ro-checklist li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 16px; height: 9px;
  border-left: 2px solid var(--ro-accent); border-bottom: 2px solid var(--ro-accent); transform: rotate(-45deg); }
@media (max-width: 734px) { .ro-checklist { columns: 1; } }
/* two-column split: lead text left, definitions right (breaks the card-grid rhythm) */
.ro-split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.ro-deflist { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.ro-deflist > div { padding: 18px 0; border-top: 1px solid var(--ro-line); }
.ro-deflist dt { font-weight: 600; color: var(--ro-text); }
.ro-deflist dd { margin: 6px 0 0; color: var(--ro-text-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 1023px) { .ro-split { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 734px) { .ro-deflist { grid-template-columns: 1fr; } }
/* jury fixes: burger up to 1199px (menu overflowed at 1024–1199), larger link targets (WCAG 2.5.8) */
@media (max-width: 1199px) { .ro-nav-links { display: none; } .ro-nav-burger { display: inline-flex; } }
.ro-link { padding-block: 4px; }
.ro-footer a { display: inline-block; padding-block: 3px; }
/* logo: flat helm mark + wordmark (brand/razumos-logo.svg for documents) */
.ro-nav-logo { gap: 10px; }
.ro-logo-mark { display: block; width: 28px; height: 28px; }
.ro-logo-word { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ro-brand); }
.ro-logo-word span { color: var(--ro-accent); }
/* nav with «Презентация»: keep the logo from being squeezed, tighter gaps on narrow desktops */
.ro-nav-logo { flex-shrink: 0; }
.ro-nav-links a { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1439px) { .ro-nav-links { gap: 16px; } }

/* 7 nav items do not fit below 1280 — use the burger menu there */
@media (max-width: 1279px) {
  .ro-nav-links { display: none; }
  .ro-nav-burger { display: inline-flex; }
}

/* first screen: industry chips (#125) */
.ro-hero-aside { margin-top: 22px; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ro-chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--ro-line); border-radius: 999px; background: #fff; color: var(--ro-text); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ro-chip:hover { border-color: var(--ro-accent, #1d56c9); color: var(--ro-accent, #1d56c9); }
/* industry landing (#125) */
.ro-industry-hero { padding-bottom: 72px; }
.ro-industry-h1 { max-width: 980px; margin-top: 14px; }
.ro-crumbs { font-size: 14px; color: var(--ro-text-3); }
.ro-crumbs a { color: inherit; }
.ro-stage-task { margin-top: 6px !important; font-style: italic; }
.ro-industry-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 734px) { .ro-industry-cases { grid-template-columns: 1fr; } }
.ro-effects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ro-effect-row { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ro-line); }
.ro-effect-row.is-after p { color: var(--ro-text); font-weight: 500; }
.ro-effect-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ro-text-3); margin-bottom: 4px; }
.ro-effect-row.is-after .ro-effect-label { color: var(--ro-accent); }
@media (max-width: 1023px) { .ro-effects { grid-template-columns: 1fr; } }

/* Выпадающие пункты верхнего меню: «Отрасли», «Разработчикам» */
.ro-nav-dd { position: relative; }
.ro-nav-dd-btn {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ro-text-2); background: none; border: 0;
  padding: 6px 0; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px;
}
.ro-nav-dd-btn::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); margin-left: 2px; opacity: .7;
}
.ro-nav-dd-btn:hover, .ro-nav-dd.is-open .ro-nav-dd-btn { color: var(--ro-text); }
.ro-nav-dd-btn:focus-visible { outline: 2px solid var(--ro-accent); outline-offset: 4px; border-radius: 4px; }
.ro-nav-dd-menu {
  position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 300px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--ro-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.ro-nav-dd::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.ro-nav-dd:hover .ro-nav-dd-menu, .ro-nav-dd:focus-within .ro-nav-dd-menu, .ro-nav-dd.is-open .ro-nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.ro-nav-dd-menu li { margin: 0; }
.ro-nav-dd-menu a {
  display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ro-text);
  white-space: nowrap;
}
.ro-nav-dd-menu a::after { display: none; }
.ro-nav-dd-menu a:hover, .ro-nav-dd-menu a:focus-visible { background: var(--ro-bg-alt, #f1f5f9); color: var(--ro-text); outline: none; }
.ro-nav-dd-sep { border-top: 1px solid var(--ro-line); margin-top: 6px !important; padding-top: 6px; }
.ro-nav-drawer-label {
  display: block; padding: 18px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ro-text-3, #64748b);
}
.ro-nav-dd--right .ro-nav-dd-menu { left: auto; right: -16px; }
