:root {
  --tj218-ink: #13253a;
  --tj218-muted: #60758d;
  --tj218-cyan: #1aaeb8;
  --tj218-teal: #2f9b83;
  --tj218-blue: #3c74df;
  --tj218-sage: #9bb7ad;
  --tj218-sand: #d9cbb9;
  --tj218-cloud: #f4f8f9;
  --tj218-mist: #eaf3f4;
  --tj218-line: rgba(61, 92, 119, 0.15);
  --tj218-shadow: 0 28px 72px rgba(49, 82, 109, 0.12);
}

body.tj-os-page {
  background:
    radial-gradient(circle at 14% 7%, rgba(167, 215, 211, 0.16), transparent 25rem),
    radial-gradient(circle at 88% 18%, rgba(164, 187, 228, 0.14), transparent 30rem),
    linear-gradient(180deg, #fbfdfd 0%, #f6fafb 38%, #fbfdfd 100%);
}

body.tj-os-page .tj-os-nav {
  border-color: rgba(57, 93, 119, 0.13);
  background: rgba(253, 254, 254, 0.91);
  box-shadow: 0 18px 52px rgba(53, 81, 104, 0.1);
  backdrop-filter: blur(22px) saturate(145%);
}

@media (min-width: 1081px) {
  body.tj-os-page .tj-os-nav {
    grid-template-areas: none !important;
    grid-template-columns: minmax(210px, 1fr) auto minmax(360px, 1fr) !important;
    row-gap: 11px;
    padding-block: 13px;
  }

  body.tj-os-page .tj-os-brand {
    grid-area: auto !important;
    grid-row: 1 !important;
    grid-column: 1 !important;
  }

  body.tj-os-page .tj-os-primary-nav {
    grid-area: auto !important;
    grid-row: 2 !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }

  body.tj-os-page .tj-os-actions-right {
    grid-area: auto !important;
    grid-row: 1 !important;
    grid-column: 3 !important;
  }
}

body.tj-os-page .tj-os-primary-nav a {
  position: relative;
}

body.tj-os-page .tj-os-primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  margin: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tj218-teal), var(--tj218-blue));
  content: "";
  transition: width 180ms ease;
}

body.tj-os-page .tj-os-primary-nav a:hover::after,
body.tj-os-page .tj-os-primary-nav a:focus-visible::after {
  width: 68%;
}

body.tj-os-page .tj-os-hero {
  min-height: min(860px, calc(100vh - 176px));
  margin-top: clamp(18px, 2.4vw, 34px);
  padding-block: clamp(34px, 4vw, 58px) !important;
}

.tj218-commercial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 13px;
  border: 1px solid rgba(47, 155, 131, 0.2);
  border-radius: 999px;
  color: #177864;
  background: rgba(236, 249, 245, 0.85);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tj218-commercial-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tj218-teal);
  box-shadow: 0 0 0 6px rgba(47, 155, 131, 0.11);
  content: "";
  animation: tj218-pulse 2.4s ease-in-out infinite;
}

body.tj-os-page .tj-os-hero h1.tj218-commercial-title {
  max-width: 790px;
  font-size: clamp(48px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.tj218-commercial-title em {
  color: var(--tj218-blue);
  font-style: normal;
}

.tj218-commercial-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--tj218-muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.72;
}

.tj218-tech-thesis {
  display: grid;
  gap: 4px;
  max-width: 720px;
  margin: 22px 0 0;
  padding: 13px 15px;
  border-left: 3px solid rgba(60, 116, 223, 0.64);
  border-radius: 0 14px 14px 0;
  color: #536a82;
  background: rgba(243, 248, 251, 0.86);
  font-size: 13px;
  line-height: 1.52;
}

.tj218-tech-thesis b {
  color: var(--tj218-ink);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tj218-hero-system-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tj218-hero-system-labels span {
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid var(--tj218-line);
  border-radius: 999px;
  color: #466079;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.tj218-commercial-band {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto clamp(84px, 9vw, 142px);
}

.tj218-section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1.2fr) minmax(260px, 0.58fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: end;
  margin-bottom: 32px;
}

.tj218-section-heading > small {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #158394;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tj218-section-heading > small::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.tj218-section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--tj218-ink);
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.tj218-section-heading h2 span {
  color: var(--tj218-blue);
}

.tj218-section-heading > p {
  margin: 0;
  color: var(--tj218-muted);
  font-size: 15px;
  line-height: 1.68;
}

.tj218-scenario-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.95fr;
  gap: 14px;
}

.tj218-scenario {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 395px;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--tj218-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(50, 81, 105, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tj218-scenario::after {
  position: absolute;
  right: -54px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(65, 128, 175, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(81, 191, 180, 0.16) 0 4%, transparent 5% 28%, rgba(76, 127, 205, 0.07) 29% 31%, transparent 32%);
  content: "";
  transition: transform 500ms ease;
}

.tj218-scenario:hover {
  transform: translateY(-5px);
  border-color: rgba(55, 135, 157, 0.3);
  box-shadow: var(--tj218-shadow);
}

.tj218-scenario:hover::after {
  transform: scale(1.15) rotate(14deg);
}

.tj218-scenario > small {
  color: #158394;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.tj218-scenario h3 {
  max-width: 410px;
  margin: 64px 0 12px;
  color: var(--tj218-ink);
  font-size: clamp(25px, 2.2vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.tj218-scenario p {
  max-width: 440px;
  margin: 0;
  color: var(--tj218-muted);
  font-size: 14px;
  line-height: 1.68;
}

.tj218-scenario a {
  position: relative;
  align-self: end;
  justify-self: start;
  z-index: 1;
  margin-top: 26px;
  color: #245fbe;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.tj218-system-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.tj218-system-card {
  display: grid;
  grid-column: span 2;
  grid-template-rows: auto auto 1fr auto;
  gap: 11px;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--tj218-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(238,246,247,.84));
}

.tj218-system-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.tj218-system-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.tj218-system-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(140deg, var(--tj218-teal), var(--tj218-blue));
  font-size: 11px;
  font-weight: 950;
}

.tj218-system-card h3 {
  margin: 12px 0 0;
  color: var(--tj218-ink);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.tj218-system-card strong {
  color: #49637d;
  font-size: 13px;
}

.tj218-system-card p {
  margin: 0;
  color: var(--tj218-muted);
  font-size: 13px;
  line-height: 1.62;
}

.tj218-gateway-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(420px, 0.93fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(57, 99, 123, 0.15);
  border-radius: 34px;
  background: rgba(249, 252, 252, 0.9);
  box-shadow: var(--tj218-shadow);
}

.tj218-gateway-media {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.tj218-gateway-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98);
  transition: transform 900ms cubic-bezier(.16,.75,.25,1);
}

.tj218-gateway-spotlight:hover .tj218-gateway-media img {
  transform: scale(1.035);
}

.tj218-gateway-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 68%, rgba(249,252,252,.92)),
    linear-gradient(180deg, transparent 65%, rgba(38, 139, 157, 0.12));
  content: "";
  pointer-events: none;
}

.tj218-gateway-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.tj218-gateway-network-base,
.tj218-gateway-network-flow {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.tj218-gateway-network-base {
  stroke: rgba(44, 165, 184, 0.3);
  stroke-width: 2;
}

.tj218-gateway-network-flow {
  stroke: url("#tj218GatewayFlow");
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 14 22;
  filter: drop-shadow(0 0 7px rgba(38, 184, 199, 0.72));
  animation: tj218-gateway-line-flow 2.8s linear infinite;
}

.tj218-flow-b {
  animation-duration: 3.7s;
  animation-direction: reverse;
}

.tj218-flow-c {
  animation-duration: 3.25s;
  animation-delay: -1.1s;
}

.tj218-gateway-nodes circle {
  fill: url("#tj218GatewayNode");
  transform-box: fill-box;
  transform-origin: center;
  animation: tj218-gateway-node-pulse 2.4s ease-in-out infinite;
}

.tj218-gateway-nodes circle:nth-child(3n + 2) {
  animation-delay: -0.8s;
}

.tj218-gateway-nodes circle:nth-child(3n) {
  animation-delay: -1.6s;
}

.tj218-gateway-travel-dot {
  fill: #28d1d9;
  filter: drop-shadow(0 0 8px rgba(33, 189, 201, 0.92));
}

.tj218-dot-b {
  fill: #4b7fe5;
}

.tj218-dot-c {
  fill: #20a98e;
}

.tj218-gateway-core-pulse {
  fill: none;
  stroke: rgba(47, 192, 201, 0.78);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: tj218-gateway-core-pulse 2.7s ease-out infinite;
}

.tj218-gateway-signal {
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--tj218-cyan);
  box-shadow: 0 0 0 10px rgba(26, 174, 184, 0.12), 0 0 28px rgba(26,174,184,.64);
  offset-path: path("M 52 380 C 180 280 300 340 405 230 S 660 120 820 210");
  animation: tj218-travel 7s linear infinite;
}

@keyframes tj218-gateway-line-flow {
  to { stroke-dashoffset: -72; }
}

@keyframes tj218-gateway-node-pulse {
  0%, 100% { opacity: 0.38; transform: scale(0.72); }
  48% { opacity: 1; transform: scale(1.34); }
}

@keyframes tj218-gateway-core-pulse {
  0% { opacity: 0.82; transform: scale(0.45); }
  76%, 100% { opacity: 0; transform: scale(2.4); }
}

.tj218-gateway-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 72px);
}

.tj218-gateway-copy small {
  color: #158394;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.tj218-gateway-copy h2 {
  margin: 18px 0;
  color: var(--tj218-ink);
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.tj218-gateway-copy p {
  margin: 0;
  color: var(--tj218-muted);
  font-size: 15px;
  line-height: 1.72;
}

.tj218-gateway-facts {
  display: grid;
  gap: 9px;
  margin: 24px 0 28px;
}

.tj218-gateway-facts span {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: #466079;
  font-size: 13px;
  line-height: 1.5;
}

.tj218-gateway-facts span::before {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--tj218-teal);
  content: "✓";
  font-size: 10px;
  font-weight: 900;
}

.tj218-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--tj218-cyan), var(--tj218-blue));
  box-shadow: 0 13px 30px rgba(57, 111, 198, 0.2);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.payment-choice-dialog {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  max-height: min(88vh, 940px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(52, 96, 126, 0.2);
  border-radius: 30px;
  color: var(--tj218-ink);
  background:
    radial-gradient(circle at 82% 10%, rgba(98, 184, 230, 0.16), transparent 31%),
    radial-gradient(circle at 12% 88%, rgba(48, 193, 174, 0.12), transparent 34%),
    rgba(249, 253, 255, 0.98);
  box-shadow: 0 40px 100px rgba(56, 89, 112, 0.25);
}

.payment-choice-dialog:not([open]) {
  display: none;
}

.payment-choice-dialog[open] {
  animation: tj218-dialog-in 360ms cubic-bezier(.18,.78,.24,1);
}

.payment-choice-dialog::backdrop {
  background: rgba(210, 223, 231, 0.74);
  backdrop-filter: blur(14px) saturate(0.88);
}

.payment-choice-shell {
  max-height: min(88vh, 940px);
  padding: clamp(22px, 3vw, 38px);
  overflow: auto;
  overscroll-behavior: contain;
}

.payment-choice-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
}

.payment-choice-head h2 {
  max-width: 780px;
  margin: 10px 0 8px;
  color: var(--tj218-ink);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.payment-choice-head > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--tj218-muted);
  line-height: 1.65;
}

.payment-choice-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(62, 104, 133, 0.18);
  border-radius: 50%;
  color: var(--tj218-ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(55, 88, 111, 0.1);
  cursor: pointer;
  font: 400 27px/1 system-ui, sans-serif;
}

.payment-choice-close:hover,
.payment-choice-close:focus-visible {
  border-color: rgba(35, 161, 180, 0.46);
  box-shadow: 0 12px 32px rgba(44, 145, 166, 0.16);
  outline: 3px solid rgba(42, 174, 190, 0.14);
}

.payment-choice-runtime {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
  margin: 22px 0;
  padding: 12px 16px;
  border: 1px solid rgba(52, 125, 150, 0.15);
  border-radius: 16px;
  color: #38556e;
  background: rgba(235, 248, 250, 0.82);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.payment-choice-runtime::before {
  width: 10px;
  height: 10px;
  border: 3px solid rgba(39, 170, 179, 0.22);
  border-top-color: #28a9b6;
  border-radius: 50%;
  content: "";
  animation: tj218-runtime-spin 1.2s linear infinite;
}

.payment-choice-runtime[data-state="ready"]::before {
  border: 0;
  background: #28a889;
  box-shadow: 0 0 0 6px rgba(40, 168, 137, 0.12);
  animation: tj218-runtime-ready 2s ease-in-out infinite;
}

.payment-choice-runtime[data-state="blocked"] {
  border-color: rgba(172, 132, 77, 0.2);
  color: #725d43;
  background: rgba(252, 247, 237, 0.9);
}

.payment-choice-runtime[data-state="blocked"]::before {
  border: 0;
  background: #c69855;
  box-shadow: 0 0 0 6px rgba(198, 152, 85, 0.12);
  animation: tj218-runtime-ready 2.4s ease-in-out infinite;
}

.payment-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.payment-choice-grid .method-card {
  min-height: 250px;
  border-color: rgba(60, 107, 136, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(58, 92, 116, 0.08);
}

.payment-choice-grid .method-card:not(.disabled) {
  border-color: rgba(35, 168, 181, 0.32);
  box-shadow: 0 18px 46px rgba(34, 148, 170, 0.14);
}

.payment-choice-grid .method-card button {
  min-height: 46px;
}

.payment-choice-result:empty {
  display: none;
}

.payment-choice-result {
  margin-top: 16px;
}

.payment-choice-result .result-card {
  margin: 0;
}

.payment-choice-foot {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(63, 102, 128, 0.15);
}

.payment-choice-foot p {
  max-width: 720px;
  margin: 0;
  color: var(--tj218-muted);
  font-size: 12px;
  line-height: 1.55;
}

.payment-choice-foot .secondary-action {
  flex: 0 0 auto;
}

@keyframes tj218-dialog-in {
  from { opacity: 0; transform: translateY(26px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tj218-runtime-spin {
  to { transform: rotate(1turn); }
}

@keyframes tj218-runtime-ready {
  0%, 100% { transform: scale(0.78); opacity: 0.62; }
  50% { transform: scale(1.12); opacity: 1; }
}

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

.tj218-case-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--tj218-line);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.84);
}

.tj218-case-visual {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 36%, rgba(52, 174, 166, 0.28), transparent 22%),
    radial-gradient(circle at 72% 58%, rgba(61, 116, 223, 0.24), transparent 28%),
    linear-gradient(140deg, #eef8f6, #edf2fa);
}

.tj218-case-visual::before,
.tj218-case-visual::after {
  position: absolute;
  border: 1px solid rgba(72, 115, 145, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 22px 40px rgba(52, 88, 112, 0.1);
  content: "";
  animation: tj218-float 6s ease-in-out infinite;
}

.tj218-case-visual::before {
  top: 30px;
  left: 11%;
  width: 54%;
  height: 96px;
  transform: rotate(-4deg);
}

.tj218-case-visual::after {
  right: 8%;
  bottom: 26px;
  width: 42%;
  height: 74px;
  animation-delay: -2.6s;
}

.tj218-case-copy {
  padding: 25px 26px 29px;
}

.tj218-case-copy > small {
  color: #158394;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
}

.tj218-case-copy h3 {
  margin: 12px 0 18px;
  color: var(--tj218-ink);
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.tj218-case-copy dl {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px 12px;
  margin: 0;
  color: var(--tj218-muted);
  font-size: 12px;
  line-height: 1.5;
}

.tj218-case-copy dt {
  color: #3f5d76;
  font-weight: 900;
}

.tj218-case-copy dd {
  margin: 0;
}

.tj218-value-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr);
  gap: 16px;
}

.tj218-value-list,
.tj218-value-package {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--tj218-line);
  border-radius: 30px;
  background: rgba(255,255,255,.84);
}

.tj218-value-list h3,
.tj218-value-package h3 {
  margin: 0 0 24px;
  color: var(--tj218-ink);
  font-size: clamp(27px, 2.5vw, 40px);
  letter-spacing: -.045em;
}

.tj218-value-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--tj218-line);
  color: #526b82;
  font-size: 14px;
}

.tj218-value-row b {
  flex: 0 0 auto;
  color: var(--tj218-ink);
}

.tj218-value-package {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(103, 157, 223, 0.18), transparent 15rem),
    linear-gradient(145deg, #eef8f6, #f3f6fb);
}

.tj218-value-package > small {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #167461;
  background: rgba(225, 245, 239, .9);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
}

.tj218-value-price {
  margin: 0 0 16px;
  color: var(--tj218-blue);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 780;
  letter-spacing: -.055em;
}

.tj218-value-package p {
  max-width: 560px;
  color: var(--tj218-muted);
  line-height: 1.7;
}

.tj218-trust-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tj218-trust-rail article {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--tj218-line);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
}

.tj218-trust-rail small {
  color: #158394;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
}

.tj218-trust-rail h3 {
  margin: 24px 0 8px;
  color: var(--tj218-ink);
  font-size: 18px;
}

.tj218-trust-rail p {
  margin: 0;
  color: var(--tj218-muted);
  font-size: 12px;
  line-height: 1.55;
}

.tj218-reveal {
  opacity: 1;
  transform: none;
}

.tj218-reveal.tj218-visible {
  animation: tj218-reveal-in 650ms cubic-bezier(.2,.75,.25,1) both;
}

@keyframes tj218-reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

body.tj-os-page .tj-os-pillars {
  width: min(1120px, calc(100% - 32px));
  margin: -38px auto clamp(84px, 8vw, 126px);
  opacity: .9;
}

@keyframes tj218-pulse {
  0%, 100% { transform: scale(.85); opacity: .62; }
  50% { transform: scale(1.16); opacity: 1; }
}

@keyframes tj218-travel {
  to { offset-distance: 100%; }
}

@keyframes tj218-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

@media (max-width: 1180px) {
  .tj218-section-heading {
    grid-template-columns: 160px 1fr;
  }

  .tj218-section-heading > p {
    grid-column: 2;
  }

  .tj218-scenario-grid,
  .tj218-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tj218-scenario:first-child,
  .tj218-case-card:first-child {
    grid-column: 1 / -1;
  }

  .tj218-gateway-spotlight {
    grid-template-columns: 1fr;
  }

  .tj218-gateway-media {
    min-height: 480px;
  }

  .tj218-value-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .tj218-commercial-band {
    width: min(100% - 24px, 720px);
  }

  .tj218-section-heading {
    grid-template-columns: 1fr;
  }

  .tj218-section-heading > p {
    grid-column: auto;
  }

  .tj218-scenario-grid,
  .tj218-case-grid,
  .tj218-trust-rail {
    grid-template-columns: 1fr;
  }

  .tj218-scenario:first-child,
  .tj218-case-card:first-child {
    grid-column: auto;
  }

  .tj218-system-grid {
    grid-template-columns: 1fr;
  }

  .tj218-system-card,
  .tj218-system-card:nth-child(4),
  .tj218-system-card:nth-child(5) {
    grid-column: auto;
  }

  .tj218-gateway-media {
    min-height: 360px;
  }

  .tj218-trust-rail article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  body.tj-os-page .tj-os-hero h1.tj218-commercial-title {
    font-size: clamp(40px, 12vw, 56px);
  }

  .tj218-commercial-lead {
    font-size: 16px;
  }

  .tj218-scenario {
    min-height: 360px;
  }

  .tj218-gateway-copy,
  .tj218-value-list,
  .tj218-value-package {
    padding: 28px 22px;
  }

  .tj218-gateway-media {
    min-height: 300px;
  }

  .tj218-value-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tj218-value-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .payment-choice-dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 22px;
  }

  .payment-choice-shell {
    max-height: calc(100vh - 16px);
    padding: 22px 16px;
  }

  .payment-choice-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .payment-choice-head {
    gap: 12px;
  }

  .payment-choice-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-choice-foot .secondary-action {
    width: 100%;
  }
}

/* TJ-219 precision alignment: keep the three operating desks and every
   package information rail on one clean visual grid without hiding content. */
@media (min-width: 1181px) {
  #siteos-workspace.siteos-workspace {
    align-items: stretch !important;
  }

  #siteos-workspace.siteos-workspace > .siteos-module {
    align-self: stretch !important;
    height: 100% !important;
  }

  #siteos-workspace .siteos-module-subpanel {
    margin-top: auto !important;
  }
}

#siteos-workspace .siteos-audit-subpanel {
  min-height: 0;
}

#siteos-workspace .siteos-record-disclosure {
  border: 1px solid rgba(123, 161, 181, 0.26);
  border-radius: 16px;
  background: rgba(246, 252, 253, 0.74);
  overflow: clip;
}

#siteos-workspace .siteos-record-disclosure > summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  color: #10233a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

#siteos-workspace .siteos-record-disclosure > summary::-webkit-details-marker {
  display: none;
}

#siteos-workspace .siteos-record-disclosure > summary::after {
  content: "＋";
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(30, 151, 174, 0.28);
  border-radius: 999px;
  color: #1597a7;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, background 180ms ease;
}

#siteos-workspace .siteos-record-disclosure[open] > summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(34, 182, 190, 0.1);
}

#siteos-workspace .siteos-record-disclosure > summary small {
  margin-left: auto;
  color: #668096;
  font-size: 11px;
  font-weight: 650;
}

#siteos-workspace .siteos-record-disclosure .siteos-records {
  max-height: 236px;
  margin: 0;
  padding: 0 12px 12px;
  overflow: auto;
  overscroll-behavior: contain;
}

#products .product-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

#products .product-card .method-type {
  display: flex !important;
  min-height: 44px;
  align-items: flex-end;
  margin: 0 !important;
  line-height: 1.35;
}

#products .product-card h3 {
  display: flex;
  min-height: 60px;
  align-items: flex-start;
  margin: 0 !important;
  line-height: 1.15 !important;
}

#products .product-card .product-price {
  display: flex;
  min-height: 44px;
  align-items: center;
  margin: 0 !important;
}

#products .product-card .product-description {
  min-height: 132px;
  margin: 0 !important;
}

#products .product-card .product-divider {
  margin: 0 !important;
}

#products .product-card .product-includes {
  flex: 1 1 auto;
  margin: 0 !important;
}

#products .product-card .product-cta {
  margin-top: auto;
}

.checkout-action-status {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 0;
  border-radius: 12px;
  color: #276176;
  background: rgba(31, 184, 201, 0.08);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.checkout-action-status[hidden] {
  display: none;
}

.checkout-action-status[data-state="failed"] {
  color: #8a3e3e;
  background: rgba(201, 82, 82, 0.09);
}

#checkoutSubmitButton[aria-busy="true"] {
  cursor: wait;
  opacity: 0.82;
}

.payment-dialog-progress {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(31, 184, 201, 0.2);
  border-radius: 14px;
  color: #235d73;
  background: rgba(31, 184, 201, 0.08);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  #products .product-card .method-type,
  #products .product-card h3,
  #products .product-card .product-price,
  #products .product-card .product-description {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tj218-gateway-network {
    display: none !important;
  }

  .tj218-commercial-kicker::before,
  .tj218-gateway-signal,
  .tj218-gateway-network-flow,
  .tj218-gateway-nodes circle,
  .tj218-gateway-core-pulse,
  .payment-choice-dialog,
  .payment-choice-runtime::before,
  .tj218-case-visual::before,
  .tj218-case-visual::after {
    animation: none !important;
  }

  .tj218-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
