.hp-page {
    --hp-ink: #152b23;
    --hp-muted: #486158;
    --hp-green: #09644f;
    --hp-line: #cad7cf;
    --hp-paper: #fffdf8;
    margin: 0;
    background: #f3f1e8;
    color: var(--hp-ink);
    font: 1rem/1.58 var(--tx-site-font, system-ui, sans-serif);
    min-height: 100vh;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
}
.hp-page > footer { margin-top: auto; }
.hp-shell { width: min(calc(100% - 2rem), 70rem); margin: clamp(1.7rem, 5vw, 4rem) auto; overflow-wrap: anywhere; }
.hp-shell:not(.hp-pricing, .hp-checkout, .hp-status) {
    box-sizing: border-box;
    max-width: 56rem;
    padding: clamp(1rem, 4vw, 2.25rem);
    background: var(--hp-paper);
    border: 1px solid var(--hp-line);
    border-radius: 14px;
}
.hp-shell h1 { font-family: Georgia, serif; font-size: clamp(2.35rem, 5.5vw, 4.6rem); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; margin: .24em 0 .55em; }
.hp-shell h2, .hp-catalog h2, .hp-catalog h3 { line-height: 1.25; margin: 0 0 .45em; }
.hp-catalog h2, .hp-institution h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.025em; }
.hp-intro { max-width: 44rem; font-size: 1.15rem; }
.hp-intro > p, .hp-section-heading p, .hp-muted { color: var(--hp-muted); }
.hp-kicker { margin: 0; color: var(--hp-green); font-size: .77rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hp-actions, .hp-service-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.hp-catalog, .hp-institution { margin-block: clamp(2rem, 5vw, 4rem); scroll-margin-top: 6rem; }
.hp-section-heading p { margin: .5rem 0 1.25rem; }
.hp-service-nav { margin-bottom: 1.25rem; }
.hp-service-nav a {
    min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center;
    padding: .45rem .9rem; border: 1px solid var(--hp-line); border-radius: 2rem;
    background: var(--hp-paper); color: var(--hp-ink); text-decoration: none; font-weight: 650;
}
.hp-service-nav a[aria-current] { background: var(--hp-ink); border-color: var(--hp-ink); color: white; }
.hp-plan-grid, .hp-checkout-grid, .hp-grid { display: grid; gap: 1rem; }
.hp-plan-grid, .hp-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.hp-checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: start; }
.hp-card, .hp-plan, .hp-order, .hp-institution, .hp-compare {
    min-width: 0; box-sizing: border-box; padding: clamp(1rem, 3vw, 1.65rem);
    border: 1px solid var(--hp-line); border-radius: 14px; background: var(--hp-paper);
}
.hp-plan { display: flex; flex-direction: column; }
.hp-plan h3 { font-size: 1.35rem; margin-top: .45rem; }
.hp-price { margin: .5rem 0 0; }
.hp-price strong, .hp-total strong { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--hp-green); font-variant-numeric: tabular-nums; }
.hp-price span, .hp-total small { font-size: .85rem; color: var(--hp-muted); }
.hp-price span { display: block; }
.hp-plan-limits { padding-left: 1.15rem; margin: .9rem 0 1.3rem; }
.hp-plan-action { margin-top: auto; }
.hp-badge, .hp-included { color: #155d45; background: #e2f2e8; border-radius: .4rem; padding: .23rem .5rem; font-size: .85rem; font-weight: 700; display: inline-block; }
.hp-compare { margin-top: 1.5rem; scroll-margin-top: 6rem; }
.hp-compare table { border-collapse: collapse; width: 100%; min-width: 33rem; }
.hp-compare th { text-transform: none; }
.hp-compare tbody th { font-weight: 550; }
.hp-compare :is(td, th) { border-bottom: 1px solid var(--hp-line); }
.hp-compare tbody tr:last-child > * { border-bottom: 0; }
.hp-institution { background: #e4eee5; }
.hp-trial-link, .hp-order a, .hp-notice a { color: var(--hp-green); font-weight: 700; }
.hp-trial-link { display: block; margin-top: .65rem; }
.hp-shell form { display: grid; gap: 1rem; }
.hp-checkout-grid .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-shell label { display: block; font-weight: 650; margin-bottom: .25rem; }
.hp-field-wide { grid-column: 1 / -1; }
.hp-shell :is(input, select) {
    box-sizing: border-box; width: 100%; min-height: 46px; padding: .55rem .75rem;
    border: 1px solid #82978d; border-radius: 7px; background: #fff; color: var(--hp-ink); font: inherit;
}
.hp-shell input[aria-invalid] { border-color: #9f332f; }
.hp-field-error { margin: .28rem 0 0; color: #8d2525; font-size: .9rem; }
.hp-page .hp-button, .hp-shell button {
    display: inline-flex; align-items: center; gap: .35rem; align-self: start; justify-self: start;
    min-height: 44px; box-sizing: border-box; padding: .55rem .9rem; border: 1px solid var(--hp-green);
    border-radius: 7px; background: var(--hp-green); color: #fff; text-decoration: none;
    font: inherit; font-weight: 700; cursor: pointer;
}
.hp-page .hp-secondary { background: transparent; color: var(--hp-green); }
.hp-page .hp-button:hover, .hp-shell button:hover { background: #084a3d; color: #fff; }
.hp-page :focus-visible { outline: 3px solid #1667a4; outline-offset: 3px; }
.hp-notice { padding: .8rem 1rem; border: 1px solid #c4d6cf; border-radius: 8px; background: #e8f3ee; }
.hp-notice-warning { background: #fdf1d8; border-color: #e2c588; color: #68460f; }
.hp-notice-error { background: #fbe8e4; border-color: #e2b0ac; color: #7d2824; }
.hp-order { background: #e9f0e8; }
.hp-order h2 { font-size: 1.3rem; }
.hp-total, .hp-details > div { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; }
.hp-total, .hp-details > div + div { border-top: 1px solid var(--hp-line); padding-top: .65rem; }
.hp-details > div { padding-bottom: .65rem; }
.hp-details > div:last-child { padding-bottom: 0; }
.hp-details dd { margin: 0; font-weight: 700; }
.hp-status { max-width: 47rem; }
.hp-status .hp-actions { margin-top: 1rem; }
.hp-table { overflow-x: auto; }
.hp-table td, .hp-table th { padding: .6rem .8rem; text-align: left; }
.hp-page .tx-site-footer__main > * { min-width: 0; }
.hp-sr, .hp-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp-skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 10000; padding: .5rem; background: white; color: var(--hp-ink); }
@media (max-width: 46rem) {
    .hp-checkout-grid { grid-template-columns: minmax(0, 1fr); }
    .hp-page .tx-site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-page .tx-site-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 24rem) {
    .hp-checkout-grid .hp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 46.01rem) {
    .hp-plan h3 { min-height: 2.5em; }
}
