/* Growinetic site styles. Loaded by mu-plugins/growinetic.php. Classes are prefixed g- and used on Bricks elements. */

@font-face { font-family: "Inter"; src: url("../../uploads/growinetic/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../../uploads/growinetic/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../../uploads/growinetic/fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
	--g-forest: #0b2419;
	--g-forest-2: #123526;
	--g-green: #1d5a3c;
	--g-mint: #9cefc6;
	--g-mint-soft: #dff8eb;
	--g-cream: #f7f2e8;
	--g-paper: #fffdf8;
	--g-ink: #10201a;
	--g-muted: #536259;
	--g-line: #e3dccd;
	--g-radius: 14px;
	--g-wrap: 1160px;
	--g-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--g-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--g-sans); color: var(--g-ink); background: var(--g-paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--g-serif); color: inherit; line-height: 1.1; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
a { color: var(--g-green); }
:focus-visible { outline: 3px solid var(--g-mint); outline-offset: 3px; }

/* Layout */
.g-section { width: 100%; padding: clamp(64px, 9vw, 112px) 20px; }
.g-section.g-tight { padding-top: 48px; padding-bottom: 48px; }
.g-wrap { width: 100%; max-width: var(--g-wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.g-narrow { max-width: 760px; }
.g-dark { background: radial-gradient(1200px 600px at 85% 0%, #1b4d35 0%, transparent 60%), var(--g-forest); color: #eef5f0; }
.g-dark a:not(.g-btn) { color: var(--g-mint); }
.g-cream { background: var(--g-cream); }
.g-mint-bg { background: var(--g-mint-soft); }
.g-center { text-align: center; align-items: center; }
.g-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.g-split.g-reverse { grid-template-columns: 0.9fr 1.1fr; }
.g-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.g-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g-stack { display: flex; flex-direction: column; gap: 16px; }
.g-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.g-center .g-row { justify-content: center; }

/* Type */
.g-eyebrow { font-family: var(--g-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-green); }
.g-dark .g-eyebrow { color: var(--g-mint); }
.g-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--g-muted); max-width: 640px; }
.g-dark .g-lead { color: #c9dbd0; }
.g-mint-text { color: var(--g-mint); }
.g-small { font-size: 0.9rem; color: var(--g-muted); }
.g-dark .g-small { color: #a9c2b4; }

/* Buttons */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.g-btn:hover { transform: translateY(-1px); }
.g-btn-primary { background: var(--g-mint); color: var(--g-forest); }
.g-btn-primary:hover { background: #b6f5d6; color: var(--g-forest); }
.g-btn-dark { background: var(--g-forest); color: #fff; }
.g-btn-dark:hover { background: var(--g-green); color: #fff; }
.g-btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.g-dark .g-btn-ghost { color: #eef5f0; border-color: rgba(238, 245, 240, .45); }
.g-btn-block { width: 100%; }

/* Cards */
.g-card { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.g-card h3 { margin: 0; }
.g-card p { margin: 0; color: var(--g-muted); }
.g-dark .g-card { background: var(--g-forest-2); border-color: #23503a; }
.g-dark .g-card p { color: #c9dbd0; }
.g-num { font-family: var(--g-serif); font-size: 2rem; font-weight: 800; color: var(--g-green); line-height: 1; }

/* Covers and images */
.g-cover { width: 100%; max-width: 440px; margin: 0 auto; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); transform: rotate(2deg); }
.g-cover img, .g-sheet img { width: 100%; height: auto; display: block; border-radius: inherit; }
.g-sheet { border-radius: 10px; box-shadow: 0 20px 50px -24px rgba(16, 32, 26, .35); border: 1px solid var(--g-line); overflow: hidden; background: #fff; }

/* Lists */
.g-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.g-ticks li { position: relative; padding-left: 32px; }
.g-ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--g-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b2419' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.g-crosses li::before { background: #f0e6d4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23536259' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.g-chapters { list-style: none; padding: 0; margin: 0; counter-reset: ch; }
.g-chapters li { padding: 9px 0; border-top: 1px solid var(--g-line); display: flex; gap: 12px; font-size: .97rem; }
.g-chapters li span { font-variant-numeric: tabular-nums; color: var(--g-green); font-weight: 700; min-width: 1.6em; }

/* Pricing */
.g-price-card { position: relative; background: #fff; border: 1px solid var(--g-line); border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.g-price-card.g-featured { border: 2px solid var(--g-green); box-shadow: 0 30px 60px -30px rgba(29, 90, 60, .45); }
.g-badge { position: absolute; top: -14px; left: 32px; background: var(--g-green); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.g-price { font-family: var(--g-serif); font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--g-ink); }
.g-price small { font-family: var(--g-sans); font-size: .95rem; font-weight: 500; color: var(--g-muted); margin-left: 6px; }

/* Quote */
.g-quote { font-family: var(--g-serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; font-style: italic; font-weight: 500; margin: 0; }
.g-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--g-mint); color: var(--g-forest); font-family: var(--g-serif); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; flex-shrink: 0; }
.g-avatar.g-lg { width: 140px; height: 140px; font-size: 2.6rem; }

/* FAQ */
.g-faq { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.g-faq details { background: #fff; border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: 20px 24px; }
.g-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--g-green); }
.g-faq details[open] summary::after { content: "–"; }
.g-faq details p { margin: 12px 0 0; color: var(--g-muted); }

/* Book cards ([growinetic_books]) */
.g-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; width: 100%; }
.g-book { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--g-line); border-radius: 18px; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.g-book:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(16, 32, 26, .4); color: inherit; }
.g-book img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.g-book h3 { margin: 4px 0 0; }
.g-book p { margin: 0; color: var(--g-muted); font-size: .95rem; }
.g-book .g-book-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-weight: 700; color: var(--g-green); }
.g-book-soon { border-style: dashed; background: transparent; justify-content: center; align-items: center; text-align: center; min-height: 260px; color: var(--g-muted); }

/* Header */
.g-header { background: var(--g-forest); color: #eef5f0; padding: 14px 20px; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.g-header-inner { max-width: var(--g-wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; flex-direction: row; }
.g-logo { font-family: var(--g-serif); font-weight: 800; font-size: 1.5rem; color: #fff !important; text-decoration: none; letter-spacing: -0.01em; }
.g-logo span, .g-logo .g-dot { color: var(--g-mint); }
.g-header .bricks-nav-menu > li > a { color: #dbe8e0; font-weight: 600; font-size: .98rem; }
.g-header .bricks-nav-menu > li > a:hover, .g-header .bricks-nav-menu > li.current-menu-item > a { color: var(--g-mint); }
.g-header .bricks-nav-menu { gap: 28px; }
.g-header .bricks-mobile-menu-toggle { color: #fff; }
.g-header .bricks-mobile-menu-wrapper { background: var(--g-forest); }
.g-header .bricks-mobile-menu > li > a { color: #fff; font-size: 1.2rem; }
.g-header-cta { padding: 10px 18px; font-size: .92rem; }
.g-header-right { display: flex; align-items: center; gap: 28px; flex-direction: row; }

/* Footer */
.g-footer { background: var(--g-forest); color: #c9dbd0; padding: 64px 20px 32px; }
.g-footer a { color: #e6f0ea; text-decoration: none; }
.g-footer a:hover { color: var(--g-mint); }
.g-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; width: 100%; }
.g-footer h4 { font-family: var(--g-sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--g-mint); margin: 0 0 14px; }
.g-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.g-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; width: 100%; }

/* Plain WordPress content (legal pages, posts, WooCommerce) */
.g-prose { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.g-prose h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .6em; }
.g-prose h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.g-prose p, .g-prose li { color: #2c3a33; }
.g-note { background: #fff7e0; border: 1px solid #f1d98c; border-radius: 10px; padding: 14px 18px; font-size: .95rem; }

.woocommerce-page main, .woocommerce main { max-width: var(--g-wrap); margin: 0 auto; padding: 56px 20px 96px; }
.woocommerce .button, .woocommerce button.button, .woocommerce #place_order, .woocommerce a.button.alt { background: var(--g-forest) !important; color: #fff !important; border-radius: 999px !important; padding: 14px 26px !important; font-weight: 700 !important; }
.woocommerce #place_order { width: 100%; background: var(--g-green) !important; font-size: 1.05rem !important; }
.g-waiver { background: var(--g-mint-soft); border: 1px solid #b9e8cf; border-radius: 10px; padding: 14px 16px; margin: 0 0 16px; font-size: .93rem; }
.g-waiver label { display: flex !important; gap: 10px; align-items: flex-start; }
.g-waiver input { margin-top: 5px; }

/* Responsive */
@media (max-width: 991px) {
	.g-split, .g-split.g-reverse { grid-template-columns: 1fr; }
	.g-split .g-cover { max-width: 340px; }
	.g-grid-3, .g-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.g-footer-grid { grid-template-columns: 1fr 1fr; }
	.g-footer-grid > :first-child { grid-column: 1 / -1; }
	.g-header-cta { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.g-section { padding-left: 16px; padding-right: 16px; }
	.g-grid-2, .g-grid-3, .g-grid-4 { grid-template-columns: 1fr; }
	.g-btn { width: 100%; }
	.g-row { flex-direction: column; align-items: stretch; }
	.g-cover { transform: none; }
	.g-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
