details.menu {
  position: relative;
  flex: 0 0 auto;
}
details.menu summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
  white-space: nowrap;
}
details.menu summary::-webkit-details-marker {
  display: none;
}
.menu-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  max-width: calc(100vw - 28px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a1728;
  box-shadow: 0 24px 70px #000;
}
.menu-panel a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
}
.menu-panel a:hover,
.menu-panel a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.98) 0%,
      rgba(6, 16, 30, 0.91) 43%,
      rgba(6, 16, 30, 0.15) 82%
    ),
    image-set(
      url("/assets/riovon-workflow-hero.webp") type("image/webp"),
      url("/assets/riovon-workflow-hero.png") type("image/png")
    );
  background-size: cover;
  background-position: center right;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.3);
  padding-inline: clamp(28px, 6vw, 72px);
  margin-top: 45px;
  margin-bottom: 80px;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(103, 228, 237, 0.05),
    transparent 45%
  );
}
.icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  flex: 0 0 62px;
  margin-bottom: 20px;
  border: 1px solid rgba(103, 228, 237, 0.42);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(103, 228, 237, 0.3),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(103, 228, 237, 0.15),
      rgba(170, 145, 255, 0.22)
    );
  box-shadow:
    inset 0 0 22px rgba(103, 228, 237, 0.08),
    0 12px 35px rgba(0, 0, 0, 0.3);
}
.icon svg {
  display: block;
  width: 31px !important;
  height: 31px !important;
  max-width: 100%;
  overflow: visible;
  fill: none !important;
  stroke: #67e4ed !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visual-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}
.visual-step {
  min-width: 0;
  padding: 30px;
  background: var(--panel);
}
.visual-step strong {
  display: block;
  margin: 15px 0 6px;
}
.visual-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.result {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(103, 228, 237, 0.3);
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(103, 228, 237, 0.1),
      rgba(170, 145, 255, 0.08)
    ),
    var(--panel);
}
.metric {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  font-size: 1.7rem;
}
.metric span,
.fine {
  color: var(--muted);
  font-size: 0.88rem;
}
.fine {
  color: #71859b;
  font-size: 0.82rem;
}
.faq details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 1.08rem;
}
.faq details p {
  color: var(--muted);
}
.case-stat {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cyan);
  overflow-wrap: anywhere;
}
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 50px;
}
.aside-card {
  position: sticky;
  top: 30px;
  height: max-content;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}
.shell,
.grid,
.card,
.content,
.case-layout,
.calculator,
.visual-strip,
article,
aside,
main,
section,
form,
fieldset,
pre,
table {
  min-width: 0;
  max-width: 100%;
}
.card {
  overflow: hidden;
}
h1,
h2,
h3,
p,
li,
a,
button,
label,
input,
textarea {
  overflow-wrap: anywhere;
  word-break: break-word;
}
pre,
table {
  display: block;
  overflow-x: auto;
}
input,
textarea,
select {
  min-width: 0;
}
.button {
  max-width: 100%;
  text-align: center;
}
.editorial-image {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}
.image-break {
  padding: 0 0 90px;
}
.image-break figcaption {
  margin-top: 12px;
  color: #71859b;
  font-size: 0.8rem;
}
.footer-links {
  text-align: right;
}
.footer-links a {
  white-space: nowrap;
}
html:has(link[href="https://riovon.com/ai-agents/"]) .page-head,
html:has(link[href="https://riovon.com/use-cases/"]) .page-head
{
  padding: clamp(38px, 7vw, 82px);
  margin-top: 35px;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
html:has(link[href="https://riovon.com/ai-agents/"]) .page-head
{
  background:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.98),
      rgba(6, 16, 30, 0.75) 58%,
      rgba(6, 16, 30, 0.15)
    ),
    image-set(
        url("/assets/agent-orchestration.webp") type("image/webp"),
        url("/assets/agent-orchestration.png") type("image/png")
      )
      center/cover;
}
html:has(link[href="https://riovon.com/use-cases/"]) .page-head
{
  background:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.98),
      rgba(6, 16, 30, 0.75) 58%,
      rgba(6, 16, 30, 0.15)
    ),
    image-set(
        url("/assets/ai-use-cases.webp") type("image/webp"),
        url("/assets/ai-use-cases.png") type("image/png")
      )
      center/cover;
}
html:has(link[href="https://riovon.com/about/"]) .page-head,
html:has(link[href="https://riovon.com/services/ai-automation/"]) .page-head,
html:has(link[href="https://riovon.com/services/ai-product-development/"])
  .page-head,
html:has(link[href="https://riovon.com/examples/"]) .page-head,
html:has(link[href="https://riovon.com/contact/"]) .page-head
{
  max-width: none;
  padding: clamp(38px, 7vw, 82px);
  margin-top: 35px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.98),
      rgba(6, 16, 30, 0.82) 55%,
      rgba(6, 16, 30, 0.28)
    ),
    image-set(
        url("/assets/team-automation-workshop.webp") type("image/webp"),
        url("/assets/team-automation-workshop.png") type("image/png")
      )
      center/cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
@media (max-width: 820px) {
  .calculator,
  .case-layout {
    grid-template-columns: 1fr;
  }
  .visual-strip {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    background-position: 62% center;
  }
  header {
    flex-wrap: nowrap;
    padding: 14px 0;
  }
  nav {
    gap: 14px;
  }
  nav > a:not(.button) {
    display: none;
  }
  .editorial-image {
    border-radius: 20px;
  }
  .image-break {
    padding-bottom: 65px;
  }
}
@media (max-width: 620px) {
  .visual-strip {
    grid-template-columns: 1fr;
  }
  .hero {
    margin-top: 15px;
    border-radius: 22px;
    background-image:
      linear-gradient(rgba(6, 16, 30, 0.86), rgba(6, 16, 30, 0.94)),
      image-set(
        url("/assets/riovon-workflow-hero-mobile.webp") type("image/webp"),
        url("/assets/riovon-workflow-hero.png") type("image/png")
      );
  }
  header {
    min-height: 72px;
  }
  .mark {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }
  .footer-links {
    text-align: left;
  }
  .page-head {
    background-position: 64% center !important;
  }
}

.page-visual {
  width: calc(100% - 40px);
  max-width: 1040px;
  min-width: 0;
  margin: 32px auto 80px;
  overflow: hidden;
}

.page-visual picture,
.page-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.page-visual picture {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.page-visual img {
  height: clamp(280px, 42vw, 500px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.page-visual figcaption {
  max-width: 760px;
  margin-top: 12px;
  color: #71859b;
  font-size: 0.82rem;
}

@media (max-width: 620px) {
  .page-visual {
    width: calc(100% - 28px);
    margin: 20px auto 60px;
  }

  .page-visual picture {
    border-radius: 18px;
  }

  .page-visual img {
    height: min(58vw, 300px);
  }
}
@media (max-width: 460px) {
  nav .button {
    display: none;
  }
  .brand {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }
  nav {
    margin-left: auto;
  }
  .menu-panel {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }
}

select {
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #091728;
  color: #fff;
  font: inherit;
}
select:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.full {
  width: 100%;
  margin-top: 22px;
}
.quiet {
  background: transparent;
  color: var(--muted);
}
.deliverables {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
}
.deliverables li {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.deliverables strong {
  display: block;
  color: var(--ink);
}
.deliverables span {
  display: block;
  color: var(--muted);
}
.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}
.demo-panel,
.demo-result {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 28, 48, 0.74);
}
.demo-panel {
  display: grid;
  gap: 20px;
}
.demo-result {
  min-height: 480px;
}
.demo-result h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 25px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}
.result-grid div {
  padding: 17px;
  background: var(--panel);
}
.result-grid span,
.decision span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.result-grid strong {
  display: block;
  margin-top: 5px;
}
.decision {
  padding: 18px;
  border-radius: 14px;
}
.decision strong {
  display: block;
  margin-bottom: 5px;
}
.decision.route {
  border: 1px solid rgba(103, 228, 237, 0.4);
  background: rgba(103, 228, 237, 0.08);
}
.decision.review {
  border: 1px solid rgba(255, 196, 112, 0.45);
  background: rgba(255, 196, 112, 0.08);
}
.article {
  padding-bottom: 100px;
}
.article h2 {
  margin-top: 65px;
}
.article .cta-box {
  margin-top: 65px;
}
.article a:not(.button) {
  color: var(--cyan);
}
@media (max-width: 820px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }
  .demo-result {
    min-height: 0;
  }
}
@media (max-width: 620px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
  .deliverables li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

html:has(link[href="https://riovon.com/services/ai-opportunity-audit/"])
  .page-head,
html:has(link[href="https://riovon.com/demo/enquiry-triage/"]) .page-head,
html:has(link[href="https://riovon.com/security/"]) .page-head,
html:has(link[href="https://riovon.com/insights/"]) .page-head,
html:has(link[href="https://riovon.com/insights/workflow-worth-automating/"])
  .page-head {
  max-width: none;
  padding: clamp(38px, 7vw, 82px);
  margin-top: 35px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background-size: cover;
  background-position: center right;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
html:has(link[href="https://riovon.com/services/ai-opportunity-audit/"])
  .page-head {
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.99),
      rgba(6, 16, 30, 0.82) 52%,
      rgba(6, 16, 30, 0.18)
    ),
    image-set(
      url("/assets/opportunity-audit-hero.webp") type("image/webp"),
      url("/assets/opportunity-audit-hero.png") type("image/png")
    );
}
html:has(link[href="https://riovon.com/demo/enquiry-triage/"]) .page-head
{
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.99),
      rgba(6, 16, 30, 0.82) 52%,
      rgba(6, 16, 30, 0.18)
    ),
    image-set(
      url("/assets/enquiry-triage-demo-hero.webp") type("image/webp"),
      url("/assets/enquiry-triage-demo-hero.png") type("image/png")
    );
}
html:has(link[href="https://riovon.com/security/"]) .page-head
{
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.99),
      rgba(6, 16, 30, 0.82) 52%,
      rgba(6, 16, 30, 0.18)
    ),
    image-set(
      url("/assets/security-controls-hero.webp") type("image/webp"),
      url("/assets/security-controls-hero.png") type("image/png")
    );
}
html:has(link[href="https://riovon.com/insights/"]) .page-head,
html:has(link[href="https://riovon.com/insights/workflow-worth-automating/"])
  .page-head {
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 16, 30, 0.99),
      rgba(6, 16, 30, 0.82) 52%,
      rgba(6, 16, 30, 0.18)
    ),
    image-set(
      url("/assets/insights-roadmap-hero.webp") type("image/webp"),
      url("/assets/insights-roadmap-hero.png") type("image/png")
    );
}
@media (max-width: 820px) {
  .menu-panel a {
    display: block !important;
  }
  .menu-panel {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}
@media (max-width: 620px) {
  html:has(link[rel="canonical"]) .page-head {
    background-position: 68% center;
  }
}
