:root {
  --ink: #07141f;
  --ink-soft: #31404b;
  --navy: #071722;
  --navy-deep: #030b11;
  --paper: #f4f1e9;
  --paper-bright: #fbfaf6;
  --line: rgba(7, 20, 31, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --gold: #d2a75c;
  --gold-bright: #f2ce83;
  --silver: #aeb9c2;
  --cyan: #52c8ef;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.section-shell {
  width: min(1200px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(3, 11, 17, 0.92);
  color: white;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: 0.08em;
}

.brand-mark {
  font-family: var(--font-display), serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(112deg, #f6d690 15%, #b57a28 48%, #eef5f8 52%, #8997a2 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-word {
  color: #6bd4f4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 80px;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: white;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.language-switch {
  display: flex;
  gap: 7px;
  align-items: center;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
}

.language-switch button,
.language-switch a {
  padding: 6px 1px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.language-switch button.active,
.language-switch a.active {
  color: var(--gold-bright);
}

.language-switch button:focus-visible,
.language-switch a:focus-visible,
.button:focus-visible,
.account-link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.account-link {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: border-color 180ms ease, background 180ms ease;
}

.account-link:hover {
  border-color: var(--gold);
  background: rgba(210, 167, 92, 0.08);
}

.eyebrow {
  margin: 0 0 24px;
  color: #9a6e2d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.hero-copy-cinematic h1,
.section-heading h2,
.method-copy h2,
.about-section h2 {
  font-family: var(--font-display), serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: white;
}

.button-primary:hover {
  background: #112735;
}

.button-secondary {
  justify-content: center;
  border-color: var(--line);
  background: transparent;
}

.button-secondary:hover {
  background: #eee9dc;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 38px 0 0;
  padding: 0;
  color: #67747d;
  list-style: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-list li span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-cinematic {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  background: #02090e;
  color: white;
}

.hero-cinematic::after {
  content: "";
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(2, 9, 14, 0.92));
  pointer-events: none;
}

.hero-cinematic-image {
  position: absolute;
  z-index: -5;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.015);
  animation: cinematic-breathe 18s ease-in-out infinite alternate;
}

.hero-cinematic-shade {
  position: absolute;
  z-index: -4;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 7, 11, 0.97) 0%, rgba(1, 7, 11, 0.84) 34%, rgba(1, 7, 11, 0.26) 68%, rgba(1, 7, 11, 0.48) 100%),
    linear-gradient(180deg, rgba(1, 7, 11, 0.42), transparent 36%, rgba(1, 7, 11, 0.74));
}

.hero-cinematic-grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

.hero-glow-gold {
  width: 380px;
  height: 380px;
  left: -180px;
  bottom: -130px;
  background: rgba(210, 167, 92, 0.22);
}

.hero-glow-cyan {
  width: 340px;
  height: 340px;
  right: 7%;
  top: 14%;
  background: rgba(38, 168, 216, 0.12);
}

.hero-cinematic-inner {
  position: relative;
  z-index: 5;
  min-height: calc(100svh - 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  padding-bottom: 56px;
}

.hero-signal-line {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(660px, 56%);
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.hero-signal-line::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(210, 167, 92, 0.7);
}

.hero-signal-line span:last-child {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
}

.hero-lockup {
  position: relative;
  width: max-content;
  max-width: 70%;
  margin-bottom: 8px;
  line-height: 0.8;
}

.hero-ram {
  display: block;
  font-family: var(--font-display), serif;
  font-size: clamp(126px, 15vw, 238px);
  font-weight: 600;
  letter-spacing: -0.075em;
  background:
    linear-gradient(102deg, #7c541f 1%, #f9d994 24%, #b87d2b 43%, #f7e6b9 49%, #9ba6ae 52%, #f3f8fa 69%, #75828c 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(210, 167, 92, 0.18));
}

.hero-intelligence {
  position: absolute;
  z-index: 2;
  top: -12px;
  right: 1.5%;
  color: #6fdcff;
  font-size: clamp(17px, 2.1vw, 32px);
  font-weight: 400;
  letter-spacing: 0.015em;
  text-shadow: 0 0 18px rgba(82, 200, 239, 0.7);
}

.hero-copy-cinematic {
  max-width: 700px;
  margin-top: 22px;
  padding-left: 4px;
}

.hero-copy-cinematic h1 {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: 0.98;
}

.hero-copy-cinematic p {
  max-width: 630px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 13px;
  line-height: 1.8;
}

.hero-actions-cinematic {
  margin-top: 30px;
  padding-left: 4px;
}

.button-cinematic {
  border-color: rgba(235, 199, 126, 0.88);
  background: rgba(210, 167, 92, 0.12);
  color: #fae3af;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 22px rgba(210, 167, 92, 0.06), 0 0 30px rgba(210, 167, 92, 0.06);
}

.button-cinematic:hover {
  background: var(--gold);
  color: #06111a;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: rgba(111, 220, 255, 0.58);
  background: rgba(82, 200, 239, 0.08);
  color: white;
}

.hero-bottomline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 44px;
}

.proof-list-cinematic {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
}

.proof-list-cinematic li span {
  box-shadow: 0 0 9px rgba(210, 167, 92, 0.7);
}

.hero-visual-caption {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  letter-spacing: 0.07em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.hero-frame-corners {
  position: absolute;
  z-index: 8;
  inset: 24px;
  pointer-events: none;
}

.hero-frame-corners span {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.23);
  border-style: solid;
}

.hero-frame-corners span:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.hero-frame-corners span:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.hero-frame-corners span:nth-child(3) {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

.hero-frame-corners span:nth-child(4) {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

@keyframes cinematic-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.055); }
}

.content-section {
  padding-top: 126px;
  padding-bottom: 130px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  column-gap: 70px;
  align-items: end;
  margin-bottom: 60px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.method-copy h2,
.about-section h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-card {
  position: relative;
  min-height: 340px;
  padding: 30px 30px 34px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 200ms ease, transform 200ms ease;
}

.capability-card:first-child {
  border-left: 1px solid var(--line);
}

.capability-card:hover {
  background: var(--paper);
  transform: translateY(-4px);
}

.card-number {
  color: #a28d6b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.capability-card h3 {
  max-width: 250px;
  margin: 0 0 18px;
  font-family: var(--font-display), serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.02;
}

.capability-card p {
  max-width: 280px;
  margin: 0;
  color: #596873;
  font-size: 12px;
  line-height: 1.75;
}

.card-arrow {
  position: absolute;
  right: 28px;
  top: 27px;
  color: #8a6a37;
}

.method-section {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: white;
}

.method-section::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: rgba(56, 180, 222, 0.1);
  filter: blur(70px);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  padding-top: 130px;
  padding-bottom: 130px;
}

.eyebrow-light {
  color: var(--gold-bright);
}

.method-copy > p:last-child {
  max-width: 500px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
  line-height: 1.8;
}

.method-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}

.method-steps li > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
}

.method-steps h3 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 600;
}

.method-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.65;
}

.membership-heading {
  margin-bottom: 56px;
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plan-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: 36px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.plan-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  bottom: -130px;
  border-radius: 50%;
  opacity: 0.16;
}

.plan-silver {
  background: #eef0ef;
}

.plan-silver::after {
  background: var(--silver);
}

.plan-gold {
  border-color: rgba(210, 167, 92, 0.62);
  background: var(--navy);
  color: white;
}

.plan-gold::after {
  background: var(--gold);
  box-shadow: 0 0 100px var(--gold);
}

.plan-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.plan-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.plan-silver .plan-label {
  color: #62707a;
}

.plan-gold .plan-label {
  color: var(--gold-bright);
}

.plan-badge {
  padding: 8px 10px;
  border: 1px solid currentColor;
  color: #62707a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-gold .plan-badge {
  color: rgba(242, 206, 131, 0.82);
}

.plan-card h3 {
  margin: 55px 0 34px;
  font-family: var(--font-display), serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.plan-card ul {
  display: grid;
  gap: 16px;
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  gap: 12px;
  color: #53616b;
  font-size: 12px;
  line-height: 1.5;
}

.plan-card li span {
  color: #88704b;
}

.plan-gold li {
  color: rgba(255, 255, 255, 0.62);
}

.plan-gold li span {
  color: var(--gold-bright);
}

.plan-card > a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-gold > a {
  border-color: var(--line-light);
}

.roles-section {
  padding: 120px 0;
  background: var(--paper);
}

.roles-heading {
  margin-bottom: 48px;
}

.roles-heading h2 {
  grid-column: 1 / -1;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.roles-grid article {
  min-height: 250px;
  padding: 28px 28px 34px 0;
  border-right: 1px solid var(--line);
}

.roles-grid article + article {
  padding-left: 28px;
}

.roles-grid article:last-child {
  border-right: 0;
}

.roles-grid article > span {
  color: #9a7c4f;
  font-size: 9px;
  font-weight: 700;
}

.roles-grid h3 {
  margin: 64px 0 16px;
  font-family: var(--font-display), serif;
  font-size: 34px;
  font-weight: 500;
}

.roles-grid p {
  max-width: 290px;
  margin: 0;
  color: #5d6a73;
  font-size: 11px;
  line-height: 1.75;
}

.about-section {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 80px;
  padding-top: 140px;
  padding-bottom: 150px;
}

.about-section > div {
  max-width: 790px;
}

.about-section p:last-child {
  max-width: 670px;
  margin: 28px 0 0;
  color: #52616b;
  font-size: 14px;
  line-height: 1.85;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--navy-deep);
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 120px;
}

.brand-footer .brand-mark {
  font-size: 24px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.footer-inner > div {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.footer-inner > div a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .hero-lockup {
    max-width: 76%;
  }

  .hero-copy-cinematic {
    max-width: 610px;
  }

  .method-layout {
    gap: 60px;
  }
}

@media (max-width: 800px) {
  .section-shell {
    width: min(100% - 36px, 640px);
  }

  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand-mark {
    font-size: 25px;
  }

  .account-link {
    display: none;
  }

  .hero-cinematic,
  .hero-cinematic-inner {
    min-height: 820px;
  }

  .hero-cinematic-inner {
    justify-content: flex-end;
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .hero-cinematic-image {
    object-position: 64% center;
  }

  .hero-cinematic-shade {
    background:
      linear-gradient(90deg, rgba(1, 7, 11, 0.91), rgba(1, 7, 11, 0.36)),
      linear-gradient(180deg, rgba(1, 7, 11, 0.12) 20%, rgba(1, 7, 11, 0.94) 66%);
  }

  .hero-signal-line {
    width: 100%;
    margin-bottom: 18px;
  }

  .hero-lockup {
    max-width: 100%;
  }

  .hero-ram {
    font-size: clamp(108px, 31vw, 168px);
  }

  .hero-intelligence {
    top: -10px;
    right: 0.5%;
    font-size: clamp(15px, 4.5vw, 22px);
  }

  .hero-copy-cinematic {
    margin-top: 20px;
  }

  .hero-copy-cinematic h1 {
    font-size: clamp(39px, 11vw, 55px);
  }

  .hero-copy-cinematic p {
    max-width: 540px;
    font-size: 12px;
  }

  .hero-bottomline {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 34px;
  }

  .hero-visual-caption {
    display: none;
  }

  .hero-frame-corners {
    inset: 12px;
  }

  .content-section {
    padding-top: 92px;
    padding-bottom: 94px;
  }

  .section-heading,
  .about-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading h2,
  .method-copy h2,
  .about-section h2 {
    font-size: 48px;
  }

  .capability-grid,
  .membership-grid,
  .roles-grid,
  .method-layout {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 270px;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .capability-card:last-child {
    border-bottom: 0;
  }

  .method-layout {
    gap: 70px;
    padding-top: 94px;
    padding-bottom: 94px;
  }

  .plan-card {
    min-height: 440px;
    padding: 28px;
  }

  .roles-section {
    padding: 90px 0;
  }

  .roles-grid article,
  .roles-grid article + article {
    min-height: 210px;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .roles-grid article:last-child {
    border-bottom: 0;
  }

  .roles-grid h3 {
    margin-top: 42px;
  }

  .about-section {
    padding-top: 95px;
    padding-bottom: 105px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .footer-inner > div {
    justify-content: center;
  }
}

/* RAM INTELL v1.1 — CIARO technical verification */
.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.powered-by {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.powered-by strong { color: var(--gold); }
.footer-brand-cluster .powered-by { border-color: rgba(255, 255, 255, 0.13); }

.ciaro-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 78% 50%, rgba(19, 116, 133, 0.19), transparent 38%), #06131d;
  color: white;
}

.ciaro-inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1.8fr);
  gap: clamp(40px, 8vw, 130px);
  padding-block: clamp(70px, 10vw, 128px);
}

.ciaro-inner h2 { max-width: 780px; font-size: clamp(42px, 6vw, 76px); }
.ciaro-inner p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.62); line-height: 1.8; }
.ciaro-inner a { display: inline-flex; margin-top: 24px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.portal-actions { display: flex; align-items: center; gap: 12px; }
.portal-actions form { margin: 0; }
.verification-workspace { padding-bottom: 90px; }
.verification-panel {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(7, 23, 34, 0.79);
  padding: clamp(24px, 4vw, 44px);
}

.verification-panel h2 { font-size: clamp(32px, 4vw, 52px); }
.verification-panel p { color: rgba(255, 255, 255, .59); line-height: 1.75; }
.upload-panel { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.upload-form { display: grid; gap: 14px; }
.upload-form .button { justify-content: space-between; min-height: 55px; cursor: pointer; }
.file-drop { display: grid; min-height: 94px; place-items: center; border: 1px dashed rgba(211, 172, 82, .55); background: rgba(255,255,255,.025); color: rgba(255,255,255,.72); cursor: pointer; text-align: center; }
.file-drop input { width: 1px; height: 1px; position: absolute; opacity: 0; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.panel-heading > span { color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.report-list { display: grid; }
.report-list > a { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); color: white; }
.report-list strong, .report-list small { display: block; }
.report-list small { margin-top: 7px; color: rgba(255,255,255,.42); }
.report-meta { text-align: right; }
.result-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; border: 1px solid rgba(255,255,255,.22); padding: 5px 8px; color: rgba(255,255,255,.68); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.result-pill.pass { border-color: rgba(61,216,157,.62); background: rgba(61,216,157,.11); color: #6ee5b5; }
.result-pill.fail { border-color: rgba(255,104,94,.56); background: rgba(255,104,94,.1); color: #ff9189; }
.result-pill.not-evaluated, .result-pill.new { color: #aeb9c2; }
.empty-state { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); }
.technical-disclaimer, .certificate-disclaimer { margin-top: 24px; border-left: 3px solid var(--gold); background: rgba(211,172,82,.08); padding: 20px 24px; }
.technical-disclaimer strong, .certificate-disclaimer strong { color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.technical-disclaimer p, .certificate-disclaimer p { margin: 8px 0 0; color: rgba(255,255,255,.58); line-height: 1.7; }
.fail-notice { margin-top: 24px; border-color: rgba(255,104,94,.5); color: #ffb3ad; }

.evidence-grid, .certificate-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.evidence-grid > div, .certificate-facts > div { min-width: 0; padding: 20px 18px 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.evidence-grid .wide, .certificate-facts .wide { grid-column: 1 / -1; }
.evidence-grid dt, .certificate-facts dt { margin-bottom: 9px; color: rgba(255,255,255,.4); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.evidence-grid dd, .certificate-facts dd { margin: 0; color: white; overflow-wrap: anywhere; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .02em; }
.profile-grid { display: grid; grid-template-columns: 1.5fr .5fr 1fr; gap: 16px; margin-bottom: 24px; }
.profile-grid label { display: grid; gap: 8px; color: rgba(255,255,255,.6); font-size: 10px; }
.profile-grid input, .criterion-row > input:not([type='checkbox']) { min-height: 46px; color-scheme: dark; }
.criteria-list { border-top: 1px solid rgba(255,255,255,.11); }
.criterion-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(130px, .35fr); gap: 15px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.criterion-row > input[type='checkbox'] { width: 18px; min-height: 18px; accent-color: var(--gold); }
.criterion-row strong, .criterion-row small { display: block; }
.criterion-row strong { color: white; font-size: 12px; }
.criterion-row small { margin-top: 5px; color: rgba(255,255,255,.34); }
.criterion-fixed { color: rgba(255,255,255,.43); font-size: 9px; letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.verify-action { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 30px; }
.verify-action p { margin: 5px 0 0; }
.verify-action .button { flex: 0 0 auto; cursor: pointer; }
.run-card { border-top: 1px solid rgba(255,255,255,.11); }
.run-card summary { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 0; color: white; cursor: pointer; }
.run-card summary time { color: rgba(255,255,255,.4); font-size: 10px; }
.result-list { display: grid; padding: 0 0 20px 72px; }
.result-list > div { display: grid; grid-template-columns: 94px 1fr 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); color: white; }
.result-list small { color: rgba(255,255,255,.45); }
.certificate-link { display: inline-flex; margin: 0 0 24px 72px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.certificate-page { background: #e9ece9; color: #07131a; }
.certificate-page .site-header { background: #07131a; }
.certificate-shell { width: min(1120px, calc(100% - 48px)); margin: 64px auto 90px; border: 1px solid #adb5b2; background: #f8faf7; padding: clamp(28px, 6vw, 76px); box-shadow: 0 30px 80px rgba(4,17,22,.12); }
.certificate-topline { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #cdd3cf; padding-bottom: 18px; color: #42616a; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.certificate-heading { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding: 48px 0 34px; }
.certificate-heading h1 { color: #07131a; font-size: clamp(48px, 7vw, 84px); }
.certificate-id { color: #7c6128; font-weight: 800; letter-spacing: .08em; }
.certificate-seal { display: grid; flex: 0 0 132px; width: 132px; height: 132px; place-content: center; border: 1px solid #8b6f32; border-radius: 50%; outline: 1px solid #8b6f32; outline-offset: -8px; color: #6e551f; text-align: center; }
.certificate-seal span { font-family: var(--font-display), serif; font-size: 34px; }
.certificate-seal small { letter-spacing: .12em; }
.certificate-statement { max-width: 820px; color: #4c5d61; font-size: 17px; line-height: 1.8; }
.certificate-facts { margin-top: 36px; border-color: #cdd3cf; }
.certificate-facts > div { border-color: #d9dedb; }
.certificate-facts dt { color: #66777a; }
.certificate-facts dd { color: #07131a; }
.certificate-results { margin-top: 44px; }
.certificate-results h2 { color: #07131a; font-size: 34px; }
.certificate-results .result-list { padding-left: 0; }
.certificate-results .result-list > div { border-color: #d9dedb; color: #07131a; }
.certificate-results .result-list small { color: #607174; }
.certificate-results .result-pill.pass { color: #176c4b; border-color: #5b9d82; background: #e2f0e9; }
.certificate-disclaimer { color: #07131a; background: #f2ecdd; }
.certificate-disclaimer p { color: #536164; }
.certificate-actions { display: flex; gap: 12px; margin-top: 30px; }
.button-ghost-dark { border: 1px solid #8c9895; color: #22373d; }

@media (max-width: 900px) {
  .powered-by { display: none; }
  .upload-panel, .ciaro-inner { grid-template-columns: 1fr; }
  .profile-grid, .evidence-grid, .certificate-facts { grid-template-columns: 1fr; }
  .evidence-grid .wide, .certificate-facts .wide { grid-column: auto; }
  .criterion-row { grid-template-columns: 22px minmax(0, 1fr); }
  .criterion-row > input:not([type='checkbox']), .criterion-fixed { grid-column: 2; width: 100%; text-align: left; }
  .verify-action, .certificate-heading { align-items: flex-start; flex-direction: column; }
  .result-list { padding-left: 0; }
  .result-list > div { grid-template-columns: 80px 1fr; }
  .result-list small { grid-column: 2; }
  .certificate-link { margin-left: 0; }
}

@media print {
  .certificate-page .site-header, .certificate-page footer, .certificate-actions { display: none !important; }
  .certificate-page { background: white; }
  .certificate-shell { width: 100%; margin: 0; border: 0; box-shadow: none; padding: 24px; }
  .certificate-heading { padding-top: 24px; }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 12px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-list {
    gap: 14px;
  }

  .hero-cinematic,
  .hero-cinematic-inner {
    min-height: 780px;
  }

  .hero-ram {
    font-size: clamp(100px, 32vw, 138px);
  }

  .hero-copy-cinematic h1 {
    font-size: clamp(36px, 11.5vw, 48px);
  }

  .hero-copy-cinematic p {
    margin-top: 18px;
    line-height: 1.7;
  }

  .hero-actions-cinematic {
    gap: 9px;
    margin-top: 24px;
  }

  .proof-list-cinematic {
    font-size: 8px;
  }

  .plan-topline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .hero-cinematic-image {
    animation: none;
  }
}

/* Secure account and administration surfaces */
.portal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 8%, rgba(82, 200, 239, 0.12), transparent 32%),
    radial-gradient(circle at 8% 72%, rgba(210, 167, 92, 0.11), transparent 28%),
    var(--navy-deep);
  color: white;
}

.portal-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 70px 24px;
}

.portal-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.auth-card,
.message-shell,
.legal-shell {
  width: min(560px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(7, 23, 34, 0.87);
  padding: clamp(30px, 6vw, 58px);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(22px);
}

.auth-card h1,
.portal-title-row h1,
.message-shell h1,
.legal-shell h1,
.admin-panel h2,
.status-card h2 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.auth-card h1 {
  font-size: clamp(46px, 8vw, 72px);
  line-height: 0.95;
}

.auth-intro {
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.8;
}

.auth-form,
.admin-form {
  display: grid;
  gap: 14px;
}

.auth-form label,
.admin-form label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.auth-form input,
.admin-form input,
.users-panel select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: white;
  font: inherit;
}

.auth-form input,
.admin-form input {
  min-height: 54px;
  padding: 0 16px;
}

.auth-form input:focus,
.admin-form input:focus,
.users-panel select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(82, 200, 239, 0.12);
}

.auth-form .otp-input {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-align: center;
}

.form-submit {
  width: 100%;
  margin-top: 12px;
  cursor: pointer;
}

.form-notice {
  margin: 0 0 24px;
  border-left: 2px solid var(--gold);
  background: rgba(210, 167, 92, 0.09);
  padding: 13px 15px;
  color: #f2dba7;
  font-size: 12px;
  line-height: 1.6;
}

.auth-email {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: 12px;
}

.text-link {
  display: block;
  width: max-content;
  margin-top: 22px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
}

.text-link.muted {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.45);
}

.dashboard-shell {
  width: min(1240px, calc(100% - 72px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 84px 0 110px;
}

.portal-title-row,
.admin-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.portal-title-row {
  margin-bottom: 48px;
}

.portal-title-row h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.95;
}

.text-button,
.table-action {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.text-button {
  padding: 12px 16px;
}

.status-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.045);
  padding: clamp(28px, 5vw, 48px);
}

.status-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}

.status-card.active .status-dot {
  background: #63dbad;
  box-shadow: 0 0 14px #63dbad;
}

.status-card h2 {
  margin-top: 28px;
  color: var(--gold-bright);
  font-size: clamp(48px, 7vw, 88px);
}

.status-card > p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.status-card .status-copy {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.dashboard-grid,
.stats-grid {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.13);
}

.dashboard-grid {
  grid-template-columns: repeat(3, 1fr);
}

.dashboard-grid article {
  min-height: 230px;
  background: #071722;
  padding: 30px;
}

.dashboard-grid article > span,
.stats-grid span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.dashboard-grid h3 {
  margin: 70px 0 12px;
  font-family: var(--font-display), serif;
  font-size: 30px;
  font-weight: 500;
}

.dashboard-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.7;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 24px;
}

.stats-grid article {
  display: grid;
  gap: 18px;
  background: #071722;
  padding: 26px;
}

.stats-grid strong {
  font-family: var(--font-display), serif;
  font-size: 48px;
  font-weight: 500;
}

.admin-panel {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 23, 34, 0.78);
  padding: clamp(26px, 4vw, 42px);
}

.admin-panel-heading {
  margin-bottom: 30px;
}

.admin-panel h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.promo-state {
  border: 1px solid currentColor;
  padding: 8px 11px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.promo-state.on { color: #63dbad; }
.promo-state.off { color: #aeb9c2; }

.admin-form {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.admin-form label {
  display: grid;
  gap: 9px;
}

.admin-form .toggle-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.admin-form .button {
  min-height: 54px;
  cursor: pointer;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.users-panel table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

.users-panel th,
.users-panel td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 14px 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-align: left;
}

.users-panel th {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.users-panel td:first-child {
  color: white;
}

.users-panel small {
  display: block;
  margin-top: 4px;
  color: var(--gold);
}

.users-panel select {
  min-height: 38px;
  padding: 0 8px;
  color-scheme: dark;
}

.table-action {
  padding: 10px 12px;
}

.legal-shell,
.message-shell {
  width: min(900px, calc(100% - 48px));
  min-height: 520px;
  margin: 72px auto 100px;
}

.legal-shell h1,
.message-shell h1 {
  font-size: clamp(48px, 7vw, 80px);
}

.legal-shell h2 {
  margin: 42px 0 12px;
  font-family: var(--font-display), serif;
  font-size: 30px;
  font-weight: 500;
}

.legal-shell p,
.message-shell p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.9;
}

.message-shell .button {
  margin-top: 30px;
}

@media (max-width: 800px) {
  .account-link {
    display: flex;
    min-width: 40px;
    padding: 10px;
    gap: 0;
    justify-content: center;
    font-size: 0;
  }

  .account-link span {
    font-size: 16px;
  }

  .dashboard-shell {
    width: min(100% - 36px, 1240px);
    padding-top: 54px;
  }

  .portal-title-row,
  .admin-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-grid,
  .stats-grid,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .dashboard-grid article {
    min-height: 190px;
  }

  .admin-form .toggle-row {
    grid-column: auto;
  }
}

/* RAM INTELL v1.2 — consultation and specialist services */
.consultation-page {
  color-scheme: dark;
}

.consultation-shell {
  padding-bottom: 96px;
}

.consultation-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-top: 48px;
  padding: 34px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.consultation-intro h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-family: var(--font-display), serif;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.consultation-intro > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.8;
}

.consultation-notice {
  margin-top: 24px;
}

.ai-workspace,
.specialist-section,
.request-history {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 23, 34, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.ai-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-mode-tab {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.5);
  transition: background 180ms ease, color 180ms ease;
}

.ai-mode-tab + .ai-mode-tab {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-mode-tab span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
}

.ai-mode-tab strong {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-mode-tab:hover,
.ai-mode-tab.active {
  background: rgba(82, 200, 239, 0.08);
  color: white;
}

.ai-mode-tab.active span {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.ai-unavailable {
  margin: 22px 24px 0;
  border-left: 3px solid var(--gold);
  background: rgba(210, 167, 92, 0.09);
  padding: 17px 20px;
}

.ai-unavailable strong {
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-unavailable p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.65;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  min-height: 650px;
}

.conversation-list {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 12, 18, 0.35);
}

.conversation-list > p {
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
}

.new-conversation {
  display: block;
  margin-bottom: 16px;
  border: 1px solid rgba(210, 167, 92, 0.45);
  padding: 12px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.conversation-link {
  display: block;
  padding: 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.57);
}

.conversation-link.active {
  border-left: 2px solid var(--cyan);
  background: rgba(82, 200, 239, 0.07);
  color: white;
}

.conversation-link strong,
.conversation-link small {
  display: block;
}

.conversation-link strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-link small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto;
  min-width: 0;
}

.chat-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-heading h3,
.form-heading h3,
.request-history h3 {
  margin: 6px 0 0;
  color: white;
  font-family: var(--font-display), serif;
  font-size: 28px;
  font-weight: 500;
}

.chat-heading > span {
  color: rgba(255, 255, 255, 0.37);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-messages {
  max-height: 650px;
  overflow-y: auto;
  padding: 30px 28px;
}

.chat-empty {
  display: grid;
  min-height: 260px;
  place-content: center;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.chat-empty p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.43);
  line-height: 1.7;
}

.chat-message {
  width: min(82%, 760px);
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 16px 18px;
}

.chat-message.user {
  margin-left: auto;
  border-color: rgba(82, 200, 239, 0.3);
  background: rgba(82, 200, 239, 0.08);
}

.chat-message span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chat-message p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.chat-form {
  display: grid;
  gap: 12px;
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-form label,
.specialist-form label,
.consultation-plan-form label,
.consultation-request-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.chat-form textarea,
.specialist-form input,
.specialist-form textarea,
.specialist-form select,
.consultation-plan-form input,
.consultation-plan-form textarea,
.consultation-plan-form select,
.consultation-request-form input,
.consultation-request-form textarea,
.consultation-request-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: white;
  padding: 12px 13px;
  color-scheme: dark;
}

.chat-form textarea,
.specialist-form textarea,
.consultation-plan-form textarea,
.consultation-request-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.chat-form .button,
.specialist-form .button {
  justify-content: space-between;
  min-height: 54px;
  cursor: pointer;
}

.chat-form button:disabled,
.specialist-form button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.consultation-disclaimer {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 28px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 1.65;
}

.specialist-section {
  margin-top: 70px;
  padding: 0 clamp(22px, 4vw, 42px) clamp(24px, 4vw, 42px);
}

.specialist-section > .consultation-intro {
  margin-top: 0;
  border-top: 0;
}

.consultation-page .plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.13);
}

.consultation-page .plan-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  border: 0;
  background: #081a26;
  padding: 26px;
}

.consultation-page .plan-card h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display), serif;
  font-size: 29px;
  font-weight: 500;
}

.consultation-page .plan-card > p:not(.eyebrow) {
  flex: 1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.7;
}

.consultation-page .plan-card > strong {
  color: white;
  font-size: 24px;
}

.consultation-page .plan-card > a {
  margin-top: 22px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.specialist-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}

.specialist-form .form-heading,
.specialist-form .full-width,
.specialist-form .button {
  grid-column: 1 / -1;
}

.request-history {
  padding: clamp(22px, 4vw, 36px);
}

.request-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.request-list h4 {
  margin: 10px 0 5px;
  color: white;
  font-size: 15px;
}

.request-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.request-state {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 10px;
  text-align: right;
}

.request-state strong {
  color: white;
}

.result-pill.submitted,
.result-pill.awaiting_payment {
  border-color: rgba(242, 206, 131, 0.48);
  background: rgba(210, 167, 92, 0.08);
  color: var(--gold-bright);
}

.result-pill.confirmed,
.result-pill.scheduled {
  border-color: rgba(82, 200, 239, 0.5);
  background: rgba(82, 200, 239, 0.09);
  color: #8cddf6;
}

.result-pill.completed {
  border-color: rgba(61, 216, 157, 0.55);
  background: rgba(61, 216, 157, 0.1);
  color: #6ee5b5;
}

.result-pill.cancelled {
  border-color: rgba(255, 104, 94, 0.5);
  background: rgba(255, 104, 94, 0.09);
  color: #ff9189;
}

.admin-status-stack {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.consultation-admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.consultation-admin-stats article {
  padding: 20px;
}

.consultation-admin-stats article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.consultation-admin-stats span,
.consultation-admin-stats strong {
  display: block;
}

.consultation-admin-stats span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consultation-admin-stats strong {
  margin-top: 8px;
  color: white;
  font-family: var(--font-display), serif;
  font-size: 30px;
  font-weight: 500;
}

.admin-editor {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.admin-editor summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: white;
  cursor: pointer;
  list-style-position: inside;
}

.admin-editor summary > span:first-child {
  display: grid;
  flex: 1;
  gap: 6px;
}

.admin-editor summary small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.admin-editor .admin-form {
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
  padding: 22px;
}

.admin-form .full-width {
  grid-column: 1 / -1;
}

.request-admin-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.28fr);
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 0;
  padding: 20px 22px;
}

.request-admin-context p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.request-admin-context strong {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .consultation-intro,
  .ai-layout,
  .specialist-form,
  .request-admin-context {
    grid-template-columns: 1fr;
  }

  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .consultation-page .plan-grid {
    grid-template-columns: 1fr;
  }

  .consultation-page .plan-card {
    min-height: 250px;
  }

  .specialist-form .form-heading,
  .specialist-form .full-width,
  .specialist-form .button,
  .admin-form .full-width {
    grid-column: auto;
  }
}

@media (max-width: 650px) {
  .ai-mode-tabs,
  .request-list article,
  .consultation-admin-stats {
    grid-template-columns: 1fr;
  }

  .ai-mode-tab + .ai-mode-tab,
  .consultation-admin-stats article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .chat-heading,
  .admin-editor summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-message {
    width: 100%;
  }

  .request-state,
  .admin-status-stack {
    justify-items: start;
    text-align: left;
  }
}

/* RAM INTELL public architecture refresh — 2026-08-12 */
.flow-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.flow-grid .capability-card{min-height:19rem}.trust-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:2.4rem;border:1px solid rgba(123,94,32,.22);background:linear-gradient(120deg,rgba(255,255,255,.96),rgba(247,243,233,.9));box-shadow:0 18px 45px rgba(29,25,16,.08)}.trust-band div{display:flex;min-height:7rem;flex-direction:column;justify-content:center;padding:1.4rem 1.6rem;border-right:1px solid rgba(123,94,32,.16)}.trust-band div:last-child{border-right:0}.trust-band strong{font-size:.76rem;letter-spacing:.14em;color:#7d5a18}.trust-band span{margin-top:.45rem;color:#4f4b42;line-height:1.45}.result-section{position:relative}.result-card{overflow:hidden;border:1px solid rgba(125,92,27,.28);border-radius:2px;background:#10191e;color:#e8edf0;box-shadow:0 28px 70px rgba(9,17,22,.2)}.result-card-head{display:flex;justify-content:space-between;gap:1rem;padding:1.1rem 1.5rem;border-bottom:1px solid rgba(111,215,223,.2);background:linear-gradient(90deg,rgba(153,111,28,.32),rgba(28,96,104,.25));font-size:.76rem;letter-spacing:.14em}.result-card-head strong{color:#85e0e5}.result-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.result-card dl div{min-height:7.4rem;padding:1.45rem 1.5rem;border-right:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}.result-card dt{margin-bottom:.7rem;color:#99aab0;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}.result-card dd{margin:0;color:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1rem;line-height:1.5}.result-note{margin:0;padding:1rem 1.5rem;color:#b7c1c5;font-size:.82rem;line-height:1.55}.audience-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.audience-grid article{min-height:13rem;padding:1.7rem;border:1px solid rgba(125,92,27,.2);background:rgba(255,255,255,.86);box-shadow:0 15px 36px rgba(29,25,16,.06)}.audience-grid h3{margin:0 0 .8rem;color:#191d20;font-size:1.08rem}.audience-grid p{margin:0;color:#625f57;line-height:1.65}.plan-badge{max-width:13rem;text-align:right}.membership-heading p:last-child{max-width:52rem}.ciaro-inner>div{max-width:62rem}.ciaro-inner h2{max-width:58rem}.ciaro-inner p{max-width:59rem}
@media(max-width:1100px){.flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trust-band,.audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.flow-grid,.trust-band,.audience-grid,.result-card dl{grid-template-columns:1fr}.flow-grid .capability-card,.audience-grid article{min-height:auto}.trust-band div{border-right:0;border-bottom:1px solid rgba(123,94,32,.16)}.trust-band div:last-child{border-bottom:0}.result-card dl div{min-height:auto;border-right:0}.result-card-head{flex-direction:column}.plan-badge{text-align:left}}

/* RAM INTELL v1.3 — CIARO CAEL assurance, occurrences and E5X */
.workspace-intro{max-width:760px;margin:16px 0 0;color:rgba(255,255,255,.56);font-size:13px;line-height:1.7}.mono{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.occurrence-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.occurrence-list.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.occurrence-card{display:flex;min-width:0;flex-direction:column;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.13);padding:24px}.occurrence-card-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.occurrence-card h3{margin:24px 0 9px;color:#fff;font-family:var(--font-display),serif;font-size:26px;font-weight:500;line-height:1.1}.occurrence-card>p{color:rgba(255,255,255,.48);font-size:10px}.occurrence-card .certificate-link{margin-top:auto;padding-top:24px}.track-pill{display:inline-flex;padding:7px 9px;border:1px solid rgba(82,200,239,.45);color:#8cddf6;font-size:9px;font-weight:700;letter-spacing:.1em}.track-pill.security{border-color:rgba(210,167,92,.5);color:var(--gold-bright)}.compact-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:16px 0 0}.compact-facts div{min-width:0;border-top:1px solid rgba(255,255,255,.09);padding:12px 10px 12px 0}.compact-facts .wide{grid-column:1/-1}.compact-facts dt,.assurance-metrics dt{color:rgba(255,255,255,.38);font-size:8px;letter-spacing:.09em;text-transform:uppercase}.compact-facts dd{margin:6px 0 0;color:rgba(255,255,255,.76);font-size:11px;line-height:1.5}.assurance-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:1px solid rgba(255,255,255,.1)}.assurance-metrics div{min-width:0;padding:22px;border-right:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}.assurance-metrics dd{margin:10px 0 0;color:#fff;font-family:var(--font-display),serif;font-size:28px;overflow-wrap:anywhere}.assurance-diagnostics{display:flex;gap:16px;margin-top:15px;border-left:2px solid var(--gold);background:rgba(210,167,92,.08);padding:14px;color:#f2dba7;font-size:10px;line-height:1.6}.assurance-records{margin-top:18px}.assurance-records details,.integrity-list details{border-top:1px solid rgba(255,255,255,.11)}.assurance-records summary,.integrity-list summary{display:flex;justify-content:space-between;gap:20px;padding:18px 0;color:#fff;cursor:pointer}.control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-bottom:18px}.control-grid article{min-width:0;border:1px solid rgba(255,255,255,.09);padding:16px}.control-grid article>div{display:flex;justify-content:space-between;gap:12px}.control-grid p{color:rgba(255,255,255,.65);font-size:12px;line-height:1.55}.control-grid small{display:block;color:rgba(255,255,255,.38);font-size:9px}.control-grid code{display:block;margin-top:12px;color:rgba(82,200,239,.58);font-size:8px;overflow-wrap:anywhere}.occurrence-facts a{color:var(--cyan)}.workflow-rail{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;margin:4px 0 32px;padding:0;list-style:none}.workflow-rail li{position:relative;display:grid;gap:9px;justify-items:center;color:rgba(255,255,255,.28);text-align:center}.workflow-rail li:before{content:"";position:absolute;top:13px;right:50%;left:-50%;height:1px;background:rgba(255,255,255,.16)}.workflow-rail li:first-child:before{display:none}.workflow-rail span{position:relative;z-index:1;display:grid;width:27px;height:27px;place-items:center;border:1px solid currentColor;border-radius:50%;background:#071722;font-size:9px}.workflow-rail small{font-size:8px;line-height:1.35;word-break:break-word}.workflow-rail .done,.workflow-rail .current{color:#63dbad}.workflow-rail .current{color:var(--gold-bright)}.workflow-action{display:flex;justify-content:flex-end}.occurrence-decision-form,.submission-form{margin-top:28px;border-top:1px solid rgba(255,255,255,.1);padding-top:24px}.occurrence-decision-form label,.submission-form label{display:grid;gap:8px;color:rgba(255,255,255,.6);font-size:10px}.occurrence-decision-form input,.occurrence-decision-form select,.occurrence-decision-form textarea,.submission-form input{width:100%;min-height:48px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.18);padding:11px 12px;color:#fff;color-scheme:dark}.occurrence-decision-form textarea{min-height:120px;resize:vertical}.occurrence-decision-form .full-width{display:grid;margin-top:16px}.checkbox-row{display:flex;flex-wrap:wrap;gap:24px;margin:17px 0}.checkbox-row label{display:flex;align-items:center}.checkbox-row input,.e5x-approval input{width:16px;min-height:16px;accent-color:var(--gold)}.e5x-approval{display:grid;gap:18px;margin-top:20px}.e5x-approval label{color:rgba(255,255,255,.62);font-size:11px;line-height:1.6}.submission-form .wide{grid-column:1/-1}.integrity-list pre{overflow:auto;margin:0 0 18px;background:rgba(0,0,0,.25);padding:18px;color:rgba(255,255,255,.62);font-size:10px;line-height:1.55}.audit-chain article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:15px;border-top:1px solid rgba(255,255,255,.09);padding:15px 0}.audit-chain article>span{display:grid;width:28px;height:28px;place-items:center;border:1px solid rgba(82,200,239,.4);border-radius:50%;color:var(--cyan);font-size:9px}.audit-chain article div{display:grid;gap:5px}.audit-chain time,.audit-chain small{color:rgba(255,255,255,.36);font-size:9px}.result-pill.detected,.result-pill.triaged,.result-pill.assessed{color:#8cddf6}.result-pill.reportability_decision,.result-pill.validated{color:var(--gold-bright)}.result-pill.approved,.result-pill.follow_up,.result-pill.closed,.result-pill.verified,.result-pill.corroborated{color:#6ee5b5}.result-pill.validation_failed,.result-pill.not_verified{color:#ff9189}
@media(max-width:1000px){.occurrence-list.compact{grid-template-columns:1fr}.workflow-rail{grid-template-columns:repeat(4,1fr);row-gap:18px}.workflow-rail li:nth-child(5):before{display:none}}
@media(max-width:800px){.consultation-header-link{display:none}.occurrence-list,.control-grid,.assurance-metrics{grid-template-columns:1fr}.assurance-metrics div{border-right:0}.workflow-rail{grid-template-columns:repeat(2,1fr)}.workflow-rail li:nth-child(odd):before{display:none}.portal-title-row h1{font-size:clamp(40px,12vw,62px)}.occurrence-card{padding:19px}.workspace-intro{font-size:12px}.workflow-action .button{width:100%}}
@media(max-width:520px){.compact-facts{grid-template-columns:1fr}.compact-facts .wide,.submission-form .wide{grid-column:auto}.assurance-diagnostics{flex-direction:column}.workflow-rail{display:block}.workflow-rail li{grid-template-columns:28px 1fr;justify-items:start;align-items:center;margin:10px 0;text-align:left}.workflow-rail li:before{display:none}.workflow-rail span{grid-row:1}.workflow-rail small{grid-column:2}.checkbox-row{display:grid}.integrity-list summary{align-items:flex-start;flex-direction:column}}
