:root {
    --aqtos-ink: #123541;
    --aqtos-ink-deep: #0b2832;
    --aqtos-teal: #0c7e8a;
    --aqtos-teal-dark: #08616b;
    --aqtos-aqua: #54c3d1;
    --aqtos-aqua-bright: #63d5df;
    --aqtos-mist: #e8f8fa;
    --aqtos-page: #f5fbfc;
    --aqtos-line: #d9e8eb;
    --aqtos-muted: #60727a;
    --aqtos-white: #ffffff;
    --aqtos-danger: #a23a45;
    --aqtos-danger-soft: #fff3f4;
    --shadow-card: 0 24px 70px rgba(15, 75, 85, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--aqtos-ink);
    background: var(--aqtos-page);
    font-family: "Fira Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

a {
    color: var(--aqtos-teal);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--aqtos-teal-dark);
}

[hidden] {
    display: none !important;
}

.onboarding-page {
    min-height: 100vh;
    overflow: hidden;
    background: var(--aqtos-page);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    min-height: 88px;
    margin: 0 auto;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

.brand-link img {
    display: block;
    width: auto;
    height: 35px;
}

.back-link,
.secure-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #45616b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.back-link span {
    color: var(--aqtos-teal);
    font-size: 18px;
    transition: transform 160ms ease;
}

.back-link:hover span {
    transform: translateX(-3px);
}

.lock-icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 12px;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.lock-icon::before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 2px;
    width: 6px;
    height: 6px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.onboarding-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.25fr);
    align-items: start;
    gap: 28px;
    width: min(1120px, calc(100% - 48px));
    margin: 12px auto 56px;
}

.onboarding-intro {
    position: sticky;
    top: 24px;
    display: flex;
    min-height: 680px;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 40px 38px;
    overflow: hidden;
    color: var(--aqtos-white);
    border-radius: 28px;
    background: linear-gradient(155deg, #123e4b 0%, #0d5e68 58%, #0b727c 100%);
    box-shadow: 0 22px 50px rgba(8, 73, 82, 0.2);
}

.eyebrow,
.step-kicker {
    margin: 0 0 12px;
    color: var(--aqtos-aqua-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.onboarding-intro h1 {
    max-width: 14ch;
    margin: 0;
    color: var(--aqtos-white);
    font-family: "Fira Sans", Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 3.1vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.intro-copy {
    max-width: 34rem;
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.65;
}

.plan-card {
    position: relative;
    z-index: 1;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.plan-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.plan-card-heading > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.plan-card-heading strong {
    color: var(--aqtos-white);
    font-size: 19px;
}

.trial-chip {
    display: inline-flex;
    min-height: 28px;
    flex: 0 0 auto;
    align-items: center;
    padding: 5px 11px;
    color: var(--aqtos-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: var(--aqtos-aqua);
    box-shadow: 0 6px 16px rgba(3, 28, 34, 0.18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 13px;
}

.plan-price strong {
    color: var(--aqtos-white);
    font-size: 27px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.plan-price > span,
.plan-original-price {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
}

.plan-original-price {
    margin-left: auto;
}

.plan-original-price.is-hidden {
    display: none;
}

.plan-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    margin: 16px 0 14px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: transparent;
}

.plan-option {
    display: inline-flex;
    min-width: 0;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    color: rgba(255, 255, 255, 0.72);
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.plan-option:hover:not(:disabled):not(.is-selected) {
    color: var(--aqtos-white);
    background: rgba(255, 255, 255, 0.08);
}

.plan-option.is-selected {
    color: var(--aqtos-white);
    background: rgba(255, 255, 255, 0.17);
}

.plan-option:disabled {
    cursor: wait;
    opacity: 0.6;
}

.billing-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    letter-spacing: -0.01em;
    line-height: 1.5;
    white-space: nowrap;
}

.plan-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 11px;
    margin: 26px 0;
    padding: 0;
    list-style: none;
}

.plan-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 600;
}

.plan-benefits li > span,
.completion-icon {
    display: inline-flex;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--aqtos-ink-deep);
    border-radius: 50%;
    background: var(--aqtos-aqua-bright);
    font-size: 11px;
    font-weight: 900;
}

.intro-footnote {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: auto 0 0;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.64);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
}

.intro-footnote a {
    color: var(--aqtos-white);
}

.completion-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.completion-card .completion-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
}

.completion-card strong {
    color: var(--aqtos-white);
    font-size: 14px;
}

.completion-card p {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.checkout-card {
    position: relative;
    width: 100%;
    padding: 32px 40px 26px;
    overflow: hidden;
    border: 1px solid var(--aqtos-line);
    border-radius: 28px;
    background: var(--aqtos-white);
    box-shadow: var(--shadow-card);
}

.checkout-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--aqtos-aqua), var(--aqtos-teal-dark) 72%);
}

.checkout-heading {
    margin: 26px 0 12px;
}

.checkout-heading .step-kicker {
    margin-bottom: 7px;
    color: var(--aqtos-teal);
}

.checkout-heading h2 {
    margin: 0;
    color: var(--aqtos-ink);
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.checkout-heading > p:last-child {
    max-width: 38rem;
    margin: 9px 0 0;
    color: var(--aqtos-muted);
    font-size: 14px;
}

/* Onboarding progress: details -> payment -> workspace */
.stepper {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.stepper-step {
    position: relative;
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stepper-step:not(:first-child)::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 15px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: var(--aqtos-line);
}

.stepper-step.is-complete:not(:first-child)::before,
.stepper-step.is-active:not(:first-child)::before {
    background: linear-gradient(90deg, var(--aqtos-aqua), var(--aqtos-teal));
}

.stepper-bubble {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #87989e;
    border: 2px solid var(--aqtos-line);
    border-radius: 50%;
    background: var(--aqtos-white);
    font-size: 12px;
    font-weight: 800;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.stepper-step.is-active .stepper-bubble {
    color: var(--aqtos-white);
    border-color: var(--aqtos-teal);
    background: var(--aqtos-teal);
    box-shadow: 0 0 0 5px rgba(84, 195, 209, 0.16);
}

.stepper-step.is-complete .stepper-bubble {
    color: var(--aqtos-white);
    border-color: var(--aqtos-aqua);
    background: var(--aqtos-aqua);
}

.stepper-check {
    display: none;
}

.stepper-step.is-complete .stepper-check {
    display: inline;
}

.stepper-step.is-complete .stepper-number {
    display: none;
}

.stepper-label {
    margin-top: 7px;
    padding: 0 4px;
    color: #8b9ba1;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.stepper-step.is-active .stepper-label,
.stepper-step.is-complete .stepper-label {
    color: var(--aqtos-teal-dark);
}

/* Paddle inline checkout */
.checkout-container {
    width: 100%;
    min-height: 450px;
}

.checkout-container:empty {
    min-height: 0;
}

.checkout-loading {
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--aqtos-muted);
    font-size: 14px;
}

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border: 3px solid rgba(84, 195, 209, 0.28);
    border-top-color: var(--aqtos-teal);
    border-radius: 50%;
    animation: aqtos-spin 800ms linear infinite;
}

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

.checkout-error,
.form-alert {
    padding: 13px 15px;
    color: var(--aqtos-danger);
    border: 1px solid #efc8cd;
    border-radius: 12px;
    background: var(--aqtos-danger-soft);
    font-size: 13px;
}

.checkout-error {
    margin: 18px 0;
}

.form-alert {
    margin: 24px 0 0;
}

.form-alert strong {
    display: block;
    margin-bottom: 3px;
}

.form-alert p {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.checkout-handoff {
    display: flex;
    min-height: 310px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: left;
}

.checkout-handoff strong {
    display: block;
    margin-bottom: 2px;
}

.checkout-handoff p {
    margin: 0;
    color: var(--aqtos-muted);
    font-size: 14px;
}

.checkout-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 20px;
    color: var(--aqtos-muted);
    border-top: 1px solid var(--aqtos-line);
}

.checkout-footer > p {
    margin: 0;
    color: inherit;
    font-size: 12px;
}

.checkout-footer > p a {
    font-weight: 700;
    text-decoration: none;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.legal-links a {
    color: #637980;
    font-size: 12px;
    text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus {
    color: var(--aqtos-teal);
    text-decoration: underline;
}

/* Workspace setup form */
.setup-card {
    padding: 28px 36px 24px;
}

.setup-card .checkout-heading {
    margin: 20px 0 8px;
}

.workspace-form {
    margin-top: 18px;
}

.form-group-section {
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.form-group-section + .form-group-section {
    padding-top: 17px;
    border-top: 1px solid var(--aqtos-line);
}

.form-group-section legend {
    float: none;
    width: auto;
    margin: 0 0 11px;
    color: var(--aqtos-ink);
    font-size: 14px;
    font-weight: 800;
}

.field-group {
    min-width: 0;
    margin-bottom: 12px;
}

.field-group:last-child {
    margin-bottom: 0;
}

.field-group label {
    display: block;
    margin-bottom: 7px;
    color: #294751;
    font-size: 13px;
    font-weight: 700;
}

.field-group label span {
    color: var(--aqtos-teal);
}

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

.field-grid > .field-group {
    margin-bottom: 0;
}

.company-field-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.admin-field-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.78fr) minmax(0, 1.44fr);
}

.location-fields {
    margin-top: 12px;
}

.form-control,
.form-select {
    min-height: 44px;
    padding: 9px 12px;
    color: var(--aqtos-ink);
    border: 1px solid #cddde1;
    border-radius: 10px;
    background-color: var(--aqtos-white);
    font-size: 14px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-control::placeholder {
    color: #97a6ab;
}

.form-control:hover,
.form-select:hover {
    border-color: #a8c2c7;
}

.form-control:focus,
.form-select:focus {
    color: var(--aqtos-ink);
    border-color: var(--aqtos-teal);
    background: var(--aqtos-white);
    box-shadow: 0 0 0 4px rgba(84, 195, 209, 0.15);
}

.domain-field {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cddde1;
    border-radius: 10px;
    background: var(--aqtos-white);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.domain-field:hover {
    border-color: #a8c2c7;
}

.domain-field:focus-within {
    border-color: var(--aqtos-teal);
    box-shadow: 0 0 0 4px rgba(84, 195, 209, 0.15);
}

.domain-field .form-control {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.domain-field > span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 10px;
    color: var(--aqtos-teal-dark);
    border-left: 1px solid var(--aqtos-line);
    background: var(--aqtos-mist);
    font-size: 13px;
    font-weight: 700;
}

.field-hint {
    margin: 4px 0 0;
    color: #75878e;
    font-size: 12px;
}

.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.form-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.85fr);
    align-items: center;
    gap: 16px;
}

.terms-row .form-check-input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 2px 0 0;
    border: 1px solid #a7bcc1;
    border-radius: 4px;
}

.terms-row .form-check-input:checked {
    border-color: var(--aqtos-teal);
    background-color: var(--aqtos-teal);
}

.terms-row .form-check-input:focus {
    border-color: var(--aqtos-teal);
    box-shadow: 0 0 0 4px rgba(84, 195, 209, 0.15);
}

.terms-row label {
    color: var(--aqtos-muted);
    font-size: 12px;
}

.terms-link {
    color: var(--aqtos-teal-dark);
    font-weight: 700;
}

.btn-primary {
    min-height: 46px;
    color: var(--aqtos-white);
    border: 0;
    border-radius: 11px;
    background: linear-gradient(105deg, var(--aqtos-teal-dark), var(--aqtos-teal) 58%, #18a6b4);
    box-shadow: 0 10px 24px rgba(10, 116, 127, 0.22);
    font-size: 14px;
    font-weight: 750;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--aqtos-white);
    background: linear-gradient(105deg, #075b64, var(--aqtos-teal) 58%, #18a6b4);
    box-shadow: 0 13px 28px rgba(10, 116, 127, 0.28);
    filter: saturate(1.08);
    transform: translateY(-1px);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(84, 195, 209, 0.36);
    outline-offset: 3px;
}

.btn-primary:active {
    box-shadow: 0 6px 14px rgba(10, 116, 127, 0.2);
    transform: translateY(0);
}

.btn-primary:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.submit-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.setup-card .checkout-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 18px;
    padding-top: 16px;
}

.setup-card .checkout-footer > p {
    max-width: none;
    line-height: 1.5;
}

.setup-card .legal-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
}

.setup-card .legal-links a {
    color: var(--aqtos-teal-dark);
    font-weight: 600;
}

/* Trial questions */
.faq-section {
    width: min(820px, calc(100% - 48px));
    margin: 4px auto 72px;
    padding: 34px 0 0;
}

.faq-heading {
    max-width: 560px;
    margin: 0 auto 30px;
    text-align: center;
}

.faq-heading h2 {
    margin: 0;
    color: var(--aqtos-ink);
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.faq-heading > p:last-child {
    margin: 12px 0 0;
    color: var(--aqtos-muted);
    font-size: 15px;
}

.faq-list {
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid var(--aqtos-line);
}

.faq-list details {
    border-bottom: 1px solid var(--aqtos-line);
}

.faq-list summary {
    position: relative;
    padding: 20px 36px 20px 0;
    color: var(--aqtos-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 17px;
    right: 2px;
    color: var(--aqtos-teal);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list summary:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(84, 195, 209, 0.3);
    outline-offset: 3px;
}

.faq-list details p {
    max-width: 60ch;
    margin: -5px 36px 20px 0;
    color: var(--aqtos-muted);
    font-size: 15px;
    line-height: 1.65;
}

.faq-list details .faq-answer {
    margin: -5px 36px 24px 0;
}

.faq-list details .faq-answer > p {
    max-width: none;
    margin: 0 0 14px;
}

.faq-feature-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 26px;
    margin: 0;
    padding: 0;
    color: var(--aqtos-muted);
    font-size: 14px;
    line-height: 1.55;
    list-style: none;
}

.faq-feature-groups li {
    padding-left: 14px;
    border-left: 2px solid var(--aqtos-aqua);
}

.faq-feature-groups li:last-child {
    grid-column: 1 / -1;
}

.faq-feature-groups strong {
    display: block;
    margin-bottom: 2px;
    color: var(--aqtos-ink);
    font-size: 14px;
}

.faq-list details a {
    font-weight: 700;
}

/* Existing success and error views */
.page-single {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 2%, rgba(84, 195, 209, 0.2), transparent 28rem),
        var(--aqtos-page);
}

.company-logo {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.company-logo img {
    height: 35px !important;
}

.page-single-body {
    display: flex;
    justify-content: center;
    padding: 24px 16px 48px;
}

.form-section {
    width: 100%;
    max-width: 680px;
    padding: 42px;
    border: 1px solid var(--aqtos-line);
    border-radius: 28px;
    background: var(--aqtos-white);
    box-shadow: var(--shadow-card);
}

.form-section p {
    color: var(--aqtos-muted);
    font-size: 14px;
}

.gradient-text {
    color: var(--aqtos-teal);
    font-weight: 750;
}

.form-content {
    margin-bottom: 28px;
}

.ratio {
    overflow: hidden;
    border-radius: 14px !important;
}

.support {
    margin-top: 32px;
    color: var(--aqtos-muted);
    font-size: 13px;
}

.support a {
    font-weight: 700;
    text-decoration: none;
}

.form-section > .legal-links {
    justify-content: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--aqtos-line);
}

@media (max-width: 940px) {
    .onboarding-shell {
        grid-template-columns: minmax(0, 700px);
        justify-content: center;
        width: min(700px, calc(100% - 40px));
    }

    .onboarding-intro {
        position: relative;
        top: auto;
        display: grid;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
        gap: 22px 28px;
        padding: 34px;
    }

    .onboarding-intro h1 {
        max-width: 16ch;
        font-size: 2.25rem;
    }

    .onboarding-intro h1 br {
        display: none;
    }

    .intro-copy {
        margin-bottom: 0;
    }

    .plan-card,
    .completion-card {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .plan-benefits {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 2px 0 0;
    }

    .intro-footnote {
        grid-column: 1 / -1;
        margin: 0;
    }

    .faq-section {
        width: min(700px, calc(100% - 40px));
        padding-top: 28px;
    }
}

@media (max-width: 620px) {
    .site-header {
        width: calc(100% - 32px);
        min-height: 72px;
    }

    .brand-link img {
        height: 30px;
    }

    .back-link,
    .secure-label {
        font-size: 12px;
    }

    .onboarding-shell {
        gap: 14px;
        width: calc(100% - 24px);
        margin: 0 auto 28px;
    }

    .onboarding-intro {
        display: flex;
        padding: 26px 22px 22px;
        border-radius: 21px;
    }

    .checkout-page .onboarding-intro,
    .setup-page .onboarding-intro {
        padding: 16px 18px;
    }

    .checkout-page .onboarding-intro > div:first-child,
    .setup-page .onboarding-intro > div:first-child,
    .checkout-page .intro-footnote,
    .setup-page .intro-footnote {
        display: none;
    }

    .checkout-page .plan-card,
    .setup-page .completion-card {
        padding: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .onboarding-intro h1 {
        font-size: 2rem;
    }

    .intro-copy {
        margin: 14px 0 20px;
        font-size: 14px;
    }

    .plan-card,
    .completion-card {
        width: 100%;
        padding: 16px;
    }

    .plan-card-heading strong {
        font-size: 17px;
    }

    .plan-toggle {
        margin-top: 14px;
    }

    .plan-option {
        padding-right: 7px;
        padding-left: 7px;
    }

    .plan-benefits {
        display: none;
    }

    .intro-footnote {
        margin-top: 18px;
        padding-top: 16px;
    }

    .checkout-card {
        padding: 25px 18px 20px;
        border-radius: 21px;
    }

    .checkout-heading {
        margin-top: 22px;
    }

    .checkout-heading h2 {
        font-size: 1.55rem;
    }

    .stepper-label {
        font-size: 12px;
    }

    .checkout-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .faq-section {
        width: calc(100% - 40px);
        margin-bottom: 36px;
        padding-top: 24px;
    }

    .faq-heading {
        margin-bottom: 22px;
    }

    .faq-heading h2 {
        font-size: 1.65rem;
    }

    .faq-list summary {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .faq-list summary::after {
        top: 15px;
    }

    .faq-list details .faq-answer {
        margin-right: 0;
    }

    .faq-feature-groups {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .faq-feature-groups li:last-child {
        grid-column: auto;
    }

    .legal-links {
        justify-content: flex-start;
    }

    .field-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group-section {
        margin-bottom: 18px;
    }

    .form-group-section + .form-group-section {
        padding-top: 17px;
    }

    .form-action-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .page-single-body {
        padding: 8px 12px 32px;
    }

    .form-section {
        padding: 28px 20px;
        border-radius: 21px;
    }

    .company-logo {
        width: calc(100% - 32px);
    }
}

@media (max-width: 359px) {
    .onboarding-shell {
        width: calc(100% - 8px);
    }

    .checkout-page .onboarding-intro {
        padding-right: 10px;
        padding-left: 10px;
    }

    .checkout-card {
        padding-right: 4px;
        padding-left: 4px;
        border-radius: 16px;
    }

    .checkout-heading,
    .checkout-footer,
    .workspace-form,
    .form-alert {
        margin-right: 10px;
        margin-left: 10px;
    }

    .stepper {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
