/* Page layout shared by every page of greenlings.app */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); }
a { color: inherit; }
.gl-root { width: 100%; container-type: inline-size; background: var(--background); color: var(--foreground); font-family: var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 10px 14px; border-radius: 12px; background: var(--surface); }

.site-header { max-width: 1240px; margin: 0 auto; padding: 22px clamp(20px, 4cqi, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--foreground); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.site-nav > a:not(.gl-button) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; font-size: 16px; color: var(--foreground); text-decoration: none; }
.site-nav > a[aria-current="page"] { font-weight: 800; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav .gl-button { margin-left: 4px; }

.site-footer { background: var(--background); border-top: 1px solid var(--line); padding: 32px clamp(20px, 4cqi, 44px) 44px; }
.site-footer__inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.site-footer__brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 700; font-size: 15px; color: var(--foreground); }
.site-footer small { font-size: 14px; font-weight: 600; color: var(--tertiary); }

.band { padding: clamp(60px, 7cqi, 110px) clamp(20px, 4cqi, 44px); }
.band--cream { background: var(--background); }
.band--white { background: var(--surface); }
.band--page { padding-top: clamp(28px, 4cqi, 60px); }
.wrap { max-width: 1240px; margin: 0 auto; }
.eyebrow { font-size: 14px; font-weight: 800; color: var(--tertiary); text-transform: uppercase; letter-spacing: 1px; }
.h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5cqi, 64px); line-height: 1.02; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4cqi, 54px); line-height: 1.05; }
.lead { margin: 0; font-size: 20px; line-height: 1.45; color: var(--secondary); }
.copy { margin: 0; font-size: 17px; line-height: 1.5; color: var(--secondary); }
.small { margin: 0; font-size: 16px; line-height: 1.45; color: var(--secondary); }
.note { font-size: 14px; font-weight: 600; color: var(--tertiary); }
.stack { display: flex; flex-direction: column; }
.link { color: var(--foreground); font-weight: 700; }
.list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.5; color: var(--secondary); }
.list strong { color: var(--foreground); }

/* FAQ / troubleshooting */
.faq { border-radius: var(--radius-tile); background: var(--sunken); padding: 6px 22px; }
.faq summary { min-height: 52px; display: flex; align-items: center; gap: 12px; justify-content: space-between; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 20px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:focus-visible { outline: 3px solid var(--water-fill); outline-offset: 4px; border-radius: 8px; }
.faq__body { padding: 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.55; color: var(--secondary); }
.faq__body p { margin: 0; }
.faq__body strong { color: var(--foreground); }

.plant-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
@media (max-width: 720px) { .plant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.soon { display: inline-flex; align-items: center; gap: 10px; box-sizing: border-box; min-height: var(--size-primary-button); padding: 10px 20px; border-radius: var(--radius-pill); background: var(--selected-fill); color: var(--foreground); font-size: 17px; line-height: 22px; font-weight: 800; }
.soon svg { flex: none; color: var(--green); }
