/* Trescent AI â€” shared styles */
:root {
  --bg: #060a13;
  --bg-deep: rgba(3, 6, 12, 0.6);
  --text: #eef2f8;
  --muted: #aeb9cb;
  --dim: #8fa3bd;
  --dimmer: #9aa7ba;
  --faint: #7d8ba0;
  --faintest: #66748a;
  --blue: #7fb3f5;
  --blue-light: #a8ccf9;
  --green: #3dd2a0;
  --gold: #e3b866;
  --line: rgba(255, 255, 255, 0.07);
  --grad-cta: linear-gradient(135deg, #6ea7f8, #3dd2a0);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .brand { font-family: Sora, sans-serif; }

.page { min-height: 100vh; background: var(--bg); overflow-x: clip; position: relative; }

/* ambient background */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 170, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 220, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 78%);
}
.bg-glow-blue {
  position: absolute; top: -260px; left: 50%; transform: translateX(-58%);
  width: 1100px; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(64, 120, 220, 0.22), transparent 70%);
  filter: blur(20px);
}
.bg-glow-green {
  position: absolute; top: 60px; right: -180px;
  width: 520px; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(38, 160, 120, 0.12), transparent 70%);
  filter: blur(24px);
}

/* nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 10, 19, 0.72);
  border-bottom: 1px solid var(--line);
}
.site-nav {
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: 0.01em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #4f8ff7 0%, #2fbf8f 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: #04121f; font-size: 13px; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links a.btn-primary { font-size: 14px; padding: 9px 18px; }
.nav-links a.btn-primary:hover { color: #04121f; }
.menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text); border-radius: 10px; padding: 8px 14px;
  font-size: 14px; font-family: inherit; cursor: pointer;
}
.mobile-menu { display: none; }

@media (max-width: 759px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .mobile-menu.open {
    display: flex; flex-direction: column; gap: 6px;
    border-top: 1px solid var(--line);
    background: rgba(6, 10, 19, 0.95);
    padding: 14px 24px;
  }
  .mobile-menu a { color: #d7dfeb; padding: 11px 4px; font-size: 16px; }
  .mobile-menu a.btn-primary {
    color: #04121f; text-align: center; margin-top: 6px;
    padding: 12px 18px; font-size: 15px;
  }
}

/* Contact form modal */
body.modal-open {
  overflow: hidden;
}
.contact-trigger {
  font: inherit;
  cursor: pointer;
}
.contact-modal[hidden] {
  display: none;
}
.contact-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(7, 24, 48, 0.7);
  backdrop-filter: blur(14px);
}
.contact-modal-card {
  position: relative;
  width: min(100%, 760px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(80, 121, 190, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(83, 139, 225, 0.14), transparent 34%),
    #f7fbff;
  box-shadow:
    0 42px 100px rgba(5, 24, 49, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(49, 91, 157, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #17375f;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.contact-modal-heading {
  max-width: 600px;
  padding-right: 44px;
}
.contact-modal-heading .eyebrow {
  margin-bottom: 10px;
}
.contact-modal-heading h2 {
  margin: 0 0 12px;
  color: #10294a;
  font-family: Sora, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.contact-modal-heading > p:last-child {
  margin: 0;
  color: #526f90;
  font-size: 16px;
  line-height: 1.65;
}
.contact-form {
  margin-top: 30px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
}
.contact-form label > span {
  color: #25496f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(56, 99, 163, 0.22);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.82);
  color: #10294a;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}
.contact-form textarea {
  min-height: 126px;
  padding: 13px 14px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #416fd4;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(65, 111, 212, 0.12);
}
.contact-form-message {
  margin-top: 18px;
}
.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.contact-form-actions p {
  margin: 0;
  color: #6c83a0;
  font-size: 12.5px;
}

@media (max-width: 620px) {
  .contact-modal {
    place-items: start center;
    padding: 14px;
  }
  .contact-modal-card {
    margin: 14px 0;
    padding: 28px 20px 24px;
    border-radius: 22px;
  }
  .contact-modal-close {
    top: 14px;
    right: 14px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-form-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
}

/* Portfolio horizon */
.vision-portfolio {
  max-width: none;
  padding-top: clamp(76px, 9vw, 126px);
  padding-bottom: clamp(72px, 8vw, 110px);
  text-align: left;
}
.vision-panel {
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(0, 1.14fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(65, 111, 212, 0.15);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 34px 74px rgba(31, 73, 120, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.vision-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(38px, 5vw, 68px);
  background:
    radial-gradient(circle at 18% 15%, rgba(87, 145, 239, 0.36), transparent 34%),
    linear-gradient(150deg, #15365d, #0b213c 72%);
}
.vision-mark::before {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  right: -255px;
  bottom: -245px;
  border: 1px solid rgba(139, 202, 240, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(139, 202, 240, 0.035),
    0 0 0 92px rgba(139, 202, 240, 0.025);
}
.vision-symbols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}
.vision-one,
.vision-infinity {
  font-family: Sora, sans-serif;
  font-size: clamp(74px, 8.2vw, 126px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.08em;
}
.vision-one {
  color: #fff;
}
.vision-infinity {
  color: #ffad3d;
  letter-spacing: -0.03em;
}
.vision-arrow {
  position: relative;
  overflow: hidden;
  color: transparent;
}
.vision-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 202, 240, 0.2), #8bcaf0);
}
.vision-arrow::after {
  content: '';
  position: absolute;
  top: calc(50% - 4px);
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #8bcaf0;
  border-right: 1px solid #8bcaf0;
  transform: rotate(45deg);
}
.vision-mark > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #9ccae6;
  font-family: Sora, sans-serif;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.vision-story {
  padding: clamp(42px, 5.3vw, 76px);
}
.vision-story .eyebrow {
  margin-bottom: 19px;
}
.vision-story h2 {
  max-width: 15ch;
  margin: 0 0 24px;
  color: #10294a;
  font-family: Sora, sans-serif;
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.vision-story h2 span {
  color: #416fd4;
}
.vision-story .lead {
  max-width: 58ch;
  margin: 0 0 34px;
  color: #47627f;
  font-size: 16px;
  line-height: 1.68;
}
.vision-story .lead strong {
  color: #193b61;
  font-weight: 700;
}
.vision-waypoints {
  border-top: 1px solid rgba(65, 111, 212, 0.17);
}
.vision-waypoints article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 19px 0;
}
.vision-waypoints article + article {
  border-top: 1px solid rgba(65, 111, 212, 0.13);
}
.vision-waypoints article > span {
  color: #ff9f2f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.vision-waypoints h3 {
  margin: -3px 0 5px;
  color: #173455;
  font-family: Sora, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.vision-waypoints p {
  max-width: 49ch;
  margin: 0;
  color: #607792;
  font-size: 13.5px;
  line-height: 1.55;
}
.vision-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0 22px;
}
.vision-facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: center;
  min-height: 76px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(65, 111, 212, 0.14);
  color: #43617f;
  font-size: 12.5px;
  line-height: 1.35;
}
.vision-facts li + li {
  border-left: 1px solid rgba(65, 111, 212, 0.1);
}
.vision-facts span {
  color: #416fd4;
  font-family: Sora, sans-serif;
  font-size: 9px;
  font-weight: 700;
}
@media (max-width: 980px) {
  .vision-panel {
    grid-template-columns: 1fr;
  }
  .vision-mark {
    min-height: 300px;
  }
  .vision-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
  }
  .vision-facts li:nth-child(4) {
    border-left: 0;
  }
}
@media (max-width: 620px) {
  .vision-portfolio {
    padding-top: 68px;
    padding-bottom: 72px;
  }
  .vision-panel {
    border-radius: 23px;
  }
  .vision-mark {
    min-height: 245px;
    padding: 32px 27px;
  }
  .vision-symbols {
    gap: 12px;
  }
  .vision-one,
  .vision-infinity {
    font-size: clamp(64px, 23vw, 88px);
  }
  .vision-story {
    padding: 36px 26px 30px;
  }
  .vision-story h2 {
    font-size: clamp(34px, 10.5vw, 43px);
  }
  .vision-waypoints article {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }
  .vision-facts {
    grid-template-columns: 1fr 1fr;
  }
  .vision-facts li,
  .vision-facts li:nth-child(4) {
    min-height: 68px;
    padding: 0 10px;
    border-left: 0;
  }
  .vision-facts li:nth-child(even) {
    border-left: 1px solid rgba(65, 111, 212, 0.1);
  }
  .vision-facts li:last-child {
    grid-column: 1 / -1;
  }
}

/* Editorial company thesis */
.about-editorial {
  position: relative;
  padding-top: clamp(78px, 9vw, 126px);
  padding-bottom: clamp(76px, 9vw, 120px);
}
.about-thesis {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(52px, 8vw, 132px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 78px);
}
.about-thesis .eyebrow {
  margin-bottom: 18px;
}
.about-thesis .section-title {
  margin: 0;
  color: #10294a;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.about-thesis .section-title span {
  position: relative;
  color: #416fd4;
}
.about-thesis .section-title span::after {
  content: '';
  position: absolute;
  left: 0.04em;
  right: 0;
  bottom: -0.11em;
  height: 5px;
  border-radius: 99px;
  background: #ffad3d;
  transform: rotate(-1deg);
  transform-origin: left center;
}
.about-copy {
  position: relative;
  padding: 9px 0 0 clamp(25px, 3vw, 42px);
  border-left: 1px solid rgba(65, 111, 212, 0.24);
}
.about-copy::before {
  content: '';
  position: absolute;
  top: 9px;
  left: -3px;
  width: 5px;
  height: 74px;
  border-radius: 99px;
  background: linear-gradient(#416fd4, #82c6ed);
}
.about-copy > p {
  max-width: 61ch;
  margin: 0;
  color: #47627f;
  font-size: 16px;
  line-height: 1.68;
}
.about-copy .about-lead {
  margin-bottom: 20px;
  color: #173455;
  font-family: Sora, sans-serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 520;
  line-height: 1.38;
  letter-spacing: -0.025em;
}
.about-origin {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px !important;
  color: #416485 !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.about-origin span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffad3d;
  box-shadow: 0 0 0 5px rgba(255, 173, 61, 0.13);
}
.about-model {
  position: relative;
  padding: 8px 0 4px;
  background: transparent;
}
.about-model::after {
  content: none;
}
.about-model-label {
  margin: 0 0 32px;
  color: #416fd4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}
.about-model-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-model-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  height: 1px;
  background: linear-gradient(90deg, #ffad3d 0 14%, rgba(65, 111, 212, 0.34) 30%, rgba(65, 111, 212, 0.12) 100%);
}
.about-model-steps article {
  position: relative;
  min-height: 176px;
  padding: 55px clamp(24px, 3vw, 42px) 0 0;
}
.about-model-steps article + article {
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 1px solid rgba(65, 111, 212, 0.13);
}
.about-step-number {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(65, 111, 212, 0.28);
  border-radius: 50%;
  background: #eef8fc;
  color: #173b68;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 0 0 7px #dff3fb;
}
.about-model-steps article + article .about-step-number {
  left: clamp(24px, 3vw, 42px);
}
.about-model-steps article:first-child .about-step-number {
  border-color: rgba(255, 173, 61, 0.75);
  background: #ffad3d;
  color: #18263a;
}
.about-step-label {
  margin: 0 0 9px;
  color: #416fd4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-model-steps h3 {
  margin: 0 0 10px;
  color: #102e54;
  font-family: Sora, sans-serif;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.about-model-steps article > p:last-child {
  max-width: 31ch;
  margin: 0;
  color: #52708f;
  font-size: 13.5px;
  line-height: 1.6;
}
@media (max-width: 850px) {
  .about-thesis {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-copy {
    max-width: 700px;
  }
}
@media (max-width: 680px) {
  .about-editorial {
    padding-top: 70px;
    padding-bottom: 74px;
  }
  .about-thesis {
    margin-bottom: 40px;
  }
  .about-thesis .section-title {
    font-size: clamp(43px, 13vw, 58px);
  }
  .about-copy {
    padding-left: 22px;
  }
  .about-copy .about-lead {
    font-size: 20px;
  }
  .about-model {
    padding: 4px 0 0;
  }
  .about-model-steps {
    grid-template-columns: 1fr;
  }
  .about-model-steps::before {
    top: 15px;
    bottom: 34px;
    left: 15px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(#ffad3d, rgba(65, 111, 212, 0.34), transparent);
  }
  .about-model-steps article,
  .about-model-steps article + article {
    min-height: 0;
    padding: 4px 0 34px 55px;
    border-left: 0;
  }
  .about-model-steps article:last-child {
    padding-bottom: 0;
  }
  .about-model-steps article + article .about-step-number,
  .about-step-number {
    left: 0;
  }
  .about-model::after {
    display: none;
  }
}

/* buttons */
.btn-primary {
  display: inline-block;
  color: #04121f; background: var(--grad-cta);
  padding: 14px 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600;
  box-shadow: 0 6px 24px rgba(79, 143, 247, 0.35);
}
.btn-primary:hover { filter: brightness(1.08); color: #04121f; }
.btn-secondary {
  display: inline-block;
  color: var(--text); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* sections */
.container { max-width: 1160px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 24px; }
.eyebrow {
  margin: 0 0 14px; font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); font-weight: 600;
}
.eyebrow-green { color: var(--green); }

/* hero */
.hero {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 24px clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 72px); align-items: center;
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-delayed { animation: fadeUp 0.9s ease 0.15s both; }
.hero-badge {
  margin: 0 0 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px; padding: 7px 14px; background: rgba(255, 255, 255, 0.03);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero h1 {
  margin: 0 0 22px; font-weight: 600;
  font-size: clamp(38px, 5.2vw, 62px); line-height: 1.08;
  letter-spacing: -0.02em; text-wrap: balance;
}
.grad-text {
  background: linear-gradient(120deg, #7fb3f5, #3dd2a0 60%, #e3b866);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  margin: 0 0 14px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65;
  color: var(--muted); max-width: 52ch; text-wrap: pretty;
}
.hero-sub {
  margin: 0 0 34px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6;
  color: var(--dim); max-width: 52ch; font-style: italic;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero visual */
.hero-visual { position: relative; min-height: 380px; }
.hv-halo { position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, rgba(79, 143, 247, 0.16), transparent 72%); }
.hv-card {
  position: absolute; top: 6%; left: 8%; right: 16%; bottom: 26%;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(6px); padding: 22px;
  animation: drift 9s ease-in-out infinite;
}
.hv-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.hv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hv-line { height: 8px; width: 96px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.hv-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.hv-bars span { flex: 1; border-radius: 6px 6px 0 0; }
.hv-bar-1 { height: 44%; background: linear-gradient(180deg, rgba(127, 179, 245, 0.8), rgba(127, 179, 245, 0.15)); }
.hv-bar-2 { height: 70%; background: linear-gradient(180deg, rgba(61, 210, 160, 0.85), rgba(61, 210, 160, 0.15)); }
.hv-bar-3 { height: 55%; background: linear-gradient(180deg, rgba(127, 179, 245, 0.6), rgba(127, 179, 245, 0.12)); }
.hv-bar-4 { height: 92%; background: linear-gradient(180deg, rgba(227, 184, 102, 0.85), rgba(227, 184, 102, 0.15)); }
.hv-bar-5 { height: 62%; background: linear-gradient(180deg, rgba(61, 210, 160, 0.6), rgba(61, 210, 160, 0.12)); }
.hv-lines { margin-top: 18px; display: grid; gap: 9px; }
.hv-lines span { height: 7px; border-radius: 4px; }
.hv-lines span:first-child { width: 80%; background: rgba(255, 255, 255, 0.12); }
.hv-lines span:last-child { width: 58%; background: rgba(255, 255, 255, 0.08); }
.hv-board {
  position: absolute; right: 0; bottom: 8%; width: 52%;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 16, 28, 0.85); backdrop-filter: blur(8px);
  padding: 16px 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  animation: drift 11s ease-in-out 0.8s infinite;
}
.hv-board-rows { display: grid; gap: 11px; }
.hv-row { display: flex; align-items: center; gap: 10px; }
.hv-rank {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.hv-rank-1 { background: linear-gradient(135deg, #e3b866, #b8862f); color: #221600; }
.hv-rank-2 { background: rgba(255, 255, 255, 0.14); color: #dfe7f1; }
.hv-rank-3 { background: rgba(255, 255, 255, 0.09); color: var(--muted); }
.hv-row .bar { height: 7px; flex: 1; border-radius: 4px; }
.hv-row .val { height: 7px; border-radius: 4px; }
.hv-row-1 .bar { background: rgba(255, 255, 255, 0.2); }
.hv-row-1 .val { width: 32px; background: rgba(61, 210, 160, 0.7); }
.hv-row-2 .bar { background: rgba(255, 255, 255, 0.14); }
.hv-row-2 .val { width: 26px; background: rgba(127, 179, 245, 0.7); }
.hv-row-3 .bar { background: rgba(255, 255, 255, 0.1); }
.hv-row-3 .val { width: 20px; background: rgba(255, 255, 255, 0.25); }

/* headings + prose */
.section-title {
  margin: 0 0 22px; font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.015em;
}
.prose { max-width: 70ch; color: var(--muted); font-size: clamp(15.5px, 1.5vw, 17.5px); line-height: 1.7; }
.prose p { margin: 0 0 16px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

/* cards */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; margin-top: 44px;
}
.card {
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 18px; padding: 26px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--dimmer); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.card-icon {
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon-blue { background: rgba(127, 179, 245, 0.14); border: 1px solid rgba(127, 179, 245, 0.3); }
.card-icon-blue span { width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--blue); }
.card-icon-green { background: rgba(61, 210, 160, 0.12); border: 1px solid rgba(61, 210, 160, 0.3); }
.card-icon-green span { width: 12px; height: 12px; background: var(--green); border-radius: 3px; transform: rotate(45deg); }
.card-icon-gold { background: rgba(227, 184, 102, 0.12); border: 1px solid rgba(227, 184, 102, 0.32); }
.card-icon-gold span { width: 13px; height: 13px; background: linear-gradient(135deg, #e3b866, #b8862f); border-radius: 3px; }

/* product panel */
.product-panel {
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 28px;
  background: linear-gradient(155deg, rgba(20, 32, 56, 0.75), rgba(8, 13, 24, 0.9));
  overflow: hidden; position: relative;
}
.product-panel-glow {
  position: absolute; top: -160px; right: -120px; width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(79, 143, 247, 0.18), transparent 70%);
  pointer-events: none;
}
.product-panel-inner { padding: clamp(32px, 5vw, 64px); position: relative; }
.product-title {
  margin: 0 0 8px; font-weight: 700;
  font-size: clamp(30px, 4.2vw, 50px); letter-spacing: -0.02em;
  line-height: 1.1; text-wrap: balance;
}
.product-title small {
  display: block; font-size: 0.48em; font-weight: 500;
  color: var(--dim); margin-top: 8px; letter-spacing: 0;
}
.product-copy { max-width: 66ch; margin-top: 22px; }
.chips { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border-radius: 999px; padding: 9px 16px; font-size: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #d7dfeb; }
.chips li.chip-blue { border-color: rgba(127, 179, 245, 0.3); background: rgba(127, 179, 245, 0.08); color: #c9dcf7; }
.chips li.chip-green { border-color: rgba(61, 210, 160, 0.3); background: rgba(61, 210, 160, 0.07); color: #bdeeda; }
.chips li.chip-gold { border-color: rgba(227, 184, 102, 0.32); background: rgba(227, 184, 102, 0.07); color: #f0dcae; }
.product-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 40px; }
.product-tagline { margin: 0; font-family: Sora, sans-serif; color: var(--gold); font-size: 15px; font-weight: 500; }
.product-footnote {
  margin: 28px 0 0; color: var(--faint); font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 20px;
}

/* vision */
.vision { text-align: center; }
.vision h2 { margin: 0 0 20px; font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.015em; text-wrap: balance; }
.vision .lead { margin: 0 auto 18px; max-width: 62ch; color: var(--muted); font-size: clamp(15.5px, 1.5vw, 17.5px); line-height: 1.7; text-wrap: pretty; }
.vision .note { margin: 0; color: var(--faint); font-size: 14.5px; }

/* credibility strip */
.cred-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.cred-strip ul {
  list-style: none; max-width: 1160px; margin: 0 auto; padding: 26px 24px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
}
.cred-strip li { color: var(--dimmer); font-size: 14px; display: flex; align-items: center; gap: 9px; }
.cred-strip .dot { width: 5px; height: 5px; }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.dot-gold { background: var(--gold); }

/* contact */
.contact { text-align: center; }
.contact h2 { margin: 0 0 18px; font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.015em; }
.contact .lead { margin: 0 auto 30px; max-width: 56ch; color: var(--muted); font-size: clamp(15.5px, 1.5vw, 17px); line-height: 1.7; text-wrap: pretty; }
.contact-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 34px; }
.contact-emails { display: flex; flex-direction: column; gap: 6px; color: var(--dim); font-size: 14.5px; }
.contact-emails p { margin: 0; }

/* legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 24px; }
.legal h1 { margin: 0 0 10px; font-weight: 600; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.legal .updated { margin: 0 0 40px; color: var(--faint); font-size: 14px; }
.legal h2 { margin: 40px 0 14px; font-weight: 600; font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }

/* PAIA manual */
.legal-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}
.legal-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad-cta);
  box-shadow: 0 0 14px rgba(61, 210, 160, 0.55);
}
.paia-page {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 24px 92px;
}
.paia-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(127, 179, 245, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(61, 210, 160, 0.12), transparent 30%),
    radial-gradient(circle at 10% 0%, rgba(79, 143, 247, 0.18), transparent 38%),
    rgba(9, 16, 29, 0.88);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}
.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: var(--faint);
  font-size: 13px;
}
.legal-breadcrumb a { color: var(--dim); }
.paia-hero .eyebrow { margin: 0 0 12px; }
.paia-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.paia-hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #c5d1e1;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
  text-wrap: balance;
}
.paia-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}
.paia-meta span {
  min-width: 0;
  padding: 16px 18px;
  background: rgba(7, 13, 24, 0.86);
  color: #e6edf7;
  font-size: 14px;
  font-weight: 600;
}
.paia-meta small {
  display: block;
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.paia-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.legal-print {
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 14px 'Instrument Sans', sans-serif;
  cursor: pointer;
}
.legal-print:hover { color: #fff; }
.paia-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(38px, 5vw, 76px);
  margin-top: 58px;
}
.paia-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding-right: 12px;
}
.paia-sidebar > p {
  margin: 0 0 16px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.paia-sidebar nav {
  display: grid;
  gap: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.paia-sidebar nav a {
  position: relative;
  padding: 7px 0 7px 18px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.25;
}
.paia-sidebar nav a::before {
  content: '';
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: -1px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
}
.paia-sidebar nav a:hover,
.paia-sidebar nav a.active { color: #fff; }
.paia-sidebar nav a.active::before { background: var(--green); }
.paia-sidebar-contact {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(61, 210, 160, 0.16);
  border-radius: 12px;
  background: rgba(61, 210, 160, 0.05);
}
.paia-sidebar-contact span {
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.paia-sidebar-contact a { font-size: 13px; word-break: break-word; }
.paia-sidebar-contact small { color: var(--faint); line-height: 1.35; }
.paia-mobile-toc { display: none; }
.paia-document { min-width: 0; }
.paia-document section {
  scroll-margin-top: 98px;
  padding: 0 0 54px;
  margin: 0 0 54px;
  border-bottom: 1px solid var(--line);
}
.paia-document section:last-child { margin-bottom: 0; }
.paia-document .section-number {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.paia-document h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.paia-document h3 {
  margin: 36px 0 12px;
  color: #f2f5fa;
  font-size: 19px;
  line-height: 1.3;
}
.paia-document p,
.paia-document li,
.paia-document dd {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}
.paia-document p { margin: 0 0 16px; }
.paia-document ul {
  margin: 4px 0 20px;
  padding-left: 22px;
}
.paia-document li { margin-bottom: 9px; }
.legal-note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(127, 179, 245, 0.18);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  background: rgba(127, 179, 245, 0.06);
  color: #cbd7e7;
  font-size: 15px;
  line-height: 1.6;
}
.legal-note-green {
  border-color: rgba(61, 210, 160, 0.18);
  border-left-color: var(--green);
  background: rgba(61, 210, 160, 0.055);
}
.legal-facts {
  overflow: hidden;
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.legal-facts > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.legal-facts > div:last-child { border-bottom: 0; }
.legal-facts dt {
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
}
.legal-facts dd { margin: 0; font-size: 14px; }
.contact-officers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.contact-officers article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.contact-officers span {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-officers h3 { margin: 10px 0 3px; }
.contact-officers p { margin-bottom: 8px; font-size: 14px; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.resource-grid a {
  display: grid;
  gap: 7px;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.resource-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 179, 245, 0.3);
  background: rgba(127, 179, 245, 0.06);
}
.resource-grid span {
  color: var(--faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.resource-grid strong { color: #e9eff8; font-size: 15px; line-height: 1.35; }
.legal-table-wrap {
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.paia-document table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.paia-document th,
.paia-document td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.paia-document tr:last-child td { border-bottom: 0; }
.paia-document th {
  background: rgba(127, 179, 245, 0.07);
  color: #dbe6f4;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.paia-document td {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.paia-document td:first-child {
  color: #dce5f1;
  font-weight: 600;
}
.legislation-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.legislation-list p {
  display: grid;
  grid-template-columns: minmax(190px, 0.68fr) minmax(0, 1fr);
  gap: 28px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.legislation-list strong {
  color: #dce5f2;
  font-size: 14px;
}
.legislation-list span { color: var(--faint); font-size: 14px; line-height: 1.5; }
.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.record-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
}
.record-grid h3 { margin: 0 0 8px; font-size: 16px; }
.record-grid p { margin: 0; color: var(--faint); font-size: 14px; line-height: 1.55; }
.legal-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.legal-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.legal-steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(61, 210, 160, 0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.legal-steps strong { display: block; color: #e5ecf6; }
.legal-steps a { display: inline-block; margin-top: 4px; }
.approval-card {
  display: grid;
  margin-top: 30px;
  padding: 24px;
  border: 1px solid rgba(61, 210, 160, 0.18);
  border-radius: 16px;
  background: rgba(61, 210, 160, 0.05);
}
.approval-card span {
  margin-bottom: 20px;
  color: var(--faint);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.approval-card strong { color: #f1f5fa; font: 600 21px Sora, sans-serif; }
.approval-card p { margin: 3px 0 14px; font-size: 14px; }
.approval-card small { color: var(--faint); }
.paia-document .paia-sources {
  padding-bottom: 0;
  border: 0;
}
.paia-sources h2 { font-size: 23px; }
.paia-sources ul { columns: 2; }
.back-to-top {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(9, 16, 29, 0.88);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

/* PAIA contrast alignment for Trescent's light content theme */
.paia-hero,
.paia-hero h1 {
  color: #f7fbff;
}
.paia-hero .legal-breadcrumb {
  color: #8fa3bd;
}
.paia-hero .legal-breadcrumb a {
  color: #b9c9dc;
}
.paia-hero .legal-print {
  color: #c5d1e1;
}
.paia-sidebar nav a {
  color: #607a9a;
}
.paia-sidebar nav a:hover,
.paia-sidebar nav a.active {
  color: #10294a;
}
.paia-document h3,
.contact-officers h3,
.resource-grid strong,
.record-grid h3,
.legislation-list strong,
.legal-steps strong,
.approval-card strong,
.paia-document td:first-child {
  color: #17375f;
}
.paia-document th {
  color: #17375f;
  background: rgba(65, 111, 212, 0.08);
}
.legal-note {
  color: #355979;
}
.legal-note strong {
  color: #17375f;
}
.paia-mobile-toc summary {
  color: #17375f;
}

@media (max-width: 900px) {
  .paia-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paia-shell { display: block; margin-top: 34px; }
  .paia-sidebar { display: none; }
  .paia-mobile-toc { display: block; margin-bottom: 36px; }
  .paia-mobile-toc details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
  }
  .paia-mobile-toc summary {
    padding: 16px 18px;
    color: #e7edf6;
    font-weight: 600;
    cursor: pointer;
  }
  .paia-mobile-toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 16px;
    padding: 0 18px 18px;
  }
  .paia-mobile-toc a { padding: 6px 0; color: var(--dim); font-size: 14px; }
}

@media (max-width: 620px) {
  .paia-page { padding: 28px 16px 70px; }
  .paia-hero { padding: 24px 20px; border-radius: 20px; }
  .legal-breadcrumb { margin-bottom: 26px; }
  .paia-hero-lead { font-size: 17px; }
  .paia-meta { grid-template-columns: 1fr; }
  .paia-actions { align-items: stretch; }
  .paia-actions .btn-primary,
  .paia-actions .btn-secondary { text-align: center; }
  .legal-print { text-align: center; }
  .paia-mobile-toc nav { grid-template-columns: 1fr; }
  .paia-document section { padding-bottom: 40px; margin-bottom: 40px; }
  .contact-officers,
  .resource-grid,
  .record-grid { grid-template-columns: 1fr; }
  .legal-facts > div,
  .legislation-list p { grid-template-columns: 1fr; gap: 5px; }
  .paia-sources ul { columns: 1; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media print {
  body { background: #fff; color: #111; }
  .bg-grid, .bg-glow-blue, .legal-progress, .site-header, .paia-sidebar,
  .paia-mobile-toc, .paia-actions, .back-to-top, .site-footer { display: none !important; }
  .paia-page { max-width: none; padding: 0; }
  .paia-hero {
    padding: 0 0 24px;
    border: 0;
    border-bottom: 2px solid #17375f;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .legal-breadcrumb, .paia-hero .eyebrow { display: none; }
  .paia-hero h1, .paia-document h2, .paia-document h3,
  .paia-document p, .paia-document li, .paia-document dd,
  .legal-facts dt, .paia-document td, .paia-document th { color: #111; }
  .paia-hero-lead, .paia-meta span, .paia-meta small { color: #333; }
  .paia-meta { border-color: #ccc; background: #ccc; }
  .paia-meta span { background: #fff; }
  .paia-shell { display: block; margin-top: 28px; }
  .paia-document section { break-inside: auto; border-color: #ccc; }
  .contact-officers article, .record-grid article, .legal-facts,
  .legal-table-wrap, .legal-steps li, .legal-note, .approval-card {
    break-inside: avoid;
    border-color: #bbb;
    background: #fff;
  }
  .paia-document th { background: #eee; }
  a { color: #17375f; text-decoration: underline; }
}

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); position: relative; }
.footer-main {
  max-width: 1160px; margin: 0 auto; padding: 40px 24px 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px;
}
.footer-company p:first-child { margin: 0 0 8px; font-family: Sora, sans-serif; font-weight: 600; color: var(--text); font-size: 16px; }
.footer-company p:last-child { margin: 0; color: var(--faint); font-size: 13.5px; line-height: 1.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.footer-nav a { color: var(--dimmer); font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-legal { max-width: 1160px; margin: 0 auto; padding: 0 24px 36px; }
.footer-legal p { margin: 0 0 6px; color: var(--faintest); font-size: 13px; }
.footer-legal p:last-child { margin: 0; }

/* Full-width desktop framing */
@media (min-width: 760px) {
  .site-nav,
  .hero,
  .container,
  .cred-strip ul,
  .footer-main,
  .footer-legal {
    width: 100%;
    max-width: none;
    padding-left: clamp(32px, 5vw, 96px);
    padding-right: clamp(32px, 5vw, 96px);
  }
}

/* Trescent palette refresh: deep teal, misted slate and restrained red */
:root {
  --bg: #183e4b;
  --bg-deep: #123540;
  --text: #eaeaea;
  --muted: #d1dadd;
  --dim: #b9c8cb;
  --dimmer: #c5d0d2;
  --faint: #a9b9bc;
  --faintest: #93a7ab;
  --blue: #8ba0a4;
  --blue-light: #eaeaea;
  --green: #d74a49;
  --gold: #eaeaea;
  --line: rgba(139, 160, 164, 0.24);
  --accent: #d74a49;
  --surface: #1b4552;
  --grad-cta: linear-gradient(135deg, #c94443, #b83635);
}

body {
  background: #183e4b;
  letter-spacing: -0.005em;
}

::selection { background: rgba(215, 74, 73, 0.78); color: #fff; }

.page {
  background:
    radial-gradient(circle at 78% 10%, rgba(215, 74, 73, 0.09), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(139, 160, 164, 0.1), transparent 30%),
    linear-gradient(180deg, #173b48 0%, #183e4b 45%, #153945 100%);
}

.bg-grid {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(139, 160, 164, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 160, 164, 0.075) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.bg-glow-blue {
  top: -340px;
  background: radial-gradient(closest-side, rgba(139, 160, 164, 0.14), transparent 72%);
  filter: blur(38px);
}

.bg-glow-green {
  background: radial-gradient(closest-side, rgba(215, 74, 73, 0.12), transparent 72%);
  filter: blur(42px);
}

.site-header {
  background: rgba(18, 53, 64, 0.88);
  border-bottom-color: rgba(139, 160, 164, 0.2);
  box-shadow: 0 12px 34px rgba(5, 22, 28, 0.2);
}

.site-nav { height: 72px; }

.brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #fff;
  background: #c83f3e;
  box-shadow: 0 8px 24px rgba(215, 74, 73, 0.25);
}

.nav-links a { color: #c7d2d4; font-size: 14px; }
.nav-links a:hover { color: #fff; }

.btn-primary {
  color: #fff;
  background: var(--grad-cta);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 30px rgba(116, 31, 30, 0.24);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(116, 31, 30, 0.3);
}

.nav-links a.btn-primary:hover,
.mobile-menu a.btn-primary { color: #fff; }

.btn-secondary {
  border-color: rgba(234, 234, 234, 0.22);
  background: rgba(234, 234, 234, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn-secondary:hover {
  background: rgba(234, 234, 234, 0.1);
  border-color: rgba(234, 234, 234, 0.32);
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 72px);
  padding-top: clamp(44px, 4vw, 56px);
  padding-bottom: clamp(44px, 4vw, 56px);
}

.hero-badge {
  margin-bottom: 14px;
  color: #dce4e5;
  border-color: rgba(139, 160, 164, 0.34);
  background: rgba(27, 69, 82, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hero h1 {
  margin-bottom: 16px;
  max-width: 12ch;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.grad-text {
  color: #f0f0f0;
  background: none;
  -webkit-text-fill-color: currentColor;
  position: relative;
  white-space: nowrap;
}

.grad-text::after {
  content: '';
  position: absolute;
  left: 0.04em;
  right: 0;
  bottom: -0.08em;
  height: 0.08em;
  border-radius: 999px;
  background: var(--accent);
}

.hero-lead { color: #d1dadd; max-width: 50ch; }
.hero-lead { margin-bottom: 10px; }
.hero-sub { color: #aebfc2; margin-bottom: 24px; }

.hv-halo {
  background: radial-gradient(closest-side, rgba(215, 74, 73, 0.16), transparent 73%);
}

.hv-card,
.hv-board {
  border-color: rgba(139, 160, 164, 0.3);
  background: linear-gradient(155deg, rgba(27, 69, 82, 0.94), rgba(14, 46, 57, 0.96));
  box-shadow: 0 32px 80px rgba(4, 22, 28, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hv-bar-1,
.hv-bar-3,
.hv-bar-5 {
  background: linear-gradient(180deg, rgba(234, 234, 234, 0.72), rgba(234, 234, 234, 0.1));
}

.hv-bar-2 {
  background: linear-gradient(180deg, rgba(139, 160, 164, 0.92), rgba(27, 69, 82, 0.24));
}

.hv-bar-4 {
  background: linear-gradient(180deg, rgba(215, 74, 73, 0.98), rgba(215, 74, 73, 0.18));
  box-shadow: 0 0 28px rgba(215, 74, 73, 0.18);
}

.hv-rank-1 { color: #fff; background: var(--accent); }
.hv-row-1 .val { background: rgba(215, 74, 73, 0.9); }
.hv-row-2 .val { background: rgba(234, 234, 234, 0.55); }
.hv-row-3 .val { background: rgba(142, 151, 154, 0.7); }

.eyebrow,
.eyebrow-green {
  color: #ffa5a4;
  letter-spacing: 0.17em;
}

.section-title,
.product-title,
.vision h2,
.contact h2 { letter-spacing: -0.035em; }

.card {
  border-color: rgba(139, 160, 164, 0.26);
  background: linear-gradient(155deg, rgba(27, 69, 82, 0.86), rgba(18, 53, 64, 0.78));
  box-shadow: 0 22px 56px rgba(5, 24, 31, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 160, 164, 0.44);
  background: linear-gradient(155deg, rgba(31, 79, 93, 0.94), rgba(20, 59, 71, 0.9));
}

.card-icon-blue,
.card-icon-green,
.card-icon-gold {
  background: rgba(215, 74, 73, 0.12);
  border-color: rgba(215, 74, 73, 0.34);
}

.card-icon-blue span { border-color: #e56362; }
.card-icon-green span { background: #d74a49; }
.card-icon-gold span { background: #eaeaea; }

.product-panel {
  border-color: rgba(234, 234, 234, 0.16);
  background: linear-gradient(145deg, rgba(81, 91, 95, 0.92), rgba(55, 59, 60, 0.97));
  box-shadow: 0 38px 90px rgba(25, 27, 27, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.product-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(215, 74, 73, 0.12) 58%, transparent);
}

.product-panel-glow {
  background: radial-gradient(closest-side, rgba(215, 74, 73, 0.16), transparent 72%);
}

.chips li,
.chips li.chip-blue,
.chips li.chip-green,
.chips li.chip-gold {
  color: #dfe1e1;
  border-color: rgba(234, 234, 234, 0.15);
  background: rgba(234, 234, 234, 0.055);
}

.chips li.chip-blue,
.chips li.chip-green {
  color: #ffd1d0;
  border-color: rgba(215, 74, 73, 0.32);
  background: rgba(215, 74, 73, 0.1);
}

.product-tagline { color: #f5c0bf; }

.cred-strip {
  border-color: rgba(139, 160, 164, 0.22);
  background: rgba(18, 53, 64, 0.58);
}

.dot-blue,
.dot-green { background: var(--accent); }
.dot-gold { background: #eaeaea; }

.site-footer { background: rgba(13, 43, 53, 0.82); }

@media (max-width: 759px) {
  .mobile-menu.open { background: rgba(18, 53, 64, 0.98); }
  .hero { min-height: auto; }
  .hero h1 { max-width: 11ch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* PCCD branded product showcase */
.product-panel {
  min-height: 720px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(4, 8, 18, 0.97) 0%, rgba(4, 8, 18, 0.9) 44%, rgba(4, 8, 18, 0.38) 70%, rgba(4, 8, 18, 0.56) 100%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.14), rgba(4, 8, 18, 0.88)),
    url("/dashboard-hero-cinematic.png") center right / cover no-repeat;
  box-shadow:
    0 42px 100px rgba(18, 21, 25, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-panel-glow { display: none; }

.product-panel-inner {
  z-index: 2;
  width: min(60%, 720px);
  padding: clamp(42px, 5vw, 68px);
}

.product-logo {
  display: block;
  width: min(100%, 390px);
  height: auto;
  margin: 18px 0 30px;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.52));
}

.product-panel .product-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-panel .product-copy {
  max-width: 62ch;
  margin-top: 0;
  color: #dce7f3;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.product-panel .chips {
  max-width: 680px;
  margin-top: 28px;
}

.product-panel .chips li,
.product-panel .chips li.chip-blue,
.product-panel .chips li.chip-green,
.product-panel .chips li.chip-gold {
  color: #e9f4ff;
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(3, 10, 24, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(9px);
}

.product-panel .chips li.chip-blue,
.product-panel .chips li.chip-green {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(6, 41, 72, 0.7);
}

.product-panel .product-tagline {
  display: none;
}

.product-panel .product-footnote {
  max-width: 520px;
  color: #aebfd0;
}

.product-dash-rally {
  position: absolute;
  z-index: 2;
  right: 1.5%;
  bottom: 2.5%;
  width: min(45%, 560px);
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.56));
}

@media (max-width: 1050px) and (min-width: 760px) {
  .product-panel-inner { width: 64%; }
  .product-dash-rally { width: 43%; right: -1%; }
}

@media (max-width: 759px) {
  .product-panel {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(4, 8, 18, 0.96) 0%, rgba(4, 8, 18, 0.9) 62%, rgba(4, 8, 18, 0.58) 100%),
      url("/dashboard-hero-cinematic.png") center top / cover no-repeat;
  }

  .product-panel-inner {
    width: 100%;
    padding: 34px 24px clamp(300px, 82vw, 350px);
  }

  .product-logo {
    width: min(100%, 310px);
    margin: 16px 0 26px;
  }

  .product-panel .product-cta { align-items: flex-start; }

  .product-dash-rally {
    right: -7%;
    bottom: 18px;
    width: min(105%, 440px);
  }
}

/* Light identity direction inspired by the Trescent AI wordmark */
:root {
  --bg: #e7f8ff;
  --bg-deep: #d9f1fa;
  --text: #10294a;
  --muted: #465f7d;
  --dim: #607592;
  --dimmer: #526983;
  --faint: #6e8199;
  --faintest: #7f90a5;
  --blue: #416fd4;
  --blue-light: #2859bd;
  --green: #416fd4;
  --gold: #18263a;
  --line: rgba(42, 86, 166, 0.14);
  --accent: #416fd4;
  --surface: #ffffff;
  --grad-cta: linear-gradient(135deg, #4a7be0, #315fc2);
}
body { background: var(--bg); color: var(--text); }
::selection { background: rgba(65, 111, 212, 0.25); color: #10294a; }
.page {
  background:
    radial-gradient(circle at 82% 7%, rgba(255, 255, 255, 0.96), transparent 27%),
    radial-gradient(circle at 12% 23%, rgba(168, 217, 246, 0.28), transparent 30%),
    linear-gradient(180deg, #e7f8ff 0%, #f8fcff 47%, #eef9fd 100%);
}
.bg-grid {
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(65, 111, 212, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 111, 212, 0.065) 1px, transparent 1px);
  background-size: 76px 76px;
}
.bg-glow-blue { top: -330px; background: radial-gradient(closest-side, rgba(108, 169, 235, 0.28), transparent 72%); }
.bg-glow-green { background: radial-gradient(closest-side, rgba(65, 111, 212, 0.13), transparent 72%); }
.site-header {
  background: rgba(231, 248, 255, 0.88);
  border-bottom-color: rgba(42, 86, 166, 0.13);
  box-shadow: 0 12px 36px rgba(34, 77, 126, 0.08);
}
.site-nav { height: 90px; }
.brand { line-height: 0; }
.brand-logo { display: block; width: 205px; height: auto; mix-blend-mode: multiply; }
.nav-links a { color: #435d7c; }
.nav-links a:hover { color: #2859bd; }
.menu-btn { color: #18385e; background: rgba(255, 255, 255, 0.7); border-color: rgba(42, 86, 166, 0.17); }
.btn-primary { color: #fff; border-color: rgba(37, 78, 158, 0.18); box-shadow: 0 13px 30px rgba(49, 95, 194, 0.24); }
.btn-primary:hover, .nav-links a.btn-primary:hover, .mobile-menu a.btn-primary { color: #fff; }
.btn-secondary {
  color: #24466f;
  border-color: rgba(42, 86, 166, 0.2);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(34, 77, 126, 0.08);
}
.btn-secondary:hover { color: #2859bd; background: #fff; border-color: rgba(42, 86, 166, 0.32); }
.hero {
  min-height: calc(100vh - 90px);
  grid-template-columns: minmax(340px, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(26px, 3vw, 56px);
  padding-top: clamp(34px, 4vw, 58px);
  padding-bottom: clamp(42px, 5vw, 72px);
}
.hero-badge {
  color: #3f5f85;
  border-color: rgba(42, 86, 166, 0.18);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 28px rgba(34, 77, 126, 0.07);
}
.dot { background: #416fd4; }
.hero h1 { color: #122e53; max-width: 11ch; font-size: clamp(42px, 5vw, 68px); }
.grad-text { color: #416fd4; -webkit-text-fill-color: currentColor; }
.grad-text::after { background: #8bcaf0; }
.hero-lead { color: #385675; }
.hero-sub { color: #607592; }
.hero-art {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-art-halo {
  position: absolute;
  z-index: -1;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 30%, rgba(170, 219, 247, 0.34) 54%, transparent 72%);
  filter: blur(5px);
}
.hero-art img {
  display: block;
  width: min(112%, 880px);
  max-width: none;
  height: auto;
  transform: translateX(2%);
  filter: drop-shadow(0 34px 30px rgba(23, 64, 119, 0.18));
}
.eyebrow, .eyebrow-green { color: #416fd4; }
.card {
  border-color: rgba(42, 86, 166, 0.13);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 55px rgba(34, 77, 126, 0.09), inset 0 1px 0 #fff;
}
.card:hover { border-color: rgba(42, 86, 166, 0.25); background: #fff; }
.card-icon-blue, .card-icon-green, .card-icon-gold { background: rgba(65, 111, 212, 0.1); border-color: rgba(65, 111, 212, 0.2); }
.card-icon-blue span { border-color: #416fd4; }
.card-icon-green span { background: #416fd4; }
.card-icon-gold span { background: #18263a; }
.cred-strip { border-color: rgba(42, 86, 166, 0.13); background: rgba(217, 241, 250, 0.7); }
.dot-blue, .dot-green { background: #416fd4; }
.dot-gold { background: #18263a; }
.site-footer { border-color: rgba(42, 86, 166, 0.13); background: rgba(217, 241, 250, 0.86); }
.footer-nav a:hover { color: #2859bd; }
.product-panel .eyebrow, .product-panel .eyebrow-green { color: #9fcfff; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 390px; }
}
@media (max-width: 759px) {
  .site-nav { height: 74px; }
  .brand-logo { width: 166px; }
  .mobile-menu.open { background: rgba(231, 248, 255, 0.98); box-shadow: 0 16px 28px rgba(34, 77, 126, 0.1); }
  .mobile-menu a { color: #24466f; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 44px; gap: 18px; }
  .hero h1 { max-width: 10ch; }
  .hero-art { min-height: 300px; margin: -8px -22px 0; }
  .hero-art img { width: min(116%, 690px); transform: none; }
}

.nav-links a.btn-primary { color: #fff; }
/* Cropped identity assets and two-up product portfolio */
:root { --bg: #e1f5fe; --bg-deep: #d7eff9; }
body { background: #e1f5fe; }
.page { background: #e1f5fe; }
.bg-glow-blue, .bg-glow-green { display: none; }
.bg-grid { opacity: 0.3; }
.site-header { background: rgba(225, 245, 254, 0.94); }
.site-nav { height: 70px; }
.brand-logo { width: 158px; height: auto; mix-blend-mode: normal; }
.hero {
  min-height: calc(100vh - 70px);
  grid-template-columns: minmax(340px, 1fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 4vw, 64px);
}
.hero-art { min-height: 390px; overflow: visible; }
.hero-art-halo { display: none; }
.hero-art img {
  width: min(100%, 700px);
  max-width: 100%;
  height: auto;
  transform: translateX(-15%);
  object-fit: contain;
  filter: drop-shadow(0 26px 24px rgba(23, 64, 119, 0.14));
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}
.product-grid .product-panel { min-height: 640px; border-radius: 24px; }
.product-grid .product-panel-inner { width: 100%; padding: 38px 34px 250px; }
.product-grid .product-logo { width: min(100%, 290px); margin: 14px 0 22px; }
.product-grid .product-panel .product-copy { font-size: 15px; line-height: 1.58; }
.product-grid .product-panel .chips { margin-top: 22px; gap: 7px; }
.product-grid .product-panel .chips li { padding: 7px 11px; font-size: 12.5px; }
.product-grid .product-panel .product-cta { margin-top: 24px; }
.product-grid .product-panel .product-footnote { margin-top: 20px; font-size: 12px; }
.product-grid .product-dash-rally { right: -8%; bottom: -1%; width: min(72%, 430px); }
.portfolio-placeholder {
  min-height: 640px;
  border: 1px dashed rgba(65, 111, 212, 0.28);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}
.portfolio-placeholder p { margin: 0; color: #667d98; }
.portfolio-placeholder .eyebrow { margin-bottom: 10px; color: #416fd4; }
@media (max-width: 1050px) {
  .product-grid { grid-template-columns: 1fr; }
  .portfolio-placeholder { min-height: 360px; }
}
@media (max-width: 759px) {
  .site-nav { height: 62px; }
  .brand-logo { width: 132px; }
  .hero { padding-top: 38px; }
  .hero-art { min-height: 250px; margin: 0; padding: 10px 4px 0; }
  .hero-art img { width: min(88vw, 340px); max-width: 100%; }
  .product-grid .product-panel { min-height: auto; }
  .product-grid .product-panel-inner { padding: 34px 24px 300px; }
  .product-grid .product-dash-rally { width: min(102%, 410px); }
  .portfolio-placeholder { min-height: 280px; }
}

/* Keep the cropped hero artwork in-flow on compact screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { margin-left: 0; margin-right: 0; }
}
/* Compact portfolio card correction */
@media (min-width: 1051px) {
  .product-grid .product-panel,
  .portfolio-placeholder {
    height: 640px;
    min-height: 640px;
  }
  .product-grid .product-panel-inner { padding: 28px 28px 142px; }
  .product-grid .product-logo { width: min(100%, 245px); margin: 8px 0 14px; }
  .product-grid .product-panel .product-copy { font-size: 13.5px; line-height: 1.46; }
  .product-grid .product-panel .product-copy p { margin-bottom: 10px; }
  .product-grid .product-panel .chips { margin-top: 14px; gap: 6px; }
  .product-grid .product-panel .chips li { padding: 6px 9px; font-size: 11.5px; }
  .product-grid .product-panel .product-cta { margin-top: 16px; }
  .product-grid .product-panel .product-cta .btn-primary { padding: 11px 18px; font-size: 13.5px; }
  .product-grid .product-panel .product-footnote { margin-top: 14px; padding-top: 12px; font-size: 10.5px; }
  .product-grid .product-dash-rally { right: 1%; bottom: 2%; width: min(58%, 330px); }
}
/* Premium product editorial treatment */
.product-grid .product-panel-inner {
  height: 100%;
  padding: 34px 32px 112px;
}
.product-grid .product-panel .eyebrow {
  margin-bottom: 14px;
  color: #8fd3ff;
  font-size: 10.5px;
  letter-spacing: 0.2em;
}
.product-grid .product-logo {
  width: min(100%, 320px);
  margin: 0 0 22px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.38));
}
.product-promise {
  max-width: 16ch;
  margin: 0 0 14px;
  color: #f7fbff;
  font-family: Sora, sans-serif;
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.5);
}
.product-grid .product-panel .product-copy {
  max-width: 47ch;
  margin: 0;
  color: #c9d9e8;
  font-size: 13.5px;
  line-height: 1.58;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.72);
}
.product-grid .product-panel .product-copy p { margin: 0; }
.product-grid .product-panel .chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 450px);
  margin: 22px 0 0;
  gap: 0 18px;
}
.product-grid .product-panel .chips li,
.product-grid .product-panel .chips li.chip-blue,
.product-grid .product-panel .chips li.chip-green,
.product-grid .product-panel .chips li.chip-gold {
  position: relative;
  padding: 10px 0 10px 15px;
  border: 0;
  border-top: 1px solid rgba(148, 191, 224, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #deebf5;
  font-size: 11.5px;
  line-height: 1.3;
  backdrop-filter: none;
}
.product-grid .product-panel .chips li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #53b9ff;
  box-shadow: 0 0 12px rgba(83, 185, 255, 0.65);
}
.product-grid .product-panel .product-cta { margin-top: 22px; }
.product-grid .product-panel .product-cta .btn-primary {
  padding: 11px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #46ce88, #15995b);
  border-color: rgba(156, 244, 195, 0.35);
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(20, 140, 80, 0.34);
}
.product-grid .product-panel .product-cta .btn-primary::after {
  content: ' ↗';
  margin-left: 4px;
}
.product-grid .product-panel .product-footnote {
  position: absolute;
  left: 32px;
  bottom: 24px;
  width: min(45%, 235px);
  margin: 0;
  padding: 0;
  border: 0;
  color: #71859a;
  font-size: 10px;
  line-height: 1.45;
}
@media (max-width: 1050px) {
  .product-grid .product-panel-inner { padding: 38px 34px 300px; }
  .product-promise { max-width: 18ch; font-size: clamp(25px, 4vw, 34px); }
  .product-grid .product-panel .product-copy { max-width: 54ch; font-size: 14.5px; }
  .product-grid .product-panel .product-footnote { left: 34px; bottom: 24px; }
}
@media (max-width: 759px) {
  .product-grid .product-panel-inner { padding: 32px 24px 300px; }
  .product-grid .product-logo { width: min(100%, 230px); }
  .product-promise { font-size: 25px; }
  .product-grid .product-panel .chips { grid-template-columns: 1fr; }
  .product-grid .product-panel .product-footnote { left: 24px; bottom: 20px; width: 50%; }
}
/* Floating Performance frame */
.product-grid .product-panel {
  transform: translateY(-8px);
  box-shadow:
    0 46px 72px -18px rgba(9, 34, 65, 0.56),
    0 22px 34px -12px rgba(9, 34, 65, 0.42),
    0 8px 14px -6px rgba(9, 34, 65, 0.34),
    0 0 0 1px rgba(21, 75, 130, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
@media (max-width: 759px) {
  .product-grid .product-panel {
    transform: translateY(-3px);
    box-shadow:
      0 28px 60px rgba(24, 54, 88, 0.2),
      0 10px 24px rgba(15, 40, 70, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}
/* Premium Products section transition */
@media (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  }
  .hero h1 { max-width: none; }
  .hero-final-line {
    display: block;
    white-space: nowrap;
  }
}
#product {
  position: relative;
  isolation: isolate;
  padding-top: clamp(72px, 8vw, 108px);
}
#product::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(225, 245, 254, 0.12) 42%, rgba(255, 255, 255, 0.3));
  border-top: 1px solid rgba(65, 111, 212, 0.14);
  border-bottom: 1px solid rgba(65, 111, 212, 0.1);
}
.product-section-header {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 62px);
  padding: clamp(44px, 6vw, 76px) 0;
}
.product-section-header::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 42%),
    #416fd4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(8, 40, 107, 0.25),
    0 20px 44px rgba(32, 75, 163, 0.18);
}
.product-section-index {
  margin: 0 0 7px;
  color: #416fd4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.product-section-header h2 {
  max-width: 14ch;
  margin: 0 0 12px;
  color: #fff;
  font-family: Sora, sans-serif;
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3),
    0 3px 0 rgba(25, 64, 149, 0.72),
    0 8px 20px rgba(16, 49, 119, 0.38);
}
.product-section-header h2 span {
  color: #ffad3d;
  text-shadow:
    0 1px 0 rgba(255, 237, 194, 0.55),
    0 3px 0 rgba(154, 77, 0, 0.55),
    0 8px 20px rgba(92, 48, 0, 0.28);
}
.product-section-header > div > p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  text-shadow: 0 2px 8px rgba(20, 51, 119, 0.3);
}
@media (max-width: 759px) {
  .hero-final-line {
    display: block;
    white-space: normal;
  }
  #product { padding-top: 64px; }
  .product-section-header {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
    padding: 38px 0;
  }
  .product-section-header h2 {
    max-width: 11ch;
    font-size: 36px;
  }
}

/* Compact split product showcase */
.portfolio-placeholder[hidden] {
  display: none !important;
}
.product-section-header {
  padding: clamp(34px, 4.5vw, 56px) 0;
}
.product-section-header h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(36px, 4.4vw, 60px);
  white-space: nowrap;
  text-wrap: nowrap;
}
.product-grid {
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.45fr);
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
}
.product-grid .product-panel {
  order: 2;
  height: 460px;
  min-height: 460px;
  border-radius: 26px;
  transform: none;
}
.product-grid .product-panel-inner {
  width: 100%;
  height: 100%;
  padding: 28px 34px 70px;
}
.product-grid .product-logo {
  width: min(100%, 320px);
  margin: 0 0 13px;
}
.product-promise {
  max-width: 22ch;
  margin-bottom: 10px;
  font-size: clamp(23px, 2vw, 29px);
}
.product-grid .product-panel .product-copy {
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.48;
}
.product-grid .product-panel .chips {
  width: min(100%, 500px);
  margin-top: 13px;
  gap: 0 20px;
}
.product-grid .product-panel .chips li,
.product-grid .product-panel .chips li.chip-blue,
.product-grid .product-panel .chips li.chip-green,
.product-grid .product-panel .chips li.chip-gold {
  padding: 8px 0 8px 15px;
}
.product-grid .product-panel .product-cta {
  margin-top: 14px;
}
.product-grid .product-panel .product-footnote {
  bottom: 17px;
}
.product-art-stage {
  order: 1;
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.product-art-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 125, 216, 0.2), rgba(139, 202, 240, 0.09) 40%, transparent 70%);
  filter: blur(8px);
}
.product-grid .product-dash-rally {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(116%, 475px);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 30px 24px rgba(32, 65, 112, 0.2));
}
@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid .product-panel {
    height: auto;
    min-height: 500px;
  }
  .product-grid .product-panel-inner {
    padding: 36px 34px 76px;
  }
  .product-art-stage {
    min-height: 340px;
    margin-top: -24px;
  }
  .product-grid .product-dash-rally {
    width: min(84vw, 480px);
  }
}
@media (max-width: 759px) {
  .product-section-header h2 {
    font-size: clamp(30px, 9.2vw, 38px);
    white-space: normal;
    text-wrap: balance;
  }
  .product-grid .product-panel {
    min-height: 610px;
  }
  .product-grid .product-panel-inner {
    padding: 30px 24px 82px;
  }
  .product-grid .product-logo {
    width: min(100%, 275px);
  }
  .product-art-stage {
    min-height: 300px;
    margin-top: -38px;
  }
}

/* Keep the portfolio story editorial, not center-aligned by legacy vision styles */
.vision-portfolio,
.vision-portfolio .vision-story {
  text-align: left;
}
.vision-portfolio .vision-story .lead {
  margin: 0 0 34px;
}

/* Open horizon transition — remove the card-on-card treatment */
#product {
  padding-bottom: clamp(34px, 4vw, 58px);
}
.vision-portfolio {
  position: relative;
  padding-top: clamp(42px, 5vw, 72px);
}
.vision-portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(32px, 5vw, 96px);
  right: clamp(32px, 5vw, 96px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(65, 111, 212, 0.38) 18%, rgba(65, 111, 212, 0.18) 74%, transparent);
}
.vision-portfolio::after {
  content: 'PRODUCT 01  /  THE HORIZON';
  position: absolute;
  top: -6px;
  left: clamp(52px, 8vw, 150px);
  padding: 0 12px;
  background: #e1f5fe;
  color: #5274a2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.vision-panel {
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: center;
}
.vision-mark {
  min-height: 390px;
  padding: clamp(24px, 3vw, 46px) clamp(38px, 5vw, 76px) clamp(24px, 3vw, 46px) 0;
  border-right: 1px solid rgba(65, 111, 212, 0.17);
  background: transparent;
}
.vision-mark::before {
  width: 350px;
  height: 350px;
  right: 8%;
  bottom: -61%;
  border-color: rgba(65, 111, 212, 0.12);
  box-shadow:
    0 0 0 38px rgba(65, 111, 212, 0.025),
    0 0 0 82px rgba(65, 111, 212, 0.018);
}
.vision-one {
  color: #10294a;
  text-shadow: 0 12px 30px rgba(37, 78, 128, 0.08);
}
.vision-infinity {
  color: #ff9f2f;
  text-shadow: 0 10px 24px rgba(255, 159, 47, 0.12);
}
.vision-arrow::before {
  background: linear-gradient(90deg, rgba(65, 111, 212, 0.12), #6ca7dc);
}
.vision-arrow::after {
  border-color: #6ca7dc;
}
.vision-mark > p {
  color: #456685;
}
.vision-story {
  padding: clamp(28px, 4vw, 58px) 0 clamp(28px, 4vw, 58px) clamp(52px, 7vw, 118px);
}
.vision-facts {
  margin-top: 18px;
  padding: 0;
  border-top: 1px solid rgba(65, 111, 212, 0.13);
}
.vision-facts li {
  min-height: 68px;
}
@media (max-width: 980px) {
  .vision-panel {
    grid-template-columns: 1fr;
  }
  .vision-mark {
    min-height: 245px;
    padding: 24px 0 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(65, 111, 212, 0.15);
  }
  .vision-story {
    padding: 46px 0 28px;
  }
}
@media (max-width: 620px) {
  #product {
    padding-bottom: 30px;
  }
  .vision-portfolio {
    padding-top: 46px;
  }
  .vision-portfolio::before {
    left: 24px;
    right: 24px;
  }
  .vision-portfolio::after {
    left: 34px;
    font-size: 8px;
  }
  .vision-mark {
    min-height: 210px;
    padding: 16px 0 26px;
  }
  .vision-story {
    padding: 38px 0 22px;
  }
  .vision-facts {
    margin-top: 12px;
  }
}

/* Product title ribbon — compact, directional and intentionally off-canvas */
.product-section-header {
  width: fit-content;
  max-width: calc(100% - 18px);
  padding: clamp(28px, 3.8vw, 46px) clamp(42px, 5vw, 72px) clamp(28px, 3.8vw, 46px) 0;
}
.product-section-header::before {
  inset: 0 0 0 calc(50% - 50vw);
  border-radius: 0 999px 999px 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.12), transparent 44%),
    linear-gradient(90deg, #416fd4 0%, #526fd2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(25, 61, 143, 0.22),
    0 18px 38px rgba(46, 78, 157, 0.16);
}
.product-section-header h2 {
  position: relative;
  z-index: 1;
}

/* The product journey is conceptual, not numbered */
.vision-portfolio::after {
  content: 'THE PRODUCT HORIZON';
}
.vision-one {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(88px, 9.5vw, 144px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.04em;
}

@media (max-width: 759px) {
  .product-section-header {
    width: calc(100% - 18px);
    max-width: none;
    padding: 28px 34px 28px 0;
  }
  .product-section-header h2 {
    max-width: 10ch;
  }
}

/* Refined product handoff — less campaign-like, more product-led */
.product-section-header {
  padding-top: clamp(20px, 2.6vw, 30px);
  padding-right: clamp(30px, 3.2vw, 46px);
  padding-bottom: clamp(20px, 2.6vw, 30px);
}
.product-section-header h2 {
  font-size: clamp(34px, 3.9vw, 54px);
}
.product-section-header h2 span {
  color: #fff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3),
    0 3px 0 rgba(25, 64, 149, 0.72),
    0 8px 20px rgba(16, 49, 119, 0.38);
}

.product-grid .product-panel {
  background:
    linear-gradient(90deg, rgba(2, 8, 19, 0.99) 0%, rgba(2, 8, 19, 0.94) 44%, rgba(2, 8, 19, 0.44) 73%, rgba(2, 8, 19, 0.5) 100%),
    linear-gradient(180deg, rgba(4, 8, 18, 0.08), rgba(4, 8, 18, 0.78)),
    url("/dashboard-hero-cinematic.png") center right / cover no-repeat;
}
.product-grid .product-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(83, 185, 255, 0.08), transparent 24%),
    linear-gradient(90deg, transparent 66%, rgba(255, 173, 61, 0.035));
}
.product-grid .product-panel-inner {
  z-index: 2;
  width: min(68%, 760px);
  padding: 24px 34px 68px;
}
.product-grid .product-logo {
  width: min(100%, 590px);
  margin: -3px 0 18px;
  filter:
    drop-shadow(0 18px 32px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 18px rgba(41, 151, 255, 0.08));
}
.product-grid .product-promise {
  max-width: 20ch;
  margin-bottom: 12px;
  font-size: clamp(25px, 2.1vw, 31px);
  line-height: 1.04;
}
.product-grid .product-panel .product-copy {
  max-width: 52ch;
  color: #cbd9e8;
  font-size: 13.5px;
  line-height: 1.55;
}
.product-grid .product-panel .chips {
  width: min(100%, 540px);
  margin-top: 16px;
  gap: 2px 22px;
}
.product-grid .product-panel .chips li,
.product-grid .product-panel .chips li.chip-blue,
.product-grid .product-panel .chips li.chip-green,
.product-grid .product-panel .chips li.chip-gold {
  color: #dbe8f5;
  border-color: rgba(110, 165, 210, 0.22);
}
.product-grid .product-panel .product-cta {
  margin-top: 17px;
}

@media (max-width: 1050px) {
  .product-grid .product-panel-inner {
    width: min(76%, 720px);
  }
  .product-grid .product-logo {
    width: min(100%, 520px);
  }
}

@media (max-width: 759px) {
  .product-section-header {
    padding-top: 22px;
    padding-right: 28px;
    padding-bottom: 22px;
  }
  .product-section-header h2 {
    font-size: clamp(29px, 8.6vw, 35px);
  }
  .product-grid .product-panel-inner {
    width: 100%;
    padding: 27px 24px 82px;
  }
  .product-grid .product-logo {
    width: min(100%, 400px);
    margin-bottom: 20px;
  }
}

/* Product description and capability accents */
.product-grid .product-panel .product-copy {
  max-width: 50ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
}
.product-grid .product-panel .chips li {
  font-weight: 600;
}
.product-grid .product-panel .chips li:nth-child(1) {
  color: #65c8ff;
  border-color: rgba(101, 200, 255, 0.3);
}
.product-grid .product-panel .chips li:nth-child(2) {
  color: #72e6ae;
  border-color: rgba(114, 230, 174, 0.3);
}
.product-grid .product-panel .chips li:nth-child(3) {
  color: #ffc766;
  border-color: rgba(255, 199, 102, 0.3);
}
.product-grid .product-panel .chips li:nth-child(4) {
  color: #c7a7ff;
  border-color: rgba(199, 167, 255, 0.3);
}
.product-grid .product-panel .chips li::before {
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

/* Open product-section heading — continue the page rhythm with an editorial rule */
#product {
  padding-top: clamp(52px, 6vw, 82px);
}
.product-section-header {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  margin-bottom: clamp(36px, 4.5vw, 54px);
  padding: 0;
}
.product-section-header::before {
  content: none;
  display: none;
}
.product-section-header::after {
  content: '';
  flex: 1 1 auto;
  min-width: 50px;
  height: 1px;
  background: linear-gradient(90deg, rgba(65, 111, 212, 0.52), rgba(65, 111, 212, 0.08));
}
.product-section-header > div {
  flex: 0 1 auto;
}
.product-section-header h2,
.product-section-header h2 span {
  color: #10294a;
  text-shadow: none;
}
.product-section-header h2 {
  margin: 0;
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.02;
  white-space: nowrap;
  text-wrap: nowrap;
}

@media (max-width: 759px) {
  #product {
    padding-top: 48px;
  }
  .product-section-header {
    gap: 16px;
    margin-bottom: 34px;
  }
  .product-section-header h2 {
    max-width: 10ch;
    font-size: clamp(29px, 8.6vw, 35px);
    white-space: normal;
    text-wrap: balance;
  }
}
