/* GlobleMatch — AI Growth & Opportunity Network (V2 MVP additions)
   Used only by the homepage growth bands and the new growth pages.
   Built on tokens.css variables; existing stylesheets are untouched. */

/* ---- hero Growth Scan form ---- */
.growth-scan { margin-top: var(--s-6); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); box-shadow: var(--shadow-card); max-width: 640px; }
.growth-scan-label { display: block; font-weight: 700; color: var(--ink); font-size: var(--t-18); margin-bottom: var(--s-3); }
.growth-scan-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.growth-scan-row input { flex: 1 1 180px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: var(--t-16); color: var(--ink); background: #fff; }
.growth-scan-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.growth-scan-note { margin: var(--s-3) 0 0; font-size: var(--t-14); color: var(--muted); }

/* ---- pilot / status banners ---- */
.pilot-banner { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent-deep); border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); font-size: var(--t-14); font-weight: 600; margin-bottom: var(--s-5); }
.preview-banner { background: #FBF3DC; border: 1px solid var(--signal); color: var(--ink); border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); font-size: var(--t-14); font-weight: 600; margin-bottom: var(--s-5); }

/* ---- opportunity cards ---- */
.opp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.sample-badge { display: inline-block; background: var(--signal); color: var(--ink); font-size: var(--t-12); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.opp-score { font-weight: 700; color: var(--accent-deep); }
.opp-meta { color: var(--faint); font-size: var(--t-14); margin: 0 0 var(--s-2); }
.score-bar { height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; margin: var(--s-2) 0 var(--s-3); }
.score-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-5); }
.price-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); box-shadow: var(--shadow-card); }
.price-card h3 { margin: 0 0 var(--s-2); font-size: var(--t-21); }
.price-card p { color: var(--muted); font-size: var(--t-16); margin: 0; }
.price-card ul { margin: var(--s-3) 0 0; padding-left: 18px; color: var(--muted); font-size: var(--t-14); }
.price-card ul li { margin-bottom: 6px; }
.price-amt { font-family: var(--font-display); font-size: var(--t-36); color: var(--ink); margin: 0 0 var(--s-2); }
.price-amt span { font-size: var(--t-16); color: var(--muted); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-pop); }

/* ---- forms on growth pages ---- */
.g-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); box-shadow: var(--shadow-card); max-width: 720px; }
.g-form .field { margin-bottom: var(--s-4); }
.g-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: var(--t-14); }
.g-form input[type="text"], .g-form input[type="url"], .g-form input[type="email"], .g-form select, .g-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: var(--t-16); color: var(--ink); background: #fff; box-sizing: border-box; }
.g-form textarea { min-height: 110px; resize: vertical; }
.g-form input:focus, .g-form select:focus, .g-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.g-form .form-note { font-size: var(--t-14); color: var(--muted); margin-top: var(--s-3); }

/* ---- tables ---- */
.g-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: var(--t-16); }
.g-table th, .g-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-table th { background: var(--bg-soft); color: var(--ink); font-size: var(--t-14); text-transform: uppercase; letter-spacing: .04em; }
.g-table tr:last-child td { border-bottom: none; }

/* ---- sample findings / stat blocks ---- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-5); margin: var(--s-5) 0; }
.stat-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); text-align: left; }
.stat-num { font-family: var(--font-display); font-size: var(--t-36); color: var(--accent-deep); display: block; }
.stat-card p { margin: 6px 0 0; color: var(--muted); font-size: var(--t-14); }

/* ---- app preview shell ---- */
.app-shell { display: grid; grid-template-columns: 220px 1fr; gap: var(--s-5); align-items: start; }
.app-nav { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.app-nav a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink-soft); font-weight: 600; font-size: var(--t-14); }
.app-nav a.active { background: var(--accent-soft); color: var(--accent-deep); }
.app-nav a:hover { background: var(--bg-soft); }
.app-main { min-width: 0; }
@media (max-width: 760px) { .app-shell { grid-template-columns: 1fr; } }

/* ---- misc ---- */
.tag-note { font-size: var(--t-14); color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.price-card p.tier-status { display: inline-block; background: var(--accent-soft); color: var(--accent-deep); font-size: var(--t-12); font-weight: 700; padding: 3px 10px; border-radius: 999px; margin: 0 0 var(--s-3); }
.g-form .field label input[type="checkbox"] { width: 20px; height: 20px; margin-right: 10px; vertical-align: -4px; }
/* header: keep the longer nav on one line (pages that load this file only) */
@media (min-width: 901px) { .site-header .nav-links { gap: var(--s-5); } .site-header .nav-links a { white-space: nowrap; } .site-header .header-cta { white-space: nowrap; } }
@media (min-width: 901px) and (max-width: 1180px) { .site-header .nav-links { gap: var(--s-3); } .site-header .nav-links a { font-size: var(--t-14); } .site-header .header-cta { display: none; } }
.price-card p.price-amt { font-family: var(--font-display); font-size: var(--t-36); font-weight: 700; line-height: 1.1; color: var(--ink); margin: 0 0 var(--s-2); }
.price-card p.price-amt span { font-size: var(--t-16); font-weight: 500; color: var(--muted); }
.hero-art svg.gm-hero-svg { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(16, 40, 73, 0.28); }
html[data-brand="globlematch"] .hero-art::before, .hero-art::after { display: none; }

/* ---- motion layer (only active when gm-motion.js runs; honours reduced motion) ---- */
.gm-js .gm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.gm-js .gm-reveal.gm-in { opacity: 1; transform: none; }
.price-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.price-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 44px rgba(16, 40, 73, 0.16); }
.gm-slogan-band { position: relative; overflow: hidden; }
.gm-slogan-band::before { content: ""; position: absolute; inset: -40px; background-image: linear-gradient(rgba(156,196,245,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(156,196,245,.14) 1px, transparent 1px); background-size: 40px 40px; animation: gm-grid 14s linear infinite; }
.gm-slogan-band::after { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(58,143,240,.38), rgba(58,143,240,0) 65%); animation: gm-drift 9s ease-in-out infinite alternate; }
.gm-slogan-band .container { position: relative; z-index: 1; }
.gm-slogan-band .gm-slogan { background: linear-gradient(90deg, #ffffff 0%, #9cc4f5 35%, #E8B84A 50%, #9cc4f5 65%, #ffffff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gm-shine 7s linear infinite; }
@keyframes gm-grid { to { transform: translate(40px, 40px); } }
@keyframes gm-drift { from { transform: translate(-160px, -20px); } to { transform: translate(160px, 30px); } }
@keyframes gm-shine { to { background-position: -220% 0; } }
.gm-score { margin-top: var(--s-6); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); box-shadow: var(--shadow-card); }
.gm-score h3 { margin: 0 0 var(--s-2); }
.gm-score-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 2fr); gap: var(--s-6); align-items: center; margin-top: var(--s-4); }
.gm-score-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 4px var(--s-3); align-items: center; margin-bottom: var(--s-3); }
.gm-score-row label { grid-column: 1 / -1; font-weight: 600; color: var(--ink); font-size: var(--t-14); }
.gm-score-w { font-weight: 400; color: var(--muted); }
.gm-score-row input[type="range"] { width: 100%; min-height: 28px; accent-color: var(--accent); }
.gm-score-row output { font-variant-numeric: tabular-nums; text-align: right; color: var(--ink-soft); font-size: var(--t-14); }
.gm-score-out { text-align: center; }
.gm-score-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 4.5rem); line-height: 1; color: var(--ink); }
.gm-score-num small { font-size: var(--t-18); font-weight: 500; color: var(--muted); margin-left: 6px; }
.gm-score-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--bg-soft); margin: var(--s-4) 0 var(--s-2); }
.gm-score-bar span { display: block; height: 100%; transition: width .25s ease; }
@media (max-width: 760px) { .gm-score-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .gm-slogan-band::before, .gm-slogan-band::after, .gm-slogan-band .gm-slogan { animation: none; } .gm-slogan-band .gm-slogan { background: none; color: #ffffff; } .price-card:hover { transform: none; } }

.gm-has-net { position: relative; }
.gm-has-net > canvas.gm-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.gm-has-net > .container { position: relative; z-index: 1; }
.gm-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--s-3); margin-top: var(--s-6); }
.gm-cat { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding: var(--s-4) var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); color: var(--accent); text-decoration: none; text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.gm-cat span { color: var(--ink); font-weight: 600; font-size: var(--t-14); }
.gm-cat:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 34px rgba(15, 106, 216, 0.18); }
.gm-js .gm-cat svg * { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.4s ease .2s; }
.gm-js .gm-cat.gm-in svg * { stroke-dashoffset: 0; }
.price-card.featured { position: relative; }
.price-card.featured::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--gm-a, 0deg), #0f6ad8, #9cc4f5, #E8B84A, #0f6ad8); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: gm-spin 6s linear infinite; pointer-events: none; }
@property --gm-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes gm-spin { to { --gm-a: 360deg; } }
@media (prefers-reduced-motion: reduce) { .price-card.featured::before { animation: none; } }

/* ---- layout 2 (homepage): centered hero, full-width visual, icon row, bento ---- */
.gm-l2 .hero--center { padding-top: clamp(40px, 7vw, 96px); text-align: center; }
.gm-l2 .hero-stack { display: block; }
.gm-l2 .hero--center .hero-copy { max-width: 980px; margin: 0 auto; }
.gm-l2 .hero--center h1 { max-width: none; font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.02; font-weight: 600; margin: 0 auto var(--s-4); }
.gm-l2 .hero--center h1 span { display: block; }
.gm-l2 .hero--center .gm-slogan { font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
.gm-l2 .hero--center .lede { max-width: 60ch; margin-left: auto; margin-right: auto; color: var(--muted); }
.gm-l2 .hero--center .hero-cta, .gm-l2 .hero--center .hero-badges { justify-content: center; }
.gm-l2 .hero--center .hero-cta .btn { border-radius: 999px; padding-left: 26px; padding-right: 26px; }
.gm-l2 .hero--center .hero-badge { background: rgba(16, 40, 73, 0.05); border-radius: 999px; padding: 8px 16px; }
.gm-l2 .hero--center .hero-art { margin: clamp(32px, 5vw, 64px) auto 0; max-width: 1240px; width: 100%; transform: none; }
.gm-l2 .hero--center > .container { max-width: 1280px; }
.gm-l2 .hero--center .hero-art svg.gm-hero-svg { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 32px; box-shadow: 0 30px 80px rgba(16, 40, 73, 0.22); }
.gm-l2 .gm-scan-card { max-width: 860px; margin: clamp(28px, 4vw, 48px) auto 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-card); text-align: center; }
.gm-l2 .gm-scan-card .gm-hero-sub { color: var(--ink-soft); font-size: var(--t-18); line-height: 1.6; max-width: 64ch; margin: 0 auto var(--s-5); }
.gm-l2 .gm-scan-card .growth-scan { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; max-width: none; }
.gm-l2 .gm-scan-card .growth-scan-label { display: block; text-align: center; }
.gm-l2 .gm-scan-card .growth-scan-note { text-align: center; margin-left: auto; margin-right: auto; }
/* section rhythm + centered headings */
.gm-l2 main > .section { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.gm-l2 .section-head { text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; margin-bottom: clamp(32px, 5vw, 64px); }
.gm-l2 .section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; font-weight: 600; }
.gm-l2 .section-head .lede { margin-left: auto; margin-right: auto; color: var(--muted); }
.gm-l2 .section-head .gm-slogan { font-weight: 500; font-size: var(--t-18); letter-spacing: 0; }
/* three-column icon row */
.gm-l2 .gm-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.gm-l2 .gm-tri .card { background: none; border: 0; box-shadow: none; padding: 0; text-align: center; transform: none; }
.gm-l2 .gm-tri .card:hover { transform: none; box-shadow: none; }
.gm-l2 .gm-tri-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft, #e3eefb); color: var(--accent); margin-bottom: var(--s-4); }
.gm-l2 .gm-tri .card:nth-child(2) .gm-tri-ic { background: #102849; color: #9cc4f5; }
.gm-l2 .gm-tri .card:nth-child(3) .gm-tri-ic { background: #fbf1d6; color: #9a6b00; }
.gm-l2 .gm-tri .gcard-tag { display: block; margin: 0 auto var(--s-2); background: none; border: 0; box-shadow: none; padding: 0; color: var(--muted); }
.gm-l2 .gm-tri h3 { font-size: var(--t-21); font-weight: 600; margin-bottom: var(--s-2); }
.gm-l2 .gm-tri p { color: var(--muted); max-width: 34ch; margin-left: auto; margin-right: auto; }
.gm-l2 .gm-cats { margin-top: clamp(32px, 5vw, 64px); }
.gm-l2 .gm-cat { border: 0; background: rgba(16, 40, 73, 0.05); border-radius: 22px; padding: var(--s-5) var(--s-3); }
.gm-l2 #growth .container > p, .gm-l2 #free-base .container > p, .gm-l2 #pricing-preview .container > p { text-align: center; margin-left: auto; margin-right: auto; }
/* bento */
.gm-l2 .gm-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.gm-l2 .gm-bento .card { border: 0; box-shadow: none; border-radius: 28px; padding: clamp(24px, 3vw, 40px); background: #ffffff; }
.gm-l2 .gm-bento .card:first-child { grid-row: span 2; background: linear-gradient(160deg, #102849 0%, #17467f 100%); color: #dbe7f6; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; position: relative; overflow: hidden; }
.gm-l2 .gm-bento .card:first-child::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(156,196,245,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(156,196,245,.12) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.gm-l2 .gm-bento .card:first-child > * { position: relative; }
.gm-l2 .gm-bento .card:first-child h3 { color: #ffffff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gm-l2 .gm-bento .card:first-child li { color: #dbe7f6; }
.gm-l2 .gm-bento .card:nth-child(3) { background: var(--accent-soft, #e3eefb); }
.gm-l2 .gm-bento h3 { font-weight: 600; }
.gm-l2 .price-card { border-radius: 28px; }
@media (max-width: 820px) {
  .gm-l2 .gm-tri, .gm-l2 .gm-bento { grid-template-columns: 1fr; }
  .gm-l2 .gm-bento .card:first-child { min-height: 0; }
  .gm-l2 .hero--center .hero-art svg.gm-hero-svg { aspect-ratio: 4 / 3; border-radius: 22px; }
}

/* ---- 2.13.0 mascot ---- */
.gm-bot { display: block; height: auto; filter: drop-shadow(0 24px 30px rgba(16, 40, 73, 0.22)); animation: gm-bob 5s ease-in-out infinite; }
@keyframes gm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.gm-bot-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 5vw, 72px); align-items: center; }
.gm-bot-hero .gm-bot { width: clamp(150px, 22vw, 300px); }
.gm-scan-wrap { position: relative; max-width: 860px; margin: clamp(28px, 4vw, 48px) auto 0; }
.gm-l2 .gm-scan-wrap .gm-scan-card { margin-top: 0; }
.gm-bot-peek { position: absolute; left: -190px; bottom: -6px; width: 200px; z-index: 2; pointer-events: none; }
@media (max-width: 1280px) { .gm-bot-peek { display: none; } }
@media (max-width: 700px) { .gm-bot-hero { grid-template-columns: 1fr; } .gm-bot-hero .gm-bot { width: 150px; order: -1; } }
@media (prefers-reduced-motion: reduce) { .gm-bot { animation: none; } }
