:root {
  --capse-dark-blue: #0d2c4e;
  --capse-blue: #1a6bad;
  --capse-gold: #c8a020;
  --capse-section-bg: #1e3a5f;
  --capse-row-alt: #eef4fb;
  --capse-border: #d0dce8;
  --capse-highlight: #fff8e8;
  --text-body: #2c3e50;
  --gray-light: #f5f7fa;
  --gray-mid: #8492a6;
  --green-bg: #f0faf3;
  --green-border: #27ae60;
  --orange-bg: #fff5ec;
  --orange-border: #e67e22;
  --purple-bg: #f5f0ff;
  --purple-border: #7c3aed;
  --red-bg: #fff0f0;
  --red-border: #e74c3c;
  --teal-bg: #f0fdfa;
  --teal-border: #0d9488;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(13, 44, 78, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-body);
  background: var(--white);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled {
  background: rgba(13, 44, 78, 0.95);
  box-shadow: 0 12px 30px rgba(13, 44, 78, 0.2);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(230px, 23vw, 340px);
  min-width: 230px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 14px);
  gap: 3px;
  transform: skewX(-12deg);
}

.brand-mark span {
  width: 14px;
  height: 14px;
  background: var(--capse-blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.brand-mark span:nth-child(3) {
  background: var(--capse-dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.top-nav a {
  position: relative;
  padding: 8px 0;
}

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

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, #081d34 0%, var(--capse-dark-blue) 46%, #164b78 100%),
    var(--capse-dark-blue);
}

.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 21%),
    linear-gradient(130deg, transparent 0 58%, rgba(255, 255, 255, 0.06) 58% 58.4%, transparent 58.4% 100%),
    linear-gradient(0deg, rgba(6, 22, 39, 0.28), rgba(6, 22, 39, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 190px;
}

.partner-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px 10px 8px 14px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.partner-lockup img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
}

.xp-logo-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.xp-logo-button:focus-visible {
  outline: 3px solid var(--capse-gold);
  outline-offset: 3px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--capse-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--capse-dark-blue);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--capse-dark-blue);
  font-size: 1.08rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.solution-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.switch-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.switch-button:hover,
.method-step:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--capse-dark-blue);
  background: var(--capse-gold);
}

.button.secondary {
  color: var(--white);
  background: var(--capse-blue);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.section-action {
  margin-top: 12px;
}

.hero-metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(13, 44, 78, 0.8);
  backdrop-filter: blur(14px);
}

.hero-metrics article {
  min-height: 118px;
  padding: 28px clamp(18px, 4vw, 52px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.section-light {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--capse-dark-blue);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.section-grid,
.section-header,
.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid p,
.section-header p,
.trust-section p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.quote-panel {
  border-left: 6px solid var(--capse-gold);
  border-radius: 0 8px 8px 0;
  padding: 28px;
  background: var(--gray-light);
  box-shadow: var(--shadow);
}

.quote-logo img {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 7px;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(13, 44, 78, 0.16);
}

.quote-logo {
  margin-bottom: 18px;
}

.quote-logo img {
  margin-bottom: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quote-logo:hover img {
  box-shadow: 0 16px 30px rgba(13, 44, 78, 0.22);
  transform: translateY(-2px);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 64px auto 0;
  overflow-x: auto;
  padding: 14px 2px 18px;
}

.timeline::before {
  position: absolute;
  top: 39px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--capse-border);
}

.timeline article {
  position: relative;
  min-height: 150px;
  border: 1px solid var(--capse-border);
  border-radius: 8px;
  padding: 52px 18px 18px;
  background: var(--white);
}

.timeline article::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--capse-gold);
  border-radius: 50%;
  content: "";
  background: var(--white);
}

.timeline time {
  display: block;
  margin-bottom: 10px;
  color: var(--capse-blue);
  font-weight: 900;
}

.timeline h3 {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.institutional-section {
  background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.institutional-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  max-width: 1180px;
  margin: 46px auto 0;
  border-left: 6px solid var(--capse-gold);
  border-radius: 0 8px 8px 0;
  padding: clamp(22px, 3vw, 34px);
  background: var(--capse-highlight);
}

.institutional-intro span,
.media-block-header span {
  display: block;
  margin-bottom: 8px;
  color: var(--capse-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.institutional-intro h3,
.media-block-header h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.institutional-intro p {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.media-block {
  max-width: 1180px;
  margin: 46px auto 0;
}

.media-block-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: end;
  margin-bottom: 22px;
}

.media-block-header p {
  margin-bottom: 0;
  color: var(--gray-mid);
  font-size: 1rem;
  line-height: 1.55;
}

.media-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.events-grid {
  grid-auto-rows: minmax(176px, auto);
}

.media-placeholder {
  position: relative;
  display: flex;
  min-height: 176px;
  aspect-ratio: 4 / 3;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px dashed rgba(26, 107, 173, 0.5);
  border-radius: 8px;
  padding: 20px;
  color: var(--capse-dark-blue);
  background:
    linear-gradient(135deg, rgba(238, 244, 251, 0.94), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(135deg, rgba(26, 107, 173, 0.12) 0 1px, transparent 1px 16px);
}

.media-placeholder::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(13, 44, 78, 0.08);
  content: "CAPSE";
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.media-placeholder strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--capse-blue);
  font-size: 1rem;
  font-weight: 900;
}

.media-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 240px;
  font-weight: 900;
  line-height: 1.25;
}

.media-placeholder.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 370px;
  background:
    linear-gradient(135deg, rgba(13, 44, 78, 0.92), rgba(26, 107, 173, 0.74)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px);
  color: var(--white);
}

.media-placeholder.large strong {
  color: var(--capse-dark-blue);
  background: var(--capse-gold);
}

.media-placeholder.large::after {
  color: rgba(255, 255, 255, 0.08);
}

.media-placeholder.wide {
  grid-column: span 2;
  aspect-ratio: 8 / 3;
}

.office-block {
  padding-top: 42px;
  border-top: 1px solid var(--capse-border);
}

.office-grid .media-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.86), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(135deg, rgba(200, 160, 32, 0.14) 0 1px, transparent 1px 16px);
  border-color: rgba(200, 160, 32, 0.58);
}

.office-grid .media-placeholder strong {
  background: var(--capse-gold);
  color: var(--capse-dark-blue);
}

.solution-switch {
  max-width: 1180px;
  margin: 38px auto 30px;
}

.switch-button {
  color: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.switch-button.active {
  color: var(--capse-dark-blue);
  background: var(--capse-gold);
}

.solution-panel {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
}

.solution-panel.active {
  display: block;
}

.solution-wheel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 56px);
  background: var(--capse-section-bg);
}

.wheel-center {
  grid-column: span 4;
  justify-self: center;
  display: grid;
  width: min(230px, 70vw);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 12px;
  border: 2px solid var(--capse-gold);
  border-radius: 50%;
  color: var(--white);
  background: rgba(13, 44, 78, 0.9);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.solution-wheel span,
.business-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.business-grid article {
  min-height: 178px;
  border-top: 4px solid var(--capse-gold);
}

.business-grid strong,
.business-grid span {
  display: block;
}

.business-grid span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.method-section {
  background: var(--white);
}

.method-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 48px auto 0;
}

.method-rail {
  display: grid;
  gap: 12px;
}

.method-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px 16px;
  align-items: center;
  min-height: 88px;
  border: 1px solid var(--capse-border);
  border-radius: 8px;
  padding: 16px;
  color: var(--text-body);
  text-align: left;
  background: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.method-step span {
  grid-row: span 2;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--capse-dark-blue);
  background: var(--capse-row-alt);
  font-weight: 900;
}

.method-step strong,
.method-step small {
  display: block;
}

.method-step small {
  color: var(--gray-mid);
  font-weight: 700;
}

.method-step.active {
  border-color: var(--capse-blue);
  background: var(--capse-row-alt);
  box-shadow: var(--shadow);
}

.method-step.active span {
  color: var(--white);
  background: var(--capse-blue);
}

.method-detail {
  position: sticky;
  top: 96px;
  min-height: 520px;
  border: 1px solid var(--capse-border);
  border-left: 8px solid var(--capse-gold);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--capse-highlight);
  box-shadow: var(--shadow);
}

.method-count {
  color: var(--capse-blue);
  font-weight: 900;
  text-transform: uppercase;
}

.method-detail h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.method-detail p,
.method-detail li {
  font-size: 1.08rem;
  line-height: 1.7;
}

.method-detail ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding-left: 22px;
}

.trust-section {
  align-items: center;
  background: var(--gray-light);
}

.video-panel {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(rgba(13, 44, 78, 0.5), rgba(13, 44, 78, 0.5)),
    url("assets/capse-pdf-cover-01.jpg") center / cover;
  box-shadow: var(--shadow);
}

.play-button {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid var(--white);
}

.trust-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-notes span {
  border: 1px solid var(--capse-border);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--capse-dark-blue);
  background: var(--white);
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 22px;
  max-width: 1180px;
  margin: 46px auto 0;
}

.pricing-card {
  border: 1px solid var(--capse-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pricing-card h3 {
  margin: 0;
  padding: 22px 24px;
  color: var(--white);
  background: var(--capse-dark-blue);
  font-size: 1.2rem;
  text-transform: uppercase;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  border-top: 1px solid var(--capse-border);
  text-align: left;
}

th {
  color: var(--capse-dark-blue);
  background: var(--gray-light);
}

tbody tr:nth-child(even) {
  background: var(--capse-row-alt);
}

.commission {
  display: flex;
  flex-direction: column;
}

.commission p {
  flex: 1;
  margin: 0;
  padding: 28px;
  font-size: 1.14rem;
  line-height: 1.7;
}

.contact-section {
  color: var(--white);
  background: var(--capse-dark-blue);
}

.contact-section h2,
.contact-section h3 {
  color: var(--white);
}

.contact-section > div:first-child,
.contact-grid,
.legal {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.contact-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1.7;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 34, 0.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(980px, 100%);
  max-height: min(860px, calc(100svh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 52px);
  background: var(--white);
  box-shadow: 0 34px 90px rgba(5, 18, 34, 0.36);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--capse-border);
  border-radius: 50%;
  color: var(--capse-dark-blue);
  background: var(--white);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  border: 1px solid var(--capse-border);
  border-radius: 8px;
  padding: 8px 14px 8px 8px;
  color: var(--gray-mid);
  background: var(--gray-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-brand img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 7px;
}

.modal-brand-mark {
  grid-template-columns: repeat(2, 13px);
  gap: 3px;
}

.modal-brand-mark span {
  width: 13px;
  height: 13px;
}

.modal-card h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--capse-dark-blue);
  font-size: clamp(2rem, 4vw, 4.6rem);
}

.modal-lead {
  max-width: 780px;
  margin-bottom: 30px;
  color: var(--text-body);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.xp-proof-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.45fr) minmax(220px, 0.75fr);
  gap: 14px;
  margin: 30px 0;
}

.xp-proof-grid article {
  min-height: 170px;
  border: 1px solid var(--capse-border);
  border-top: 5px solid var(--capse-gold);
  border-radius: 8px;
  padding: 20px;
  background: var(--gray-light);
}

.xp-proof-grid strong,
.xp-proof-grid span {
  display: block;
}

.xp-proof-grid strong {
  color: var(--capse-dark-blue);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
}

.metric-card > strong {
  display: block;
  font-size: 2.35rem;
  white-space: nowrap;
}

.metric-card > strong span {
  display: inline;
  font-size: 0.82em;
  margin-top: 0;
}

.xp-proof-grid span {
  margin-top: 14px;
  color: var(--text-body);
  font-size: 0.93rem;
  line-height: 1.5;
}

.rating-card {
  position: relative;
  border-top-color: var(--capse-blue) !important;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 44, 78, 0.97), rgba(26, 107, 173, 0.9)) !important;
  box-shadow: 0 22px 45px rgba(13, 44, 78, 0.2);
}

.rating-card > strong {
  color: var(--white);
  font-size: clamp(3.8rem, 7vw, 6.2rem);
}

.rating-card > span {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.rating-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.rating-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.bank-xp-mark,
.sp-logo {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(5, 18, 34, 0.18);
}

.bank-xp-mark {
  gap: 10px;
  padding: 7px 12px 7px 7px;
}

.bank-xp-mark img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.bank-xp-mark strong {
  color: var(--capse-dark-blue);
  font-size: 1rem;
  white-space: nowrap;
}

.sp-logo {
  width: 154px;
  padding: 10px 12px;
  object-fit: contain;
}

.rating-plus {
  margin-top: 0 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 900;
}

.team-modal-card {
  width: min(1120px, 100%);
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 26px;
}

.specialist-card {
  overflow: hidden;
  border: 1px solid var(--capse-border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(13, 44, 78, 0.1);
}

.specialist-card.featured {
  border-top: 5px solid var(--capse-gold);
}

.specialist-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  object-position: center;
}

.specialist-card div {
  padding: 18px;
}

.specialist-card span,
.team-section-title span {
  color: var(--capse-blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specialist-card h3,
.team-roster h3 {
  margin: 8px 0 8px;
  color: var(--capse-dark-blue);
}

.specialist-card p,
.team-roster p,
.team-section-title p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.45;
}

.team-direction {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 34px;
}

.team-direction article {
  border-left: 5px solid var(--capse-gold);
  border-radius: 0 8px 8px 0;
  padding: 18px;
  background: var(--capse-highlight);
}

.team-direction strong {
  display: block;
  margin-bottom: 8px;
  color: var(--capse-dark-blue);
  font-size: 1.02rem;
}

.team-direction p {
  margin: 0;
  line-height: 1.55;
}

.team-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 34px 0 18px;
  border-top: 1px solid var(--capse-border);
  padding-top: 24px;
}

.team-section-title p {
  max-width: 560px;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.team-roster article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 96px;
  border: 1px solid var(--capse-border);
  border-radius: 8px;
  padding: 10px;
  background: var(--gray-light);
}

.team-roster img {
  width: 74px;
  height: 74px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center;
}

.team-roster h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.team-roster p {
  color: var(--gray-mid);
  font-size: 0.84rem;
}

.xp-institutional-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.xp-institutional-copy p {
  margin: 0;
  border-left: 5px solid var(--capse-blue);
  border-radius: 0 8px 8px 0;
  padding: 18px;
  background: var(--capse-row-alt);
  line-height: 1.65;
}

@media (max-width: 1020px) {
  .solution-wheel,
  .business-grid,
  .xp-proof-grid,
  .xp-institutional-copy,
  .specialist-grid,
  .team-roster,
  .media-placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-placeholder.large,
  .media-placeholder.wide {
    grid-column: span 2;
  }

  .wheel-center {
    grid-column: span 2;
  }

  .business-grid article {
    min-height: 150px;
  }

  .method-shell,
  .pricing-grid,
  .institutional-intro,
  .media-block-header,
  .section-grid,
  .section-header,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .method-detail {
    position: static;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .top-nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    padding: 170px 0 150px;
  }

  .hero-metrics,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics article {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .solution-wheel,
  .business-grid,
  .xp-proof-grid,
  .xp-institutional-copy,
  .specialist-grid,
  .team-direction,
  .team-roster,
  .media-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .media-placeholder.large,
  .media-placeholder.wide {
    grid-column: span 1;
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .team-section-title {
    align-items: start;
    flex-direction: column;
  }

  .modal {
    padding: 12px;
  }

  .wheel-center {
    grid-column: span 1;
  }

  .method-step {
    grid-template-columns: 46px 1fr;
  }

  .method-step span {
    width: 46px;
    height: 46px;
  }

  th,
  td {
    padding: 14px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
