/* book/ page styles.
   Extracted 2026-05-15 from book/index.html inline block per perf audit.
   ~10KB brotli savings via cache reuse + smaller page HTML.
*/

        .book-page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 1;
        }

        .book-hero {
            padding: 124px 2rem 40px;
            text-align: center;
            max-width: 720px;
            margin: 0 auto;
        }
        .book-hero h1 {
            font-family: var(--font-display);
            font-size: clamp(1.8rem, 4vw, 2.6rem);
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1.15;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }
        .book-hero p {
            font-size: 1.05rem;
            color: var(--text-secondary);
            line-height: 1.6;
            max-width: 540px;
            margin: 0 auto;
        }

        .book-widget-wrap {
            max-width: 720px;
            margin: 0 auto 60px;
            padding: 0 1.5rem;
            width: 100%;
        }
        .book-widget-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--glow-primary), 0 4px 24px rgba(0,0,0,0.04);
        }
        .book-form {
            padding: 32px 28px;
        }
        .book-form h2 {
            font-family: var(--font-display);
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            margin-bottom: 0.35rem;
        }
        .book-form p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 1.5rem;
        }
        .book-form label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-primary);
            letter-spacing: -0.005em;
            margin: 0 0 0.35rem;
        }
        .book-form input {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1.5px solid var(--border-subtle);
            border-radius: 10px;
            font: inherit;
            /* 16px floor — iOS Safari auto-zooms inputs <16px on focus,
               which jolts the layout mid-type. Stay at 16px. */
            font-size: 16px;
            color: var(--text-primary);
            background: var(--bg-surface);
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
            box-sizing: border-box;
        }
        .book-form input:focus {
            outline: none;
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
        }
        .book-form .book-form-field { margin-bottom: 1rem; }
        .book-form .book-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
        @media (max-width: 480px) {
            .book-form .book-form-row { grid-template-columns: 1fr; }
        }
        .book-form button.book-submit {
            margin-top: 0.5rem;
            width: 100%;
            padding: 0.95rem 1.25rem;
            background: var(--accent-primary, #0891b2);
            color: #fff;
            border: none;
            border-radius: 100px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            cursor: pointer;
            transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
        }
        .book-form button.book-submit:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
        }
        .book-form button.book-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        .book-form .book-form-hint {
            font-size: 0.8rem;
            color: var(--text-dim);
            margin-top: 0.9rem;
            text-align: center;
        }
        /* Apple HIG 44pt min tap target on the "Log in" link.
           Audit WS-512 2026-05-07. Inline anchor was 15px tall vertical.
           Bump padding on mobile so the hit area meets HIG without disrupting layout. */
        @media (max-width: 600px) {
            .book-form .book-form-hint a {
                display: inline-block;
                min-height: 44px;
                line-height: 44px;
                padding: 0 0.5rem;
            }
        }
        .book-form .book-form-error {
            background: rgba(220, 38, 38, 0.06);
            border: 1px solid rgba(220, 38, 38, 0.2);
            border-radius: 10px;
            padding: 0.75rem 1rem;
            font-size: 0.85rem;
            color: #dc2626;
            margin: 0 0 1rem;
        }
        .book-form .book-form-hours {
            font-size: 0.85rem;
            color: var(--text-secondary);
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: 10px;
            padding: 0.7rem 0.9rem;
            margin-bottom: 1.25rem;
        }
        .book-form .book-form-hours strong { color: var(--text-primary); font-weight: 700; }

        /* Picker — revealed after form submits, replaces form in-place */
        .book-picker { padding: 32px 28px; }
        .book-picker h2 {
            font-family: var(--font-display);
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            margin-bottom: 0.35rem;
        }
        .book-picker-sub {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 1.25rem;
        }
        .book-picker-sub strong { color: var(--text-primary); font-weight: 700; }
        .book-tiles-banner {
            background: rgba(245, 158, 11, 0.08);
            border: 1px solid rgba(245, 158, 11, 0.25);
            border-radius: 10px;
            padding: 10px 12px;
            margin-bottom: 12px;
            font-size: 13px;
            line-height: 1.45;
            color: var(--text-primary);
        }
        .book-tiles-banner strong { font-weight: 700; }
        .book-tiles-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .book-tile {
            position: relative;
            padding: 16px 16px;
            background: var(--bg-surface);
            border: 1.5px solid var(--border-subtle);
            border-radius: 14px;
            min-height: 72px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 4px;
            font-family: inherit;
            color: var(--text-primary);
            cursor: pointer;
            text-align: left;
            transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
        }
        .book-tile:hover:not(:disabled):not(.is-loading) {
            border-color: var(--accent-primary);
            background: rgba(8,145,178,0.04);
        }
        .book-tile:active:not(:disabled):not(.is-loading) { transform: scale(0.99); }
        .book-tile:disabled, .book-tile.is-loading { opacity: 0.6; cursor: not-allowed; }
        .book-tile.is-busy { background: rgba(8,145,178,0.08); border-color: var(--accent-primary); }
        .book-tile-label { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
        .book-tile-hint { font-size: 12px; color: var(--text-dim); letter-spacing: -0.005em; }
        .book-tile-freeform { border-style: dashed; }
        .book-tile-input-row { display: flex; align-items: center; gap: 8px; width: 100%; }
        /* 16px floor — iOS Safari auto-zooms inputs <16px on focus. */
        .book-tile-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 16px; font-weight: 600; color: var(--text-primary); padding: 0; letter-spacing: -0.01em; }
        .book-tile-submit { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--accent-primary); color: #fff; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: transform 0.15s; }
        .book-tile-submit:hover { transform: scale(1.05); }
        @media (max-width: 480px) { .book-tiles-grid { grid-template-columns: 1fr; gap: 8px; } .book-tile { min-height: 64px; } }

        /* Booked confirmation card */
        .book-booked { padding: 32px 28px; text-align: center; }
        .book-booked-icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: rgba(34,197,94,0.12); display: flex; align-items: center; justify-content: center; }
        .book-booked-icon svg { width: 28px; height: 28px; color: #22c55e; }
        .book-booked h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 0.5rem; }
        .book-booked-time { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
        .book-booked-meta { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.5rem; }
        .book-booked-cals { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 1.5rem; }
        /* WS-348: bumped padding 0.5→0.65rem and added min-height:44px so calendar
           provider links (Google / Outlook / Apple) hit Apple HIG tap floor on mobile.
           Was rendering ~30px tall. */
        .book-booked-cals a { font-size: 0.88rem; font-weight: 600; color: var(--accent-primary); text-decoration: none; border: 1px solid rgba(8,145,178,0.25); padding: 0.65rem 1rem; border-radius: 100px; transition: background 0.15s, border-color 0.15s; min-height: 44px; display: inline-flex; align-items: center; }
        .book-booked-cals a:hover { background: rgba(8,145,178,0.06); border-color: var(--accent-primary); }
        .book-booked-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
        .book-booked-btn { padding: 0.75rem 1.25rem; border-radius: 100px; font-weight: 600; font-family: inherit; font-size: 0.95rem; cursor: pointer; border: 1.5px solid var(--border-subtle); background: var(--bg-surface); color: var(--text-primary); transition: border-color 0.15s; }
        .book-booked-btn:hover { border-color: var(--text-secondary); }
        .book-booked-btn.danger { color: #dc2626; border-color: rgba(220,38,38,0.3); }
        .book-booked-btn.danger:hover { background: rgba(220,38,38,0.06); border-color: #dc2626; }
        .book-booked-btn.primary { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
        .book-booked-btn.primary:hover { box-shadow: 0 4px 16px rgba(8,145,178,0.25); }

        .book-trust {
            display: flex;
            justify-content: center;
            gap: 1.5rem 2rem;
            flex-wrap: wrap;
            padding: 0 2rem 20px;
            /* Wider on desktop so all 4 pills sit on one row;
               on mobile they stack two-up via flex-wrap. */
            max-width: 760px;
            margin: 0 auto;
        }
        .book-trust-item {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.85rem;
            color: var(--text-dim);
            font-weight: 500;
        }
        .book-trust-item svg {
            color: var(--accent-primary);
            flex-shrink: 0;
        }

        .book-footer {
            text-align: center;
            padding: 2rem;
            color: var(--text-dim);
            font-size: 0.8rem;
            margin-top: auto;
        }
        .book-footer a {
            color: var(--accent-primary);
            text-decoration: none;
        }
        .book-footer a:hover {
            text-decoration: underline;
        }

        /* ── Walk-away deliverables ── */
        .book-walkaway {
            max-width: 720px;
            margin: 0 auto 32px;
            padding: 0 1.5rem;
        }
        .book-walkaway-eyebrow {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--text-dim);
            margin-bottom: 0.85rem;
        }
        .book-walkaway-list {
            list-style: none;
            padding: 0;
            margin: 0 0 1.25rem;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }
        .book-walkaway-list li {
            font-size: 0.98rem;
            line-height: 1.55;
            color: var(--text-secondary);
            padding-left: 1.4rem;
            position: relative;
        }
        .book-walkaway-list li::before {
            content: "·";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--accent-primary);
            font-weight: 700;
            font-size: 1.1rem;
            line-height: 1.55;
        }
        .book-walkaway-list strong {
            color: var(--text-primary);
            font-weight: 700;
        }
        .book-walkaway-closer {
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--text-secondary);
            font-style: italic;
            border-left: 2px solid var(--accent-primary);
            padding: 0.25rem 0 0.25rem 1rem;
        }

        /* ── Launch Team section ── */
        .book-team {
            max-width: 720px;
            margin: 0 auto 56px;
            padding: 0 1.5rem;
        }
        .book-team-eyebrow {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--text-dim);
            margin-bottom: 0.4rem;
        }
        .book-team-sub {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 1.25rem;
        }
        .book-team-members {
            display: flex;
            /* Centered: 3 avatars in a 720px column look like an
               afterthought when left-aligned. Center reads as
               intentional and balances the section. */
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
            margin-bottom: 1.25rem;
        }
        .book-team-member {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }
        .book-team-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(8,145,178,0.12), rgba(124,58,237,0.12));
            border: 1.5px solid var(--border-subtle);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--accent-primary);
            letter-spacing: -0.02em;
            overflow: hidden;
        }
        .book-team-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .book-team-name {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.01em;
        }
        .book-team-body {
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--text-secondary);
        }

        @media (max-width: 600px) {
            .book-hero { padding: 110px 1.25rem 28px; }
            .book-widget-wrap { padding: 0 1rem; margin-bottom: 40px; }
            .book-trust { gap: 1rem 1.25rem; }
            .book-walkaway, .book-team { padding: 0 1.25rem; }
            /* P2 polish (audit WS-512 2026-05-07): consent checkbox label —
               full <label> already tappable; make the row at least 44pt tall
               on mobile as defense-in-depth. */
            .book-consent-checkbox { min-height: 44px; }
        }
