/* Greedy TCG Academy pages: free-training signup + guide + masterclass offer. Loaded only on Academy pages. */

/* Hero: promise on the left, the two-field signup on the right (stacks on phones, form right under the promise). */
.ac-hero { padding-block: clamp(32px, 6vw, 72px) clamp(28px, 5vw, 56px); }
.ac-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "text form" "learn form"; column-gap: clamp(24px, 5vw, 56px); row-gap: 0; align-items: start; }
.ac-hero-text { grid-area: text; align-self: end; }
.ac-hero-grid > .ac-signup { grid-area: form; align-self: center; }
.ac-hero-grid > .ac-learn { grid-area: learn; }
.ac-hero h1 { font-size: clamp(1.9rem, 5.2vw, 3.2rem); max-width: 15em; }
.ac-tag { display: inline-flex; align-items: center; gap: 8px; padding: .45em .9em; border: 1px solid rgba(53, 224, 138, .45); border-radius: 999px; background: rgba(53, 224, 138, .08); font: 500 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.ac-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(53, 224, 138, .18); }
.ac-learn { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ac-learn li { position: relative; padding-left: 34px; color: var(--prose); }
.ac-learn li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .75rem; color: #04120a; background: var(--green); }
.ac-learn b { color: var(--text); }
/* Phones: headline, then the form, then the bullets, so the signup is on the first screen. */
@media (max-width: 900px) { .ac-hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "form" "learn"; row-gap: 22px; } .ac-hero-grid > .ac-learn { margin-top: 0; } }

/* Signup card */
.ac-signup { position: relative; }
.ac-signup h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); margin-bottom: .35em; }
.ac-signup .ac-free { font: 500 .7rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 10px; }
.ac-form { display: grid; gap: 12px; margin-top: 16px; }
.ac-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.ac-form input[type="text"], .ac-form input[type="email"] { width: 100%; padding: .85em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--text); font: 500 1rem var(--body); }
.ac-form input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.ac-form .btn { width: 100%; justify-content: center; font-size: 1.02rem; }
.ac-form .fineprint { margin: 2px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.ac-form .form-note { text-align: center; }
.ac-done { text-align: center; padding: 18px 4px; }
.ac-done b { display: block; font: 800 1.4rem/1.2 var(--display); color: var(--accent); margin-bottom: 8px; }
.ac-done p { color: var(--muted); margin: 0 0 14px; }

/* Proof strip: real market numbers, each with its source */
.ac-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ac-proof div { background: var(--sunk); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ac-proof b { display: block; font: 800 1.45rem/1.1 var(--display); color: var(--text); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.ac-proof span { color: var(--muted); font-size: .88rem; line-height: 1.4; display: block; }
.ac-proof small { display: block; margin-top: 6px; font-size: .72rem; color: var(--muted); }
.ac-proof small a { color: var(--muted); }
@media (max-width: 900px) { .ac-proof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ac-proof { grid-template-columns: 1fr; } }

/* Short answer box at the top of the guide (what Google and AI answers quote) */
.ac-answer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 28px; }
.ac-answer .label { margin-bottom: .5em; }
.ac-answer ol { margin: .4em 0 0; }

/* The offer */
.ac-offer { border-radius: 24px; padding: 3px; background: linear-gradient(135deg, var(--green), var(--purple) 50%, var(--gold)); }
.ac-offer-in { border-radius: 21px; background: var(--panel); padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
.ac-offer h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
.ac-modules { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: mod; }
.ac-modules li { counter-increment: mod; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--line); }
.ac-modules li::before { content: counter(mod, decimal-leading-zero); position: absolute; left: 0; top: 13px; width: 38px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 500 .78rem var(--mono); color: var(--gold-text); background: rgba(242, 193, 78, .1); border: 1px solid rgba(242, 193, 78, .3); }
.ac-modules b { display: block; }
.ac-modules span { color: var(--muted); font-size: .95rem; }
.ac-bonus { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ac-bonus li { padding: 10px 14px; border: 1px dashed rgba(242, 193, 78, .45); border-radius: 12px; color: var(--prose); font-size: .95rem; }
.ac-bonus li b { color: var(--gold-text); }
.ac-buy { position: sticky; top: 96px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; text-align: center; }
.ac-buy .ac-price { font: 900 clamp(2.4rem, 7vw, 3.2rem)/1 var(--display); color: var(--text); margin: 6px 0 4px; }
.ac-buy .ac-price small { font: 600 .95rem var(--body); color: var(--muted); }
.ac-buy .ac-was { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.ac-buy .btn { width: 100%; justify-content: center; }
.ac-buy ul { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; font-size: .9rem; color: var(--soft); display: grid; gap: 6px; }
.ac-buy ul li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.ac-guarantee { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); text-align: left; font-size: .85rem; color: var(--muted); }
.ac-guarantee b { color: var(--text); display: block; }
.ac-seal { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 193, 78, .12); color: var(--gold-text); border: 1px solid rgba(242, 193, 78, .4); font: 900 .8rem var(--display); }
@media (max-width: 860px) { .ac-offer-in { grid-template-columns: 1fr; } .ac-buy { position: static; } }

/* Who it's for */
.ac-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .ac-fit { grid-template-columns: 1fr; } }

/* Hub: the masterclass cards */
.ac-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ac-card { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--text); transition: transform .18s ease, border-color .18s ease; }
.ac-card:hover { color: var(--text); transform: translateY(-4px); border-color: var(--green); }
.ac-card .tier { font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.ac-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.ac-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.ac-card .ac-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 6px; }
.ac-card .ac-row b { font: 900 1.35rem var(--display); }
.ac-card .ac-row b small { font: 500 .8rem var(--body); color: var(--muted); }
.ac-card .go { font-weight: 700; color: var(--accent); white-space: nowrap; }
@media (max-width: 760px) { .ac-cards { grid-template-columns: 1fr; } }
.ac-steps { counter-reset: st; }
.ac-steps .panel { counter-increment: st; }
.ac-steps .panel::before { content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px; font: 900 1rem var(--display); color: #04120a; background: var(--green); }

/* Phone: a slim bar that keeps the signup one tap away once the hero form scrolls off screen */
.ac-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); backdrop-filter: blur(8px); box-shadow: 0 -8px 24px rgba(16, 32, 22, .08); transform: translateY(110%); transition: transform .22s ease; }
.ac-sticky.on { transform: translateY(0); }
.ac-sticky p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.3; }
.ac-sticky p b { color: var(--text); display: block; font-size: .92rem; }
.ac-sticky .btn { flex: none; }
@media (max-width: 760px) { .ac-sticky { display: flex; } body.academy .site-footer { padding-bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .ac-sticky { transition: none; } }
