.document {
    scroll-behavior: smooth;
}

.page-body {
    --ink: #111111;
    --muted: #656565;
    --line: #dddddd;
    --paper: #ffffff;
    --wash: #f6f6f6;
    --radius: 7px;
    --sans: "Manrope", Arial, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --ease: cubic-bezier(.2, .75, .25, 1);
    margin: 0;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color-scheme: light;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.page-body,
.page-body :where([class]),
.page-body :where([class])::before,
.page-body :where([class])::after {
    box-sizing: border-box;
}

.page-body [hidden] {
    display: none !important;
}

.page-body :where([class])::selection {
    background: #111111;
    color: #ffffff;
}

.container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

.container--auth {
    max-width: 1060px;
}

.focus-ring:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 5px;
}

.icon {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navbar {
    border-bottom: 1px solid #e6e6e6;
    background: #ffffff;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    text-decoration: none;
}

.brand__mark {
    display: block;
    width: 35px;
    height: 35px;
    fill: #000000;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 11px;
}

.stepper__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777777;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.stepper__item--active,
.stepper__item--complete {
    color: #111111;
}

.stepper__mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid #cccccc;
    border-radius: var(--radius);
    background: #ffffff;
}

.stepper__item--active .stepper__mark {
    border-color: #111111;
    box-shadow: inset 0 0 0 5px #ffffff;
    background: #111111;
}

.stepper__item--complete .stepper__mark {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.stepper__check {
    width: 15px;
    height: 15px;
}

.stepper__line {
    width: 30px;
    height: 1px;
    background: #d7d7d7;
}

.page-main {
    padding-top: clamp(30px, 4vw, 52px);
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}

.page-heading {
    margin-bottom: 30px;
    animation: enter .45s var(--ease) both;
}

.page-title {
    margin: 0 0 10px;
    font-size: clamp(38px, 4.6vw, 58px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.06em;
    overflow-wrap: anywhere;
}

.page-subtitle {
    margin: 0;
    color: #626262;
    font-family: var(--serif);
    font-size: clamp(24px, 2.7vw, 31px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: -.015em;
}

.auth-panel {
    padding: clamp(24px, 3.3vw, 42px);
    border: 1px solid #d9d9d9;
    border-radius: var(--radius);
    background: #ffffff;
}

.auth-form {
    margin: 0;
    min-width: 0;
}

.auth-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 34px;
    margin-bottom: 32px;
}

.form-field-group {
    min-width: 0;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.025em;
}

.field-help {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.input-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
}

.text-input-field {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 82px;
    margin: 0;
    padding: 20px 22px;
    border: 1px solid #9c9c9c;
    border-radius: var(--radius);
    outline: none;
    background: #ffffff;
    color: #111111;
    font-family: var(--sans);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 500;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
    caret-color: #111111;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.text-input-field:focus {
    border-color: #111111;
    box-shadow: 0 0 0 1px #111111;
}

.text-input-field::placeholder {
    color: #858585;
    opacity: 1;
}

.text-input-field[aria-invalid="true"] {
    border-color: #111111;
    box-shadow: inset 0 0 0 1px #111111;
}

.text-input-field--password {
    padding-right: 80px;
}

.text-input-field:-webkit-autofill {
    -webkit-text-fill-color: #111111;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    caret-color: #111111;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 11px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: #f3f3f3;
    color: #111111;
    cursor: pointer;
    touch-action: manipulation;
    transform: translateY(-50%);
}

.password-toggle__icon {
    width: 23px;
    height: 23px;
}

.password-toggle__slash {
    display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__slash {
    display: block;
}

.legal-disclaimer {
    margin: 14px 0 0;
    color: #696969;
    font-size: 11px;
    line-height: 1.85;
}

.field-caption {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.field-caption__icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.auth-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 34px;
    padding-top: 28px;
    border-top: 1px solid #e2e2e2;
}

.auth-actions__context {
    min-width: 0;
}

.auth-actions__title {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.auth-actions__copy {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.85;
}

.auth-actions__button-group {
    min-width: 0;
}

.btn-submit-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 78px;
    padding: 20px 24px;
    border: 1px solid #111111;
    border-radius: var(--radius);
    background: #111111;
    color: #ffffff;
    font-family: var(--sans);
    font-size: clamp(21px, 2.1vw, 25px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.025em;
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .2s ease, transform .2s var(--ease);
}

.btn-submit-action:active {
    transform: scale(.99);
}

.btn-submit-action:disabled {
    opacity: .6;
    cursor: wait;
}

.btn-submit-action__icon {
    width: 24px;
    height: 24px;
}

.btn-submit-action__spinner {
    display: none;
    width: 23px;
    height: 23px;
    animation: spin .8s linear infinite;
}

.btn-submit-action[aria-busy="true"] .btn-submit-action__icon {
    display: none;
}

.btn-submit-action[aria-busy="true"] .btn-submit-action__spinner {
    display: block;
}

.auth-button-note {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

.auth-switch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.auth-switch--footer {
    justify-content: center;
    margin-top: 19px;
}

.auth-switch-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 5px;
    border-radius: var(--radius);
    color: #111111;
    font-size: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.form-errors {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 26px;
    padding: 17px 19px;
    border: 1px solid #a3a3a3;
    border-radius: var(--radius);
    background: #f5f5f5;
    color: #111111;
}

.form-errors__icon {
    width: 21px;
    height: 21px;
    margin-top: 2px;
}

.form-errors__content {
    min-width: 0;
}

.form-error-line {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.form-error-line + .form-error-line {
    margin-top: 5px;
}

.hp-offscreen-field {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    pointer-events: none;
}

.hp-input {
    font-size: 18px;
}

.pricing-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 45px;
    margin-bottom: 30px;
}

.pricing-heading__main {
    min-width: 0;
}

.pricing-heading__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 300px;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.pricing-heading__icon {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    color: #111111;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 29px;
    border: 1px solid #d7d7d7;
    border-radius: var(--radius);
    background: #ffffff;
}

.pricing-card-popular {
    padding: 28px;
    border: 2px solid #111111;
    background: #fafafa;
}

.pricing-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 39px;
    margin-bottom: 11px;
}

.pricing-plan-name {
    margin: 0;
    font-size: 29px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.045em;
}

.pricing-badge {
    padding: 5px 8px;
    border-radius: var(--radius);
    background: #111111;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .025em;
}

.pricing-plan-tagline {
    min-height: 51px;
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px 9px;
    margin-bottom: 18px;
}

.pricing-amount {
    font-size: clamp(43px, 4.2vw, 57px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.065em;
    font-variant-numeric: lining-nums;
}

.pricing-period {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    white-space: nowrap;
}

.pricing-hours {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 13px 12px;
    border-radius: var(--radius);
    background: #f1f1f1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.pricing-hours__icon {
    width: 18px;
    height: 18px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: #454545;
    font-size: 14px;
    line-height: 1.7;
}

.pricing-feature-icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: #111111;
}

.pricing-feature-text {
    min-width: 0;
}

.pricing-cta-form {
    width: 100%;
    margin: auto 0 0;
}

.pricing-cta {
    min-height: 69px;
    padding-inline: 15px;
    font-size: 18px;
}

.pricing-footer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 25px;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: #f5f5f5;
}

.pricing-footer__icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.pricing-footer-note {
    margin: 0;
    color: #626262;
    font-size: 12px;
    line-height: 1.9;
}

.checkout-status {
    min-height: 24px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.payment-notice {
    margin-bottom: 24px;
    padding: 16px 19px;
    border: 1px solid #cccccc;
    border-radius: var(--radius);
    background: #f6f6f6;
    color: #555555;
    font-size: 13px;
    line-height: 1.8;
}

@keyframes enter {
    from {
        opacity: .3;
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (hover: hover) and (pointer: fine) {
    .btn-submit-action:not(:disabled):hover {
        background: #303030;
    }

    .password-toggle:hover {
        background: #e9e9e9;
    }

    .auth-switch-link:hover {
        text-decoration-thickness: 2px;
    }
}

@media (max-width: 1080px) {
    .pricing-card {
        padding: 23px;
    }

    .pricing-card-popular {
        padding: 22px;
    }

    .pricing-grid {
        gap: 15px;
    }

    .pricing-plan-name {
        font-size: 26px;
    }

    .pricing-plan-top {
        align-items: flex-start;
    }

    .pricing-badge {
        font-size: 8px;
    }

    .pricing-amount {
        font-size: 46px;
    }

    .pricing-feature {
        font-size: 13px;
    }

    .auth-fields,
    .auth-actions {
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: start;
        gap: 0 34px;
        padding: 29px;
    }

    .pricing-card-popular {
        padding: 28px;
    }

    .pricing-card__summary {
        grid-column: 1;
        grid-row: 1;
    }

    .pricing-features {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-bottom: 0;
        padding-left: 28px;
        border-left: 1px solid #dddddd;
    }

    .pricing-cta-form {
        grid-column: 1;
        grid-row: 2;
        align-self: end;
        margin-top: 19px;
    }

    .pricing-plan-tagline {
        min-height: 0;
        margin-bottom: 21px;
    }

    .pricing-feature {
        font-size: 14px;
    }

    .pricing-hours {
        margin-bottom: 0;
    }

    .pricing-badge {
        font-size: 9px;
    }

    .pricing-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .pricing-heading__note {
        max-width: none;
        margin-bottom: 0;
    }

    .text-input-field {
        font-size: 24px;
        padding-inline: 18px;
    }

    .text-input-field--password {
        padding-right: 74px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(580px, calc(100% - 36px));
    }

    .navbar__inner {
        min-height: 70px;
    }

    .page-main {
        padding-top: 28px;
    }

    .page-heading {
        margin-bottom: 25px;
    }

    .page-title {
        font-size: clamp(37px, 8.5vw, 48px);
    }

    .page-subtitle {
        font-size: 26px;
    }

    .auth-panel {
        padding: 25px;
    }

    .auth-fields {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 27px;
    }

    .form-label {
        font-size: 19px;
    }

    .field-help {
        margin-bottom: 12px;
    }

    .text-input-field {
        min-height: 78px;
        font-size: 25px;
        padding-inline: 19px;
    }

    .text-input-field--password {
        padding-right: 77px;
    }

    .auth-actions {
        grid-template-columns: 1fr;
        gap: 17px;
        padding-top: 24px;
    }

    .auth-actions__button-group {
        grid-row: 1;
    }

    .auth-actions__context {
        text-align: center;
    }

    .auth-actions__context .auth-switch {
        justify-content: center;
    }

    .btn-submit-action {
        min-height: 75px;
        font-size: 23px;
    }

    .auth-switch {
        font-size: 13px;
    }

    .auth-switch--footer {
        margin-top: 14px;
    }

    .pricing-heading {
        margin-bottom: 24px;
    }

    .pricing-card {
        gap: 0 25px;
        padding: 24px;
    }

    .pricing-card-popular {
        padding: 23px;
    }

    .pricing-features {
        padding-left: 23px;
    }

    .pricing-amount {
        font-size: 44px;
    }

    .pricing-cta {
        min-height: 65px;
        font-size: 17px;
    }

    .pricing-footer {
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .pricing-card,
    .pricing-card-popular {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 26px;
    }

    .pricing-card-popular {
        padding: 25px;
    }

    .pricing-card__summary {
        width: 100%;
    }

    .pricing-plan-name {
        font-size: 29px;
    }

    .pricing-plan-tagline {
        font-size: 15px;
    }

    .pricing-price-row {
        gap: 4px 10px;
    }

    .pricing-amount {
        font-size: 55px;
    }

    .pricing-hours {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .pricing-features {
        width: 100%;
        margin-bottom: 30px;
        padding-left: 0;
        border-left: 0;
    }

    .pricing-feature {
        font-size: 15px;
    }

    .pricing-cta-form {
        margin-top: auto;
    }

    .pricing-cta {
        min-height: 73px;
        font-size: 20px;
    }

    .pricing-footer {
        gap: 10px;
    }

    .pricing-footer-note {
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .container {
        width: calc(100% - 32px);
    }

    .stepper {
        gap: 8px;
    }

    .stepper__item {
        gap: 6px;
        font-size: 11px;
    }

    .stepper__line {
        width: 19px;
    }

    .stepper__mark {
        width: 23px;
        height: 23px;
    }

    .auth-panel {
        padding: 22px 19px;
    }

    .text-input-field {
        min-height: 76px;
        padding-inline: 15px;
        font-size: 22px;
    }

    .text-input-field--password {
        padding-right: 67px;
    }

    .password-toggle {
        right: 8px;
        width: 43px;
        height: 46px;
    }

    .form-label {
        font-size: 18px;
    }

    .legal-disclaimer {
        font-size: 11px;
    }

    .form-errors {
        gap: 9px;
        padding: 14px;
    }

    .form-error-line {
        font-size: 12px;
    }

    .pricing-card {
        padding: 24px;
    }

    .pricing-card-popular {
        padding: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .document {
        scroll-behavior: auto;
    }

    .page-heading,
    .btn-submit-action__spinner {
        animation: none;
    }

    .text-input-field,
    .btn-submit-action {
        transition: none;
    }
}
