/*
 * Landing page template (templates/page-landing.html).
 * Every class here starts with "lp-" so it can't affect the other pages.
 */
.lp-main { display: block; color: #39433F; }
.lp-main figure { margin: 0; }
.lp-main p { margin: 0; }
.lp-main :is(h1, h2, h3) { margin: 0; font-family: Fraunces, Georgia, serif; color: #07120D; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.lp-wrap { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.lp-sec { padding-top: 88px; padding-bottom: 88px; }
.lp-sec--white { background: #FFFFFF; border-top: 1px solid #ECE6DC; border-bottom: 1px solid #ECE6DC; }
.lp-eyebrow { font-size: 13px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #B4561C; }
.lp-h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; }
.lp-intro { font-size: 19px; line-height: 1.55; max-width: 40em; }
.lp-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.lp-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.lp-small { font-size: 14px; color: #5B6560; }

/* Header / footer */
.lp-header { background: #FFFFFF; border-bottom: 1px solid #E4DED5; }
.lp-header figure { margin: 0; }
.lp-header-inner { display: flex; align-items: center; gap: 10px; min-height: 72px; }
.lp-header .lp-logo-brain img { height: 44px; width: auto; display: block; }
.lp-header .lp-logo-word img { height: 34px; width: auto; display: block; }
.lp-header-tag { margin: 0 0 0 auto; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #1C5E44; background: #E7F1E6; border-radius: 999px; padding: 6px 14px; }
.lp-footer { background: #07120D; color: #C9D2CD; padding: 40px 0 48px; font-size: 14px; line-height: 1.6; }
.lp-footer-inner { display: flex; flex-direction: column; gap: 8px; }
.lp-footer p { margin: 0; }
.lp-footer a { color: #FFFFFF; }
.lp-footer-brand { color: #FFFFFF; font-size: 15px; }
.lp-footer-small { color: #A9B4AE; }

/* Hero */
.lp-hero { padding-top: 64px; padding-bottom: 80px; background: radial-gradient(1200px 500px at 85% 0%, #FBEBD3 0%, rgba(251,235,211,0) 70%), #F6F3EF; overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.lp-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.lp-h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.02em !important; }
.lp-h1 em { font-style: italic; color: #1C5E44; }
.lp-lede { font-size: 20px; line-height: 1.55; max-width: 34em; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.lp-checks li { position: relative; padding-left: 32px; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #3A7D4A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.lp-form-card { background: #FFFFFF; border: 1px solid #E4DED5; border-radius: 22px; padding: 24px; box-shadow: 0 18px 40px -24px rgba(7,18,13,.35); margin-top: 6px; scroll-margin-top: 24px; }
.lp-form-card .pm-lead-success { border: 0; padding: 0; }
.lp-byline { display: flex; align-items: center; gap: 12px; }
.lp-byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.lp-byline p { font-size: 14px; line-height: 1.45; color: #5B6560; }
.lp-byline strong { color: #07120D; }

.lp-hero-art { position: relative; padding: 10px 6% 40px 12%; }
.lp-hero-art .lp-cover-back { position: absolute; width: 74%; right: 0; top: 46px; transform: rotate(5deg); }
.lp-hero-art .lp-cover { position: relative; width: 84%; transform: rotate(-2.5deg); }
.lp-hero-art img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px -28px rgba(7,18,13,.55), 0 2px 6px rgba(7,18,13,.12); }
.lp-hero-art .lp-cover-back img { filter: brightness(.97); }
.lp-badge { position: absolute; left: 2%; bottom: 18px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: #E9B83E; color: #07120D; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 17px !important; line-height: 1.1; text-align: center; transform: rotate(-10deg); box-shadow: 0 10px 24px -10px rgba(7,18,13,.5); }
.lp-badge strong { font-size: 34px; display: block; }

/* PDF viewer, shown after sign-up */
.lp-viewer { padding-top: 56px; padding-bottom: 72px; background: #FFFFFF; border-top: 1px solid #ECE6DC; }
.lp-viewer .lp-head { margin-bottom: 24px; }

/* Problem */
.lp-problem-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.lp-problem-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 24px; }
.lp-problem-copy { display: flex; flex-direction: column; gap: 18px; }
.lp-pains { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.lp-pain { background: #FFFFFF; border: 1px solid #E4DED5; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.lp-pain h3 { font-size: 19px; line-height: 1.25; }
.lp-pain p { font-size: 15px; line-height: 1.5; }
.lp-turn { font-family: Fraunces, Georgia, serif; font-size: 23px !important; line-height: 1.35; color: #07120D; margin-top: 8px !important; }
.lp-turn strong { color: #1C5E44; }

/* A1C */
.lp-a1c-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.lp-stat { background: #07120D; color: #DDE6E1; border-radius: 26px; padding: 36px 34px; display: flex; flex-direction: column; gap: 10px; }
.lp-stat-num { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 76px !important; line-height: .95; color: #E9B83E; }
.lp-stat-label { font-size: 19px !important; color: #FFFFFF; font-weight: 600; }
.lp-dots { display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; margin: 14px 0 6px; }
.lp-dots span { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.16); }
.lp-dots span.is-day { background: #E9B83E; box-shadow: 0 0 0 3px rgba(233,184,62,.3); }
.lp-dots span.is-weeks { background: #6FB287; }
.lp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #B9C6BF; }
.lp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.lp-a1c-copy { display: flex; flex-direction: column; gap: 16px; font-size: 18px; }
.lp-a1c-copy .lp-callout { background: #E7F1E6; border-radius: 16px; padding: 16px 20px; color: #173F2F; }

/* Three moves */
.lp-moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-move { background: #FFFFFF; border: 1px solid #E4DED5; border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.lp-move-num { width: 44px; height: 44px; border-radius: 50%; background: #1C5E44; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 20px !important; margin-bottom: 6px !important; }
.lp-move h3 { font-size: 23px; line-height: 1.2; }
.lp-move p { font-size: 16px; line-height: 1.55; }
.lp-sources { margin-top: 22px !important; font-size: 13px !important; color: #5B6560; text-align: center; }

/* What's inside */
.lp-inside-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.lp-parts { display: flex; flex-direction: column; }
.lp-part { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-top: 1px solid #E4DED5; }
.lp-part:last-child { border-bottom: 1px solid #E4DED5; }
.lp-part-k { grid-row: span 2; font-size: 12px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #B4561C; padding-top: 4px; }
.lp-part h3 { font-size: 21px; line-height: 1.25; }
.lp-part p:not(.lp-part-k) { font-size: 16px; line-height: 1.5; }
.lp-pages { position: sticky; top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-pages figure:first-child { grid-column: 1 / -1; }
.lp-pages img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid #E4DED5; box-shadow: 0 16px 32px -22px rgba(7,18,13,.45); background: #FFFFFF; }
.lp-pages figcaption { margin: 8px 0 0; font-size: 13px; color: #5B6560; text-align: center; }

/* Recipes */
.lp-recipes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-recipe { background: #FFFFFF; border: 1px solid #E4DED5; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.lp-recipe figure img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lp-recipe-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-recipe-tag { font-size: 12px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #B4561C; }
.lp-recipe h3 { font-size: 20px; line-height: 1.25; }
.lp-recipe-desc { font-size: 15px; line-height: 1.5; }
.lp-recipe-meta { margin-top: auto !important; padding-top: 10px; font-size: 14px !important; color: #5B6560; border-top: 1px solid #EFEAE2; }
.lp-recipe-meta strong { color: #07120D; }
.lp-cta-row { display: flex; justify-content: center; margin-top: 36px; }
.lp-btn .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 14px; background: #3A7D4A; color: #FFFFFF; font-size: 17px; font-weight: 600; text-decoration: none; }
.lp-btn .wp-block-button__link:hover { background: #2E6A3D; color: #FFFFFF; }

/* Trust */
.lp-quote { font-family: Fraunces, Georgia, serif; font-size: clamp(26px, 3vw, 34px) !important; line-height: 1.25; color: #07120D; text-align: center; max-width: 860px; margin: 0 auto 44px !important; text-wrap: balance; }
.lp-people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.lp-person { display: flex; gap: 18px; align-items: flex-start; background: #F6F3EF; border-radius: 20px; padding: 22px; }
.lp-person figure img, .lp-initials { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; flex: 0 0 auto; }
.lp-initials { display: flex !important; align-items: center; justify-content: center; background: #1C5E44; color: #FFFFFF; font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 24px !important; }
.lp-person-text { display: flex; flex-direction: column; gap: 4px; }
.lp-person h3 { font-size: 20px; }
.lp-person p { font-size: 15px; line-height: 1.5; }
.lp-standards { text-align: center; margin-top: 26px !important; font-size: 15px; color: #5B6560; }

/* FAQ */
.lp-faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lp-faq { background: #FFFFFF; border: 1px solid #E4DED5; border-radius: 16px; padding: 0 22px; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-weight: 600; font-size: 18px; color: #07120D; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: #3A7D4A; line-height: 1; }
.lp-faq[open] summary::after { content: "–"; }
.lp-faq p { padding: 0 0 20px; font-size: 16px; line-height: 1.6; }

/* Final call to action */
.lp-final { background: #1C5E44; background: linear-gradient(160deg, #1C5E44 0%, #12402E 100%); color: #E8EFEA; }
.lp-final-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-final h2 { color: #FFFFFF; }
.lp-final .lp-intro { color: #DCE7E0; }
.lp-final .lp-head { margin-bottom: 0; }
.lp-final .lp-eyebrow { color: #E9B83E; }
.lp-final-form { scroll-margin-top: 24px; }

/* Tablet */
@media (max-width: 1000px) {
	.lp-hero-grid, .lp-problem-grid, .lp-a1c-grid, .lp-inside-grid, .lp-final-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.lp-hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
	.lp-problem-photo img { aspect-ratio: 16 / 9; }
	.lp-pages { position: static; grid-template-columns: repeat(3, 1fr); }
	.lp-pages figure:first-child { grid-column: auto; }
	.lp-recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
	.lp-wrap { padding-left: 16px; padding-right: 16px; }
	.lp-sec { padding-top: 56px; padding-bottom: 56px; }
	.lp-header-inner { min-height: 60px; }
	.lp-header .lp-logo-brain img { height: 36px; }
	.lp-header .lp-logo-word img { height: 27px; }
	.lp-header-tag { display: none; }
	.lp-hero { padding-top: 28px; padding-bottom: 48px; }
	.lp-hero-copy { gap: 16px; }
	.lp-lede { font-size: 18px; }
	.lp-checks { font-size: 16px; }
	.lp-form-card { padding: 18px; border-radius: 18px; }
	.lp-hero-art { max-width: 320px; padding-bottom: 28px; }
	.lp-badge { width: 92px; height: 92px; font-size: 14px !important; }
	.lp-badge strong { font-size: 28px; }
	.lp-head { margin-bottom: 28px; }
	.lp-intro { font-size: 17px; }
	.lp-pains { grid-template-columns: minmax(0, 1fr); }
	.lp-turn { font-size: 20px !important; }
	.lp-stat { padding: 28px 22px; }
	.lp-stat-num { font-size: 60px !important; }
	.lp-a1c-copy { font-size: 17px; }
	.lp-moves, .lp-recipes, .lp-people { grid-template-columns: minmax(0, 1fr); }
	.lp-part { grid-template-columns: minmax(0, 1fr); }
	.lp-part-k { grid-row: auto; padding-top: 0; }
	/* Page previews scroll sideways on phones. */
	.lp-pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: -16px; padding-right: 16px; padding-bottom: 6px; scrollbar-width: none; }
	.lp-pages::-webkit-scrollbar { display: none; }
	.lp-pages figure { flex: 0 0 62%; scroll-snap-align: start; }
	.lp-recipe figure img { aspect-ratio: 16 / 9; }
	.lp-person { padding: 18px; }
	.lp-person figure img, .lp-initials { width: 60px; height: 60px; }
	.lp-faq summary { font-size: 17px; }
}
