/* Product foundations shared by sign-in, the dashboard and recipient pages. */
.app-page {
    --bg: var(--site-bg);
    --text-primary: var(--site-ink);
    --text-secondary: var(--site-muted);
    --divider: var(--site-line);
    --card-bg: var(--site-surface);
    --glass: var(--site-surface);
    --glass-border: var(--site-line);
    --app-success: #19735e;
    --app-danger: #b6364d;
    --danger: var(--app-danger);
    --success: var(--app-success);
    min-height: 100svh;
    color: var(--site-ink);
    background: var(--site-bg);
    font-size: 14px;
    line-height: 1.6;
}
.app-page [hidden] { display: none !important; }
.app-page img { opacity: 1; }
.app-page h1, .app-page h2, .app-page h3 { font-family: 'Outfit', sans-serif; letter-spacing: -.035em; line-height: 1.15; }
.app-page button, .app-page input, .app-page select, .app-page textarea { font: inherit; }
.app-page button, .app-page a, .app-page input, .app-page select, .app-page textarea { -webkit-tap-highlight-color: transparent; }
.app-page button { cursor: pointer; }
.app-page button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.app-page a:focus-visible, .app-page button:focus-visible, .app-page input:focus-visible,
.app-page select:focus-visible, .app-page textarea:focus-visible, .app-page [tabindex]:focus-visible {
    outline: 2px solid var(--site-ink);
    outline-offset: 4px;
}
.product-header { position: relative; z-index: 10; width: 100%; border-bottom: 1px solid var(--site-line); }
.product-header-inner { max-width: 1280px; min-height: 80px; padding: 0 40px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.product-brand { color: #ed5981; font-family: 'Outfit', sans-serif; font-size: 29px; line-height: 1; font-weight: 750; letter-spacing: -.05em; text-decoration: none; }
.product-header-links { display: flex; align-items: center; gap: 24px; }
.product-header-links a { font-size: 13px; color: var(--site-muted); font-weight: 500; }
.product-header-links a:hover { color: var(--site-ink); text-decoration: underline; text-underline-offset: 5px; }
.product-footer { width: calc(100% - 80px); max-width: 1200px; margin: 0 auto; padding: 26px 0 32px; border-top: 1px solid var(--site-line); display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 16px 32px; color: var(--site-muted); font-size: 11px; }
.product-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.product-footer a:hover { color: var(--site-link); text-decoration: underline; text-underline-offset: 4px; }
.product-eyebrow { color: var(--site-muted); text-transform: uppercase; font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.app-page .product-button, .app-page .btn-primary,
.app-page .product-button-secondary, .app-page .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px;
    font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none;
    box-shadow: none; backdrop-filter: none; transform: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}
.app-page .product-button, .app-page .btn-primary { background: #ff6188; color: #401222; }
.app-page .product-button:hover, .app-page .btn-primary:hover { background: #ff83a1; transform: none; box-shadow: none; }
.app-page .product-button-secondary, .app-page .btn-secondary { background: var(--site-surface); color: var(--site-ink); border-color: var(--site-line); }
.app-page .product-button-secondary:hover, .app-page .btn-secondary:hover { background: var(--site-pink); border-color: var(--site-line); transform: none; box-shadow: none; }
.app-page .product-button svg, .app-page .product-button-secondary svg, .app-page .btn-primary svg, .app-page .btn-secondary svg { width: 17px; height: 17px; flex-shrink: 0; }
.app-page .input { background: var(--site-surface); color: var(--site-ink); border: 1px solid var(--site-line); border-radius: 10px; min-height: 50px; padding: 12px 15px; box-shadow: none; font-size: 15px; font-weight: 400; width: 100%; }
.app-page .input:hover { border-color: color-mix(in srgb, var(--site-muted) 50%, var(--site-line)); }
.app-page .input:focus { border-color: var(--site-ink); box-shadow: none; }
.app-page .input::placeholder { color: var(--site-muted); opacity: .8; }
.app-page .label { color: var(--site-ink); font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 600; display: block; margin-bottom: 8px; }
.product-status { color: var(--site-muted); font-size: 13px; line-height: 1.6; }
.product-status:empty { display: none; }
.app-page .loader { border-color: var(--site-line); border-top-color: var(--site-link); }
@media (max-width: 600px) {
    .product-header-inner { min-height: 72px; padding: 0 22px; gap: 18px; }
    .product-brand { font-size: 27px; }
    .product-header-links { gap: 16px; }
    .product-header-links a { font-size: 12px; }
    .product-footer { width: calc(100% - 44px); padding-bottom: 94px; gap: 14px; }
    .product-footer nav { gap: 10px 18px; }
    .app-page .input { font-size: 16px; }
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .app-page { --app-success: #8cdbbe; --app-danger: #ffa0b0; }
}
[data-theme="dark"] .app-page { --app-success: #8cdbbe; --app-danger: #ffa0b0; }
