/* PrepFriend — marketing site for www.prepfriend.com.
   Layout and component vocabulary follow aiAppsSite.com so the two sites feel related;
   the colour moves to the indigo of the PrepFriend app's logo. */

:root {
  --ink: #1c1d1f;
  --ink-strong: #1e293b;
  --muted: #64748b;
  --line: #e0e4ec;
  --page: #f4f6f9;
  --card: #ffffff;
  --brand: #4f46e5;
  --brand-hover: #4338ca;
  --accent: #a5b4fc;
  --night: #0f1033;
  --night-2: #16184a;
}

/* Reset & Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background-color: var(--page); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* Header & Navigation */
header { background: #ffffff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; }
.navbar { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 2rem; }
.logo a { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.5rem; font-weight: 700; color: var(--brand); letter-spacing: -0.5px; }
.logo svg { width: 32px; height: 32px; }
.logo span b { color: var(--ink-strong); font-weight: 700; }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { font-weight: 500; color: #2d3748; transition: color 0.2s; }
.nav-menu a:hover { color: var(--brand); }

/* Dropdown Styles for Tests */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 220px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 6px; padding: 0.5rem 0; list-style: none; z-index: 1001; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 0.5rem 1rem; display: block; color: #2d3748; }
.dropdown-menu li a:hover { background-color: #f8fafc; color: var(--brand); }
.dropdown-menu .soon { display: block; padding: 0.5rem 1rem; color: #94a3b8; font-size: 0.9rem; }

/* Sign in is plain text; Sign up is filled, because it is the one action that is not more reading. */
.nav-auth { display: flex; align-items: center; gap: 0.75rem; }
.nav-signin { font-weight: 600; font-size: 0.9rem; color: #2d3748; padding: 0.55rem 0.9rem; border-radius: 6px; transition: color 0.2s; }
.nav-signin:hover { color: var(--brand); }
.nav-cta { display: inline-flex; align-items: center; background: var(--brand); color: #ffffff;
  font-weight: 600; font-size: 0.9rem; padding: 0.55rem 1.15rem; border-radius: 6px; transition: background 0.2s ease; }
.nav-menu a.nav-cta, .nav-auth a.nav-cta { color: #ffffff; }
.nav-cta:hover, .nav-menu a.nav-cta:hover { background: var(--brand-hover); color: #ffffff; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; width: 40px; height: 40px;
  align-items: center; justify-content: center; cursor: pointer; color: #2d3748; }
.nav-toggle svg { width: 20px; height: 20px; }

/* Showcase — full-bleed rotating hero */
.showcase-section { background: var(--night); color: #ffffff; padding: 3.5rem 0 2.5rem 0; }
.showcase-header { max-width: 820px; margin: 0 auto 2.5rem auto; text-align: center; padding: 0 1.5rem; }
.showcase-header .kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); background: rgba(165,180,252,0.1); border: 1px solid rgba(165,180,252,0.25); padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1rem; }
.showcase-header h1 { font-size: 2.6rem; line-height: 1.2; font-weight: 700; margin-bottom: 0.75rem; color: #ffffff; }
.showcase-header p { font-size: 1.1rem; color: #a0aec0; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.75rem; }

.slider { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }

/* The stage. Slides are stacked and cross-faded, so the height is set once here
   rather than by whichever slide happens to be tallest. */
.viewport { position: relative; height: 540px; border-radius: 16px; overflow: hidden; background: var(--night-2); }

.slide { scroll-margin-top: 110px; position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 600ms ease; }
.slide.is-active { opacity: 1; visibility: visible; }

/* The artwork is drawn, not photographed: a gradient per topic plus a large figure on the right. */
.slide-media { position: absolute; inset: 0; }
.slide-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,11,40,0.94) 0%, rgba(10,11,40,0.78) 42%, rgba(10,11,40,0.15) 78%, rgba(10,11,40,0) 100%); }
.slide-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: min(46%, 520px); height: auto; opacity: 0.95; }
.slide-media--algebra   { background: radial-gradient(circle at 78% 40%, #4f46e5 0%, transparent 55%), linear-gradient(135deg, #1e1b4b, #0f1033); }
.slide-media--advanced  { background: radial-gradient(circle at 78% 45%, #7c3aed 0%, transparent 55%), linear-gradient(135deg, #2e1065, #0f1033); }
.slide-media--data      { background: radial-gradient(circle at 78% 45%, #0891b2 0%, transparent 55%), linear-gradient(135deg, #083344, #0f1033); }
.slide-media--geometry  { background: radial-gradient(circle at 78% 45%, #2563eb 0%, transparent 55%), linear-gradient(135deg, #172554, #0f1033); }
.slide-media--info      { background: radial-gradient(circle at 78% 45%, #059669 0%, transparent 55%), linear-gradient(135deg, #052e2b, #0f1033); }
.slide-media--craft     { background: radial-gradient(circle at 78% 45%, #db2777 0%, transparent 55%), linear-gradient(135deg, #4a0d2e, #0f1033); }
.slide-media--expression{ background: radial-gradient(circle at 78% 45%, #ea580c 0%, transparent 55%), linear-gradient(135deg, #431407, #0f1033); }
.slide-media--conventions{ background: radial-gradient(circle at 78% 45%, #ca8a04 0%, transparent 55%), linear-gradient(135deg, #3f2d05, #0f1033); }

.slide-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center;
  max-width: 640px; padding: 3rem 3.5rem; }
.slide-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.slide-content h2 { font-size: 2.4rem; line-height: 1.2; font-weight: 700; color: #ffffff; margin-bottom: 1rem; }
.slide-content p { font-size: 1.05rem; color: #cbd5e1; margin-bottom: 1.25rem; }
.slide-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; list-style: none; }
.slide-stats li { font-size: 0.8rem; font-weight: 600; color: #e2e8f0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  padding: 0.3rem 0.7rem; border-radius: 999px; }

.cta-button { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  background: var(--brand); color: #ffffff; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 6px; transition: background 0.2s ease, transform 0.2s ease; }
.cta-button:hover { background: var(--brand-hover); transform: translateY(-1px); }
.cta-button--light { background: #ffffff; color: var(--brand); }
.cta-button--light:hover { background: #eef2ff; }

.cta-button-ghost { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid #47506e;
  color: #e2e8f0; font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1.6rem; border-radius: 6px; transition: all 0.2s ease; }
.cta-button-ghost:hover { border-color: var(--accent); color: #ffffff; }

/* Controls */
.slider-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.progress { display: flex; gap: 0.75rem; flex: 1; list-style: none; }
.progress-item { position: relative; flex: 1; min-width: 0; background: none; border: 0; padding: 0.9rem 0 0 0; cursor: pointer;
  text-align: left; color: #94a3b8; font-size: 0.82rem; font-weight: 600; font-family: inherit; line-height: 1.3; }
.progress-item:hover { color: #e2e8f0; }
.progress-item.is-active { color: #ffffff; }
.progress-frame { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #2e3160; border-radius: 2px; }
/* Width is driven from script so the bar tracks the same clock as the rotation. */
.progress-fill { position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); border-radius: 2px; }

.slider-button { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px;
  background: transparent; border: 1px solid #2e3160; border-radius: 50%; color: #cbd5e1; cursor: pointer; transition: all 0.2s ease; }
.slider-button:hover { border-color: var(--brand); color: #ffffff; }
.slider-button svg { width: 12px; height: 12px; fill: currentColor; }
.slider-button--toggle svg { width: 16px; height: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Test marquee — the strip of tests on offer. SAT today; more join the track as they launch. */
.test-strip { background: var(--night-2); border-top: 1px solid #25286a; overflow: hidden; padding: 1rem 0; }
/* Two identical groups; sliding the track by half its width lands the second exactly where the
   first began. Each group carries its trailing gap as padding so both halves are the same width. */
.test-strip__track { display: flex; width: max-content; animation: strip 48s linear infinite; }
.test-strip__group { display: flex; gap: 1rem; padding-right: 1rem; }
.test-strip:hover .test-strip__track, .test-strip:focus-within .test-strip__track { animation-play-state: paused; }
.test-strip__item { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; color: #e2e8f0; font-size: 0.9rem; font-weight: 600;
  padding: 0.5rem 1rem; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.test-strip__item:hover { border-color: var(--accent); color: #ffffff; }
.test-strip__badge { font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; color: var(--night); background: var(--accent); padding: 0.1rem 0.45rem; border-radius: 4px; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 4.5rem 2rem; }
.section__eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 0.5rem; }
.section__title { font-size: 1.9rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink-strong); line-height: 1.25; }
.section__lede { color: var(--muted); margin-bottom: 2.5rem; max-width: 680px; }
.section--muted { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.section--muted > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; }
.section--muted .feature { background: var(--page); }
.feature__icon { width: 42px; height: 42px; border-radius: 10px; background: #eef2ff; color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink-strong); margin-bottom: 0.6rem; }
.feature p { font-size: 0.95rem; color: var(--muted); }

/* Test cards */
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.test-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.test-card--live { border-color: #c7d2fe; box-shadow: 0 10px 30px rgba(79,70,229,0.10); }
.test-card__tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; }
.test-card__tag--live { background: #dcfce7; color: #166534; }
.test-card__tag--soon { background: #f1f5f9; color: #64748b; }
.test-card h3 { font-size: 1.4rem; color: var(--ink-strong); }
.test-card p { color: var(--muted); font-size: 0.95rem; }
.test-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.test-card ul li { font-size: 0.8rem; color: #3730a3; background: #eef2ff; padding: 0.2rem 0.6rem; border-radius: 999px; }
.test-card .cta-button { margin-top: auto; }
.test-card--soon { opacity: 0.8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: step; list-style: none; }
.steps li { position: relative; padding: 1.75rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.section--muted .steps li { background: var(--page); }
.steps li::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.steps h3 { font-size: 1.05rem; color: var(--ink-strong); margin-bottom: 0.4rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Role cards */
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.role { border-left: 3px solid var(--brand); padding: 0.25rem 0 0.25rem 1.1rem; }
.role h3 { font-size: 1.05rem; color: var(--ink-strong); margin-bottom: 0.35rem; }
.role p { color: var(--muted); font-size: 0.95rem; }

.spec-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.75rem 2rem; }
.spec-list li { color: #475569; font-size: 0.95rem; padding-left: 1.5rem; position: relative; }
.spec-list li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Call-to-action band */
.cta-band { background: linear-gradient(120deg, #4f46e5, #7c3aed); color: #ffffff; }
.cta-band__inner { max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.8rem; line-height: 1.25; margin-bottom: 0.4rem; }
.cta-band p { color: #e0e7ff; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .cta-button-ghost { border-color: rgba(255,255,255,0.5); color: #ffffff; }
.cta-band .cta-button-ghost:hover { border-color: #ffffff; }

/* Product pages */
.product-hero { position: relative; background: var(--night); color: #ffffff; overflow: hidden; }
.product-hero__media { position: absolute; inset: 0; }
.product-hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,11,40,0.95) 0%, rgba(10,11,40,0.8) 45%, rgba(10,11,40,0.2) 100%); }
.product-hero__inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.product-hero__eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.product-hero h1 { font-size: 3rem; line-height: 1.15; font-weight: 700; margin-bottom: 1rem; }
.product-hero__lede { font-size: 1.2rem; color: #cbd5e1; max-width: 640px; margin-bottom: 2rem; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* SAT section breakdown */
.section-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.sat-section { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; }
.sat-section header { position: static; background: none; border: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.sat-section h3 { font-size: 1.35rem; color: var(--ink-strong); }
.sat-section header span { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.domain { scroll-margin-top: 90px; padding: 1rem 0; border-top: 1px solid #f1f5f9; }
.domain:first-of-type { border-top: 0; padding-top: 0; }
.domain__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.35rem; }
.domain h4 { font-size: 1rem; color: var(--ink-strong); }
.domain__share { font-size: 0.8rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.domain__bar { height: 6px; background: #eef2ff; border-radius: 3px; margin-bottom: 0.6rem; overflow: hidden; }
.domain__bar span { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.domain p { color: var(--muted); font-size: 0.9rem; }
.domain:target h4 { color: var(--brand); }

.format-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 0.95rem; }
.format-table th, .format-table td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid #f1f5f9; }
.format-table th { background: #f8fafc; color: var(--ink-strong); font-weight: 700; }
.format-table td { color: #475569; }
.table-wrap { overflow-x: auto; }

/* Multi-Column Footer */
footer { background: #ffffff; border-top: 1px solid var(--line); padding: 4rem 2rem 2rem 2rem; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: var(--ink-strong); margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a, .footer-col p { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--brand); }

.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: #94a3b8; font-size: 0.85rem; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1rem 1rem; }
  .nav-menu.is-open { display: flex; }
  .nav-menu > li > a { display: block; padding: 0.75rem 0.5rem; }
  .dropdown-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 1rem; }
  .nav-auth { padding-top: 0.75rem; }
  .navbar { position: relative; padding: 0.85rem 1rem; }
}

@media (max-width: 860px) {
  .showcase-header h1 { font-size: 1.9rem; }
  .viewport { height: 600px; }
  .slide-content { max-width: none; padding: 2rem 1.5rem; justify-content: flex-end; }
  .slide-content h2 { font-size: 1.8rem; }
  .slide-art { top: 1.5rem; right: 50%; transform: translateX(50%); width: 70%; max-width: 300px; opacity: 0.55; }
  .slide-media::after { background: linear-gradient(180deg, rgba(10,11,40,0.3) 0%, rgba(10,11,40,0.92) 55%); }
  .progress-item { font-size: 0; padding-top: 0.75rem; }
  .slider { padding: 0 1rem; }
  .product-hero__inner { padding: 3.5rem 1rem; }
  .product-hero h1 { font-size: 2.1rem; }
  .section { padding: 3rem 1rem; }
  .cta-band__inner { padding: 3rem 1rem; }
  footer { padding: 3rem 1rem 2rem; }
  .section-split { grid-template-columns: 1fr; }
}

/* A rotating banner and a moving strip are motion the visitor did not ask for. */
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .cta-button:hover { transform: none; }
  .test-strip__track { animation: none; width: auto; justify-content: center; padding: 0 1rem; }
  .test-strip__group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .test-strip__group[aria-hidden="true"] { display: none; }
}

/* The ghost button on a white card, rather than on the dark hero it was drawn for. */
.cta-button-ghost--on-light { align-self: flex-start; margin-top: auto; color: var(--brand); border-color: #c7d2fe; }
.cta-button-ghost--on-light:hover { color: var(--brand-hover); border-color: var(--brand); }

/* Domain share bars (SAT page). */
.w-15 { width: 15%; } .w-20 { width: 20%; } .w-26 { width: 26%; } .w-28 { width: 28%; } .w-35 { width: 35%; }

/* Practice Report slide: two real screenshots, layered on the right like app windows — the wide
   curriculum progress view behind, the tall Reports page in front. */
.slide-media--report { background: radial-gradient(circle at 75% 45%, #4f46e5 0%, transparent 60%), linear-gradient(135deg, #1e1b4b, #0f1033); }
.slide-media--report::after { background: linear-gradient(90deg, rgba(10,11,40,0.96) 0%, rgba(10,11,40,0.85) 38%, rgba(10,11,40,0) 60%); }
.slide-shots { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); width: min(56%, 740px); height: 470px; }
.slide-shots img { position: absolute; height: auto; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.slide-shots__wide { left: 0; top: 50%; transform: translateY(-50%); width: 78%; }
.slide-shots__tall { right: 0; top: 0; height: 100% !important; width: auto; background: #fff; }

/* AI and goal slides: drawn artwork, like the topic slides. */
.slide-media--copilot   { background: radial-gradient(circle at 78% 45%, #7c3aed 0%, transparent 55%), linear-gradient(135deg, #2e1065, #0f1033); }
.slide-media--recommend { background: radial-gradient(circle at 78% 45%, #d97706 0%, transparent 55%), linear-gradient(135deg, #3b1d06, #0f1033); }
.slide-media--goals     { background: radial-gradient(circle at 78% 45%, #059669 0%, transparent 55%), linear-gradient(135deg, #052e2b, #0f1033); }

@media (max-width: 860px) {
  .slide-shots { top: 1.25rem; right: 50%; transform: translateX(50%); width: 92%; height: 230px; opacity: 0.6; }
  .slide-media--report::after { background: linear-gradient(180deg, rgba(10,11,40,0.2) 0%, rgba(10,11,40,0.94) 50%); }
}

/* FAQ page */
.product-hero--compact .product-hero__inner { padding: 3.5rem 2rem; }
.breadcrumb { font-size: 0.85rem; color: #a0aec0; margin-bottom: 1rem; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: #ffffff; }
.faq-updated { font-size: 0.85rem; color: #a0aec0; }

.faq-layout { max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem 4.5rem; display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.faq-toc { position: sticky; top: 96px; }
.faq-toc p { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.faq-toc ul { list-style: none; border-left: 2px solid var(--line); }
.faq-toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: #475569; font-size: 0.92rem; }
.faq-toc a:hover { color: var(--brand); border-left-color: var(--brand); }

.faq-group { scroll-margin-top: 90px; margin-bottom: 3rem; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: 1.5rem; color: var(--ink-strong); margin-bottom: 1rem; }
.faq-item { scroll-margin-top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.faq-item h3 { font-size: 1.08rem; line-height: 1.4; color: var(--ink-strong); margin-bottom: 0.5rem; }
.faq-item h3 a:hover { color: var(--brand); }
.faq-item p { color: #475569; font-size: 0.97rem; max-width: 75ch; }
.faq-item:target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }

@media (max-width: 860px) {
  .product-hero--compact .product-hero__inner { padding: 2.5rem 1rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1rem 3rem; }
  .faq-toc { position: static; }
  .faq-toc ul { display: flex; flex-wrap: wrap; gap: 0.5rem; border-left: 0; }
  .faq-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; margin: 0; background: var(--card); }
  .faq-item { padding: 1.2rem; }
}
