      :root {
        color-scheme: dark;
        font-family: Arial, Helvetica, sans-serif;
      }

      * {
        box-sizing: border-box;
      }

      html,
      body {
        margin: 0;
        min-height: 100%;
        background: #eef5fc;
      }

      html:has(body.homepage),
      body.homepage {
        overflow: hidden;
      }

      .hero-stage {
        height: auto;
      }

      body {
        min-height: 100vh;
        color: #111;
      }

      body.homepage {
        background: #eef5fc;
      }

      body.homepage.background-ready {
        background-image: url("/background.jpg");
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
      }

      main {
        position: relative;
        min-height: 100vh;
        display: block;
        overflow: hidden;
        padding: 28px 20px 0;
      }

      .content {
        width: min(100%, 460px);
        margin-right: auto;
        margin-left: auto;
        transform: none;
        text-align: center;
      }

      .content[hidden] { display: none; }

      /* While loading.js marks the page as loading, show the skeleton instead of the content. */
      html.is-loading .homepage-skeleton[hidden] { display: block; }
      html.is-loading #homepage-content { display: none; }

      .homepage-skeleton > div:not(.home-skeleton-legal) {
        background: linear-gradient(100deg, #e3eaf0 25%, #f4f7f9 42%, #e3eaf0 60%);
        background-size: 220% 100%;
        animation: skeleton-shimmer 1.35s ease-in-out infinite;
      }

      .home-skeleton-logo { width: 76px; height: 76px; margin: 12px auto 32px; border-radius: 18px; }
      .home-skeleton-title { width: 300px; max-width: 90%; height: 24px; margin: 0 auto 10px; border-radius: 5px; }
      .home-skeleton-subtitle { width: 250px; max-width: 80%; height: 16px; margin: 0 auto 40px; border-radius: 5px; }
      .home-skeleton-input { width: 100%; height: 54px; margin-bottom: 12px; border-radius: 5px; }
      .home-skeleton-button { width: 100%; height: 42px; margin-bottom: 13px; border-radius: 4px; }
      .home-skeleton-legal { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 3px 8px 0; }
      .home-skeleton-legal span {
        display: block;
        width: 96%;
        height: 12px;
        border-radius: 5px;
        background: linear-gradient(100deg, #e3eaf0 25%, #f4f7f9 42%, #e3eaf0 60%);
        background-size: 220% 100%;
        animation: skeleton-shimmer 1.35s ease-in-out infinite;
      }
      .home-skeleton-legal span:nth-child(2) { width: 98%; }
      .home-skeleton-legal span:nth-child(3) { width: 58%; }

      .image-placeholder {
        background: linear-gradient(100deg, #e3eaf0 25%, #f4f7f9 42%, #e3eaf0 60%);
        background-size: 220% 100%;
        animation: skeleton-shimmer 1.35s ease-in-out infinite;
        overflow: hidden;
      }

      .image-placeholder > img {
        opacity: 0;
        transition: opacity 180ms ease-out;
      }

      .image-placeholder.is-loaded {
        background: transparent;
        animation: none;
      }

      .image-placeholder.is-loaded > img {
        opacity: 1;
      }

      .image-placeholder.is-failed {
        background: #e3eaf0;
        animation: none;
      }

      @media (prefers-reduced-motion: reduce) {
        .image-placeholder { animation: none; }
        .image-placeholder > img { transition: none; }
        .homepage-skeleton > div:not(.home-skeleton-legal),
        .home-skeleton-legal span { animation: none; }
      }

      .hero-phone {
        position: relative;
        display: flex;
        justify-content: center;
        width: min(100%, 1360px);
        height: 590px;
        margin-top: 28px;
        margin-right: auto;
        margin-left: auto;
      }

      .phone-placeholder {
        width: min(100%, 400px);
        aspect-ratio: 2 / 3;
        align-self: flex-start;
        position: relative;
        z-index: 2;
      }

      .phone-placeholder img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .brand-logo {
        position: absolute;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;
        height: 84px;
        padding: 16px 20px;
        border: 1px solid #edf0ed;
        border-radius: 14px;
        background: transparent;
        box-shadow: 0 8px 24px rgba(27, 55, 35, .08);
      }

      .brand-logo img {
        position: static;
        z-index: auto;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .brand-logo.kroger { left: 90px; top: 70px; }
      .brand-logo.best-buy { left: 20px; top: 270px; }
      .brand-logo.costco { left: 180px; top: 440px; }
      .brand-logo.target { right: 180px; top: 130px; }
      .brand-logo.walmart { right: 20px; top: 350px; }

      @media (max-width: 760px) {
        html:has(body.homepage),
        body.homepage {
          overflow-x: hidden;
          overflow-y: auto;
        }

        main {
          padding-top: 20px;
          overflow: visible;
        }

        .content {
          transform: translateY(-18px);
        }

        .hero-phone {
          width: 100%;
          height: auto;
          min-height: 500px;
          margin-top: -8px;
        }

        .phone-placeholder {
          transform: translateY(-4px);
        }

        .brand-logo {
          width: 105px;
          height: 64px;
          padding: 12px;
        }

        .brand-logo.kroger { left: 0; top: 70px; }
        .brand-logo.best-buy { left: 0; top: 250px; }
        .brand-logo.costco { left: 0; top: 420px; }
        .brand-logo.target { right: 0; top: 130px; }
        .brand-logo.walmart { right: 0; top: 350px; }
      }

      @media (min-width: 761px) and (max-width: 1024px) {
        main {
          padding-top: 24px;
        }

        .hero-phone {
          margin-top: 16px;
        }

        .phone-placeholder {
          transform: translateY(-18px);
        }
      }

      @media (min-width: 1025px) and (orientation: portrait) {
        main {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          padding-top: 40px;
          padding-bottom: 40px;
        }
      }

      .logo-placeholder {
        width: 76px;
        height: 76px;
        margin: 0 auto 32px;
        border-radius: 18px;
        transform: translateY(12px);
      }

      .logo {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      h1 {
        margin: 0;
        color: #111827;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
      }

      .accent {
        color: #2FA34A;
      }

      .subtitle {
        margin: 10px 0 40px;
        color: #374151;
        font-size: 13px;
        line-height: 1.2;
      }

      form {
        position: relative;
        width: 100%;
      }

      .email-field {
        display: flex;
        align-items: center;
        width: 100%;
        height: 54px;
        padding: 0 14px;
        border: 1px solid #999;
        border-radius: 5px;
        background: transparent;
      }

      .email-field input {
        width: 100%;
        border: 0;
        outline: 0;
        padding: 0;
        background: transparent;
        color: #111;
        font: inherit;
        font-size: 14px;
      }

      .email-field input::placeholder {
        color: #6b7280;
        opacity: 1;
      }

      .country-button::after {
        content: none;
      }

      .phone-row {
        display: flex;
        gap: 8px;
      }

      .country,
      .phone-field {
        height: 54px;
        border: 1px solid #999;
        border-radius: 5px;
        background: transparent;
      }

      .country {
        position: relative;
        width: 90px;
        height: 54px;
        border: 0;
        background: transparent;
      }

      .country-button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 54px;
        margin-top: 0;
        padding: 0 12px;
        border: 1px solid #999;
        border-radius: 5px;
        background: transparent;
        color: #111;
        font-size: 14px;
        cursor: pointer;
      }

      .country-button::after {
        content: "▾";
        color: #666;
        font-size: 12px;
      }

      .country-button:hover,
      .country-button:focus {
        background: transparent;
        color: #111;
      }

      .country-menu {
        position: absolute;
        z-index: 3;
        top: calc(100% + 5px);
        left: 0;
        width: 220px;
        overflow: hidden;
        border: 1px solid #ccc;
        border-radius: 5px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
      }

      .country-menu[hidden] {
        display: none;
      }

      .country-option {
        width: 100%;
        height: 38px;
        margin: 0;
        border-radius: 0;
        background: #fff;
        color: #333;
        font-size: 13px;
        font-weight: 400;
        text-align: left;
      }

      .country-option:hover {
        background: #f5f5f5;
      }

      .phone-field {
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 8px 14px 6px;
      }

      .phone-field label {
        color: #111;
        font-size: 11px;
        line-height: 1;
      }

      .phone-field input {
        width: 100%;
        margin-top: 3px;
        border: 0;
        outline: 0;
        padding: 0;
        background: transparent;
        color: #111;
        font: inherit;
        font-size: 14px;
      }

      .phone-field input::placeholder {
        color: #6b7280;
        opacity: 1;
      }

      .contact-error {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        display: block;
        min-height: 0;
        margin: 0;
        color: #ef4444;
        font-size: 13px;
        line-height: 12px;
        text-align: center;
      }

      .verification-screen[hidden] {
        display: none;
      }

      .verification-screen {
        position: fixed;
        z-index: 20;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eef5fc;
      }

      body.background-ready .verification-screen {
        background-image: url("/background.jpg");
        background-position: center top;
        background-size: cover;
        background-attachment: fixed;
      }

      .confetti-container { position: fixed; z-index: 21; inset: 0; overflow: hidden; pointer-events: none; }
      .confetti-piece { position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px; animation: confetti-fall var(--fall-duration) linear var(--fall-delay) forwards; }
      @keyframes confetti-fall { to { transform: translate3d(var(--drift), 110vh, 0) rotate(720deg); } }
      @media (prefers-reduced-motion: reduce) { .confetti-piece { animation-duration: 1ms; } }

      .verification-card {
        width: min(100%, 460px);
        padding: 48px 28px;
        text-align: center;
        color: #111;
      }

      #verification-loading[hidden],
      #verification-content[hidden] {
        display: none;
      }

      .verification-loading {
        width: min(100%, 380px);
        margin: 0 auto;
      }

      .skeleton-logo,
      .skeleton-line,
      .skeleton-code-row span,
      .skeleton-button {
        background: linear-gradient(100deg, #e7edf1 25%, #f5f8fa 42%, #e7edf1 60%);
        background-size: 220% 100%;
        animation: skeleton-shimmer 1.35s ease-in-out infinite;
      }

      .skeleton-logo {
        width: 78px;
        height: 78px;
        margin: 0 auto 24px;
        border-radius: 50%;
      }

      .skeleton-line {
        height: 14px;
        margin: 0 auto 12px;
        border-radius: 999px;
      }

      .skeleton-title { width: 54%; height: 20px; margin-bottom: 18px; }
      .skeleton-description { width: 82%; height: 13px; margin-bottom: 30px; }

      .skeleton-code-row {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 22px;
      }

      .skeleton-code-row span {
        width: 42px;
        height: 56px;
        border-radius: 6px;
      }

      .skeleton-button {
        width: 190px;
        height: 44px;
        margin: 0 auto;
        border-radius: 5px;
      }

      .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      @keyframes skeleton-shimmer {
        to { background-position-x: -220%; }
      }

      @media (prefers-reduced-motion: reduce) {
        .skeleton-logo,
        .skeleton-line,
        .skeleton-code-row span,
        .skeleton-button { animation: none; }
      }

      .verification-mark {
        width: 78px;
        height: 78px;
        margin: 0 auto 24px;
      }

      .verification-mark img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .verification-card h2 {
        margin: 0;
        font-size: 20px;
      }

      .verification-card p {
        margin: 12px auto 26px;
        max-width: 320px;
        color: #777;
        font-size: 13px;
        line-height: 1.5;
      }

      .code-inputs {
        display: flex;
        justify-content: center;
        gap: 10px;
      }

      .code-inputs[hidden] {
        display: none;
      }

      .code-input {
        width: 48px;
        height: 62px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        color: #111;
        font-size: 18px;
        text-align: center;
        outline: none;
      }

      .code-input:focus {
        border-color: #111;
        box-shadow: 0 0 0 1px #111;
      }

      .verification-error {
        min-height: 18px;
        margin: 12px 0 8px !important;
        color: #dc2626 !important;
        font-size: 11px !important;
      }

      .confirm-code {
        height: 44px;
        margin: 0;
        background: #2FA34A;
        color: #fff;
        font-size: 13px;
      }

      .confirm-code:hover {
        background: #278d40;
      }

      .resend-code {
        border: 0;
        background: transparent;
        color: #111;
        font-size: 11px;
        cursor: pointer;
      }

      .resend-code {
        width: auto;
        height: auto;
        margin: 14px 0 0;
        padding: 0;
      }

      .resend-code:hover {
        background: transparent;
        color: #111;
      }

      .return-home {
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        margin: 20px auto 0;
        padding: 12px 22px;
        border-radius: 4px;
        background: #2FA34A;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
      }

      .return-home:hover {
        background: #278d40;
      }

      .return-home[hidden] {
        display: none;
      }

      button {
        width: 100%;
        height: 42px;
        margin-top: 12px;
        border: 0;
        border-radius: 4px;
        background: #2FA34A;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.2px;
        cursor: pointer;
      }

      button:hover {
        background: #278d40;
      }

      .content form > button {
        margin-top: 12px;
      }

      .content form.has-error > button {
        margin-top: 24px;
      }

      form.has-error > button[type="submit"] {
        background: #cfcfcf;
        color: #111;
        cursor: not-allowed;
      }

      .legal {
        margin: 13px auto 0;
        max-width: 455px;
        color: #333;
        font-size: 13px;
        line-height: 1.55;
      }

      .legal a {
        color: inherit;
        text-decoration: underline;
        text-underline-offset: 2px;
      }

      .scroll-cue {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin-top: 44px;
        color: #2FA34A;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
        animation: float-down 1.8s ease-in-out infinite;
        transition: opacity .3s ease, visibility .3s ease;
      }

      .scroll-cue.is-hidden {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
      }

      .scroll-cue svg {
        width: 34px;
        height: 34px;
      }

      @keyframes float-down {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(8px); }
      }

      .next-section {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 70vh;
        padding: 32px 20px;
        background: #fff;
        scroll-margin-top: 20px;
      }

      .notification-art {
        display: block;
        width: min(100%, 400px);
        height: auto;
        transform: translateY(-110px);
      }

      .phone-carousel {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .carousel-arrow {
        position: absolute;
        top: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        border: 1px solid #d5d5d5;
        border-radius: 50%;
        background: #fff;
        color: #2FA34A;
        cursor: pointer;
        transform: translateY(-50%);
      }

      .carousel-arrow:hover {
        background: #f5f5f5;
      }

      .carousel-arrow.left {
        left: -68px;
      }

      .carousel-arrow.right {
        right: -68px;
      }

      .carousel-arrow svg {
        width: 21px;
        height: 21px;
      }

      .carousel-dots {
        display: flex;
        gap: 8px;
        margin-top: -86px;
      }

      .carousel-dot {
        width: 8px;
        height: 8px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #cfcfcf;
        cursor: pointer;
      }

      .carousel-dot.active {
        background: #2FA34A;
        transform: scale(1.25);
      }

      @media (max-width: 560px) {
        .carousel-arrow.left { left: -10px; }
        .carousel-arrow.right { right: -10px; }
      }

      .document-modal[hidden] {
        display: none;
      }

      .document-modal {
        position: fixed;
        z-index: 10;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.28);
      }

      .document-card {
        width: min(100%, 520px);
        max-height: min(720px, 92vh);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-right: 2px solid #35c8c0;
        border-bottom: 2px solid #35c8c0;
        border-radius: 0 0 6px 0;
        background: #fff;
        color: #4d4d4d;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
      }

      .document-body {
        overflow-y: auto;
        padding: 34px 28px 24px;
        font-size: 13px;
        line-height: 1.38;
      }

      .document-body h2 {
        margin: 0;
        color: #555;
        font-size: 25px;
        letter-spacing: 0.3px;
      }

      .document-date {
        margin: 5px 0 25px;
        color: #999;
        font-size: 11px;
      }

      .document-body h3 {
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 0 0 8px;
        color: #555;
        font-size: 13px;
        letter-spacing: 0.1px;
      }

      .document-body h3::after {
        content: "";
        height: 1px;
        flex: 1;
        background: #ddd;
      }

      .document-body h4 {
        margin: 20px 0 3px;
        color: #555;
        font-size: 11px;
        letter-spacing: 0.2px;
      }

      .document-body p {
        margin: 0 0 16px;
      }

      .document-footer {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
        padding: 24px 28px;
        border-top: 1px solid #eee;
        background: #fff;
      }

      .agree-button {
        width: auto;
        min-width: 128px;
        height: 38px;
        margin: 0;
        background: #54df72;
        color: #fff;
        font-size: 12px;
        letter-spacing: 1px;
      }

      .agree-button:hover {
        background: #43cf61;
      }

      body.modal-open {
        overflow: hidden;
      }

      @media (max-width: 520px) {
        .content {
          width: min(100%, 460px);
        }

        .logo-placeholder {
          margin-bottom: 28px;
        }

        .subtitle {
          margin-bottom: 22px;
          font-size: 12px;
          line-height: 1.3;
        }

        .legal {
          font-size: 12px;
        }
      }

      /* While loading, hold back the background and finished images so the
         whole homepage appears at the same moment instead of piece by piece. */
      html.is-loading body.homepage.background-ready {
        background-image: none;
      }

      html.is-loading .image-placeholder.is-loaded {
        background: linear-gradient(100deg, #e3eaf0 25%, #f4f7f9 42%, #e3eaf0 60%);
        background-size: 220% 100%;
        animation: skeleton-shimmer 1.35s ease-in-out infinite;
      }

      html.is-loading .image-placeholder.is-loaded > img {
        opacity: 0;
      }
