/* ─── Deemples Pass Landing Page Styles ─────────────────────────────────── */

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

:root {
    --brand-dark:     #161f42;
    --brand-medium:   #253b83;
    --brand-blue:     #4681eb;
    --brand-light:    #79b1ff;
    --brand-lightest: #f0f6fe;
    --grey-black:     #1a1a1a;
    --grey-950:       #363636;
    --grey-800:       #393939;
    --grey-600:       #888;
    --grey-200:       #dfdfdf;
    --grey-100:       #f7f7f7;
    --grey-50:        #fafafa;
    --text-dark:      #181d27;
    --text-mid:       #535862;
    --brand-gradient: linear-gradient(to right, #253b83, #79b1ff 165.9%);
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--grey-black);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; }

/* ─── NAV OFFSET (fixed nav) ────────────────────────────────────────────── */
body { padding-top: 80px; }
@media (max-width: 768px) { body { padding-top: 64px; } }

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.hero-outer {
    background: linear-gradient(to bottom, #fff 21.974%, #f7f7f7 78.026%);
    padding: 0 20px;
    overflow: hidden;
}
.hero-section {
    background: linear-gradient(0deg, #253B83 -42.89%, #FFF 59.84%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0 0;
    overflow: hidden;
    width: 100%;
    /*height: 887px;*/
}
.hero-container {
    max-width: 1280px;
    width: 100%;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.hero-badge-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FAFAFA;
    border: 1px solid #E9EAEB;
    border-radius: 16px;
    padding: 4px 15px 4px 15px;
}
.hero-badge-group-member {
    background: #F0F6FE;
    border-color: #4681EB;
}
.hero-badge-group > span {
    font-size: 14px;
    font-weight: 500;
    color: #414651;
    line-height: 1.5;
}
.hero-badge-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #e9eaeb;
    border-radius: 16px;
    padding: 2px 6px 2px 8px;
    text-decoration: none;
    color: inherit;
}
.hero-badge-inner span {
    font-size: 14px;
    font-weight: 500;
    color: #414651;
    line-height: 1.5;
    white-space: nowrap;
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    width: 100%;
}
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    max-width: 1024px;
}
.hero-text h1 {
    margin: 0;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .64px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 794px;
}
.hero-text p {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.5;
    letter-spacing: .2px;
    max-width: 768px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; }
.btn-hero-primary {
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #161f42;
    letter-spacing: .16px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity .15s;
}
.btn-hero-primary:hover { opacity: .85; color: #fff; text-decoration: none; }
.btn-hero-ghost {
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #161f42;
    background: #fff;
    border: 1px solid #161f42;
    letter-spacing: .16px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity .15s;
}
.btn-hero-ghost:hover { opacity: .8; color: #161f42; text-decoration: none; }
.hero-iphone {
    display: block;
    width: 80%;
    max-width: 700px;
    height: auto;
    margin: 0 auto;
    pointer-events: none;
    flex-shrink: 0;
}

/* ─── SOCIAL PROOF / PARTNERS ───────────────────────────────────────────── */
.social-proof {
    background: var(--grey-100);
    padding: 60px 0;
    overflow: hidden;
}
.social-proof-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.social-proof h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: .18px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logos-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 22s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 191px;
    height: 82px;
    flex-shrink: 0;
    margin-right: 64px;
}
.logo-item img { height: 82px; width: auto; max-width: 191px; object-fit: contain; display: block; }

/* ─── FEATURES ───────────────────────────────────────────────────────────── */
.features {
    background: var(--grey-100);
    padding: 60px 64px;
}
.features-inner {
    max-width: 1312px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
}
.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}
.section-label {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .18px;
    text-align: center;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-heading h2 {
    font-size: 30px;
    font-weight: 600;
    color: var(--grey-black);
    letter-spacing: .4px;
    line-height: 1.2;
}
.section-sub {
    text-align: center;
    font-size: 18px;
    color: var(--grey-950);
    line-height: normal;
    letter-spacing: .18px;
    margin: 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}
.features-grid > .feature-card:last-child:nth-child(3n+1) {
    grid-column: 2;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-card-img {
    border-radius: 12px;
    height: 209px;
    overflow: hidden;
}
.feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hole-In-One Prize Card (web-only hardcoded) */
.feature-card--hole-in-one-prize {
    background: #253B83;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 349px;
}
.hole-in-one-prize-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.hole-in-one-prize-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.hole-in-one-prize-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .2px;
    line-height: 1.5;
}
.hole-in-one-prize-content p {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    line-height: normal;
    letter-spacing: .12px;
}
.hole-in-one-prize-amount {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.prize-amount {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .32px;
    line-height: 1.2;
}
.prize-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 16px;
    background: #FAFAFA;
    border: 1px solid #E9EAEB;
    font-size: 14px;
    font-weight: 500;
    color: #414651;
    width: fit-content;
    line-height: 1.5;
    /* Never wrap: the prize artwork sits bottom-right under this pill, and a wrapped pill
       stacks one word per line and looks broken. Overlap is avoided by keeping the tag
       copy SHORT (see membership.landing_page.hole_in_one_prize.tag), not by capping width. */
    white-space: nowrap;
}
.hole-in-one-prize-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    max-width: 220px;
    pointer-events: none;
}

.feature-card-bottom {
    display: flex;
    align-items: center;
    gap: 16px;
}
.feature-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.feature-icon img { width: 100%; height: 100%; object-fit: cover; }
.feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1 0 0;
}
.feature-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--grey-800);
    letter-spacing: .2px;
    line-height: 1.5;
    margin-bottom: 0;
}
.feature-text p {
    font-size: 14px;
    color: var(--grey-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ─── PRICING ────────────────────────────────────────────────────────────── */
.pricing {
    background: #f0f6fe;
    padding: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.pricing-inner {
    max-width: 1312px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.pricing-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    max-width: 768px;
}
.pricing-label {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .18px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing-header h2 { font-size: 30px; font-weight: 600; color: #1a1a1a; letter-spacing: .4px; line-height: 1.2; }
.pricing-header p { font-size: 18px; font-weight: 400; color: #363636; letter-spacing: .18px; }
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

.pricing-error-message {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.08);
}

.pricing-error-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #dc2626;
}

.pricing-error-close {
    margin-left: auto;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #b91c1c;
    padding: 2px;
    opacity: 0.7;
    line-height: 0;
    transition: opacity 0.15s;
}

.pricing-error-close:hover { opacity: 1; }

.pricing-error-close svg {
    width: 12px;
    height: 12px;
}

/* Toast transitions */
.pricing-toast-enter        { transition: opacity 0.3s ease, transform 0.3s ease; }
.pricing-toast-enter-start  { opacity: 0; transform: translateY(-6px); }
.pricing-toast-enter-end    { opacity: 1; transform: translateY(0); }
.pricing-toast-leave        { transition: opacity 0.3s ease, transform 0.3s ease; }
.pricing-toast-leave-start  { opacity: 1; transform: translateY(0); }
.pricing-toast-leave-end    { opacity: 0; transform: translateY(-6px); }

/* Base card */
.price-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #dfdfdf;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    transition: transform .25s ease, box-shadow .25s ease;
    margin-top: 75px;
}
.price-card.featured { margin-top: 0; }
.price-card:not(.featured):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(37, 59, 131, .14);
}

/* Featured/recommended wrapper — blue gradient is Layer 1 */
.price-card-featured-wrap {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    border: none;
    background: linear-gradient(90deg, #253B83 0%, #79B1FF 165.9%);
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 0 4px 6px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.price-card-featured-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(37, 59, 131, .3);
}

/* Featured card — white Layer 2 sitting inside the blue wrapper */
/* inner radius = outer(24px) - bottom-padding(6px) = 18px for smooth nesting */
.price-card.featured {
    border: none;
    border-radius: 0 0 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
}

/* Recommended banner — sits on the blue wrapper, just needs text styling */
.price-recommended {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .18px;
    text-align: center;
    padding: 24px 12px;
}

/* Featured header — white Layer 2 */
.price-card.featured .price-card-header {
    background: #fff;
    border-bottom: 1px solid #dfdfdf;
    min-height: 148px;
    /*gap: 32px;*/
}

/* Card header */
.price-card-header {
    padding: 32px 16px 16px 16px;
    border-bottom: 1px solid #dfdfdf;
    display: flex;
    flex-direction: column;
    /*gap: 32px;*/
    flex-shrink: 0;
    min-height: 140px;
}

/* Price info group — promo row + price row + worth text */
.price-info-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.price-tier-name { font-size: 20px; font-weight: 600; color: #161f42; letter-spacing: .2px; line-height: 1.5; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-amount { font-size: 30px; font-weight: 700; color: #161f42; letter-spacing: .3px; line-height: 1.5; }
.price-period { font-size: 16px; font-weight: 600; color: #999; letter-spacing: .16px; }
.price-original-row { display: flex; align-items: center; gap: 8px; }
.price-amount-original { font-size: 16px; font-weight: 500; color: #999; text-decoration: line-through; letter-spacing: .16px; line-height: 1.4; }
.price-promo-badge { font-size: 16px; font-weight: 600; color: #e53e3e; letter-spacing: .16px; line-height: 1.4; }
.price-worth {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .16px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card body */
.price-card-body {
    padding: 24px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
}

/* Featured body — plain white, blue frame visible via wrapper padding */
.price-card.featured .price-card-body {
    background: #fff;
    border-radius: 0 0 24px 24px;
}
.check-list { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; flex: 1; }
.check-item { display: flex; align-items: flex-start; gap: 12px; }
.check-label-wrap { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.check-icon-wrap {
    width: 24px;
    height: 24px;
    background: #4681eb;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.check-icon-wrap svg { width: 13px; height: 13px; display: block; }
.check-label { font-size: 14px; font-weight: 400; color: #363636; line-height: 1.5; }
/* Value emphasis — the per-plan diffs (voucher amount, handicap duration). */
.check-label strong { font-weight: 700; color: #161f42; }
/* Excluded features — greyed + struck through so "what you give up" is visible. */
.check-item.excluded .check-label { color: #98a2b3; text-decoration: line-through; }
.check-item.excluded .check-label strong { color: #98a2b3; font-weight: 400; }
.check-icon-wrap.excluded { background: #d0d5dd; }

/* Tooltip */
.info-wrap { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; z-index: 100; }
.info-wrap .info-icon { width: 16px; height: 16px; display: block; cursor: pointer; }
.tooltip-box {
    position: absolute; bottom: calc(100% + 8px); left: auto; right: -27px;
    background: #253b83; color: #fff; border-radius: 8px; padding: 12px;
    font-size: 12px; font-weight: 400; line-height: normal; letter-spacing: .12px;
    width: 164px; pointer-events: none;
    opacity: 0; transition: opacity .18s ease;
    z-index: 200; white-space: normal;
}
.tooltip-box.list { width: 164px; white-space: normal; }
.tooltip-box ul { padding: 0; margin: 0; list-style: none; }
.tooltip-box ul.has-multiple { padding-left: 16px; list-style: disc; }
.tooltip-box ul li { margin-bottom: 4px; }
.tooltip-arrow {
    position: absolute; bottom: -12px; right: 24px; left: auto;
    width: 21px; height: 18px; display: block;
}
.info-wrap:hover .tooltip-box { opacity: 1; }

/* Plan CTA button */
.btn-price {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity .15s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-price:hover { text-decoration: none; }
.btn-price-ghost { background: #fff; border: 1px solid #161f42; color: #161f42; }
.btn-price-ghost:hover { opacity: .8; color: #161f42; text-decoration: none; }
.btn-price-filled { background: #161f42; border: none; color: #fff; }
.btn-price-filled:hover { background: #253b83; color: #fff; opacity: 1; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq {
    background: #fff;
    padding: 64px 0;
}
.faq-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.faq .section-heading { margin-bottom: 12px; }
.faq .section-heading h2 {
    font-size: 30px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: .4px;
    line-height: 1.2;
}
.faq-sub {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #363636;
    line-height: 1.5;
    max-width: 768px;
    margin: 0 auto 32px;
    letter-spacing: .18px;
}
.faq-sub a { text-decoration: underline; color: #363636; }
.faq-list {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--grey-200);
}
/* 80px fixed nav + breathing room, so a #faq-<key> deep link never lands the
   question underneath the header — applies to the browser's own anchor jump too. */
.faq-item { border-bottom: 1px solid var(--grey-200); scroll-margin-top: 104px; }
.faq-item:not(.open):hover { background: var(--grey-50); }
.faq-btn {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 22px 8px;
    text-align: left;
    background: none;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
}
/* Reduce button bottom padding when open so question and answer aren't too far apart */
.faq-item.open .faq-btn {
    padding-bottom: 8px;
}
.faq-question {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: .18px;
    line-height: normal;
}
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; transition: transform .3s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
    overflow: hidden;
}
.faq-answer-content {
    padding: 0 8px 24px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.5;
    letter-spacing: .16px;
}

/* ─── APP CTA ────────────────────────────────────────────────────────────── */
.app-cta {
    background: linear-gradient(0deg, #253B83 -49.21%, #FFF 30.31%);
    padding: 48px 64px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 440px;
}
.app-cta-container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.app-cta-left {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    min-width: 0;
}
.app-cta-heading {
    font-size: 24px;
    font-weight: 600;
    color: #181d27;
    line-height: 1.3;
    letter-spacing: 0.2px;
    max-width: 420px;
}
.app-cta-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 248px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-dark);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .16px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity .15s;
}
.app-cta-primary-btn:hover { opacity: .85; color: #fff; text-decoration: none; }
.app-cta-badges { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.app-cta-badge { display: inline-flex; text-decoration: none; }
.app-cta-badge-svg { height: 40px; width: auto; display: block; }
.app-cta-badge:hover { text-decoration: none; }
.app-cta-right {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-end;
}
.app-cta-phone {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* ─── RESPONSIVE: 1280px ─────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .pricing-cards { gap: 20px; }
    .hero-text h1 { font-size: 40px; }
}

/* ─── RESPONSIVE: 1024px ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-outer { padding: 0 16px; }
    .hero-section { padding-bottom: 0; }
    .hero-container { padding: 0 24px; }
    .hero-text h1 { font-size: 36px; max-width: 100%; }
    .hero-text p { font-size: 18px; max-width: 100%; }
    .hero-iphone { width: 70%; }

    .features { padding: 64px 24px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .features-grid > .feature-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc(50% - 10px);
    }
    .feature-card-img { height: 180px; }

    .pricing { padding: 48px 24px; }
    .pricing-cards { gap: 16px; }
    .price-amount { font-size: 24px; }
    .price-card-header { padding: 12px 14px; min-height: unset; gap: 16px; }
    .price-card-body { padding: 14px; gap: 16px; min-height: unset; }
    .check-list { gap: 8px; }
    .check-label { font-size: 13px; }
    .price-tier-name { font-size: 17px; }

    .faq { padding: 64px 0; }
    .faq-inner { padding: 0 24px; }
    .faq-btn { padding: 18px 4px; }

    .app-cta { padding: 0 24px 0; min-height: unset; }
    .app-cta-container { gap: 32px; }
    .app-cta-heading { font-size: 28px; }
    .app-cta-badges { gap: 10px; }
    .app-cta-badge-svg { height: 40px; }
}

/* ─── RESPONSIVE: 900px (narrow tablet) ─────────────────────────────────── */
@media (max-width: 900px) {
    .price-amount { font-size: 20px; }
    .price-card-header { padding: 10px 12px; gap: 8px; }
    .price-card-body { padding: 12px; gap: 12px; }
    .check-label { font-size: 12px; }
    .btn-price { font-size: 13px; height: 44px; }
    .price-tier-name { font-size: 15px; }
}

/* ─── RESPONSIVE: 768px (mobile) ────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-outer { padding: 0 16px; }
    .hero-section { padding: 24px 0 0; }
    .hero-container { padding: 0 16px; gap: 32px; }
    .hero-text h1 { font-size: 32px; letter-spacing: .4px; max-width: 100%; }
    .hero-text p { font-size: 14px; max-width: 100%; }
    .hero-text { gap: 24px; }
    .hero-content { gap: 24px; }
    .hero-actions { gap: 12px; }
    .btn-hero-primary { width: 182px; font-size: 14px; text-align: center; display: grid;}
    .btn-hero-ghost { width: 116px; font-size: 14px; }
    .hero-badge-group { padding: 4px 4px 4px 12px; justify-content: space-between; width: 100%; gap: 0; }
    .hero-badge-group > span,
    .hero-badge-inner span { font-size: 12px; }
    .hero-iphone { width: 100%; max-width: 100%; }

    .social-proof { padding: 32px 0; }
    .social-proof h3 { font-size: 16px; margin-bottom: 16px; padding: 0 20px; }
    .logo-item { height: 72px; width: 145px; margin-right: 12px; }
    .logo-item img { height: 72px; width: auto; max-width: 145px; }
    .logos-track { animation-duration: 38s; }

    .features { padding: 40px 0; }
    .features-inner { padding: 0; gap: 16px; }
    .features .section-label { display: none; }
    .section-heading { padding: 0 20px;margin-bottom: 24px;}
    .section-sub { font-size: 16px; padding: 0 20px; }
    .features-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        gap: 12px;
        padding: 0 calc(50% - 170px) 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        grid-template-columns: unset;
    }
    .features-grid::-webkit-scrollbar { display: none; }
    .feature-card {
        flex: 0 0 340px;
        width: 340px;
        min-width: 340px;
        scroll-snap-align: center;
        padding: 12px;
        gap: 12px;
    }
    .feature-card-img { height: 155px; border-radius: 12px; }
    .feature-card-img img { object-fit: cover; object-position: center; }
    .feature-icon { width: 50px; height: 50px; border-radius: 10px; }
    .feature-text h3 {
        font-size: 16px;
        margin-bottom: 0.3rem;
    }
    .feature-text p {
        font-size: 13px;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .feature-text { gap: 0; }
    .feature-card-bottom {
        padding: 0;
    }
    .feature-card--hole-in-one-prize { min-height: 0; }
    .hole-in-one-prize-img { display: none; }
    .features-scroll-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding: 0 20px;
    }
    .features-scroll-dots span {
        width: 20px;
        height: 3px;
        border-radius: 2px;
        background: #c8cdd8;
        transition: background .2s;
        flex-shrink: 0;
    }
    .features-scroll-dots span.active { background: #253b83; }

    .pricing { padding: 40px 20px; gap: 24px; }
    .pricing-header h2 { font-size: 28px; }
    .pricing-header p { font-size: 16px; }
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .price-card {
        margin-top: 0;
    }
    .price-card-featured-wrap {
        width: 100%;
        flex: none;
    }
    .price-card.featured {
        height: auto;
    }
    .price-card-header { padding: 16px; min-height: unset; gap: 8px; }
    .price-amount { font-size: 26px; }

    .price-card-body { padding: 16px; gap: 16px; min-height: unset; }
    .check-list { gap: 4px; }
    .check-item { gap: 8px; }

    /* Remove hover lift/shadow — touch devices don't have real hover */
    .price-card { transition: none; }
    .price-card:hover { transform: none; box-shadow: none; }
    .price-card-featured-wrap { transition: none; }
    .price-card-featured-wrap:hover { transform: none; box-shadow: none; }

    /* Tooltip: below the icon, right-aligned, arrow pointing up */
    .tooltip-box {
        bottom: auto;
        top: calc(100% + 8px);
        right: -27px;
        left: auto;
        transform: none;
        max-width: min(164px, calc(100vw - 64px));
    }
    .tooltip-arrow {
        bottom: auto;
        top: -12px;
        right: 24px;
        left: auto;
        transform: rotate(180deg);
        width: 21px;
        height: 18px;
    }

    .faq { padding: 40px 0; }
    .faq-inner { padding: 0 20px; }
    .faq .section-heading h2 { font-size: 24px; }
    .faq-sub { font-size: 16px; margin-bottom: 24px; }
    .faq-btn { padding: 16px 4px; gap: 16px; }
    .faq-question { font-size: 16px; }
    .faq-answer-content { padding: 0 4px 20px; font-size: 15px; }

    .app-cta { padding: 0 20px 0; min-height: unset; }
    .app-cta-container { flex-direction: column; gap: 32px; align-items: center; }
    .app-cta-left { align-items: center; text-align: center; }
    .app-cta-primary-btn { width: 100%; max-width: 320px; }
    .app-cta-heading { font-size: 24px; max-width: 100%; text-align: center; }
    .app-cta-badges { justify-content: center; gap: 8px; }
    .app-cta-badge-svg { height: 36px; }
    .app-cta-right { width: 100%; }
    .app-cta-phone { display: block; margin: 0 auto; max-width: 70%; width: 100%; height: auto; }
}

/* ─── RESPONSIVE: 390px (small phones) ──────────────────────────────────── */
@media (max-width: 390px) {
    .hero-text h1 { font-size: 28px; }
    .hero-badge-group { padding: 4px 4px 4px 12px; }
    .feature-card { flex: 0 0 300px; width: 300px; min-width: 300px; }
    /* Re-center carousel: padding must use half of 300px card width */
    .features-grid { padding: 0 calc(50% - 150px) 0; }
    .app-cta-badge-svg { height: 32px; }
}

/* ─── NAV (header partial) ──────────────────────────────────────────────── */
.dp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    height: 80px;
    display: flex;
    align-items: center;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.dp-nav.scrolled {
    background: #fff;
    border-bottom: 1px solid #dfdfdf;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.dp-nav-inner {
    width: 100%;
    /* Match the sitewide home nav (.main-container: 1180px centered, no padding) so the
       Pass logo aligns with the home logo when navigating between the two. */
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dp-nav-left { display: flex; align-items: center; gap: 42px; }
.dp-nav-logo img { width: 187px; height: 46px; display: block; }
.dp-nav-actions { display: flex; gap: 12px; align-items: center; }

.dp-nav-credit {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #535862;
}
.dp-nav-credit span { font-weight: 700; color: #161f42; }

.dp-nav-dropdown { position: relative; }
.dp-nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #161f42;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background .15s;
}
.dp-nav-user-btn:hover { background: #f0f0f0; }
.dp-nav-avatar-wrap { position: relative; width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; }
.dp-nav-avatar { border-radius: 50%; object-fit: cover; width: 36px; height: 36px; display: block; }
.dp-nav-avatar-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.dp-nav-chevron { flex-shrink: 0; transition: transform .2s; }
.dp-nav-user-btn[aria-expanded="true"] .dp-nav-chevron { transform: rotate(180deg); }

.dp-nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    min-width: 200px;
    padding: 8px 0;
    z-index: 200;
}
.dp-nav-dropdown-menu.open { display: block; }
.dp-nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #363636;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background .12s;
}
.dp-nav-dropdown-item:hover { background: #f7f7f7; }
.dp-nav-logout { color: #e53935; }
.dp-nav-divider { border: none; border-top: 1px solid #f0f0f0; margin: 4px 0; }

.dp-btn-ghost {
    height: 48px;
    min-width: 116px;
    padding: 0 24px;
    border: 1px solid #D5D7DA;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #161f42;
    background: #fff;
    letter-spacing: .16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s;
}
.dp-btn-ghost:hover { border-color: #4681eb; }
.dp-btn-primary {
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #f0f6fe;
    background: linear-gradient(to right, #253b83, #79b1ff 165.9%);
    letter-spacing: .16px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity .15s;
}
.dp-btn-primary:hover { opacity: .88; color: #f0f6fe; }

.dp-nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}
.dp-nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #161f42;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.dp-nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dp-nav-hamburger.open span:nth-child(2) { opacity: 0; }
.dp-nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dp-nav-mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #dfdfdf;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 99;
    padding: 24px 24px 32px;
    flex-direction: column;
    gap: 8px;
}
.dp-nav-mobile-menu.open { display: flex; }
.dp-nav-mobile-menu > a {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #535862;
    text-decoration: none;
    line-height: 1.5;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}
.dp-nav-mobile-menu > a:last-of-type { border-bottom: none; }
.dp-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.dp-mobile-actions .dp-btn-ghost,
.dp-mobile-actions .dp-btn-primary { width: 100%; height: 48px; font-size: 16px; }

@media (max-width: 1024px) {
    .dp-nav-inner { padding: 0 24px; }
    .dp-btn-ghost, .dp-btn-primary { height: 40px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 768px) {
    .dp-nav { height: 64px; }
    .dp-nav-inner { padding: 0 20px; }
    .dp-nav-actions { display: none; }
    .dp-nav-hamburger { display: flex; }
    .dp-nav-logo img { width: 187px; height: 46px; }
    .dp-nav-mobile-menu { top: 64px; }
}
