/* City permit guides (permit-guides/). Built on site.css; generated by tools/guides/build.py. */

.g-nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; margin-inline-start: 18px; }
.g-nav a { color: var(--muted); }
.g-nav a:hover { color: var(--ink); }

.g-hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.g-hero-hub { padding: 80px 0 40px; }
.g-hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.g-h1 { font-size: 50px; margin: 14px 0 18px; }
.g-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--faint); }
.g-crumbs a { color: var(--muted); }
.g-crumbs a:hover { color: var(--green-dark); }
.g-updated { margin-top: 22px; font-size: 13.5px; color: var(--faint); font-weight: 600; }

.g-facts { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-lg); padding: 26px 26px 18px; margin-top: 70px; }
.g-bot { position: absolute; width: 150px; height: 150px; top: -104px; inset-inline-end: 12px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: var(--sh-lg); }
.g-facts h2 { font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 8px; }
.g-facts dl { margin: 0; }
.g-facts dl > div { display: grid; grid-template-columns: 118px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.g-facts dl > div:first-child { border-top: 0; }
.g-facts dt { font-size: 13px; font-weight: 700; color: var(--faint); }
.g-facts dd { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.g-facts dd a { color: var(--green-dark); }

.g-sec { padding: 84px 0; }
.g-narrow { max-width: 860px; }
.g-center { text-align: center; }
.g-center .h2 { margin-inline: auto; }
.g-lead-center { margin: 0 auto; max-width: 640px; }

.g-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; counter-reset: none; }
.g-step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; }
.g-num { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font-family: var(--mono); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.g-step h3 { font-size: 17.5px; font-weight: 800; margin: 2px 0 6px; letter-spacing: -.01em; }
.g-step p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }

.g-docs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-docs li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
.g-docs .tick { margin-top: 2px; }
.g-docs b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.g-docs span:not(.tick) { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.g-inline-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--green-soft); border-radius: var(--r-card); padding: 20px 24px; }
.g-inline-cta p { font-size: 15.5px; color: #1d4d38; line-height: 1.5; }
.g-inline-cta .pill { flex: none; }

.g-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.g-rule h3 { margin-top: 0; }
.g-h3 { font-size: 20px; font-weight: 800; margin: 40px 0 12px; letter-spacing: -.01em; }
.g-local { padding-inline-start: 0; list-style: none; display: grid; gap: 10px; }
.g-local li { position: relative; padding-inline-start: 26px; color: #33333f; font-size: 15.5px; line-height: 1.65; }
.g-local li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

.g-office { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 22px; margin-top: 22px; }
.g-label { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.g-office p { margin-top: 6px; font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.g-office a { color: var(--green-dark); }
.g-note { margin-top: 16px; font-size: 14px; color: var(--faint); }
.g-note a { color: var(--green-dark); font-weight: 700; }

.g-cta-sec { padding: 40px 0 84px; }
.g-cta .pilot-now { margin-top: 28px; }
.g-form { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }

.g-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.g-related { display: flex; flex-direction: column; gap: 4px; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.g-related:hover { color: var(--ink); border-color: var(--green); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.g-related h3 { margin: 6px 0 4px; }
.g-related p { margin-bottom: 4px; }
.g-arrow { margin-top: auto; padding-top: 10px; color: var(--green-dark); font-weight: 800; font-size: 14.5px; }
.g-related-all { background: var(--surface); }

.g-sticky { display: none; }

@media (max-width: 900px) {
    .g-nav { display: none; }
    .guide-page .hdr-actions { display: flex; }
    .g-hero { padding: 32px 0 56px; }
    .g-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .g-h1 { font-size: 36px; }
    .g-facts { margin-top: 84px; }
    .g-bot { width: 120px; height: 120px; top: -88px; }
    .g-sec { padding: 60px 0; }
    .g-docs, .g-rules, .g-office, .g-related-grid { grid-template-columns: 1fr; }
    .g-inline-cta { flex-direction: column; align-items: flex-start; }
    .g-cta-sec { padding: 24px 0 60px; }

    /* A call to action that is always one thumb away on a phone. */
    .g-sticky {
        display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
        border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(20, 20, 30, .35);
        transition: transform .25s;
    }
    .g-sticky .pill { flex: 1; justify-content: center; }
    .g-sticky .pill-ghost { flex: 0 0 auto; }
    .g-sticky.hide { transform: translateY(110%); }
    .guide-page .ftr { padding-bottom: 96px; }
}

@media (max-width: 560px) {
    .g-h1 { font-size: 31px; }
    .guide-page .hdr-actions .pill { padding: 8px 14px; font-size: 13.5px; }
    .g-facts { padding: 22px 18px 12px; }
    .g-facts dl > div { grid-template-columns: 1fr; gap: 2px; }
    .g-step { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
    .g-num { width: 36px; height: 36px; font-size: 16px; }
}
