/* ThetaRho · CIS website — shared styles */
:root {
  --green: #7ebf42;
  --green-d: #4f8f26;
  --green-l: #eef7e9;
  --blue: #3aafe3;
  --blue-l: #eaf6fc;
  --orange: #f48024;
  --orange-l: #fef1e6;
  --purple: #8c3f95;
  --purple-l: #f4eaf5;
  --navy: #1c1f6e;
  --deep: #123b5c;
  --maroon: #7b2227;
  --teal: #0e5a84;
  --ink: #1e2328;
  --ink2: #4a5159;
  --mute: #737b83;
  --rule: #dde1e5;
  --panel: #f4f5f7;
  --bg: #ffffff;
  --radius: 14px;
  --wrap: 1180px;
  --sans: "Avenir Next", "Avenir", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Avenir Next Condensed", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--green-d);
}
h1,
h2,
h3,
h4 {
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(38px, 5.2vw, 64px);
}
h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}
h3 {
  font-size: 22px;
}
p.lead {
  font-size: 20px;
  color: var(--ink2);
  max-width: 62ch;
}
.muted {
  color: var(--mute);
}
section {
  padding: 88px 0;
}
section.tight {
  padding: 56px 0;
}
.center {
  text-align: center;
}
.center p.lead {
  margin-left: auto;
  margin-right: auto;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.15s,
    background 0.15s,
    box-shadow 0.15s;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--deep);
  color: #fff;
}
.btn-dark:hover {
  background: #0c2d47;
  box-shadow: 0 8px 20px rgba(18, 59, 92, 0.25);
}
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: var(--green-d);
}
.btn-ghost {
  border-color: currentColor;
  color: var(--deep);
  background: transparent;
}
.btn .arr {
  transition: transform 0.15s;
}
.btn:hover .arr {
  transform: translateX(3px);
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 22px;
  color: var(--green);
  white-space: nowrap;
}
.logo b {
  font-weight: 900;
}
.logo svg {
  width: 22px;
  height: 22px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--ink2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--green);
}
.nav .btn {
  padding: 10px 20px;
  font-size: 15px;
}
.nav-links a.btn,
.nav-links a.btn:hover {
  color: #fff;
  border-bottom: 2px solid transparent;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: 0.2s;
}
@media (max-width: 1020px) {
  .menu-btn {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--rule);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links .btn {
    margin-top: 14px;
  }
}

/* hero */
.hero {
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(38px, 4.3vw, 58px);
}
.hero .venn-block {
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
@media (max-width: 560px) {
  .hero .venn-block {
    grid-template-columns: 1fr;
  }
}
.hero .sub {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.hero .body {
  font-size: 18px;
  color: var(--ink2);
  max-width: 46ch;
}
.hero .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/4.3;
  background: radial-gradient(120% 90% at 80% 10%, #e9f2f8 0%, #d6e4ee 45%, #c3d5e2 100%);
}
.hero-photo .desk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(#eef1f4, #e1e6eb);
}
.hero-photo img {
  position: absolute;
  left: 50%;
  bottom: 17%;
  transform: translateX(-50%);
  width: 44%;
  filter: drop-shadow(0 18px 24px rgba(20, 40, 60, 0.25));
}
.hero-photo .ph {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 99px;
  color: var(--mute);
}
.hero-photo .glow {
  position: absolute;
  left: 50%;
  bottom: 34%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fd3ff;
  box-shadow: 0 0 18px 6px rgba(111, 211, 255, 0.7);
  transform: translateX(-50%);
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    aspect-ratio: 16/11;
  }
}

/* interactive venn */
.venn-block {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
}
.venn-block.stack {
  grid-template-columns: 1fr;
}
.venn svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.venn .rg {
  cursor: pointer;
  transition:
    opacity 0.2s,
    filter 0.2s;
}
.venn.hovering .rg {
  opacity: 0.35;
}
.venn.hovering .rg.on {
  opacity: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.venn text {
  pointer-events: none;
  font-family: var(--sans);
}
.venn .lab {
  font-weight: 800;
  fill: #fff;
}
.venn .slab {
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.06em;
  fill: #fff;
}
.venn-info {
  border-left: 4px solid var(--c, var(--green));
  padding: 6px 0 6px 18px;
  min-height: 128px;
}
.venn-info .k {
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  color: var(--c, var(--green-d));
}
.venn-info h3 {
  margin: 4px 0 6px;
}
.venn-info p {
  color: var(--ink2);
  font-size: 16px;
}
.venn-info a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--deep);
  text-decoration: none;
}
.venn-info a:hover {
  text-decoration: underline;
}
@keyframes vpop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.venn .rg {
  transform-origin: 200px 190px;
  animation: vpop 0.6s both;
}
.venn .rg:nth-child(2) {
  animation-delay: 0.08s;
}
.venn .rg:nth-child(3) {
  animation-delay: 0.16s;
}
.venn .rg:nth-child(4),
.venn .rg:nth-child(5),
.venn .rg:nth-child(6) {
  animation-delay: 0.3s;
}
.venn .rg:nth-child(7) {
  animation-delay: 0.45s;
}
@media (prefers-reduced-motion: reduce) {
  .venn .rg {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 760px) {
  .venn-block {
    grid-template-columns: 1fr;
  }
}

/* cards & grids */
.grid {
  display: grid;
  gap: 24px;
}
.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .g3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
}
.card.tint {
  background: var(--panel);
  border-color: transparent;
}
.card h3 {
  margin: 14px 0 8px;
}
.card p {
  color: var(--ink2);
  font-size: 16px;
}
.ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c, var(--green));
  color: #fff;
}
.ico svg {
  width: 24px;
  height: 24px;
}
.sec-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.sec-head h2 {
  margin: 8px 0 12px;
}
.band {
  background: var(--panel);
}
.band-green {
  background: var(--green-l);
}
.band-dark {
  background: var(--navy);
  color: #fff;
}
.band-dark .lead,
.band-dark p {
  color: #d6d8ec;
}
.band-dark .eyebrow {
  color: var(--green);
}

/* benefits */
.benefit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.benefit h3 {
  margin-top: 12px;
}

/* appliances */
.devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.band .device {
  background: #fff;
}
.device {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.device .im {
  height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 18px;
}
.device h3 {
  color: var(--green-d);
  font-size: 26px;
}
.device .code {
  font-family: var(--cond);
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--mute);
  font-size: 15px;
}
.device .best {
  margin-top: 10px;
  color: var(--ink);
}
.device .best b {
  display: block;
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--mute);
  font-weight: 600;
}
.scale-note {
  margin-top: 22px;
  color: var(--ink2);
  max-width: 80ch;
}
@media (max-width: 760px) {
  .devices {
    grid-template-columns: 1fr;
  }
}

/* testimonials */
.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote blockquote {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}
.quote blockquote:before {
  content: "\201C";
  display: block;
  font-size: 54px;
  line-height: 0.6;
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 900;
}
.quote cite {
  font-style: normal;
  font-weight: 800;
  color: var(--ink2);
}

/* ways / software */
.way {
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--rule);
  position: relative;
}
.way .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.way .tag {
  font-family: var(--cond);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c);
  font-size: 14px;
  margin-top: 14px;
}
.way h3 {
  margin: 4px 0 8px;
}
.way p {
  color: var(--ink2);
  font-size: 16px;
}
.pill {
  display: inline-block;
  font-family: var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--green-l);
  color: var(--green-d);
}
.pill.soon {
  background: var(--panel);
  color: var(--mute);
}
ul.ticks {
  list-style: none;
  margin-top: 14px;
}
ul.ticks li {
  position: relative;
  padding-left: 26px;
  margin-top: 8px;
  color: var(--ink2);
  font-size: 16px;
}
ul.ticks li:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--green-d);
  border-bottom: 2.5px solid var(--green-d);
  transform: rotate(-45deg);
}
ul.ticks li b {
  color: var(--ink);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: s;
}
.step {
  counter-increment: s;
  position: relative;
  padding-top: 64px;
}
.step:before {
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.step h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.step p {
  color: var(--ink2);
  font-size: 16px;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* risa steps */
.risa {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.risa div {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #cfe8f5;
}
.risa b {
  display: block;
  color: var(--teal);
  font-size: 18px;
  margin-bottom: 4px;
}
.risa span {
  color: var(--ink2);
  font-size: 15px;
}
@media (max-width: 980px) {
  .risa {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .risa {
    grid-template-columns: 1fr;
  }
}

/* layer detail rows (system page) */
.layer {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 96px;
}
.layer:first-child {
  border-top: 0;
}
.layer .dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c);
}
.layer h3 {
  color: var(--c);
  font-size: 26px;
}
.layer .tagline {
  font-style: italic;
  color: var(--mute);
  margin: 2px 0 10px;
}
.layer p {
  color: var(--ink2);
  max-width: 70ch;
}
.meet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.meet div {
  border-radius: var(--radius);
  padding: 26px;
  color: #fff;
  background: var(--c);
  scroll-margin-top: 96px;
}
.meet small {
  font-family: var(--cond);
  letter-spacing: 0.14em;
  font-weight: 600;
  opacity: 0.8;
  font-size: 13px;
}
.meet h3 {
  margin: 6px 0 8px;
}
.meet p {
  color: #fff;
  opacity: 0.92;
  font-size: 16px;
}
@media (max-width: 860px) {
  .meet {
    grid-template-columns: 1fr;
  }
}

/* people */
.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--panel);
}
.avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--green-l);
  color: var(--green-d);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  object-fit: cover;
}
.person a {
  font-size: 13px;
  color: var(--teal);
  text-decoration: none;
}
.person a:hover {
  text-decoration: underline;
}
@media (max-width: 980px) {
  .people {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .people {
    grid-template-columns: 1fr;
  }
}

/* blog */
.post {
  border-radius: var(--radius);
  border: 1px dashed #bfc6cd;
  padding: 26px;
  background: #fff;
}
.post .pill {
  margin-bottom: 12px;
}
.post h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.post p {
  color: var(--ink2);
  font-size: 16px;
}

/* forms */
form.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
form.contact .full {
  grid-column: 1/-1;
}
label {
  font-weight: 700;
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
}
input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid #c9cfd5;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(126, 191, 66, 0.35);
  border-color: var(--green-d);
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.req {
  color: var(--mute);
  margin-left: 2px;
}
form.contact [aria-invalid="true"] {
  border-color: #b3261e;
}
form.contact [aria-invalid="true"]:focus {
  outline-color: rgba(179, 38, 30, 0.25);
  border-color: #b3261e;
}
.form-err {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e6b3b0;
  background: #fdf1f0;
  color: #8c1d18;
  font-size: 15px;
  font-weight: 600;
}
.form-err.on {
  display: block;
}
.form-done {
  display: none;
  padding: 18px;
  border-radius: 12px;
  background: var(--green-l);
  color: var(--green-d);
  font-weight: 700;
}
.form-done:focus {
  outline: 3px solid rgba(126, 191, 66, 0.35);
}
@media (max-width: 640px) {
  form.contact {
    grid-template-columns: 1fr;
  }
}

/* page hero (inner pages) */
.phero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--panel), #fff);
}
.phero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  margin: 10px 0 14px;
}

/* CTA band */
.cta-band {
  padding: 72px 0;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: var(--green);
  max-width: 24ch;
}
.cta-band p {
  font-size: 20px;
  margin-top: 8px;
}

/* footer */
footer {
  background: #10133f;
  color: #c6c9e4;
  padding: 56px 0 28px;
  font-size: 15px;
}
footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
footer h4 {
  color: #fff;
  font-size: 14px;
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
footer ul {
  list-style: none;
}
footer li {
  margin: 6px 0;
}
footer a {
  text-decoration: none;
  color: #c6c9e4;
}
footer a:hover {
  color: #fff;
}
footer .logo {
  color: #fff;
  margin-bottom: 12px;
}
footer .logo b {
  color: #fff;
}
footer .legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #8f93be;
  font-size: 14px;
}
@media (max-width: 780px) {
  footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* hero photo (from the home page mockup) */
.hero-pic {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin: 0;
  box-shadow: 0 24px 48px rgba(18, 40, 70, 0.16);
}
.hero-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-pic .tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--ink2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
}
.hero-pic .tag b {
  color: var(--ink);
  margin-right: 4px;
}
.hero-pic .tag:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--green);
}
.hero-pic .t-box {
  right: 6%;
  bottom: 9%;
}
.hero-pic .t-app {
  left: 5%;
  top: 47%;
}
.hero-pic .t-app:before {
  background: var(--blue);
}
@media (max-width: 900px) {
  .hero-pic {
    aspect-ratio: 4/4.2;
  }
}

/* CIS + RISA pairing */
.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.duo .card {
  height: 100%;
}
.duo .plus {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--panel);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--mute);
}
@media (max-width: 780px) {
  .duo {
    grid-template-columns: 1fr;
  }
  .duo .plus {
    margin: 0 auto;
  }
}

/* ===== Homepage mockup (01 — Homepage.pdf) ===== */
.logo {
  font-size: 26px;
  gap: 9px;
}
.logo svg {
  width: 28px;
  height: 28px;
}
.nav-links a {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.nav .btn-green {
  color: #fff;
}
.btn-black {
  background: #000;
  color: #fff;
  font-size: 18px;
  padding: 14px 30px;
}
.btn-black:hover {
  background: #222;
}

.h-hero {
  position: relative;
  overflow: hidden;
  min-height: min(64vw, 1000px);
  padding: 0;
}
.h-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 64vw;
  max-width: 1000px;
}
.h-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
.h-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fff 0,
    rgba(255, 255, 255, 0.55) 16%,
    rgba(255, 255, 255, 0) 34%
  );
}
.h-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.h-link path {
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 0 13;
}
.h-copy {
  position: relative;
  z-index: 2;
  padding-top: 36px;
  padding-bottom: 56px;
}
.h-eye {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--green);
}
.h-eye u {
  text-underline-offset: 3px;
}
.h-copy h1 {
  font-size: clamp(46px, 5.5vw, 80px);
  font-weight: 700;
  color: #4b4b4b;
  line-height: 1.02;
  margin: 14px 0 18px;
  letter-spacing: -0.01em;
}
.h-sub {
  font-size: 20px;
  font-weight: 700;
  color: #3d6a99;
  max-width: 34em;
  line-height: 1.45;
}
.h-sub a {
  color: inherit;
  text-underline-offset: 3px;
}
.venn-block.compact {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 26px 0 10px 40px;
  gap: 6px;
}
.venn-block.compact .venn-info {
  border: 0;
  padding: 0;
  min-height: 74px;
}
.venn-block.compact .venn-info .k {
  font-size: 12px;
}
.venn-block.compact .venn-info h3 {
  font-size: 17px;
  margin: 2px 0;
}
.venn-block.compact .venn-info p {
  font-size: 14px;
}
.venn-block.compact .venn-info a {
  font-size: 14px;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .h-hero {
    min-height: 0;
    display: flex;
    flex-direction: column-reverse;
  }
  .h-photo {
    position: relative;
    width: 100%;
    max-width: none;
    aspect-ratio: 1/1;
  }
  .h-photo:after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, #fff);
  }
  .h-link {
    display: none;
  }
  .venn-block.compact {
    margin-left: 0;
  }
}

.h-band {
  background: #4b78a8;
  color: #fff;
  padding: 56px 0 64px;
}
.h-band h2 {
  text-align: center;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 40px;
}
.h-benefits > div {
  text-align: left;
  padding: 0 12px;
}
.h-benefits svg {
  width: 78px;
  height: 78px;
  fill: none;
  stroke: #fff;
  display: block;
  margin: 0 auto 18px;
}
.h-benefits h3 {
  font-size: 19px;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
}
.h-benefits p {
  color: #eaf0f7;
  font-size: 16px;
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
}

.h-inside {
  padding: 80px 0 72px;
}
.h-inside h2 {
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  margin-bottom: 48px;
}
.h-inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.h-device {
  position: relative;
  margin: 0;
  padding: 48px 0 0 48px;
}
.h-device img {
  width: 100%;
  height: auto;
}
.h-device .dim {
  position: absolute;
  color: var(--mute);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.h-device .dim-w {
  top: 0;
  left: 48px;
  right: 0;
  border-bottom: 1px solid #c8cdd2;
  padding-bottom: 6px;
  text-align: center;
}
.h-device .dim-h {
  left: 0;
  top: 48px;
  height: calc(100% - 140px);
  border-right: 1px solid #c8cdd2;
  width: 40px;
  display: flex;
  align-items: center;
}
.h-device .dim-h span {
  transform: translateX(-14px);
}
.h-device figcaption {
  margin-top: 40px;
  color: var(--mute);
  font-size: 16px;
  line-height: 1.4;
}
.h-device figcaption a {
  color: var(--mute);
}
.h-points > div {
  padding: 22px 0;
  border-bottom: 1px solid #bfc4c9;
}
.h-points > div:first-child {
  padding-top: 0;
}
.h-points h3 {
  color: #4b78a8;
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
}
.h-points ul {
  list-style: none;
}
.h-points li {
  font-weight: 600;
  color: var(--ink);
  margin-top: 10px;
  font-size: 16px;
}
.h-points .btn {
  margin-top: 28px;
}
@media (max-width: 860px) {
  .h-inside-grid {
    grid-template-columns: 1fr;
  }
  .h-device {
    padding-left: 40px;
  }
}

.h-logos {
  background: #eefae8;
  padding: 56px 0 64px;
}
.h-logos h2 {
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 42px);
  color: #4b4b4b;
  margin-bottom: 36px;
}
.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-row img {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .logo-row {
    justify-content: center;
  }
  .logo-row img {
    height: 34px;
  }
}

.h-close {
  padding: 72px 0 84px;
}
.h-hand {
  width: 220px;
  height: auto;
  margin: 0 auto 34px;
}
.h-close h2 {
  font-weight: 600;
  font-size: clamp(28px, 3.3vw, 44px);
  color: #4b4b4b;
  line-height: 1.2;
}
.h-close p {
  max-width: 58ch;
  margin: 22px auto 30px;
  color: var(--ink2);
  font-weight: 600;
}

@media (max-width: 1240px) and (min-width: 901px) {
  .h-photo {
    width: 54vw;
  }
  .h-copy h1 {
    font-size: clamp(44px, 5vw, 64px);
  }
  .h-sub {
    max-width: 28em;
    font-size: 18px;
  }
}

/* ===== Product menu ===== */
.has-sub {
  position: relative;
}
.sub-toggle {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.sub-toggle svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.15s;
}
.has-sub.on .sub-toggle {
  border-color: var(--green);
}
.has-sub .sub {
  list-style: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(20, 30, 50, 0.14);
  padding: 8px;
  display: none;
  z-index: 60;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub,
.has-sub.open .sub {
  display: block;
}
.has-sub:hover .sub-toggle svg,
.has-sub.open .sub-toggle svg {
  transform: rotate(180deg);
}
.has-sub .sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  text-decoration: none;
}
.has-sub .sub a:hover,
.has-sub .sub a[aria-current="page"] {
  background: var(--panel);
}
.has-sub .sub b {
  display: block;
  font-size: 16px;
  color: var(--ink);
}
.has-sub .sub span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
  margin-top: 2px;
}
@media (max-width: 1020px) {
  .sub-toggle {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    justify-content: space-between;
  }
  .has-sub .sub {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 14px;
    min-width: 0;
  }
  .has-sub .sub a {
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    padding: 10px 0;
  }
  .has-sub .sub span {
    display: none;
  }
  .sub-toggle svg {
    display: none;
  }
}

/* chips (RISA specialties) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.chips span {
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--teal);
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 15px;
}

/* ===== Blog ===== */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 24px;
}
.chip-btn {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink2);
  border-radius: 99px;
  padding: 8px 16px;
  cursor: pointer;
}
.chip-btn.on {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}
.pcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.pcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 30, 50, 0.1);
}
.pc-img {
  aspect-ratio: 16/9;
  background: var(--panel);
  overflow: hidden;
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-noimg {
  background: linear-gradient(135deg, var(--green-l), var(--blue-l));
}
.pc-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pc-body .pill {
  align-self: flex-start;
}
.pc-body h3 {
  font-size: 19px;
  line-height: 1.25;
}
.pc-body p {
  color: var(--ink2);
  font-size: 15px;
}
.pc-meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  color: var(--mute);
}
.pcard.big {
  flex-direction: row;
}
.pcard.big .pc-img {
  flex: 1.15;
  aspect-ratio: auto;
  min-height: 320px;
}
.pcard.big .pc-body {
  flex: 1;
  padding: 36px;
}
.pcard.big h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}
.pcard.big p {
  font-size: 17px;
}
@media (max-width: 820px) {
  .pcard.big {
    flex-direction: column;
  }
  .pcard.big .pc-img {
    min-height: 0;
    aspect-ratio: 16/9;
  }
}

.post-head {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 28px;
}
.post-head .back {
  display: inline-block;
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 22px;
}
.post-head h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 14px 0 22px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.35;
}
.post-meta b {
  color: var(--ink);
}
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.prose > * + * {
  margin-top: 1.05em;
}
.prose h2 {
  font-size: 28px;
  margin-top: 1.6em;
}
.prose h3 {
  font-size: 22px;
  margin-top: 1.4em;
}
.prose h4 {
  font-size: 19px;
  margin-top: 1.3em;
}
.prose a {
  color: var(--teal);
}
.prose img {
  border-radius: 12px;
  margin: 1.4em auto;
  height: auto;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose blockquote {
  border-left: 4px solid var(--green);
  padding: 4px 0 4px 18px;
  color: var(--ink2);
  font-style: italic;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  display: block;
  overflow-x: auto;
}
.prose td,
.prose th {
  border: 1px solid var(--rule);
  padding: 10px 12px;
  vertical-align: top;
}
.prose tr:first-child td {
  background: var(--panel);
  font-weight: 700;
}
.post-nav {
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 64px;
}
.pn {
  display: block;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}
.pn small {
  display: block;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 4px;
}
.pn.next {
  grid-column: 2;
  text-align: right;
}
.pn:hover {
  border-color: var(--green);
}
@media (max-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
  .pn.next {
    grid-column: 1;
    text-align: left;
  }
}

/* partners */
.card.partner .p-logo {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--rule);
  margin: -4px 0 18px;
  padding-bottom: 18px;
}
.card.partner .p-logo img {
  max-height: 64px;
  max-width: 230px;
  width: auto;
  object-fit: contain;
}
.card.partner h3 {
  margin-top: 0;
}
.card.partner p + p {
  margin-top: 8px;
}
.risa-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--blue-l);
  border-color: transparent;
}
.risa-mini p {
  max-width: 70ch;
}
@media (max-width: 760px) {
  .risa-mini {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== RISA sections (Retrieve, Investigate, Synthesize, Act) ===== */
.rs-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rs-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  text-decoration: none;
  background: #fff;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.rs-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.1);
}
.rs-tile b {
  font-size: 44px;
  line-height: 1;
  color: var(--c);
  font-weight: 900;
}
.rs-tile span {
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}
.rs-tile small {
  color: var(--mute);
  font-size: 14px;
}
@media (max-width: 860px) {
  .rs-tiles {
    grid-template-columns: 1fr 1fr;
  }
}
.rs-row {
  padding: 72px 0;
  scroll-margin-top: 80px;
}
.rs-row + .rs-row {
  border-top: 1px solid var(--rule);
}
.rs-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.rs-row.flip .rs-text {
  order: 2;
}
.rs-letter {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--c);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.rs-text h3 {
  font-size: 30px;
  margin: 4px 0 12px;
}
.rs-text > p {
  color: var(--ink2);
}
.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 22px 48px rgba(20, 40, 70, 0.14);
  background: #fff;
}
.shot img {
  width: 100%;
  height: auto;
}
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 6px;
}
.chat.big {
  background: var(--panel);
  border-radius: 18px;
  padding: 28px;
  margin: 0;
  gap: 14px;
}
.bubble {
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 92%;
}
.bubble small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cond);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 4px;
  opacity: 0.8;
}
.bubble small img {
  width: 18px;
  height: auto;
}
.bubble.you {
  background: var(--deep);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.bubble.bot {
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat.big .bubble {
  font-size: 16px;
}
.rs-feature {
  scroll-margin-top: 80px;
}
.rs-feature .shot {
  margin-top: 8px;
}
.legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
}
.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -1px;
}
@media (max-width: 900px) {
  .rs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .rs-row.flip .rs-text {
    order: 0;
  }
}
.card.partner .p-logo.dark {
  background: #0b1320;
  border-radius: 10px;
  border-bottom: 0;
  padding: 14px 18px;
  justify-content: center;
}
.card.partner .p-logo.dark img {
  max-height: 52px;
}

/* RISA customers */
.customers {
  padding: 72px 0;
}
.cust-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.cust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink2);
}
.cust-logo {
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.cust-logo img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.cust.dark .cust-logo {
  background: #1e2a22;
  border-color: #1e2a22;
}
.cust:hover .cust-logo {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 30, 50, 0.1);
}
.cust-name {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 980px) {
  .cust-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .cust-row {
    grid-template-columns: 1fr 1fr;
  }
}
