/* Base typography and controls */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: #173a47;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
a {
    color: inherit;
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled {
    opacity: 0.6;
    cursor: wait;
}
[hidden] {
    display: none !important;
}
/* Header and navigation */
.site-header {
    max-width: 1200px;
    margin: auto;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    text-decoration: none;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand span {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
}
.site-header nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 14px;
}
.site-header nav a {
    text-decoration: none;
}
.site-header nav a:last-child {
    font-weight: 700;
}
/* Welcome page: hero and sections */
.hero,
.section {
    max-width: 1136px;
    margin: auto;
    padding: 80px 32px;
}
.hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 30px;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 100px;
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 18px;
    color: #477589;
}
h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -1.4px;
    font-weight: 700;
}
h1 {
    font-size: clamp(42px, 5.5vw, 72px);
    margin: 0 0 26px;
}
h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    margin: 0 0 24px;
}
h3 {
    font-size: 24px;
    letter-spacing: -0.5px;
}
.lead {
    font-size: 19px;
    max-width: 490px;
    color: #4e6875;
}
.actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 30px 0 20px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-decoration: none;
    border: 1px solid #173a47;
    background: #173a47;
    color: white;
    border-radius: 10px;
    padding: 15px 22px;
    font-weight: 650;
}
.button:hover {
    background: #285164;
}
.quiet-link {
    font-weight: 600;
    text-decoration: none;
}
.note,
small {
    font-size: 13px;
    color: #536d79;
}
.wallet-tags {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.wallet-tags span,
.pill {
    font-size: 11px;
    letter-spacing: 0.8px;
    font-weight: 700;
    padding: 6px 12px;
    border: 1px solid #ccdfe7;
    border-radius: 99px;
}
.hero-art {
    position: relative;
    padding: 10px 8px;
}
.orbit {
    position: absolute;
    border: 1px solid #ccdfeb;
    border-radius: 50%;
    z-index: -1;
}
.orbit.one {
    width: 400px;
    height: 400px;
    top: -20px;
    left: 0;
}
.orbit.two {
    width: 470px;
    height: 470px;
    top: -55px;
    left: -35px;
}
/* Shared example-card appearance */
.sample-pass {
    --pass-bg: #9cc9e8;
    --pass-text: #173a47;
    --pass-label: #446579;
    position: relative;
    background: var(--pass-bg);
    color: var(--pass-text);
    border-radius: 20px;
    box-shadow: 0 22px 48px #173a471a;
    padding: 23px;
    max-width: 380px;
    margin: auto;
    min-height: 390px;
}
.hero-art .sample-pass {
    transform: rotate(-4deg);
}
.pass-heading {
    display: flex;
    gap: 12px;
    align-items: center;
}
.pass-logo {
    width: auto;
    max-width: 80px;
    height: 40px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
body[data-page='demo'] .onboarding-artwork {
    border: 1px solid #b6cbd5;
    border-radius: 16px;
    padding: 18px;
    margin: 20px 0;
    min-width: 0;
}
body[data-page='demo'] .onboarding-artwork input[type='file'] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 8px 0 12px;
}
body[data-page='demo'] .onboarding-artwork label {
    margin-top: 18px;
}
.pass-heading strong {
    font-size: 15px;
    overflow-wrap: anywhere;
}
.preview-counter {
    margin-left: auto;
    font-size: 13px;
    white-space: nowrap;
}
.sample-pass > p {
    font-size: 13px;
    color: var(--pass-label);
    margin: 15px 0;
}
.preview-stamps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    padding: 12px 0 24px;
    min-height: 104px;
}
.preview-stamps span {
    width: 47px;
    height: 47px;
    border: 1.5px dashed currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: 0.5;
    font-size: 22px;
}
.preview-stamps .earned {
    opacity: 1;
    background: var(--pass-text);
    color: var(--pass-bg);
    border-style: solid;
}
.pass-reward {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-wrap: anywhere;
}
.pass-reward small,
.preview-code small {
    color: var(--pass-label);
    font-size: 10px;
    letter-spacing: 1px;
}
.pass-reward strong {
    font-size: 17px;
}
.preview-code {
    text-align: center;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.preview-code span {
    background: white;
    color: #173a47;
    font-size: 42px;
    line-height: 1;
    border-radius: 5px;
    padding: 3px 12px;
    margin-bottom: 8px;
}
.visit-control {
    display: block;
    text-align: center;
    max-width: 350px;
    margin: 32px auto 0;
    font-size: 12px;
    color: #477589;
}
.visit-control input {
    display: block;
    width: 100%;
    margin-top: 10px;
    accent-color: #173a47;
}
/* Welcome page: how it works */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-top: 45px;
}
.step-number {
    display: inline-block;
    font-size: 13px;
    padding-bottom: 12px;
    border-bottom: 2px solid #a4d5f2;
}
.feature-grid p {
    color: #4e6875;
}
/* Welcome page: business benefits */
.blue-section {
    border-radius: 24px;
    background: #e4f2fb;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    max-width: 1072px;
    padding: 50px;
}
.blue-section p {
    max-width: 400px;
}
.benefit-list {
    padding-left: 20px;
    align-self: center;
}
.benefit-list li {
    margin: 20px 0;
}
/* Welcome page: plans */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 40px;
}
.price-card {
    border-radius: 20px;
    background: white;
    padding: 36px;
    border: 1px solid #dce6eb;
}
.price-card.light {
    background: #eef5f8;
}
.price {
    font-size: 36px;
    font-weight: 750;
    letter-spacing: -1px;
    margin: 20px 0;
}
.price small {
    display: block;
    font-weight: 400;
    letter-spacing: 0;
}
.price-card ul {
    padding-left: 20px;
    font-size: 15px;
    margin: 25px 0;
}
.price-card li {
    margin: 10px 0;
}
.closing {
    text-align: center;
}
.closing .button {
    margin-top: 10px;
}
/* Shared footer */
.site-footer {
    border-top: 1px solid #dce6eb;
    max-width: 1136px;
    padding: 40px 32px;
    margin: auto;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #536d79;
}
.site-footer span {
    width: 100%;
    font-size: 11px;
}
/* Onboarding wizard */
.wizard {
    max-width: 1136px;
    padding: 20px 32px 70px;
    margin: auto;
}
.demo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #c9dfe9;
    background: #e7f2f9;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 13px;
}
.demo-banner .pill {
    background: white;
}
.progress {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 34px 0 45px;
    font-size: 12px;
    color: #617986;
}
.progress li {
    border-bottom: 2px solid #d7e5ec;
    padding: 0 0 12px;
    flex: 1;
}
.progress li[aria-current='step'] {
    color: #173a47;
    border-color: #173a47;
    font-weight: 750;
}
.wizard-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 65px;
    align-items: start;
}
.wizard-main h1 {
    font-size: 40px;
}
.wizard-main h2 {
    font-size: 23px;
}
.wizard-main label {
    display: block;
    font-size: 14px;
    font-weight: 650;
    margin: 24px 0;
}
.wizard-main label input,
.wizard-main label select {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #cedee6;
    border-radius: 9px;
    padding: 13px;
    background: white;
    color: #173a47;
    font-weight: 400;
}
.wizard-main input:focus,
.wizard-main select:focus {
    outline: 3px solid #91c7e5;
    outline-offset: 2px;
}
.color-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.color-fields input[type='color'] {
    height: 50px;
    padding: 5px;
}
.wizard-preview {
    position: sticky;
    top: 30px;
    text-align: center;
}
.wizard-preview .sample-pass {
    text-align: left;
}
.plan-summary {
    border: 1px solid #d5e3ea;
    border-radius: 12px;
    background: white;
    padding: 20px;
    margin: 24px 0;
}
.plan-summary p {
    margin: 8px 0;
}
.totals {
    margin: 24px 0;
}
.totals > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 12px 0;
}
.totals dd {
    margin: 0;
    text-align: right;
}
.totals .total {
    font-weight: 750;
    border-top: 1px solid #c9dce6;
    padding-top: 18px;
}
.secondary,
.quiet-button {
    border: 1px solid #c9dce6;
    color: #173a47;
    background: white;
    border-radius: 9px;
    padding: 12px 16px;
}
.quiet-button {
    border-color: transparent;
    background: transparent;
}
.simulation-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 26px 0;
}
.next-steps {
    padding-left: 20px;
}
.next-steps li {
    margin: 14px 0;
}
#demo-status {
    font-size: 14px;
    color: #ad4739;
    overflow-wrap: anywhere;
}
.demo-pricing-fields {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.demo-applications {
    list-style: none;
    padding: 0;
}
.demo-applications li {
    padding: 20px 0;
    border-bottom: 1px solid #dbe5df;
}
.demo-applications p {
    margin: 5px 0;
}
.demo-applications small {
    display: block;
}
.demo-applications button {
    margin: 8px 0;
}
.receipt {
    white-space: pre-wrap;
    font: inherit;
}
.loading {
    opacity: 0.65;
    pointer-events: none;
}
/* Responsive layout for smaller screens */
@media (max-width: 800px) {
    .site-header {
        padding: 22px;
    }
    .site-header nav {
        gap: 15px;
        font-size: 12px;
    }
    .site-header nav a[href^='#'] {
        display: none;
    }
    .hero,
    .section {
        padding: 20px 22px;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 10px;
    }
    .hero-art {
        max-width: 420px;
        width: 100%;
        margin: auto;
    }
    .orbit.two {
        display: none;
    }
    .orbit.one {
        width: 310px;
        height: 310px;
        left: calc(50% - 155px);
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blue-section {
        margin: 20px 16px;
        padding: 30px 24px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .price-card {
        padding: 28px;
    }
    .wizard {
        padding: 15px 22px 50px;
    }
    .wizard-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .wizard-preview {
        position: static;
        grid-row: 2;
    }
    .progress {
        font-size: 10px;
        gap: 8px;
        flex-wrap: wrap;
        margin: 25px 0;
    }
    .wizard-main h1 {
        font-size: 34px;
    }
    .sample-pass {
        max-width: 350px;
    }
    .site-footer {
        padding: 30px 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Wallet compatibility text */
.wallet-compatibility {
    margin-top: 28px;
    font-size: 14px;
    color: #536d79;
}

/* Plan selection */
.plan-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.plan-options .plan-summary {
    margin-bottom: 16px;
}
.plan-options strong {
    display: block;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .plan-options {
        grid-template-columns: 1fr;
    }
}

.plan-options {
    border: 0;
    padding: 0;
    margin: 28px 0 12px;
    align-items: stretch;
}
.plan-choice {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}
.plan-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.plan-choice .plan-summary {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    box-sizing: border-box;
    border: 2px solid #d5e2e8;
    margin: 0;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.plan-title {
    font-size: 1.55rem;
    font-weight: 800;
}
.plan-choice input:checked + .plan-summary {
    border-color: #173a47;
    box-shadow: 0 0 0 2px #173a4725;
    background: #edf6fa;
}
.plan-choice input:focus-visible + .plan-summary {
    outline: 3px solid #3685a8;
    outline-offset: 4px;
}
.plan-selected {
    margin-top: auto;
    font-weight: 700;
    visibility: hidden;
}
.plan-choice input:checked + .plan-summary .plan-selected {
    visibility: visible;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
/* Login page */
.login-shell {
    width: 100%;
    max-width: 480px;
    margin: clamp(24px, 6vw, 64px) auto;
    padding: 24px;
}
.login-shell form:not([hidden]) {
    display: grid;
    gap: 20px;
}
body[data-page='login'] .login-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}
body[data-page='login'] .login-field label {
    display: block;
    font-weight: 650;
}
body[data-page='login'] .login-field input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #aec7d3;
    border-radius: 12px;
    background: #fff;
    color: #173a47;
    font-size: 16px;
}
body[data-page='login'] .login-field input:focus-visible {
    outline: 3px solid #3685a8;
    outline-offset: 2px;
}
body[data-page='login'] #login-button {
    width: 100%;
    min-height: 50px;
}
.login-shell h1 {
    font-size: 2.3rem;
}
.login-shell .plan-summary {
    margin-top: 24px;
}
.wizard-main #business-category {
    appearance: none;
    -webkit-appearance: none;
    min-height: 50px;
    padding-right: 42px;
    background-image:
        linear-gradient(45deg, transparent 50%, #173a47 50%),
        linear-gradient(135deg, #173a47 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 50%,
        calc(100% - 16px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}
