:root {
    font-family: Arial, Helvetica, sans-serif;
    color: #152626;
    background: #f5f5f0;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.shell {
    width: min(100% - 32px, 1040px);
    margin: 0 auto;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
    border-bottom: 1px solid #dce3df;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    min-width: 74px;
    height: 40px;
    border-radius: 8px;
    background: #006b70;
    color: white;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1.7px;
}

.brand-label {
    font-weight: 700;
    font-size: 15px;
}

.privacy {
    color: #56706d;
    font-size: 13px;
}

.hero {
    max-width: 680px;
    padding: 68px 0 44px;
}

.eyebrow {
    color: #08787b;
    font-size: 12px;
    letter-spacing: .14em;
    font-weight: 800;
    text-transform: uppercase;
}

h1 {
    margin: 12px 0 16px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.04;
    letter-spacing: -.055em;
}

.intro {
    color: #4c6260;
    font-size: 19px;
    line-height: 1.55;
    margin: 0;
}

.panel {
    background: white;
    border: 1px solid #e0e6e2;
    border-radius: 18px;
    box-shadow: 0 9px 35px #0b39310a;
    padding: 30px;
    margin-bottom: 24px;
    transition: background-color .2s, border-color .2s, opacity .2s;
}

.panel.locked {
    background: #eef0ed;
    border-color: #e1e4e1;
    box-shadow: none;
    color: #707b78;
    opacity: .68;
}

.panel.locked .step {
    background: #d9ddda;
    color: #6e7975;
}

.panel.locked .section-title p,
.panel.locked .hint {
    color: #737d7a;
}

.section-title {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
}

.step {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: #d5f1e7;
    color: #086c62;
    font-weight: 800;
}

h2 {
    margin: 1px 0 5px;
    font-size: 23px;
    letter-spacing: -.025em;
}

.section-title p {
    color: #647875;
    margin: 0;
    line-height: 1.45;
}

.button {
    border: 0;
    border-radius: 9px;
    min-height: 46px;
    padding: 0 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.button:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.primary {
    background: #007d76;
    color: white;
}

.primary:hover:not(:disabled) {
    background: #006560;
}

.dark {
    background: #153b38;
    color: white;
}

.button:focus-visible, .text-button:focus-visible, .bookmarklet:focus-visible, input:focus-visible {
    outline: 3px solid #f7ad36;
    outline-offset: 2px;
}

.instruction {
    margin: 26px 0 15px;
    max-width: 720px;
    line-height: 1.55;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.input-row {
    display: flex;
    gap: 10px;
}

input[type=text] {
    min-width: 0;
    flex: 1;
    border: 1px solid #aabbb6;
    border-radius: 9px;
    min-height: 46px;
    padding: 10px 14px;
    font: inherit;
}

input[type=text]:disabled {
    background: #e3e6e3;
    color: #747d7a;
    cursor: not-allowed;
}

.hint {
    font-size: 13px;
    color: #647875;
    margin: 10px 0 0;
}

.retry-note {
    margin-top: 12px;
}

.bookmarklet-guidance {
    padding: 14px 16px;
    border-left: 3px solid #007d76;
    border-radius: 0 8px 8px 0;
    background: #eef9f5;
    color: #174d42;
    line-height: 1.5;
    margin: 18px 0;
}

.signin-instructions {
    margin: 0;
    padding-left: 24px;
    line-height: 1.55;
}

.signin-instructions li {
    padding-left: 6px;
    margin-bottom: 18px;
}

.signin-instructions li:last-child {
    margin-bottom: 0;
}

.signin-instructions + .button {
    display: block;
    margin-top: 24px;
}

.login-reminder {
    width: min(100% - 32px, 560px);
    max-height: calc(100% - 32px);
    overflow-y: auto;
    padding: 28px;
    border: 1px solid #e0e6e2;
    border-radius: 18px;
    color: #152626;
    background: white;
    box-shadow: 0 20px 70px #0b393133;
}

.login-reminder::backdrop {
    background: #15262699;
}

.login-reminder p {
    line-height: 1.55;
    color: #415b55;
}

.reminder-acknowledgment {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin: 20px 0;
    border-radius: 9px;
    background: #eef9f5;
    line-height: 1.45;
    cursor: pointer;
}

.reminder-acknowledgment input {
    flex: none;
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: #007d76;
}

.reminder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.offers-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.text-button {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #006f70;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 13px;
}

.offer {
    display: flex;
    gap: 12px;
    min-height: 155px;
    padding: 18px;
    border: 1px solid #dce5df;
    border-radius: 13px;
    background: #fcfdfa;
    cursor: pointer;
}

.offer:has(input:checked) {
    border-color: #00847d;
    background: #eef9f5;
    box-shadow: inset 0 0 0 1px #00847d;
}

.offer.unavailable {
    cursor: default;
    opacity: .67;
}

.offer.account-selected {
    cursor: default;
    border-color: #57a77b;
    background: #e5f6eb;
    box-shadow: inset 0 0 0 1px #57a77b;
}

.offer.account-selected .offer-meta {
    align-self: flex-start;
    padding: 4px 9px;
    border-radius: 999px;
    background: #087647;
    color: white;
}

.offer.account-selected input {
    opacity: 1;
    accent-color: #087647;
}

.offer input {
    flex: none;
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: #007d76;
}

.offer-order {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #007d76;
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.offer-order[hidden] {
    display: none;
}

.offer-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.offer-title {
    font-weight: 800;
    line-height: 1.3;
}

.offer-subtitle {
    color: #415b55;
    font-size: 14px;
    line-height: 1.4;
}

.offer-meta {
    margin-top: auto;
    color: #5b716b;
    font-size: 12px;
    font-weight: 700;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    margin-top: 26px;
    border-top: 1px solid #e5ebe7;
    font-weight: 700;
}

.sign-out {
    margin-top: 12px;
}

#notice {
    padding: 15px 18px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: #e5f4ef;
    color: #174d42;
    line-height: 1.45;
}

#notice.error {
    background: #fdece8;
    color: #872e27;
}

footer {
    color: #687974;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0 50px;
}

@media (max-width: 600px) {
    .privacy {
        display: none;
    }

    .hero {
        padding: 46px 0 34px;
    }

    .panel {
        padding: 21px;
    }

    .input-row {
        flex-direction: column;
    }

    .action-bar {
        align-items: stretch;
        flex-direction: column;
    }
}

.bookmarklet {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #006f70;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    cursor: grab;
    user-select: none;
}

.bookmarklet::before {
    content: "⠿";
    color: #849692;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
}

.bookmarklet:hover {
    color: #005d5e;
}

.bookmarklet:active {
    cursor: grabbing;
}

.skip-bookmarklet {
    margin-left: 16px;
    font-size: 13px;
    font-weight: 600;
}
