/* The pre-checkout page (/checkout, src/account/views.js checkoutPage), Oct 19: the homepage's look. It loads
   site/home.css first (palette, Bricolage Grotesque, header, buttons, footer) and only adds the page itself here.
   The renewal terms sit in their own box next to the two boxes to tick; their wording comes from src/billing.js. */
body { min-height: 100vh; display: flex; flex-direction: column; }
.co { flex: 1; padding: clamp(20px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(120% 60% at 92% 0%, rgba(233, 160, 124, .18), rgba(233, 160, 124, 0) 60%), radial-gradient(90% 50% at 0% 100%, rgba(12, 106, 96, .06), rgba(12, 106, 96, 0) 60%), var(--stone); }
.co-card { max-width: 560px; margin: 0 auto; padding: clamp(22px, 4vw, 36px); background: var(--card); border-radius: 22px; box-shadow: var(--shadow), 0 0 0 1px rgba(25, 32, 43, .07); }
.co-card > :last-child { margin-bottom: 0; }
.co-kicker { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--muted); }
.co-card h1 { font-size: clamp(28px, 6vw, 36px); letter-spacing: -0.03em; }
.co-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 14px 0 0; }
.co-price .amt { font-size: clamp(44px, 9vw, 56px); font-weight: 720; letter-spacing: -0.04em; line-height: 1; }
.co-price .per { font-size: 17px; color: var(--muted); }
.co-inc { margin: 8px 0 0; font-size: 17px; line-height: 1.45; color: #3E4450; }
.co-for { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--lagoon-wash); font-size: 15px; }
.co-alert { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; background: #FFF4E0; color: #6A4300; }
.co-alert.error { background: #FDECEA; color: var(--error); }
.co-alert p { margin: 0; }
.co-form { margin: 22px 0 0; }
.co-terms { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--stone); border: 1px solid var(--line); }
.co-terms h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.co-terms p { margin: 0; font-size: 15px; line-height: 1.5; color: #3E4450; }
.co-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; }
.co-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lagoon); cursor: pointer; }
.co-check label { font-size: 15.5px; line-height: 1.45; cursor: pointer; }
.co-check:has(input:checked) { border-color: var(--lagoon); background: #F6FBF9; }
.co-check.invalid { border-color: var(--error); }
.field-err { margin: -4px 0 10px; font-size: 14px; color: var(--error); }
.co-site { margin: 0 0 16px; }
.co-site label { display: block; margin: 0 0 6px; font-size: 15.5px; font-weight: 650; }
.co-site input { box-sizing: border-box; width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 17px; color: inherit; }
.co-site input:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 1px; border-color: var(--lagoon); }
.co-site.invalid input { border-color: var(--error); }
.co-site .field-err { margin: 6px 0 0; }
.co-site-hint { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.co-form .btn { width: 100%; min-height: 56px; margin-top: 6px; font-size: 18px; background: linear-gradient(135deg, #0E7A6E, var(--lagoon) 55%, #0A5E55); box-shadow: 0 14px 28px -14px rgba(12, 106, 96, .7); }
.co-form .btn:hover { background: var(--lagoon-deep); }
.co-secure { margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; color: #3E4450; text-align: center; text-wrap: balance; }
.co-secure svg { display: inline-block; width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: var(--lagoon); }
.co-secure a { color: var(--lagoon-deep); font-weight: 600; }
.co-other { margin: 14px 0 0; font-size: 15px; text-align: center; }
.site-footer .copy { font-size: 13.5px; }

/* The approve-all confirm page (/e/<client>/<token>, src/account/views.js approveAllPage), Oct 19: the two choices
   first, then each post as a row that opens (<details>, no script) to every word it goes out with. */
.ea { max-width: 640px; }
.ea h1 { margin-bottom: 0; }
.ea-sub { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: #3E4450; }
.ea-go { margin: 18px 0 0; }
.ea-go .btn, .ea-one .btn { width: 100%; min-height: 54px; font-size: 18px; }
.ea-go .btn { background: linear-gradient(135deg, #0E7A6E, var(--lagoon) 55%, #0A5E55); box-shadow: 0 14px 28px -14px rgba(12, 106, 96, .7); }
.ea-go .btn:hover { background: var(--lagoon-deep); }
.ea-go.end { margin-top: 20px; }
.ea-one { margin: 10px 0 0; }
.ea-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: 28px 0 10px; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.ea-h span { font-size: 14px; font-weight: 500; color: var(--muted); }
.ea-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ea-list > li { border-bottom: 1px solid var(--line); }
.ea-post summary { display: grid; grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 12px 2px; cursor: pointer; list-style: none; }
.ea-post summary::-webkit-details-marker { display: none; }
.ea-post summary::after { content: ""; width: 9px; height: 9px; justify-self: center; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.ea-post[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.ea-post summary:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 2px; border-radius: 10px; }
.ea-thumb { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--stone); display: block; }
.ea-thumb.none { background: linear-gradient(135deg, var(--lagoon-wash), var(--stone)); }
.ea-line { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ea-meta { font-size: 15px; line-height: 1.3; }
.ea-meta span { color: var(--muted); white-space: nowrap; }
.ea-first { font-size: 15px; line-height: 1.35; color: #3E4450; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ea-post[open] .ea-first { white-space: normal; }
.ea-body { padding: 0 2px 16px; }
.ea-media, .ea-ch { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ea-cover { display: block; width: min(100%, 280px); height: auto; margin: 0 0 10px; border-radius: 12px; }
/* Oct 20 (founder): the post's images at full width when a row is open; a carousel as a strip to swipe; a tap opens a
   :target lightbox (no script on this page). */
.ea-set { margin: 0 0 6px; }
.ea-set .ea-zl { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--stone); }
.ea-full { display: block; width: 100%; height: auto; }
.ea-full.ea-pin { aspect-ratio: 2 / 3; object-fit: cover; max-width: 320px; margin: 0 auto; border-radius: 16px; }
.ea-set.many { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.ea-set.many .ea-zl { flex: 0 0 86%; scroll-snap-align: start; }
.ea-set.many:focus-visible, .ea-zl:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 2px; }
.ea-set + .ea-media { font-weight: 500; margin-bottom: 12px; }
.ea-lb { display: none; }
.ea-lb:target { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 1000; background: #0B0D11; padding: calc(10px + env(safe-area-inset-top)) 10px calc(16px + env(safe-area-inset-bottom)); }
body:has(.ea-lb:target) .site-header, body:has(.ea-lb:target) .sticky-cta { visibility: hidden; }
body:has(.ea-lb:target) { overflow: hidden; }
.ea-lb-bar { display: flex; align-items: center; gap: 18px; justify-content: flex-end; min-height: 44px; color: #fff; font-size: 15px; }
.ea-lb-bar span { margin-right: auto; opacity: .8; }
.ea-lb-bar a { color: #fff; font-weight: 600; text-decoration: none; padding: 10px 4px; }
.ea-lb-bar .ea-lb-x { padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; }
.ea-lb-pic { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.ea-lb-pic img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.ea-part + .ea-part { margin-top: 12px; }
.ea-text { padding: 12px 14px; border-radius: 12px; background: var(--stone); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ea .email-posts { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.ea .email-posts li { padding: 8px 0; border-bottom: 1px solid var(--line); }
/* What happens after paying (site QA, Oct 19): outside the renewal and consent boxes. */
.co-next { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink); text-align: center; text-wrap: balance; }
/* A short video on the approve-all page (Oct 22): it plays here, before anything is approved. */
.ea-video { display: block; width: 100%; max-width: 280px; aspect-ratio: 9 / 16; border-radius: 10px; background: #19202B; margin: 0 0 10px; }
