/* Fox AI Academy, new landing preview. Shared tokens + layout.
   Palette built in HSL: cool grays tinted to the brand navy, orange primary.
   Space scale 4/8/12/16/24/32/48/64/96/128. */
:root {
  --navy-950: hsl(214 70% 8%);
  --navy-900: hsl(214 68% 13%);
  --navy-800: hsl(214 52% 20%);
  --navy-700: hsl(214 40% 30%);
  --gray-900: hsl(214 22% 18%);
  --gray-700: hsl(214 14% 34%);
  --gray-500: hsl(214 10% 50%);
  --gray-400: hsl(214 12% 64%);
  --gray-300: hsl(214 16% 80%);
  --gray-200: hsl(214 22% 90%);
  --gray-100: hsl(214 30% 95%);
  --gray-50:  hsl(214 40% 98%);
  --orange-700: hsl(30 100% 36%);
  --orange-600: hsl(30 100% 42%);
  --orange-500: hsl(32 100% 46%);
  --orange-400: hsl(34 100% 56%);
  --orange-200: hsl(34 100% 84%);
  --orange-100: hsl(34 100% 94%);
  --green-500: hsl(150 60% 40%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 3px hsl(214 60% 10% / .12), 0 12px 32px hsl(214 60% 10% / .10);
  --shadow-lg: 0 2px 6px hsl(214 60% 10% / .14), 0 24px 64px hsl(214 60% 10% / .16);
  --font: "Prompt", system-ui, sans-serif;
  --font-display: var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--gray-900); background: var(--gray-50); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.hl { color: var(--orange-500); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--orange-500); color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: none; box-shadow: 0 1px 2px hsl(30 100% 20% / .3), 0 8px 20px hsl(30 100% 46% / .30); transition: transform .15s, background .15s; }
.btn:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.link { color: var(--orange-600); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.micro { font-size: .8rem; color: var(--gray-500); }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--orange-100); color: var(--orange-700); font-size: .75rem; font-weight: 600; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 12px; }
.stars { color: var(--orange-500); letter-spacing: 2px; }

/* price */
.price-inline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-inline s { font-size: 1.15rem; color: var(--gray-400); font-weight: 500; }
.price-inline strong { font-size: 2.1rem; line-height: 1; color: var(--orange-500); font-weight: 700; }
.price-inline.on-dark s { color: hsl(0 0% 100% / .55); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 16px; transition: background .2s, box-shadow .2s; }
.site-header .nav { display: none; margin-left: auto; gap: 24px; font-size: .92rem; font-weight: 500; }
.site-header .nav a { text-decoration: none; }
.site-header .btn { margin-left: auto; }
.site-header.solid { background: hsl(0 0% 100% / .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--gray-200); }
@media (min-width: 900px) { .site-header { padding: 0 max(32px, calc((100vw - 1200px) / 2 + 32px)); } .site-header .nav { display: flex; } .site-header .nav + .btn { margin-left: 0; } }

/* tools */
.tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.tool-logo { height: 22px; width: auto; opacity: .7; }
.tool-logo.wide { height: 20px; }
.tool-text { font-weight: 700; font-size: .95rem; opacity: .7; }

/* sections */
.sec { padding: 64px 0; }
@media (min-width: 768px) { .sec { padding: 96px 0; } }
.sec h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); margin-bottom: 16px; }
.body { color: var(--gray-700); font-size: 1.05rem; }

/* why */
.why-grid { display: grid; gap: 32px; align-items: center; }
.why .body { margin-bottom: 16px; max-width: 34ch; }
.bts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bts img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 48px; }
.stat { background: #fff; border-radius: var(--radius); padding: 16px 12px; box-shadow: var(--shadow); text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.6rem); color: var(--navy-900); line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--gray-500); }
@media (min-width: 900px) { .why-grid { grid-template-columns: 5fr 6fr; gap: 64px; } .bts { grid-template-columns: repeat(4, 1fr); } .bts img { aspect-ratio: 3/4; } .stat { padding: 32px; } .stat span { font-size: .95rem; } }

/* pains */
.pain-grid { display: grid; gap: 16px; margin-top: 32px; }
.pain { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.pain img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--radius-sm); }
.pain .num { font-size: .75rem; font-weight: 700; color: var(--orange-500); }
.pain h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.pain p { font-size: .92rem; color: var(--gray-700); }
.statement { margin: 48px auto 0; max-width: 28ch; text-align: center; font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 600; line-height: 1.3; }
@media (min-width: 900px) { .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .pain { grid-template-columns: 1fr; padding: 16px; } .pain img { width: 100%; height: auto; aspect-ratio: 1; } }

/* value: poster cards with figures breaking out of the frame */
.poster-grid { display: grid; gap: 24px; margin-top: 48px; }
.poster { position: relative; display: grid; grid-template-columns: 42% 1fr; align-items: end; border-radius: var(--radius); background: linear-gradient(160deg, #fff 0%, var(--gray-100) 100%); box-shadow: var(--shadow); padding-top: 24px; overflow: visible; }
.poster-img { position: relative; align-self: stretch; }
.poster-img img { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100% + 40px); object-fit: cover; object-position: top; border-radius: 0 0 0 var(--radius); -webkit-mask-image: linear-gradient(to top, #000 85%, transparent); mask-image: linear-gradient(to top, #000 85%, transparent); }
.poster-body { padding: 16px 16px 20px; }
.poster .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); }
.poster h3 { font-size: 1.2rem; margin: 4px 0 8px; }
.poster p { font-size: .92rem; color: var(--gray-700); }
.poster .meta { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 600; color: var(--navy-700); background: var(--gray-200); border-radius: 999px; padding: 2px 10px; }
@media (min-width: 900px) {
  .poster-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 96px; }
  .poster { grid-template-columns: 1fr; padding-top: 0; }
  .poster-img { aspect-ratio: 4/5; }
  .poster-img img { height: calc(100% + 64px); border-radius: 0; }
}
.extras { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 1px 2px hsl(214 60% 10% / .08); }
.extras li span { color: var(--gray-500); font-size: .9rem; text-align: right; }
@media (min-width: 900px) { .extras { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.value-total { margin-top: 48px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.value-total p { font-size: 1.15rem; font-weight: 500; }
.value-total s { color: var(--gray-400); }
.value-total strong { color: var(--orange-500); font-size: 1.5rem; }

/* work marquee */
.work .wrap:first-child { margin-bottom: 32px; }
.marquee { overflow: hidden; margin-top: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: scroll 60s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; }
.track video { width: 220px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-sm); background: var(--navy-800); }
@media (min-width: 900px) { .track video { width: 340px; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }
.work .wrap.center { margin-top: 48px; }

/* proof */
.quote-grid { display: grid; gap: 16px; margin-top: 32px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; font-size: 1rem; color: var(--gray-900); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .85rem; color: var(--gray-500); }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--gray-900); }
@media (min-width: 900px) { .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* pricing */
.pricing-grid { display: grid; gap: 24px; align-items: start; }
.price-card { background: #fff; border-radius: 28px; padding: 32px 24px; box-shadow: var(--shadow-lg); border: 2px solid var(--orange-200); }
.price-big { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 4px; }
.price-big s { font-size: 1.4rem; color: var(--gray-400); }
.price-big strong { font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--orange-500); }
.save { color: var(--gray-500); font-size: .92rem; }
.countdown { margin: 24px 0; padding: 16px; border-radius: var(--radius-sm); background: var(--navy-900); color: #fff; }
.countdown p { font-size: .8rem; opacity: .7; margin-bottom: 8px; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd span { display: flex; flex-direction: column; align-items: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.cd b { font-size: 1.6rem; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--orange-400); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.pay { margin-top: 12px; text-align: center; font-size: .8rem; color: var(--gray-500); }
.guarantee { position: relative; border-radius: 28px; padding: 32px 24px; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; overflow: hidden; min-height: 320px; }
.guarantee h3 { font-size: 1.35rem; max-width: 16ch; margin-bottom: 12px; }
.guarantee p { color: hsl(0 0% 100% / .78); font-size: .95rem; max-width: 30ch; margin-bottom: 16px; }
.guarantee .link { color: var(--orange-400); }
.guarantee-pop { position: absolute; right: -24px; bottom: -8px; width: 52%; max-width: 280px; pointer-events: none; filter: drop-shadow(0 16px 24px hsl(214 70% 5% / .5)); }
@media (max-width: 520px) { .guarantee { padding-bottom: 200px; } .guarantee-pop { width: 60%; } }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .price-card { padding: 48px; } .guarantee { padding: 48px; min-height: 100%; } }

/* faq */
.faq-list { margin-top: 32px; display: grid; gap: 8px; }
details { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 1px 2px hsl(214 60% 10% / .08); }
summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange-500); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 20px; color: var(--gray-700); }

/* closing + footer */
.closing h2 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
.closing .body { margin: 0 auto 32px; max-width: 34ch; }
.closing .micro { margin-top: 12px; }
.footer { padding: 48px 0 96px; background: var(--navy-950); color: hsl(0 0% 100% / .7); font-size: .9rem; }
.footer-grid { display: grid; gap: 24px; }
.footer-grid p { margin-top: 12px; max-width: 40ch; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer nav a { text-decoration: none; }
.footer .copy { text-align: center; margin-top: 32px; font-size: .8rem; opacity: .6; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr auto; } .footer { padding-bottom: 48px; } }

/* sticky buy bar, mobile */
.sticky-buy { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .price-inline strong { font-size: 1.4rem; }
.sticky-buy .price-inline s { font-size: .9rem; }
.sticky-buy .chip { display: none; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* logo swap: white wordmark on dark, navy wordmark on light */
.logo img { width: auto; height: 28px; }
.logo .logo-on-light { display: none; }
.site-header.solid .logo .logo-on-dark { display: none; }
.site-header.solid .logo .logo-on-light { display: block; }
.footer img { height: 26px; width: auto; }

/* tool strip under the hero: the tools we teach, video tools first */
.tool-strip { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 24px 0; }
.tool-strip .wrap { display: flex; align-items: center; gap: 32px; }
.tool-strip-label { flex: none; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); }
.tool-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-between; gap: 24px; }
.tool-strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; color: var(--navy-900); white-space: nowrap; }
.tool-strip li img { width: 24px; height: 24px; object-fit: contain; opacity: .9; }
@media (max-width: 899px) {
  .tool-strip .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tool-strip ul { flex-wrap: wrap; justify-content: flex-start; gap: 12px 20px; }
  .tool-strip li { font-size: .9rem; }
}

/* vertical social clips in the hero (variants p1-p3): phone-shaped cards */
.phone { display: none; }
@media (min-width: 900px) {
  .phone { display: block; position: absolute; z-index: 1; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
    background: var(--navy-900); border: 5px solid var(--navy-900);
    box-shadow: 0 2px 6px hsl(214 60% 10% / .18), 0 24px 48px hsl(214 60% 10% / .28); }
  .phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
  .hero-media .video-card { z-index: 0; }
  .hero-media .hero-pop { z-index: 2; }
}
@media (min-width: 900px) {
  .hero-media:has(.phone) { isolation: isolate; }
  .hero-media:has(.phone) .video-tag { top: 12px; bottom: auto; left: auto; right: 12px; }
}
