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

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #08090c;
    background-color: #fffdfb;
    background-image:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 186, 148, 0.34), transparent 58%),
        radial-gradient(ellipse 70% 42% at 50% 48%, rgba(244, 85, 25, 0.07), transparent 68%),
        radial-gradient(ellipse 50% 30% at 80% 90%, rgba(255, 214, 186, 0.18), transparent 70%),
        linear-gradient(180deg, #fff8f3 0%, #fffdfb 32%, #fffdfb 100%);
    background-attachment: scroll;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.site {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #08090c;
    line-height: 1;
}

.menu-button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 10px;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 1.75px;
    background: #08090c;
    border-radius: 2px;
}

.menu-button:focus-visible {
    outline: 2px solid #f0440b;
    outline-offset: 3px;
}

/* Shared labels */

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7b8596;
}

/* Hero */

.hero {
    text-align: center;
    padding: 56px 0 28px;
}

.hero .eyebrow {
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
    margin: 0 auto 22px;
    max-width: 16ch;
}

.headline-dark,
.headline-accent {
    display: block;
}

.headline-dark {
    color: #08090c;
}

.headline-accent {
    color: #f0440b;
}

.lede {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    color: #4a5568;
    letter-spacing: -0.02em;
}

/* Card showcase */

.card-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 0 56px;
}

.card-showcase::before {
    content: "";
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(
        ellipse,
        rgba(244, 85, 25, 0.16),
        transparent 65%
    );
    filter: blur(45px);
    z-index: -1;
    pointer-events: none;
}

.card-image {
    width: 90%;
    max-width: 540px;
    transform: rotate(-7deg);
    filter:
        drop-shadow(0 28px 48px rgba(18, 14, 10, 0.22))
        drop-shadow(0 10px 28px rgba(240, 68, 11, 0.14));
    animation: cardFloat 6.5s ease-in-out infinite;
    user-select: none;
}

@keyframes cardFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-7deg);
    }
    50% {
        transform: translateY(-6px) rotate(-7deg);
    }
}

/* Features */

.features {
    text-align: center;
    padding: 8px 0 40px;
}

.features .eyebrow {
    margin-bottom: 28px;
}

.feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 132px;
    padding: 22px 12px;
    text-align: center;
}

.feature:nth-child(odd) {
    border-right: 1px solid rgba(20, 30, 45, 0.1);
}

.feature:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(20, 30, 45, 0.1);
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #12151c;
    line-height: 1.2;
}

.feature-stat {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
    color: #08090c;
}

.feature-caption {
    font-size: 13px;
    font-weight: 500;
    color: #6b7385;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.dual-card-icon {
    position: relative;
    width: 50px;
    height: 36px;
    margin-bottom: 6px;
}

.dual-card {
    position: absolute;
    width: 36px;
    height: 23px;
    border: 1.6px solid #1c212b;
    border-radius: 4px;
    background: #fffdfb;
}

.dual-card--back {
    top: 0;
    right: 0;
    opacity: 0.48;
}

.dual-card--front {
    left: 0;
    bottom: 0;
}

.dual-card--front::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 7px;
    height: 5px;
    border: 1.25px solid #1c212b;
    border-radius: 1px;
}

.pay-logo {
    object-fit: contain;
    object-position: center;
    margin-bottom: 2px;
}

.pay-logo--apple {
    width: 78px;
    height: 32px;
}

.pay-logo-google {
    position: relative;
    width: 92px;
    height: 36px;
    overflow: hidden;
    margin-bottom: 2px;
}

.pay-logo-google img {
    position: absolute;
    width: 118px;
    height: 118px;
    max-width: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* CTA */

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 0 36px;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 62px;
    border: 0;
    background: #ff5a1f;
    color: #08090c;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(255, 90, 31, 0.28);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-arrow {
    margin-left: 6px;
}

.cta-button:hover {
    background: #e84e16;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(232, 78, 22, 0.32);
}

.cta-button:active {
    transform: scale(0.98);
    box-shadow: 0 8px 18px rgba(232, 78, 22, 0.24);
}

.cta-button:focus-visible {
    outline: 2px solid #08090c;
    outline-offset: 3px;
}

.cta-secondary {
    display: block;
    margin: 8px auto 32px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #6b7385;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.cta-secondary:hover {
    color: #3d4654;
}

.cta-secondary:focus-visible {
    outline: 2px solid #f0440b;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Footer */

.site-footer {
    margin-top: auto;
    padding: 56px 0 40px;
    text-align: center;
}

.site-footer p {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #9aa3b0;
}

/* Tablet */

@media (min-width: 600px) {
    .site {
        padding: 0 32px;
    }

    .hero {
        padding: 72px 0 36px;
    }

    .hero h1 {
        font-size: 58px;
        max-width: none;
    }

    .lede {
        font-size: 24px;
    }

    .card-image {
        width: 78%;
        max-width: 580px;
    }
}

@media (min-width: 768px) {
    .site {
        padding: 0 40px;
    }

    .site-header {
        padding: 36px 0 16px;
    }

    .brand span {
        font-size: 22px;
    }

    .hero {
        padding: 88px 0 40px;
    }

    .hero h1 {
        font-size: 68px;
    }

    .lede {
        font-size: 26px;
    }

    .card-showcase {
        padding: 28px 0 72px;
    }

    .card-image {
        width: 64%;
        max-width: 620px;
    }

    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 920px;
        margin: 0 auto;
    }

    .feature {
        min-height: 150px;
        padding: 28px 16px;
        border-right: 1px solid rgba(20, 30, 45, 0.1);
    }

    .feature:nth-child(odd) {
        border-right: 1px solid rgba(20, 30, 45, 0.1);
    }

    .feature:nth-child(-n + 2) {
        border-bottom: 0;
    }

    .feature:last-child {
        border-right: 0;
    }

    .feature-stat {
        font-size: 52px;
    }

    .cta-button {
        width: 380px;
        height: 64px;
        font-size: 18px;
    }
}

/* Desktop */

@media (min-width: 1024px) {
    .site-header {
        padding: 44px 0 8px;
    }

    .hero {
        padding: 96px 0 48px;
    }

    .hero h1 {
        font-size: 80px;
    }

    .lede {
        font-size: 28px;
    }

    .card-image {
        width: 58%;
        max-width: 640px;
    }

    .features {
        padding: 12px 0 56px;
    }

    .cta-button {
        width: 420px;
        height: 66px;
    }

    .site-footer {
        padding: 72px 0 52px;
    }
}

@media (min-width: 1280px) {
    .hero h1 {
        font-size: 88px;
    }
}

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

    .card-image {
        animation: none;
        transform: rotate(-7deg);
    }

    .cta-button,
    .cta-secondary {
        transition: none;
    }
}
