@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/ibm-plex-mono-600.woff2") format("woff2");
}

.pricing-page .site-header {
  position: relative;
  background: var(--paper);
}

.pricing-page .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.pricing-page main {
  border-bottom: 1px solid var(--ink);
}

.pricing-hero-public {
  height: calc(100svh - 5.25rem);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 0.8fr);
  border-bottom: 1px solid var(--ink);
}

.pricing-message {
  min-width: 0;
  padding: clamp(2.5rem, 5svh, 4.5rem) clamp(1.5rem, 6vw, 6.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
}

.pricing-message h1 {
  max-width: 10ch;
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, min(7.6vw, 9svh), 6rem);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.pricing-message h1 span { color: var(--yellow); }

.pricing-message > p {
  max-width: 62ch;
  margin-bottom: clamp(1.5rem, 3svh, 2.5rem);
  color: rgba(255, 253, 247, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.offer-facts {
  max-width: 54rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 253, 247, 0.4);
  border-bottom: 1px solid rgba(255, 253, 247, 0.4);
}

.offer-facts span {
  min-height: 4.75rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 253, 247, 0.4);
  font-size: 0.78rem;
  font-weight: 650;
}

.offer-facts span:first-child { padding-left: 0; }
.offer-facts span:last-child { border-right: 0; }
.mobile-price-summary { display: none; }

.pricing-hero-action {
  width: fit-content;
  min-height: 4rem;
  margin-top: clamp(1.25rem, 2.5svh, 2rem);
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--white);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 240ms var(--ease-out), background 240ms var(--ease-out), transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.pricing-hero-action svg { width: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pricing-hero-action:hover { color: var(--white); background: var(--blue); transform: translateY(-2px); box-shadow: 5px 8px 18px rgba(17, 17, 15, 0.24); }
.pricing-hero-action:active { transform: translateY(0); }

.price-instrument {
  min-width: 0;
  padding: clamp(2rem, 5svh, 4.5rem) clamp(2rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--yellow);
  border-left: 1px solid var(--ink);
}

.price-instrument > div {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.price-instrument > div span {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 650;
}

.price-instrument strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(8rem, min(16vw, 25svh), 16rem);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: -0.04em;
}

.price-instrument p {
  margin: 1.4rem 0 0 clamp(2.4rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-signal {
  width: min(28vw, 25rem);
  aspect-ratio: 1;
  position: absolute;
  right: -28%;
  bottom: -32%;
  background: var(--red);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.plan-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(23rem, 0.85fr);
  background: var(--white);
  border-bottom: 1px solid var(--ink);
}

.inclusion-ledger,
.purchase-panel {
  padding: clamp(3rem, 6vw, 6.5rem);
}

.inclusion-ledger { border-right: 1px solid var(--ink); }

.inclusion-ledger h2,
.purchase-panel h2,
.access-sequence h2 {
  max-width: 15ch;
  margin-bottom: 2.25rem;
  font-size: clamp(2.1rem, 4.2vw, 4.6rem);
  font-weight: 720;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.inclusion-ledger ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.inclusion-ledger li {
  min-height: 7.25rem;
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--ink);
}

.inclusion-ledger li > span {
  align-self: stretch;
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.inclusion-ledger li:nth-child(1) > span { background: var(--blue); color: var(--white); }
.inclusion-ledger li:nth-child(2) > span { background: var(--red); color: var(--white); }
.inclusion-ledger li:nth-child(3) > span { background: var(--ink); color: var(--white); }
.inclusion-ledger li:nth-child(4) > span { background: var(--yellow); color: var(--ink); }
.inclusion-ledger strong { font-family: var(--display); font-size: 1rem; }
.inclusion-ledger p { margin: 0.45rem 1rem 0 0; color: #34332f; font-size: 0.86rem; }

.purchase-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}

.purchase-panel > p { max-width: 52ch; margin-bottom: 2rem; color: #34332f; }

.pricing-action {
  width: 100%;
  min-height: 4.5rem;
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 240ms var(--ease-out), background 240ms var(--ease-out), transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.pricing-action svg { width: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pricing-action:hover { color: var(--ink); background: var(--yellow); transform: translateY(-2px); box-shadow: 5px 8px 18px rgba(17, 17, 15, 0.18); }
.pricing-action:active { transform: translateY(0); }

.payment-rail {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}

.payment-rail span {
  min-height: 3.25rem;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--ink);
  font-size: 0.74rem;
  font-weight: 750;
}

.payment-rail span:last-child { border-right: 0; }
.payment-note { margin: 1rem 0 0 !important; font-size: 0.76rem; line-height: 1.6; }

.access-sequence {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 6.5rem);
  background: var(--yellow);
}

.access-sequence h2 { max-width: 13ch; }

.access-sequence > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(3rem, 0.25fr) minmax(0, 1fr) minmax(3rem, 0.25fr) minmax(0, 1fr);
  align-items: center;
}

.access-sequence article {
  min-height: 10rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--ink);
}

.access-sequence article strong { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; }
.access-sequence article p { max-width: 30ch; margin: 1.75rem 0 0; color: #34332f; }
.access-sequence i { height: 1px; position: relative; background: var(--ink); }
.access-sequence i::after { content: ""; position: absolute; right: 0; top: -5px; border-block: 6px solid transparent; border-left: 9px solid var(--ink); }

@media (max-width: 980px) {
  .pricing-hero-public { grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr); }
  .pricing-message h1 { font-size: clamp(3.2rem, min(7vw, 9svh), 5.8rem); }
  .plan-workbench { grid-template-columns: 1fr; }
  .inclusion-ledger { border-right: 0; border-bottom: 1px solid var(--ink); }
}

@media (max-width: 820px) {
  .pricing-hero-public { height: auto; min-height: 0; display: block; }
  .pricing-message { min-height: 0; padding: 2rem 1.25rem 2.5rem; }
  .pricing-message h1 { font-size: clamp(3rem, 13vw, 5.2rem); }
  .pricing-message h1 { margin-bottom: 1rem; }
  .pricing-message > p { margin-bottom: 1.2rem; }
  .offer-facts { grid-template-columns: repeat(3, 1fr); }
  .offer-facts span { min-height: 3.5rem; padding: 0.5rem; align-items: flex-start; border-right: 1px solid rgba(255, 253, 247, 0.4); font-size: 0.63rem; line-height: 1.25; }
  .offer-facts span:first-child { padding-left: 0.55rem; }
  .offer-facts span:last-child { border-right: 0; }
  .mobile-price-summary { margin-top: 0.7rem; display: flex; align-items: baseline; gap: 0.75rem; color: var(--yellow); font-family: var(--display); text-transform: uppercase; }
  .mobile-price-summary strong { font-family: "IBM Plex Mono", monospace; font-size: 2rem; line-height: 1; }
  .mobile-price-summary span { font-size: 0.68rem; font-weight: 700; }
  .pricing-hero-action { width: 100%; min-height: 3.5rem; margin-top: 0.4rem; justify-content: space-between; }
  .price-instrument { min-height: 19rem; padding: 2rem 1.25rem; border-left: 0; border-top: 1px solid var(--ink); }
  .price-instrument strong { font-size: clamp(8rem, 45vw, 11rem); }
  .price-signal { width: 18rem; }
  .inclusion-ledger, .purchase-panel { padding: 4.5rem 1.25rem; }
  .inclusion-ledger h2, .purchase-panel h2, .access-sequence h2 { font-size: clamp(2.25rem, 10vw, 3.6rem); }
  .access-sequence { padding: 4.5rem 1.25rem; }
  .access-sequence > div { grid-template-columns: 1fr; }
  .access-sequence i { width: 1px; height: 2.75rem; justify-self: center; }
  .access-sequence i::after { right: -5px; top: auto; bottom: 0; border-inline: 6px solid transparent; border-top: 9px solid var(--ink); border-left-color: transparent; }
}

@media (max-width: 520px) {
  .pricing-page .nav-links { gap: 0.6rem; }
  .pricing-page .nav-action { padding-inline: 0.75rem; }
  .pricing-message { min-height: 31rem; }
  .inclusion-ledger li { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; }
  .payment-rail span { font-size: 0.64rem; }
}

@media (max-width: 360px) {
  .pricing-page .site-header { padding-inline: 0.5rem; }
  .pricing-page .brand { gap: 0.4rem; font-size: 0.72rem; }
  .pricing-page .brand-mark { width: 1.9rem; height: 1.9rem; }
  .pricing-page .nav-links { gap: 0.3rem; }
  .pricing-page .language-switcher { grid-template-columns: repeat(2, 2rem); min-height: 2.2rem; }
  .pricing-page .language-switcher button { min-width: 2rem; }
  .pricing-page .nav-action { min-height: 2.2rem; padding-inline: 0.5rem; font-size: 0.64rem; }
  .pricing-page .nav-links a[aria-current="page"] { font-size: 0.72rem; }
  .pricing-message h1 { font-size: 2.65rem; }
  .offer-facts span { font-size: 0.58rem; }
}
