/* app.css — small production layer on top of the design-system CSS.
   Adds: accessible skip link, no-JS <details> accordions for the FAQ and the
   mobile pricing comparison, and the platform-tour form states (loading,
   success, error). Loaded last so it can refine the kit without forking it. */

/* ---- Skip link ---- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 200;
    background: var(--cyan);
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus {
    top: 12px;
    color: #fff;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
.hb-btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

/* ---- FAQ as native <details> (works without JS, content always crawlable) ---- */
.pr-faq__item summary.pr-faq__q {
    cursor: pointer;
    list-style: none;
}
.pr-faq__item summary.pr-faq__q::-webkit-details-marker {
    display: none;
}
.pr-faq__item summary.pr-faq__q::marker {
    content: "";
}
.pr-faq__toggle {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--cyan);
}
.pr-faq__item .pr-faq__toggle .hb-icon[data-icon="minus"] {
    display: none;
}
.pr-faq__item[open] .pr-faq__toggle .hb-icon[data-icon="plus"] {
    display: none;
}
.pr-faq__item[open] .pr-faq__toggle .hb-icon[data-icon="minus"] {
    display: inline-flex;
}

/* ---- Mobile pricing comparison accordion as native <details> ---- */
.pr-acc__item summary.pr-acc__head {
    cursor: pointer;
    list-style: none;
}
.pr-acc__item summary.pr-acc__head::-webkit-details-marker {
    display: none;
}
.pr-acc__item summary.pr-acc__head::marker {
    content: "";
}
.pr-acc__item[open] {
    border-color: var(--cyan);
}
.pr-acc__head .hb-icon {
    color: var(--fg-muted);
}
.pr-acc__item .hb-icon[data-icon="minus"] {
    display: none;
}
.pr-acc__item[open] .hb-icon[data-icon="plus"] {
    display: none;
}
.pr-acc__item[open] .hb-icon[data-icon="minus"] {
    display: inline-flex;
}

/* ---- Platform-tour form: loading / success / error states ---- */
.hb-btn[disabled] {
    opacity: 0.7;
    cursor: default;
}
.hb-btn[disabled]:active {
    transform: none;
}

.hb-form__status {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}
.hb-form__status.is-error {
    color: var(--negative);
    background: rgba(216, 68, 60, 0.08);
    border: 1px solid rgba(216, 68, 60, 0.24);
    border-radius: var(--r-sm);
    padding: 10px 12px;
}

.hb-fcta__success {
    padding: 32px 8px;
    text-align: center;
}
.hb-fcta__success:focus {
    outline: none;
}
.hb-fcta__success-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--cyan-soft);
    color: var(--cyan-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hb-fcta__success-h {
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
}
.hb-fcta__success p {
    color: var(--fg-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* White-paper inline subscribe success */
.wp-dl__done {
    text-align: left;
}
.wp-dl__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cyan-soft);
    color: var(--cyan-ink);
    margin-bottom: 12px;
}
.wp-dl__done-h {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
}
.wp-dl__done p {
    font-size: 13px;
    color: var(--fg-muted);
    line-height: 1.5;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---- Legal pages (privacy, terms) ---- */
.legal-hero {
    padding-top: clamp(48px, 6vw, 80px);
}
.legal-doc {
    max-width: 820px;
    margin: 0 auto;
}
.legal-doc__title {
    margin-top: 14px;
}
.legal-doc__meta {
    margin: 10px 0 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--fg-faint);
}
.legal-doc__body {
    margin-top: 36px;
}
.legal-doc__body h2 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 40px 0 14px;
}
.legal-doc__body h3 {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 30px 0 10px;
}
.legal-doc__body p,
.legal-doc__body li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--fg-muted);
    text-wrap: pretty;
}
.legal-doc__body p {
    margin: 0 0 16px;
}
.legal-doc__body ol,
.legal-doc__body ul {
    margin: 0 0 20px;
    padding-left: 24px;
}
.legal-doc__body ul {
    list-style: disc outside;
}
.legal-doc__body li {
    margin-bottom: 12px;
}
.legal-doc__body li > p {
    margin: 0 0 10px;
}
.legal-doc__body strong,
.legal-doc__body b {
    color: var(--fg);
    font-weight: 500;
}
.legal-doc__body a {
    color: var(--cyan);
    text-decoration: underline;
}
.legal-doc__body a:hover {
    color: var(--cyan-hover);
}

/* Honeypot field for the lead forms — hidden from humans, catches bots. */
.hb-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Logo sizing — natural aspect ratio (width auto), height-driven. */
.hb-nav__brand img {
    width: auto;
    height: 34px;
}
.hb-foot2__left img {
    width: auto;
    height: 28px;
}

/* Footer — "Follow us on" social row */
.hb-foot2__social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.hb-foot2__social-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.hb-foot2__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    color: var(--fg-muted);
    transition:
        color var(--dur-base) var(--ease-out),
        border-color var(--dur-base) var(--ease-out);
}
.hb-foot2__social-link:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

/* Logo strip — thin strip with hairline top/bottom rules, not a tall band */
.hb-logostrip {
    padding-block: 32px;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.hb-logostrip .hb-logos__cap {
    margin-bottom: 28px;
}
.hb-logostrip .hb-logos__row {
    gap: 28px 52px;
}
.hb-logostrip .hb-logos__cell {
    height: 72px;
}
.hb-logostrip .hb-logos__img {
    max-height: 44px;
    max-width: 120px;
}
/* Per-logo caps to optically balance the strip. Logos differ wildly in aspect
   ratio, so a single max-height reads as inconsistent — wide wordmarks look
   big while compact/portrait marks look tiny. Give stacked/portrait marks
   (Tourism Australia, Qatar) more height; rein wide wordmarks in on width. */
.hb-logostrip .hb-logos__img[alt="Tourism Australia"] {
    max-height: 70px;
}
.hb-logostrip .hb-logos__img[alt="Qatar Tourism"] {
    max-height: 45px;
}
.hb-logostrip .hb-logos__img[alt="Las Vegas"] {
    max-width: 110px;
}
.hb-logostrip .hb-logos__img[alt="Visit Florida"] {
    width: 150px;
    max-width: none;
}
.hb-logostrip .hb-logos__img[alt="JetBlue"] {
    max-width: 90px;
}
.hb-logostrip .hb-logos__img[alt="Virgin Voyages"] {
    max-height: 58px;
    max-width: 136px;
}
.hb-logostrip .hb-logos__img[alt="Brand USA"] {
    max-height: 58px;
    max-width: 146px;
}
