:root {
  --page-bg: #f5f1ec;
  --surface: rgba(255, 255, 255, 0.82);
  --ink: #11202b;
  --ink-soft: #495765;
  --red: #c8102e;
  --red-deep: #a20d25;
  --line: rgba(17, 32, 43, 0.12);
  --shadow: 0 24px 60px rgba(10, 36, 51, 0.16);
  --radius-xl: 28px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(200, 16, 46, 0.14), transparent 30%),
    radial-gradient(circle at top left, rgba(10, 36, 51, 0.15), transparent 32%),
    linear-gradient(180deg, #fcfaf8 0%, var(--page-bg) 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, iframe { font: inherit; }
button { cursor: pointer; border: 0; }
.page-shell { padding: 24px; }
.container { max-width: var(--max-width); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  max-width: var(--max-width);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(8, 26, 37, 0.84);
  box-shadow: 0 20px 48px rgba(8, 26, 37, 0.26);
  backdrop-filter: blur(16px);
}
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-lockup img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(200, 16, 46, 0.28);
}
.brand-title { color: #fff; font-size: 1rem; font-weight: 800; line-height: 1.1; }
.brand-subtitle { color: rgba(255, 255, 255, 0.68); font-size: 0.82rem; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link,
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  transition: 0.2s ease;
}
.nav-link:hover,
.nav-link.is-active,
.nav-dropdown:hover > button,
.nav-dropdown > button:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(17, 32, 43, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(10, 36, 51, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active { background: rgba(10, 36, 51, 0.06); }
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(8, 26, 37, 0.96), rgba(10, 36, 51, 0.82));
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  z-index: -1;
}
.hero::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -60px;
  background: rgba(200, 16, 46, 0.28);
}
.hero::after {
  width: 280px;
  height: 280px;
  bottom: -130px;
  left: -60px;
  background: rgba(255, 255, 255, 0.1);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: end;
}
.eyebrow,
.tag,
.persona-role,
.resource-label,
.case-study span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
}
.hero h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero-actions,
.pill-row,
.persona-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.button-primary,
.button-secondary,
.tile-action,
.persona-actions a,
.persona-actions button,
.resource-tile a,
.case-study a,
.modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.button-primary,
.tile-action,
.persona-actions a,
.resource-tile a,
.case-study a,
.modal-link {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 16px 34px rgba(200, 16, 46, 0.22);
}
.button-secondary,
.persona-actions button { color: var(--ink); background: rgba(255, 255, 255, 0.88); }
.button-primary:hover,
.button-secondary:hover,
.tile-action:hover,
.persona-actions a:hover,
.persona-actions button:hover,
.resource-tile a:hover,
.case-study a:hover,
.modal-link:hover { transform: translateY(-2px); }
.hero-card,
.panel,
.persona-card,
.resource-tile,
.case-study,
.footer-card,
.quick-link,
.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(10, 36, 51, 0.08);
  backdrop-filter: blur(16px);
}
.hero-card {
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.14);
}
.section { margin-top: 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  letter-spacing: -0.04em;
}
.section-heading p,
.meta { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.65; }
.card-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.panel,
.quick-link,
.metric-card { padding: 24px; }
.product-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(8, 26, 37, 0.24), rgba(8, 26, 37, 0.75)),
    var(--card-image, linear-gradient(135deg, #0a2433, #c8102e));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.product-card h3 { margin: 16px 0 10px; font-size: 1.8rem; letter-spacing: -0.03em; }
.product-card p { max-width: 32ch; margin: 0; color: rgba(255, 255, 255, 0.8); line-height: 1.65; }
.product-card .tile-action { align-self: flex-start; }
.tag { background: rgba(255, 255, 255, 0.14); color: #fff; }
.quick-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quick-link strong,
.resource-tile h3,
.persona-card h3,
.case-study h3,
.panel strong { display: block; margin: 0 0 8px; font-size: 1.2rem; }
.metric-grid,
.resource-grid,
.persona-grid,
.case-grid { display: grid; gap: 18px; }
.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.persona-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-card {
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 36, 51, 0.9), rgba(10, 36, 51, 0.74));
  border-color: rgba(255, 255, 255, 0.08);
}
.metric-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.05em; }
.metric-card p { color: rgba(255, 255, 255, 0.72); }
.persona-card { overflow: hidden; padding: 14px; }
.persona-card img { aspect-ratio: 1 / 1; width: 85%; margin: 0 auto; object-fit: cover; border-radius: 22px; display: block; }
.persona-copy { padding-top: 14px; }
.persona-role,
.resource-label,
.case-study span { background: rgba(10, 36, 51, 0.06); color: var(--ink-soft); }
.persona-actions > * { flex: 1 1 0; }
.persona-actions > * { min-width: 0; }
.itrent-page .persona-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.itrent-page .persona-card { display: flex; flex-direction: column; height: 100%; }
.itrent-page .persona-copy { display: flex; flex: 1; flex-direction: column; }
.itrent-page .persona-role { align-self: flex-start; margin-bottom: 12px; line-height: 1.1; }
.itrent-page .persona-actions { margin-top: auto; gap: 10px; }
.itrent-page .persona-actions > * { min-height: 44px; padding: 10px 12px; font-size: 0.84rem; white-space: nowrap; }
.itrent-page .modal { padding: 8px; }
.itrent-page .modal-dialog { width: min(1600px, calc(100vw - 16px)); max-height: calc(100vh - 16px); }
.itrent-page .modal-body { max-height: calc(100vh - 16px); }
.itrent-page .embed-frame { height: min(82vh, 900px); }
.itrent-page .modal-close::before { content: "\00d7"; display: block; font-size: 1.55rem; line-height: 1; font-weight: 500; }
.resource-tile,
.case-study { overflow: hidden; }
.resource-tile img,
.case-study img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.resource-copy,
.case-copy { padding: 16px; }

.persona-actions button {
  background: #e9edf1;
}

.persona-actions button:hover {
  background: #dfe5ea;
}
.footer-card {
  margin-top: 30px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(8, 26, 37, 0.96), rgba(10, 36, 51, 0.84));
  color: #fff;
}
.footer-card img { width: 60px; height: 60px; border-radius: 18px; }
.footer-address { color: rgba(255, 255, 255, 0.7); line-height: 1.7; }
.footer-end { color: rgba(255, 255, 255, 0.56); font-size: 0.92rem; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 26, 37, 0.72);
  backdrop-filter: blur(8px);
}
.modal.is-open { display: flex; }
.modal-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}
.modal-dialog.is-wide { width: min(1320px, 100%); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 26, 37, 0.86);
  z-index: 2;
}
.modal-body { max-height: calc(100vh - 48px); overflow: auto; }
.modal-copy { padding: 30px; }
.modal-copy h2 { margin: 0 0 14px; font-size: 2rem; letter-spacing: -0.04em; }
.modal-copy p { margin: 0 0 14px; color: var(--ink-soft); line-height: 1.75; }
.embed-frame { width: 100%; height: min(72vh, 760px); border: 0; display: block; background: #f1f4f7; }
.split-modal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.accent-people-first { --page-bg: #f7edf3; }
.accent-people-first .hero::before { background: rgba(225, 23, 114, 0.3); }
.accent-people-first .button-primary,
.accent-people-first .resource-tile a,
.accent-people-first .case-study a,
.accent-people-first .modal-link {
  background: linear-gradient(135deg, #e11772, #b91561);
  box-shadow: 0 16px 34px rgba(225, 23, 114, 0.22);
}

.pf-filter-section {
  margin-top: 22px;
}

.pf-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(17, 32, 43, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(10, 36, 51, 0.06);
}

.pf-filter-label {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.pf-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-filter-pill {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(17, 32, 43, 0.1);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  transition: 0.18s ease;
}

.pf-filter-pill:hover,
.pf-filter-pill.is-active {
  color: #fff;
  border-color: #e11772;
  background: linear-gradient(135deg, #e11772, #b91561);
  box-shadow: 0 8px 18px rgba(225, 23, 114, 0.18);
}

.pf-environment-heading {
  align-items: center;
  margin-bottom: 16px;
}

.pf-environment-heading h2 {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.pf-environment-total {
  padding: 8px 12px;
  border-radius: 999px;
  color: #9d1859;
  background: rgba(225, 23, 114, 0.1);
  font-size: 0.8rem;
  font-weight: 800;
}

.pf-owner-grid {
  position: relative;
  display: block;
  column-gap: 12px;
  row-gap: 12px;
}

.pf-owner-card {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(17, 32, 43, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(10, 36, 51, 0.08);
}

.pf-owner-header {
  display: block;
  margin-bottom: 18px;
}

.pf-owner-header h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1.08rem;
}

.pf-owner-header div > span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.pf-environment-links {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.pf-environment-links a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(225, 23, 114, 0.16);
  border-radius: 13px;
  color: #a91459;
  background: #fff7fb;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  transition: 0.18s ease;
}

.pf-environment-links a:hover {
  color: #fff;
  border-color: #e11772;
  background: linear-gradient(135deg, #e11772, #b91561);
  transform: translateY(-1px);
}

.pf-owner-card.is-filtered-out {
  display: none;
}
@media (max-width: 1080px) {
  .hero { padding: 44px 28px; }
  .hero-grid, .split-modal, .resource-grid, .case-grid, .metric-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6, .span-7 { grid-column: span 12; }
}
@media (max-width: 820px) {
  .page-shell { padding: 16px; }
  .topbar { top: 10px; flex-wrap: wrap; border-radius: 28px; padding: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }
  .topbar.is-open .nav-links { display: flex; }
  .nav-link, .nav-dropdown > button { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 8px;
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .hero { padding: 32px 22px; border-radius: 28px; }
  .persona-grid, .card-grid, .resource-grid, .case-grid { grid-template-columns: 1fr; }
  .pf-filter-bar { align-items: flex-start; flex-direction: column; }
  .footer-card { flex-direction: column; align-items: flex-start; }
  .modal { padding: 12px; }
  .embed-frame { height: 68vh; }
}
@media (max-width: 1080px) {
  .itrent-page .persona-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .itrent-page .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .itrent-page .persona-grid { gap: 14px; }
  .itrent-page .persona-grid { grid-template-columns: 1fr; }
  .itrent-page .persona-card { width: min(100%, 360px); margin: 0 auto; padding: 12px; }
  .itrent-page .persona-card img { width: 82%; border-radius: 18px; }
  .itrent-page .persona-actions { gap: 8px; }
  .itrent-page .persona-actions > * { padding: 10px 8px; font-size: 0.8rem; }
}
