:root {
  color-scheme: light;
  --ink: #132d46;
  --muted: #526779;
  --blue: #075b8f;
  --line: #dbe5ec;
  --green: #176343;
  --ice: #edf6fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f5f8fa;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}
button,
input,
select {
  font: inherit;
}
main a {
  color: var(--blue);
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #137eb4;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}
.page-intro {
  padding: 10px 0 28px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.8px;
  margin: 0 0 10px;
  color: var(--blue);
}
main h1 {
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 0 0 16px;
  font-weight: 760;
}
main h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin: 0 0 12px;
}
main p {
  margin: 0 0 14px;
}
.page-intro > p:last-child {
  color: var(--muted);
  font-size: 16px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 27px;
  box-shadow: 0 3px 14px #173f5a04;
}
.plan-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 25px;
  align-items: center;
  margin-bottom: 32px;
  background: linear-gradient(110deg, #fff 45%, #edf7fd);
}
.plan-strip h2 {
  font-size: 19px;
  margin-bottom: 5px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.plan-strip p:last-child {
  margin-bottom: 0;
}
.plan-balance {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.plan-balance strong {
  display: block;
  font-size: 29px;
  letter-spacing: -1px;
}
.plan-balance > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.plan-expiry {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.plan-expiry p {
  margin-top: 8px;
}
.badge {
  display: inline-block;
  background: #e7f4ef;
  color: #165338;
  border: 1px solid #b9dccb;
  padding: 4px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 650;
}
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 36px;
  align-items: start;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.currency-label {
  font-size: 11px;
  color: var(--muted);
}
select {
  display: block;
  border: 1px solid #b9ccd8;
  background: white;
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  min-height: 40px;
}
.saving-note {
  font-size: 12px;
  background: #e5f3ec;
  border: 1px solid #c1e0ce;
  color: #175139;
  padding: 12px 15px;
  border-radius: 12px;
  margin: 7px 0 20px;
}
.saving-note > span {
  margin-right: 7px;
}
.option-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  background: #eaf0f4;
  border-radius: 12px;
  margin-bottom: 14px;
}
.option-tabs button {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 10px 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  color: #435d70;
  background: transparent;
}
.option-tabs button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 5px #183f5b15;
  color: var(--ink);
}
.option-tabs span {
  font-size: 10px;
  margin-left: 4px;
}
.package-list {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
#packagesGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.data-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.data-option input {
  position: absolute;
  top: 21px;
  left: 17px;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}
.option-body {
  display: block;
  border: 1px solid #b9cbd6;
  background: #fff;
  border-radius: 15px;
  min-height: 151px;
  padding: 18px 17px 17px 42px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.data-option:hover .option-body {
  border-color: var(--blue);
}
.data-option input:checked + .option-body {
  border: 2px solid var(--blue);
  padding: 17px 16px 16px 41px;
  box-shadow: 0 0 0 3px #dcecf7;
}
.data-option input:focus-visible + .option-body {
  outline: 3px solid #137eb4;
  outline-offset: 3px;
}
.data-amount {
  display: block;
  font-size: 22px;
  letter-spacing: -0.6px;
  font-weight: 750;
  line-height: 1.25;
}
.data-term {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 15px;
}
.option-price {
  font-weight: 750;
  font-size: 19px;
}
.option-full {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.option-full s {
  margin-left: 3px;
}
.checkout {
  position: sticky;
  top: 22px;
  padding: 25px;
}
.checkout h2 {
  margin-bottom: 18px;
}
.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.summary-line > strong {
  font-size: 24px;
}
.price-breakdown {
  margin-top: 20px;
}
.price-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 9px;
}
.discount-line {
  color: var(--green);
}
.price-breakdown > .total-line,
.total-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 17px;
  font-size: 16px;
}
.total-line strong:last-child {
  font-size: 23px;
}
.fine-print {
  color: var(--muted);
  font-size: 11px;
  margin: 4px 0 22px;
}
.checkout form label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 6px;
}
.checkout input {
  display: block;
  width: 100%;
  border: 1px solid #b9cbd6;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.discount-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.checkout .discount-row input {
  flex: 1;
  width: auto;
  min-width: 0;
}
.checkout .discount-row .apply-code {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.checkout .discount-row .apply-code:hover {
  background: #234b6c;
}
.checkout .discount-row .apply-code:disabled {
  background: #dce6ed;
  color: #425c70;
  cursor: default;
}
.field-help {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 18px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: 10px;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
}
.primary:hover {
  background: #234b6c;
}
.primary:disabled {
  background: #dce6ed;
  color: #425c70;
  cursor: default;
}
.checkout .primary {
  width: 100%;
  margin-top: 22px;
}
.secure-note {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin: 10px 0 0;
}
.validity-note {
  background: #f0f6fa;
  border: 1px solid #d8e7f1;
  border-radius: 11px;
  padding: 14px;
  margin-top: 22px;
  color: #385166;
  font-size: 12px;
}
.validity-note strong {
  font-size: 12px;
  color: var(--ink);
}
.validity-note p {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.65;
}
.faq {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 13px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
}
.faq p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.state {
  max-width: 590px;
  margin: 25px auto 80px;
  text-align: center;
  padding: 44px 35px;
}
.state p {
  color: var(--muted);
  font-size: 14px;
}
.state .primary {
  max-width: 290px;
  margin: 23px auto 15px;
}
.text-link {
  font-size: 13px;
}
.state-symbol {
  display: grid;
  place-items: center;
  background: #e7f4ef;
  color: var(--green);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  font-size: 26px;
}
.spinner {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 25px;
  border: 3px solid #dbe9f2;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.inline-error {
  font-size: 13px;
  color: #9b2525;
  background: #fff0f0;
  border-radius: 8px;
  padding: 12px;
  margin-top: 15px;
}
.payment-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 27px;
  max-width: 950px;
  margin: 10px auto 50px;
  align-items: start;
}
.compact {
  max-width: 950px;
  margin: auto;
}
.compact h1 {
  font-size: 38px;
}
.payment-data {
  font-size: 35px;
  font-weight: 750;
  margin: 24px 0 5px;
  letter-spacing: -1px;
}
.payment-form h2 {
  margin-bottom: 23px;
}
.payment-form .primary {
  width: 100%;
  margin-top: 22px;
}
.payment-summary .total-line {
  margin-top: 28px;
}
.confirmation {
  margin-top: 60px;
}
.confirmation h1 {
  font-size: 30px;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 10px;
  background: white;
  z-index: 9;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 850px) {
  .purchase-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
  }
  .panel {
    padding: 21px;
  }
  .option-body {
    padding-left: 37px;
  }
  .data-option input {
    left: 13px;
  }
  .data-option input:checked + .option-body {
    padding-left: 36px;
  }
}
@media (max-width: 700px) {
  main {
    padding-top: 12px;
    padding-bottom: 35px;
  }
  .page-intro {
    padding-bottom: 20px;
  }
  main h1 {
    font-size: 36px;
    letter-spacing: -1.4px;
  }
  .plan-strip {
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-bottom: 26px;
  }
  .plan-strip > div:first-child {
    grid-column: 1/-1;
  }
  .plan-balance {
    border: 0;
    padding: 0;
  }
  .plan-balance strong {
    font-size: 26px;
  }
  .plan-expiry {
    text-align: right;
  }
  .purchase-layout,
  .payment-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .checkout {
    position: static;
  }
  .options h2 {
    font-size: 20px;
  }
  .option-body {
    min-height: 142px;
  }
  .payment-layout {
    margin-top: 0;
  }
  .payment-summary .validity-note {
    margin-top: 16px;
  }
  .compact h1 {
    font-size: 32px;
  }
  .state {
    padding: 30px 22px;
  }
  .confirmation {
    margin-top: 25px;
  }
}
@media (max-width: 350px) {
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
  main h1 {
    font-size: 31px;
  }
  .data-amount {
    font-size: 20px;
  }
  .option-body {
    padding-right: 10px;
  }
  .data-option input:checked + .option-body {
    padding-right: 9px;
  }
  .option-tabs button {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
}

