/* =====================================================================================================
   glass_marketing.css   (linked AFTER glass_app.css; home_page/_gx_nav.html writes the link itself)

   The glass nav and footer for the marketing pages (docs/glass_ui/PROJECT.md, S5): sign-in, sign-up, the
   email-link page, and later the build form, trade and town pages, blog and legal. The home and about
   pages keep home_page/nav.html and footer.html until they switch, so this goes with a separate pair of
   partials (home_page/_gx_nav.html and _gx_footer.html), not an edit of today's.

   HOW TO USE THIS FILE (for Jake)
   It adds NO new colours or materials. Everything is built from glass_app.css's base values and materials
   (--gl-...), so changing a material there changes it here too. Its parts:
     1. THE NAV        .gm-nav    one floating glass capsule: a full bar on desktop (1100 px up), a slim
                                  capsule on the phone that opens .gm-menu, a glass sheet.
     2. THE FOOTER     .gm-foot   a light glass footer (today's is filled black).
     3. PAGE PARTS     .gm-...    what marketing pages are made of: section, heading, lead, the key card,
                                  feature cards, FAQ rows, the closing call to action, the alert.
     3b. SEO PAGE PARTS .gm-...   what the trade, town, guide and industry pages add: the centred hero and
                                  its facts, the reading card, the Pro Partner card, a guide's quick answer,
                                  breadcrumbs, link rows, an industry card.
     3c. BLOG PARTS    .bl-...    the blog's post cards, shared by the list page and a post's Keep Reading.
     3d-3f.            .ap- .vd- .lg-   what the two partner application forms, the two video pages and
                                  the three legal pages each share (once here, not copied into each page).
     4. THE CODE CARD  .gm-auth   the one centred card of sign-in, sign-up, the email-link page, invites,
                                  transfers, the AI app consent page and the account's contact pages:
                                  logo line, icon, title, form, the six code boxes, the small print.
     5. PROPOSED FOR glass_app.css   small things the shared sheet itself should own. Move them there.

   To change ONE element, set one material property on it, as in glass_app.css:
       .gm-nav { --gl-bar-bg: rgba(255, 255, 255, .9); }      a frostier nav bar, nothing else changes

   RULES THIS FILE KEEPS (same as glass_app.css)
   - Blur only on what floats: the nav capsule, the phone menu sheet and the code card.
   - Nothing is filled black. The one dark surface is the closing call to action, in pen blue.
   - One jewel (.gx-btn) is the thing to do next: Build my site. Where a page has its own jewel on screen
     the whole time (sign-in, sign-up, the build form), the nav is included with cta="quiet"
     (data-cta="quiet" on .gm-nav) and its button steps down to the light accent key.
   - Every state differs by shape, ring or weight as well as colour.
   - No url() to a file (collectstatic fails on a missing target).
   ===================================================================================================== */

/* =====================================================================================================
   1. THE NAV
   ===================================================================================================== */
:root { --gm-nav-h: 56px; --gm-nav-top: calc(8px + env(safe-area-inset-top, 0px)); }
@media (min-width: 1100px) { :root { --gm-nav-h: 64px; --gm-nav-top: 12px; } }

/* the room every marketing page keeps for the nav */
.gm-page { padding-top: calc(var(--gm-nav-top) + var(--gm-nav-h) + 8px); }

/* ---- the capsule. Bar glass (blur, lit rim), a little frostier than the editor's dock because
   paragraphs scroll under it. Add class gx-bar in the markup for the material and the rim. ---- */
.gm-nav {
    position: fixed; z-index: 76; top: var(--gm-nav-top); left: 0; right: 0; margin: 0 auto;
    width: min(1200px, calc(100% - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    height: var(--gm-nav-h); display: flex; align-items: center; gap: 6px; padding: 0 8px 0 10px;
    --gl-bar-bg: rgba(255, 255, 255, .9); --gl-bar-r: 28px;
    --gl-bar-shadow: 0 8px 26px rgba(16, 24, 64, .16), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -10px 18px -12px rgba(43, 68, 176, .18);
}
.gm-nav > * { position: relative; z-index: 1; }            /* above the lit rim, so everything can be tapped */
.gm-brand { display: flex; align-items: center; gap: 9px; flex: none; margin-right: auto; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--gl-ink); }
.gm-brand img { width: 34px; height: 34px; border-radius: 50%; flex: none; }

/* the links (desktop only) */
.gm-nav-links, .gm-nav-phone, html .gm-nav-signin { display: none; }      /* html: glass_app.css's keys are written "html .gx-key" */
.gm-nav-link {
    display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px; border-radius: 20px;
    font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--gl-ink); white-space: nowrap;
}
.gm-nav-link .gx-ic { width: 15px; height: 15px; stroke-width: 2.4; color: var(--gl-pen); transition: transform .18s; }
@media (hover: hover) { .gm-nav-link:hover { background: var(--gl-on-bg); box-shadow: inset 0 0 0 1px rgba(43, 68, 176, .18); } }
/* the page you are on: the "on" ring */
.gm-nav-link[aria-current="page"] { background: var(--gl-on-bg); box-shadow: var(--gl-on-ring); color: var(--gl-pen); font-weight: 700; }

/* a dropdown: opens on hover, on keyboard focus, and on a tap (class .open, set by the script).
   Its panel is NOT glass on glass: an almost solid sheet with no blur of its own. */
.gm-dd { position: relative; }
.gm-dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }      /* a bridge, so the pointer can reach the panel */
.gm-drop {
    position: absolute; z-index: 5; left: -10px; top: calc(100% + 16px); width: 330px; padding: 8px;
    background: linear-gradient(180deg, #FBFCFF, #F4F6FE); border: 1px solid #fff; border-radius: 22px;
    box-shadow: var(--gl-lift-xl), 0 0 0 1px rgba(43, 68, 176, .10);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .16s, transform .16s;
}
.gm-dd:hover .gm-drop, .gm-dd:focus-within .gm-drop, .gm-dd.open .gm-drop { opacity: 1; transform: none; pointer-events: auto; }
.gm-dd:hover > .gm-nav-link, .gm-dd.open > .gm-nav-link { background: var(--gl-on-bg); box-shadow: inset 0 0 0 1px rgba(43, 68, 176, .18); }
.gm-dd:hover > .gm-nav-link .gx-ic, .gm-dd.open > .gm-nav-link .gx-ic { transform: rotate(180deg); }
.gm-drop-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; }
.gm-drop-item b { display: block; font-size: 15px; line-height: 1.25; font-weight: 600; color: var(--gl-ink); }
.gm-drop-item small { display: block; margin-top: 1px; font-size: 13px; line-height: 1.3; color: var(--gl-ink-2); }
@media (hover: hover) { .gm-drop-item:hover { background: var(--gl-on-bg); box-shadow: inset 0 0 0 1px rgba(43, 68, 176, .18); } }
/* a member-only item for someone signed out: a lock in its well and a dashed well edge, not a paler colour */
.gm-drop-item.locked .gx-well { border-style: dashed; background: transparent; }

/* the right side: phone, Sign In, the jewel */
.gm-nav-call { }                                             /* phone: a round chip (the number is in the menu) */
html .gm-nav-cta { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.gm-nav-cta .long { display: none; }
@media (min-width: 430px) { .gm-nav-cta .long { display: inline; } .gm-nav-cta .short { display: none; } }
.gm-nav[data-cta="quiet"] .gm-nav-cta {                      /* a page with its own jewel: the accent key */
    background-color: transparent !important; background-image: none !important; background: var(--gl-accent-bg) !important;
    color: var(--gl-accent-fg) !important; text-shadow: none; box-shadow: var(--gl-accent-ring), 0 2px 6px rgba(43, 68, 176, .14);
}
.gm-nav[data-cta="quiet"] .gm-nav-cta::after { content: none; }
.gm-nav-menu[aria-expanded="true"] { background: var(--gl-on-bg); box-shadow: var(--gl-on-ring); }
.gm-nav-menu .x, .gm-nav-menu[aria-expanded="true"] .burger { display: none; }
.gm-nav-menu[aria-expanded="true"] .x { display: block; }

@media (min-width: 1100px) {
    .gm-nav { padding: 0 12px 0 18px; gap: 8px; --gl-bar-r: 32px; }
    .gm-brand { margin-right: 14px; font-size: 20px; }
    .gm-nav-links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
    .gm-nav-phone { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border-radius: 20px; font-size: 15px; font-weight: 600; color: var(--gl-ink); white-space: nowrap; }
    .gm-nav-phone .gx-ic { width: 17px; height: 17px; color: var(--gl-pen); }
    .gm-nav-phone span { display: none; }
    html .gm-nav-signin { display: inline-flex; min-height: 40px; }
    .gm-nav-call, .gm-nav-menu, .gm-menu, .gm-menu-scrim { display: none !important; }
    html .gm-nav-cta { padding: 0 18px; font-size: 15px; }
}
@media (min-width: 1240px) { .gm-nav-phone span { display: inline; } }

/* ---- the phone menu: a glass sheet that drops from the capsule. Its links scroll inside it; Call, Sign In
   and the jewel stay pinned at its foot, so they are on screen even in a short in-app browser. ---- */
.gm-menu-scrim { z-index: 70; }
.gm-menu {
    position: fixed; z-index: 75; left: calc(8px + env(safe-area-inset-left, 0px)); right: calc(8px + env(safe-area-inset-right, 0px));
    top: calc(var(--gm-nav-top) + var(--gm-nav-h) + 8px); max-width: 520px; margin: 0 auto;
    max-height: calc(100vh - var(--gm-nav-top) - var(--gm-nav-h) - 16px);
    max-height: calc(100dvh - var(--gm-nav-top) - var(--gm-nav-h) - 16px - env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; padding: 8px; --gl-sheet-r: 26px;
    opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .18s, transform .18s;
}
html.gm-menu-open .gm-menu { opacity: 1; transform: none; pointer-events: auto; }
.gm-menu > * { position: relative; z-index: 1; }
.gm-menu-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.gm-menu-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; padding: 0 12px; border-radius: 16px;
    font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--gl-ink); text-align: left; cursor: pointer; list-style: none;
}
.gm-menu-row::-webkit-details-marker { display: none; }
.gm-menu-row .gx-ic { width: 18px; height: 18px; color: var(--gl-pen); stroke-width: 2.4; transition: transform .18s; }
.gm-menu-row:active { background: var(--gl-on-bg); }
.gm-menu-scroll > * + * { border-top: var(--gl-hair); }
/* an open group: tinted, a pen ring, its chevron turned (shape, not colour alone) */
.gm-menu details[open] > .gm-menu-row { background: var(--gl-on-bg); box-shadow: inset 0 0 0 1.5px rgba(43, 68, 176, .5); color: var(--gl-pen); }
.gm-menu details[open] > .gm-menu-row .gx-ic { transform: rotate(180deg); }
.gm-menu-sub { padding: 4px 0 8px 6px; }
.gm-menu-sub a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-size: 16px; font-weight: 500; color: var(--gl-ink); }
.gm-menu-sub a .gx-ic { width: 19px; height: 19px; color: var(--gl-pen); }
.gm-menu-sub a small { margin-left: auto; font-size: 13px; color: var(--gl-ink-2); }
.gm-menu-sub a:active { background: var(--gl-on-bg); }
.gm-menu-foot { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding: 10px 2px 2px; border-top: var(--gl-hair); }
.gm-menu-foot .wide { grid-column: 1 / -1; }
.gm-menu-foot .gx-key, .gm-menu-foot .gx-btn { min-height: 48px; padding: 0 12px; }

/* =====================================================================================================
   2. THE FOOTER. Light glass on the desk: one wide cell for the brand and the four link columns, the
      small print under it. Words are ink; nothing is filled black.
   ===================================================================================================== */
.gm-foot { margin-top: 40px; padding: 0 0 calc(20px + env(safe-area-inset-bottom, 0px)); }
.gm-foot-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 22px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(246, 248, 255, .62)); border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: var(--gl-lift-md), 0 0 0 1px rgba(43, 68, 176, .07); border-radius: 26px;
}
.gm-foot-brand { grid-column: 1 / -1; }
.gm-foot-brand .gm-brand { display: inline-flex; margin: 0; font-size: 22px; }
.gm-foot-brand .gm-brand img { width: 38px; height: 38px; }
.gm-foot-brand p { margin-top: 12px; max-width: 320px; font-size: 15px; line-height: 1.55; color: var(--gl-ink-2); }
.gm-foot-social { display: flex; gap: 8px; margin-top: 16px; }
.gm-foot-col h4 { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-label); }
.gm-foot-col a { display: flex; align-items: center; gap: 8px; min-height: 38px; font-size: 15px; font-weight: 500; color: var(--gl-ink); }
.gm-foot-col a .gx-ic { width: 16px; height: 16px; color: var(--gl-pen); }
@media (hover: hover) { .gm-foot-col a:hover { color: var(--gl-pen); text-decoration: underline; text-underline-offset: 3px; } }
.gm-foot-fine { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 0; font-size: 13.5px; color: var(--gl-label); text-align: center; }
.gm-foot-fine > span, .gm-foot-fine > div { display: inline-flex; align-items: center; gap: 7px; }
.gm-foot-fine > .copy { display: inline; }
.gm-foot-bit { display: inline-flex; align-items: center; gap: 6px; }
.gm-foot-fine .gx-ic { width: 15px; height: 15px; color: var(--gl-pen); }
.gm-foot-fine b { font-weight: 700; color: var(--gl-ink); }
.gm-foot-fine .flag { width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16, 24, 64, .12); }
.gm-foot-fine .sep { width: 1px; height: 14px; background: rgba(43, 68, 176, .2); }
@media (min-width: 760px) {
    .gm-foot-card { grid-template-columns: repeat(4, 1fr); padding: 30px 32px; }
    .gm-foot-fine { flex-direction: row; justify-content: space-between; text-align: left; padding: 18px 16px 0; }
}
@media (min-width: 1024px) {
    .gm-foot { margin-top: 64px; }
    .gm-foot-card { grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px; padding: 40px 44px; border-radius: 30px; }
    .gm-foot-brand { grid-column: auto; }
    .gm-foot-col a { min-height: 34px; font-size: 14.5px; }
}

/* =====================================================================================================
   3. PAGE PARTS. What a marketing page is made of. Words sit on the desk; glass is kept for the nav,
      the key card and the call to action.
   ===================================================================================================== */
.gm-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.gm-wrap.narrow { max-width: 820px; }
@media (min-width: 600px) { .gm-wrap { padding: 0 24px; } }
.gm-section { padding: 36px 0; }
@media (min-width: 1024px) { .gm-section { padding: 64px 0; } }
.gm-center { text-align: center; }
.gm-center .gm-lead { margin-left: auto; margin-right: auto; }

/* words */
.gm-eyebrow { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 13px; border-radius: 16px; line-height: 1.3; text-align: center; background: var(--gl-tint); color: var(--gl-pen); font-size: 13px; font-weight: 700; letter-spacing: .01em; box-shadow: inset 0 0 0 1px rgba(43, 68, 176, .22); }
.gm-eyebrow .gx-ic { width: 15px; height: 15px; }
.gm-h1 { margin-top: 14px !important; font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--gl-ink); text-wrap: balance; }
.gm-h2 { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--gl-ink); text-wrap: balance; }
.gm-eyebrow + .gm-h2 { margin-top: 12px; }
.gm-lead { margin-top: 12px !important; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--gl-ink-2); }
.gm-body { font-size: 16.5px; line-height: 1.65; color: var(--gl-ink-2); }
.gm-note { font-size: 14.5px; line-height: 1.5; color: var(--gl-label); }
@media (min-width: 1024px) {
    .gm-h1 { font-size: 54px; margin-top: 18px !important; }
    .gm-h2 { font-size: 38px; }
    .gm-lead { font-size: 19px; margin-top: 16px !important; }
    .gm-body { font-size: 17.5px; }
}

/* ---- gm-lit: THE key card of a page. Near-white glass with the lit rim and a deep lift, no blur (it sits in
   the page, it does not float). One or two per page at most. ---- */
.gm-lit {
    position: relative; background: linear-gradient(180deg, rgba(251, 252, 255, .92), rgba(244, 246, 254, .84));
    box-shadow: 0 18px 44px rgba(16, 24, 64, .16), 0 2px 6px rgba(16, 24, 64, .06), inset 0 1.5px 0 #fff; border-radius: 26px;
}
.gm-lit::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1.2px; background: var(--gl-rim);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.gm-lit.tint { background: linear-gradient(160deg, rgba(246, 248, 255, .95), rgba(232, 237, 252, .9)); box-shadow: 0 18px 44px rgba(16, 24, 64, .14), inset 0 0 0 1px rgba(43, 68, 176, .16), inset 0 1.5px 0 #fff; }

/* ---- gm-grid + gm-feature: feature cards (cell glass, a well, a heading, a line, an optional list) ---- */
.gm-grid { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 700px) { .gm-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .gm-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; } .gm-grid > .last-alone { grid-column: 2; } }
.gm-feature { margin: 0; padding: 18px; text-align: left; --gl-cell-bg: rgba(255, 255, 255, .72); --gl-cell-shadow: 0 1px 4px rgba(16, 24, 64, .08), 0 0 0 1px rgba(43, 68, 176, .08); }
.gm-feature .gm-more { margin-bottom: -10px; }
.gm-feature h3 { margin-top: 12px; font-size: 18px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.gm-feature > p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--gl-ink-2); }
.gm-feature.row { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.gm-feature.row h3 { margin-top: 0; }
.gm-feature.row > .gx-well { grid-row: span 2; }
.gm-feature.row > .gm-more { grid-column: 2; }
@media (min-width: 1024px) { .gm-feature { padding: 24px; } .gm-feature .gm-more { margin-bottom: 0; } .gm-feature.row { display: block; } .gm-feature.row h3 { margin-top: 14px; } }
/* the list inside a feature card: ticks, not dots. On a phone it folds under "What's included". */
.gm-ticks { margin-top: 12px !important; display: grid; gap: 7px; }
.gm-ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--gl-ink); }
.gm-ticks li .gx-ic { width: 16px; height: 16px; margin-top: 3px; color: var(--gl-pen); stroke-width: 2.6; }
.gm-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--gl-pen); cursor: pointer; list-style: none; }
.gm-more > summary::-webkit-details-marker { display: none; }
.gm-more > summary .gx-ic { width: 16px; height: 16px; stroke-width: 2.6; transition: transform .18s; }
.gm-more[open] > summary .gx-ic { transform: rotate(180deg); }
.gm-more[open] .gm-ticks { margin-top: 2px !important; }
@media (min-width: 1024px) { .gm-more > summary { display: none; } .gm-more .gm-ticks { margin-top: 14px !important; padding-top: 14px; border-top: var(--gl-hair); } }

/* ---- gm-cta-row: a call to action under a section, with its small print ---- */
.gm-cta-row { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; text-align: center; }
.gm-cta-row .gx-btn { width: 100%; max-width: 420px; }
@media (min-width: 1024px) { .gm-cta-row { margin-top: 40px; } .gm-cta-row .gx-btn { width: auto; } }

/* ---- gm-faq: questions. Cell rows; the open one gets the pen ring and a turned chevron. ---- */
.gm-faq { display: grid; gap: 10px; margin-top: 22px; }
.gm-faq details { background: var(--gl-cell-bg); border: var(--gl-cell-border); box-shadow: var(--gl-cell-shadow); border-radius: var(--gl-cell-r); }
.gm-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 12px 12px 18px; font-size: 16.5px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.gm-faq summary::-webkit-details-marker { display: none; }
.gm-faq summary .gx-chip .gx-ic { transition: transform .18s; }
.gm-faq details[open] { background: rgba(255, 255, 255, .82); box-shadow: inset 0 0 0 2px var(--gl-pen), var(--gl-lift-md); }
.gm-faq details[open] summary .gx-chip .gx-ic { transform: rotate(180deg); }
.gm-faq details > p { padding: 0 18px 18px; font-size: 16px; line-height: 1.6; color: var(--gl-ink-2); }
@media (min-width: 1024px) { .gm-faq { margin-top: 32px; } .gm-faq summary { padding: 14px 16px 14px 24px; font-size: 18px; } .gm-faq details > p { padding: 0 64px 22px 24px; font-size: 17px; } }

/* ---- gm-links: a list of links to other pages (guides). Cell rows with an arrow. ---- */
.gm-links { display: grid; gap: 8px; margin-top: 18px; }
.gm-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 14px 10px 16px; font-size: 15.5px; line-height: 1.35; font-weight: 600; color: var(--gl-ink);
    background: var(--gl-cell-bg); border: var(--gl-cell-border); box-shadow: var(--gl-cell-shadow); border-radius: var(--gl-r-card); transition: box-shadow .2s, transform .2s; }
.gm-links a .gx-ic { width: 17px; height: 17px; color: var(--gl-pen); }
@media (hover: hover) { .gm-links a:hover { box-shadow: var(--gl-lift-md), 0 0 0 1px rgba(43, 68, 176, .2); transform: translateY(-1px); } }
@media (min-width: 760px) { .gm-links { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---- gm-band: a quiet line of trust between sections ---- */
.gm-band { display: flex; align-items: center; gap: 14px; padding: 6px 0; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-label); text-align: center; }
.gm-band::before, .gm-band::after { content: ''; flex: 1 1 0; height: 1px; background: rgba(43, 68, 176, .16); }

/* ---- gm-close: the closing call to action. Today a black box; here the blue ink glass at card size:
   white words (8:1 on it), a white button with pen-blue words. The one dark surface on a page. ---- */
.gm-close {
    position: relative; overflow: hidden; padding: 32px 22px; text-align: center; color: #fff; border-radius: 28px;
    background:
        radial-gradient(520px 300px at 100% 0%, rgba(127, 221, 247, .42), rgba(127, 221, 247, 0) 70%),
        radial-gradient(480px 320px at 0% 100%, rgba(92, 116, 232, .55), rgba(92, 116, 232, 0) 70%),
        linear-gradient(160deg, #3A52C8 0%, #2B44B0 55%, #22368F 100%);
    box-shadow: 0 18px 44px rgba(27, 42, 120, .34), inset 0 1.5px 0 rgba(255, 255, 255, .45);
}
.gm-close::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1.2px; background: var(--gl-jewel-rim);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.gm-close > * { position: relative; z-index: 1; }
.gm-close h2 { font-size: 27px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.gm-close p { margin: 12px auto 0 !important; max-width: 520px; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.gm-close-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; margin-top: 22px; padding: 0 26px; border-radius: 999px;
    background: #fff; color: var(--gl-pen) !important; font-size: 17px; font-weight: 800; letter-spacing: -.01em;
    box-shadow: 0 8px 20px rgba(16, 24, 64, .3), inset 0 -2px 0 rgba(43, 68, 176, .12);
}
.gm-close-btn .gx-ic { width: 19px; height: 19px; stroke-width: 2.4; }
@media (min-width: 1024px) { .gm-close { padding: 64px 48px; border-radius: 34px; } .gm-close h2 { font-size: 42px; } .gm-close p { font-size: 19px; } }

/* ---- gm-alert: a message above a form. Problems are red with the warning triangle and a heavier edge;
   good news is pen blue with a tick. Never colour alone. ---- */
.gm-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.gm-alert .gx-ic { width: 19px; height: 19px; margin-top: 1px; }
.gm-alert.bad { color: var(--gl-danger-fg); background: var(--gl-danger-bg); box-shadow: inset 0 0 0 1.5px var(--gl-danger-line), inset 4px 0 0 var(--gl-danger-fg); }
.gm-alert.info { color: var(--gl-ink); background: var(--gl-tint); box-shadow: inset 0 0 0 1px rgba(43, 68, 176, .22); font-weight: 500; }
.gm-alert.info .gx-ic { color: var(--gl-pen); }

/* =====================================================================================================
   3b. SEO PAGE PARTS (batch 11a). The trade, town, guide and industry pages (templates/home/pixlel/seo/):
       thousands of pages that search engines and AI crawlers read, so their words and markup stay as
       they were and only the look is set here. Words sit on the desk or on near-solid cards; the lit
       glass is kept for the Pro Partner card and the quick answer; the blue ink for the closing card.
   ===================================================================================================== */
/* ---- gm-hero: centred words, the jewel, the facts ---- */
.gm-hero { padding-top: 20px; }
.gm-hero > .gm-wrap { max-width: 920px; text-align: center; }
.gm-hero .gm-lead { margin-left: auto; margin-right: auto; }
.gm-hero-sub { margin-top: 12px; font-size: 15.5px; line-height: 1.45; font-weight: 600; color: var(--gl-ink); }
.gm-hero .gx-btn { margin-top: 20px; width: 100%; max-width: 460px; }
.gm-hero-pro { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--gl-ink-2); }
.gm-hero-back { display: flex; justify-content: center; margin-bottom: 12px; }
.gm-hero-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 15px; font-weight: 600; color: var(--gl-pen); }
.gm-hero-back .gx-ic { width: 16px; height: 16px; }
@media (min-width: 1024px) { .gm-hero { padding-top: 44px; } .gm-hero .gx-btn { width: auto; max-width: none; } }
/* a fact: a number over its label (two plain divs, as the pages have always had) */
.gm-facts { display: flex; justify-content: center; gap: 8px; max-width: 520px; margin: 22px auto 0; }
.gm-fact { flex: 1 1 0; min-width: 0; padding: 11px 10px; text-align: center; background: rgba(255, 255, 255, .7); border: 1px solid rgba(43, 68, 176, .12); border-radius: var(--gl-r-card); }
.gm-fact > :first-child { font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--gl-pen); }
.gm-fact > :last-child { margin-top: 2px; font-size: 13.5px; line-height: 1.3; font-weight: 500; color: var(--gl-ink-2); }
@media (min-width: 1024px) { .gm-facts { gap: 12px; margin-top: 30px; } .gm-fact { padding: 16px 14px; } .gm-fact > :first-child { font-size: 28px; } .gm-fact > :last-child { font-size: 14.5px; } }

/* ---- gm-prose: a card of paragraphs to read (the local market, an explainer, key takeaways). Add gx-card read. ---- */
.gm-prose { margin: 0; padding: 22px 20px; }
.gm-prose > .gm-eyebrow + .gm-h2 { margin-top: 12px; }
.gm-prose .gm-body, .gm-prose > .gm-ticks, .gm-prose > .gm-note { margin-top: 12px !important; }
.gm-prose .gm-ticks { gap: 10px; }
.gm-prose .gm-ticks li { font-size: 16.5px; line-height: 1.5; }
.gm-prose .gx-btn { margin-top: 18px; }
.gm-prose.gm-center .gx-btn { margin-top: 20px; }
@media (min-width: 1024px) { .gm-prose { padding: 40px 44px; } .gm-prose .gm-ticks li { font-size: 17px; } }
/* paragraphs on the desk (a guide's answer) */
.gm-article p { font-size: 17px; line-height: 1.75; color: var(--gl-ink-2); }
.gm-article p + p { margin-top: 18px; }
.gm-article p:first-child { font-size: 18px; color: var(--gl-ink); }
@media (min-width: 1024px) { .gm-article p { font-size: 18px; } .gm-article p:first-child { font-size: 19.5px; } }

/* ---- a feature card whose list stays open on every screen (Jake: nothing folds on these pages) ---- */
.gm-feature > .gm-ticks { grid-column: 1 / -1; margin-top: 14px !important; padding-top: 14px; border-top: var(--gl-hair); }

/* ---- gm-pro: the Pro Partner card (add gm-lit tint). Words left, three facts right; .solo is words only, centred. ---- */
.gm-pro { display: grid; gap: 22px; padding: 26px 20px; }
.gm-pro .gm-ticks { margin-top: 18px !important; gap: 10px; }
.gm-pro .gm-ticks li { font-size: 16px; font-weight: 500; }
.gm-pro .gx-key { margin-top: 20px; }
.gm-pro .gm-note { margin-top: 12px; }
.gm-pro-facts { display: grid; gap: 8px; align-content: center; }
.gm-pro-facts .gm-fact { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; text-align: left; background: rgba(255, 255, 255, .8); }
.gm-pro-facts .gm-fact > :first-child { font-size: 19px; color: var(--gl-ink); white-space: nowrap; }
.gm-pro-facts .gm-fact > :last-child { margin-top: 0; font-size: 14.5px; text-align: right; }
.gm-pro.solo { text-align: center; justify-items: center; }
.gm-pro.solo > div { max-width: 720px; }
.gm-pro.solo .gm-lead { margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) {
    .gm-pro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; padding: 52px; align-items: center; }
    .gm-pro.solo { grid-template-columns: 1fr; }
    .gm-pro-facts { gap: 12px; }
    .gm-pro-facts .gm-fact { display: block; padding: 18px 22px; }
    .gm-pro-facts .gm-fact > :first-child { font-size: 24px; }
    .gm-pro-facts .gm-fact > :last-child { margin-top: 2px; text-align: left; }
}

/* ---- gm-quick: a guide's quick answer (add gm-lit tint): a pen edge, a label, the answer in ink ---- */
.gm-quick { padding: 20px 20px 22px; box-shadow: 0 18px 44px rgba(16, 24, 64, .14), inset 0 0 0 1px rgba(43, 68, 176, .16), inset 5px 0 0 var(--gl-pen); }
.gm-quick-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--gl-pen); }
.gm-quick-label .gx-ic { width: 19px; height: 19px; }
.gm-quick p { margin-top: 10px; font-size: 18px; line-height: 1.6; font-weight: 500; color: var(--gl-ink); }
@media (min-width: 1024px) { .gm-quick { padding: 30px 34px 32px; } .gm-quick p { font-size: 20px; } }

/* ---- gm-crumbs: where this page sits (Home / Roofing / Guides) ---- */
.gm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 14px; font-size: 14.5px; font-weight: 500; color: var(--gl-ink-2); }
.gm-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--gl-pen); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gm-crumbs > span:last-child { color: var(--gl-ink); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1024px) { .gm-crumbs { padding-top: 28px; } }
.gm-section.tight { padding: 14px 0; }
.gm-section.head { padding: 16px 0 8px; }
@media (min-width: 1024px) { .gm-section.tight { padding: 22px 0; } .gm-section.head { padding: 28px 0 12px; } }

/* ---- more links: gm-links whose rows carry a heading and a line (.rich), the link under a list, the trail ---- */
.gm-links.rich a { display: block; padding: 16px 18px; }
.gm-links.rich h2 { font-size: 17.5px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--gl-pen); }
.gm-links.rich p { margin-top: 6px; font-size: 15px; line-height: 1.5; font-weight: 400; color: var(--gl-ink-2); }
.gm-more-link { display: flex; justify-content: center; margin-top: 16px; }
.gm-more-link a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.gm-more-link .gx-ic { width: 16px; height: 16px; }
.gm-trail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 28px; font-size: 15px; color: var(--gl-ink-3); }
.gm-trail a { display: inline-flex; align-items: center; min-height: 36px; }
.gm-btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---- gm-trade: an industry on the industries page: a whole-card link with its name, a line, three tags ---- */
.gm-trade { display: block; transition: box-shadow .2s, transform .2s; }
.gm-trade-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gm-trade-head h3 { margin-top: 0; font-size: 20px; }
.gm-trade-head .gx-ic { margin-top: 3px; color: var(--gl-pen); }
.gm-trade-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.gm-trade-tags .gx-tag { height: auto; min-height: 26px; padding: 3px 10px; font-size: 13px; white-space: normal; }
@media (hover: hover) { .gm-trade:hover { box-shadow: var(--gl-lift-md), 0 0 0 1.5px rgba(43, 68, 176, .32); transform: translateY(-2px); } .gm-trade:hover h3 { color: var(--gl-pen); } }

/* =====================================================================================================
   3c. BLOG PARTS. The post cards of the blog (templates/home/pixlel/blog/): the list page's grid and the
      Keep Reading cards under a post. A card is cell glass, 72% white with a faint pen edge; its picture
      (or the newspaper icon on the tint) on top, the category tag and date, the title, three lines of the
      summary. Each page keeps only its own layout in its <style> (the category keys, the article card).
   ===================================================================================================== */
.bl-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .bl-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.bl-post { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; overflow: hidden; border-radius: 22px;
           --gl-cell-bg: rgba(255, 255, 255, .72); --gl-cell-shadow: 0 1px 4px rgba(16, 24, 64, .08), 0 0 0 1px rgba(43, 68, 176, .08); }
.bl-post-img { aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; background: var(--gl-tint); color: var(--gl-pen); }
.bl-post-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bl-post-img .gx-ic { width: 44px; height: 44px; stroke-width: 1.5; opacity: .55; }
.bl-post-body { padding: 18px; }
.bl-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: 13.5px; color: var(--gl-label); }
.bl-post h2, .bl-post h3 { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; color: var(--gl-ink); }
.bl-post p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--gl-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) { a.bl-post:hover .bl-post-img img { transform: scale(1.05); } a.bl-post:hover h2, a.bl-post:hover h3 { color: var(--gl-pen); } }
@media (min-width: 1024px) { .bl-post-body { padding: 24px; } .bl-post h2 { font-size: 21px; } }

/* =====================================================================================================
   3d. PARTNER APPLICATION PARTS (ap-). The two application forms, partner_program/affiliate_apply.html and
      partner_apply.html: a code card with bigger fields, the address you pick (its fixed part inside the box,
      the check's mark beside it: #slug-status, which the pages' script fills), the address rows, hCaptcha.
   ===================================================================================================== */
.ap-card { margin-top: 24px; padding: 20px 16px; }
.ap-form .gx-field { font-size: 17px; min-height: 52px; }
.ap-form label { font-size: 15.5px; line-height: 1.4; }
.ap-form .req { color: var(--gl-danger-fg); }
.ap-form .gx-hint.above { margin: -2px 0 9px; font-size: 14.5px; color: var(--gl-ink-2); }
.ap-form .gx-hint.above strong { color: var(--gl-ink); }
.ap-form .gx-or { margin: 6px 0 0; }
.ap-form .gx-or + .gx-hint { margin: -10px 0 0; text-align: center; }
.ap-errs { display: grid; gap: 8px; margin-bottom: 18px; }

/* the code: the fixed part of the address sits inside the box, the check's mark beside it */
.ap-slug { display: flex; align-items: center; gap: 10px; }
.ap-slug-box { position: relative; flex: 1 1 auto; min-width: 0; }
.ap-slug-box > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--gl-label); pointer-events: none; }
.ap-form .ap-slug-box .gx-field { padding-left: 112px; }
#slug-status { width: 28px; flex: none; display: grid; place-items: center; }
#slug-status .gx-ic { width: 24px; height: 24px; }
#slug-status .gx-spin { width: 18px; height: 18px; }
.ap-ok { color: var(--gl-pen); }
.ap-no { color: var(--gl-danger-fg); }
.ap-msg { min-height: 20px; margin-top: 7px; font-size: 14.5px; color: var(--gl-label); }
.ap-msg.ok { color: var(--gl-pen); font-weight: 700; }
.ap-msg.bad { color: var(--gl-danger-fg); font-weight: 700; }

.ap-addr { display: grid; gap: 12px; }
.ap-addr-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ap-addr-row .city { grid-column: 1 / -1; }
@media (min-width: 640px) { .ap-addr-row { grid-template-columns: 2fr 1fr 1fr; } .ap-addr-row .city { grid-column: auto; } }

.ap-captcha { display: flex; justify-content: center; }
.ap-fine { font-size: 14.5px; color: var(--gl-label); text-align: center; }
@media (min-width: 1024px) { .ap-card { padding: 40px 44px; margin-top: 36px; } }

/* =====================================================================================================
   3e. VIDEO PAGE PARTS (vd-). The two video pages, simple_pages/demo_video.html and rebuild_video.html. They
      never had the site nav: a slim bar of their own (logo, title, Home; bar glass), then the player on a deep
      navy stage with a jewel play button that fades in.
   ===================================================================================================== */
.vd-page { display: flex; flex-direction: column; }
.vd-bar { position: sticky; z-index: 50; top: calc(8px + env(safe-area-inset-top, 0px)); width: min(1280px, calc(100% - 16px)); margin: 8px auto 0;
          display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; min-height: 56px; padding: 0 8px 0 10px;
          --gl-bar-bg: rgba(255, 255, 255, .9); --gl-bar-r: 28px; }
.vd-bar > * { position: relative; z-index: 1; }
.vd-bar .gm-brand { margin: 0; }
.vd-bar h1 { font-size: 15px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; text-align: center; }
.vd-bar .gx-key { justify-self: end; }
.vd-bar .gx-key span { display: none; }
html .vd-bar .gx-key { padding: 0 12px; }
.vd-main { flex: 1 1 auto; display: flex; align-items: flex-start; justify-content: center; padding: 14px 8px 28px; }
.vd-stage { position: relative; width: min(100%, 1280px, calc((100vh - 170px) * 16 / 9)); min-width: min(100%, 320px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #0F1640;
            box-shadow: 0 18px 44px rgba(16, 24, 64, .22), 0 0 0 1px rgba(43, 68, 176, .14); }
.vd-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.vd-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(16, 24, 64, .2); cursor: pointer; transition: opacity .3s; }
.vd-play span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: #fff; opacity: 0; animation: vd-in 1s ease-in 2s forwards;
                background-color: var(--gl-jewel-color); background-image: var(--gl-jewel-bg); box-shadow: var(--gl-jewel-shadow), 0 0 0 6px rgba(255, 255, 255, .28); }
.vd-play svg { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
@keyframes vd-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 640px) { .vd-main { align-items: center; padding: 28px 24px 40px; } .vd-stage { border-radius: 24px; } .vd-play span { width: 112px; height: 112px; } .vd-play svg { width: 46px; height: 46px; } }
@media (min-width: 768px) { .vd-bar { min-height: 64px; padding: 0 12px 0 18px; } .vd-bar h1 { font-size: 20px; } .vd-bar .gx-key span { display: inline; } html .vd-bar .gx-key { padding: 0 18px; } }
@media (prefers-reduced-motion: reduce) { .vd-play span { animation: none; opacity: 1; } }

/* =====================================================================================================
   3f. LEGAL PAGE PARTS (lg-). The Terms, Privacy and Cookie pages (templates/home/legal/): the whole text on one
      near-solid card capped at a reading width, the note boxes and the contents links in pen blue.
   ===================================================================================================== */
.lg-wrap { padding: 12px 10px 0; }
.lg-doc { background: rgba(255, 255, 255, .93); border: 1px solid rgba(43, 68, 176, .12); border-radius: 22px; box-shadow: 0 2px 8px rgba(16, 24, 64, .08), 0 18px 44px rgba(16, 24, 64, .08); overflow-wrap: break-word; }
.lg-doc [id] { scroll-margin-top: 90px; }
@media (min-width: 768px) { .lg-wrap { padding: 28px 24px 0; } .lg-doc { border-radius: 30px; } }
.highlight-box {
    background-color: #EEF1FC;
    border-left: 3px solid #2B44B0;
    border-radius: 0 12px 12px 0;
}
.toc-link { color: #2B44B0; text-decoration: underline; text-decoration-color: rgba(43, 68, 176, .35); text-underline-offset: 3px; }
.toc-link:hover { text-decoration-color: #2B44B0; }
.lg-doc ol.list-decimal > li { padding: 3px 0; }
.bullet-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2B44B0;
}

/* =====================================================================================================
   4. THE CODE CARD (gm-auth). One centred sheet-glass card: sign-in, sign-up, the email-link page, invites,
      transfers, the AI app consent page, and (inside the owner shell) the account's contact pages.
      The card floats alone on the desk, so it is sheet glass (class gx-sheet in the markup).
   ===================================================================================================== */
.gm-auth { display: flex; flex-direction: column; align-items: center; padding: 12px 16px 8px; }
.gm-auth.solo { padding-top: 20px; padding-bottom: 40px; min-height: 100vh; min-height: 100dvh; }      /* a page with no nav: the card and the logo only */
.gm-auth.center { justify-content: center; }
.gm-auth-logo { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--gl-ink); }
.gm-auth-logo img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.gm-auth-msgs { width: 100%; max-width: 460px; display: grid; gap: 8px; margin: 0 0 12px; }
.gm-auth-card { width: 100%; max-width: 460px; padding: 22px 16px; }
.gm-auth-card.wide { max-width: 540px; }
.gm-auth-card .gm-auth-msgs { margin-bottom: 16px; }
.gm-auth-card #contact::placeholder { font-size: 15px; }
.gm-auth-head { text-align: center; margin-bottom: 20px; }
.gm-auth-head .gx-well { width: 52px; height: 52px; border-radius: 16px; }
.gm-auth-head .gx-well .gx-ic { width: 24px; height: 24px; }
.gm-auth-head .gx-well.bad { color: var(--gl-danger-fg); background: var(--gl-danger-bg); border: 1.5px solid var(--gl-danger-line); }
.gm-auth-head .gx-well.bad .gx-ic { color: inherit; }
.gm-auth-head h1, .gm-auth-head h2 { margin: 12px 0 0; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--gl-ink); text-wrap: balance; overflow-wrap: anywhere; }
.gm-auth-head p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--gl-ink-2); }
.gm-auth-head p b, .gm-auth-head p strong { color: var(--gl-ink); font-weight: 700; overflow-wrap: anywhere; }
.gm-auth-form { display: grid; gap: 16px; }
.gm-auth-form > * { min-width: 0; }
.gm-auth-sent { justify-content: center; text-align: center; }
.gm-auth-sent > div > span { display: inline-flex; align-items: center; gap: 7px; }
.gm-auth-sent .gx-ic { margin: 0; }
.gm-auth-sent b { display: block; margin-top: 2px; font-weight: 700; overflow-wrap: anywhere; }
/* the six boxes of the code: field glass, one digit each */
.gm-code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
html .gm-code .gx-field { width: 100%; min-height: 56px; padding: 0; text-align: center; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* the box being typed in: a full pen ring (the shared focus ring is too faint to find among six boxes) */
html .gm-code .gx-field:focus { box-shadow: var(--gl-field-shadow), 0 0 0 2.5px var(--gl-pen); }
/* the pages that take the code in ONE box */
html .gx-field.gm-code-one { min-height: 56px; text-align: center; letter-spacing: .4em; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gm-auth-resend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; min-height: 40px; margin-top: -4px; font-size: 15px; color: var(--gl-ink-2); text-align: center; }
.gm-auth-resend.split { justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: var(--gl-hair); }
html .gm-auth-resend button { min-height: 40px; font-size: 15px; cursor: pointer; }
html .gm-auth-resend button.bad { color: var(--gl-danger-fg); }
.gm-auth-alt { text-align: center; }
.gm-auth-alt p { margin: 0 0 12px; color: var(--gl-ink-2); }
.gm-auth-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--gl-label); text-align: center; }
.gm-auth-note.line { padding-top: 16px; border-top: var(--gl-hair); }
.gm-auth-fine { width: 100%; max-width: 460px; margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--gl-label); text-align: center; }
.gm-auth-fine div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin-top: 2px; }
.gm-auth-fine a { display: inline-flex; align-items: center; min-height: 36px; }
.gm-auth-fine .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(43, 68, 176, .4); }
.gm-auth-back { display: flex; justify-content: center; margin-top: 16px; }
/* a short list inside the card ("If you accept"): ticks, on a tint */
.gm-auth-list { padding: 14px 16px; border-radius: var(--gl-r-cell); background: var(--gl-accent-bg); box-shadow: inset 0 0 0 1px rgba(43, 68, 176, .2); }
.gm-auth-list > b { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.gm-auth-list ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gm-auth-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--gl-ink-2); }
.gm-auth-list li .gx-ic { width: 16px; height: 16px; margin-top: 3px; color: var(--gl-pen); stroke-width: 2.6; }
.gm-auth-list li strong { color: var(--gl-ink); font-weight: 700; }
.gm-auth .hidden, .gm-auth [hidden] { display: none !important; }
@media (min-width: 1024px) {
    .gm-auth { padding: 56px 16px 24px; }
    .gm-auth.solo { padding-top: 40px; }
    .gm-auth-logo { margin-bottom: 24px; }
    .gm-auth-card { padding: 36px; }
    .gm-auth-head { margin-bottom: 28px; }
    .gm-auth-head h1, .gm-auth-head h2 { font-size: 32px; }
    .gm-auth-form { gap: 20px; }
    .gm-code { gap: 10px; }
    html .gm-code .gx-field { min-height: 62px; }
}
/* inside the owner shell (the account's contact pages) the card sits under the page header, left with the page */
.gx-main .gm-auth { align-items: flex-start; padding: 0; }

/* =====================================================================================================
   5. PROPOSED FOR glass_app.css
   Small things the shared sheet should own, found while building these pages. Move them there.
   (.gx-btn.lg, .block, .gx-field.bad and .gx-field-msg are already in glass_app.css.)
   ===================================================================================================== */
/* a jewel whose words may wrap on a narrow phone ("Build my roofing site free in 90 seconds") */
html .gx-btn.wrap { white-space: normal; text-align: center; line-height: 1.2; padding-top: 10px; padding-bottom: 10px; border-radius: 28px; }
/* a field label with its icon (gx-label is the small capital kind; forms want a plain strong label) */
.gx-field-label { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--gl-ink); }
.gx-field-label .gx-ic { width: 17px; height: 17px; color: var(--gl-pen); }
/* "or" between two ways forward */
.gx-or { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gl-label); }
.gx-or::before, .gx-or::after { content: ''; flex: 1 1 0; height: 1px; background: rgba(43, 68, 176, .16); }
/* content inside a lit card must sit above the lit rim to be tapped (gx-sheet already does this) */
.gm-lit > * { position: relative; z-index: 1; }
/* a link-looking button (Resend code): the pen link, with no button chrome */
html button.gx-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
