/* Mastery storefront — brand: white, brand red, dark-brown ink, Manrope. */
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url('/fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('/fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('/fonts/manrope-800.woff2') format('woff2'); }

:root {
  --accent: #e5322b; --accent-deep: #c42a23; --ink: #231a11; --muted: #7c7166;
  --bg: #ffffff; --soft: #faf8f5; --line: rgba(35,26,17,0.10); --shadow: 0 10px 34px rgba(35,26,17,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; }
a { color: inherit; }
img, svg { display: block; }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 999px; box-shadow: 0 2px 12px rgba(229,50,43,0.30); transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 20px 24px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand svg { width: 30px; height: 26px; }
.nav nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover { color: var(--ink); }

/* hero */
.hero { max-width: 820px; margin: 40px auto 16px; padding: 0 24px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: rgba(229,50,43,.08); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(32px, 5.5vw, 56px); font-weight: 800; margin: 18px 0; }
.hero .sub { font-size: 18px; color: #4a4036; max-width: 660px; margin: 0 auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* products */
.products { max-width: 1080px; margin: 64px auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--muted); margin-top: 8px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-head { display: flex; align-items: center; gap: 14px; }
.product-logo { width: 56px; height: 56px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.product-logo img { width: 60%; height: 60%; }
.product h2 { font-size: 22px; }
.product-tag { color: var(--accent); font-weight: 700; font-size: 14px; }
.product-video { margin: 18px 0 4px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); aspect-ratio: 16 / 9; }
.product-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-blurb { margin: 16px 0; color: #4a4036; font-size: 15.5px; }
.product-feats { list-style: none; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.product-feats li { position: relative; padding-left: 26px; font-size: 14.5px; }
.product-feats li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.product-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.product-cta .btn { width: 100%; text-align: center; }
.soon { font-size: 13px; color: var(--muted); padding: 6px 2px; }

/* why */
.why { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 24px; }
.why h2 { text-align: center; font-size: 32px; margin-bottom: 34px; }
.why-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.why-ic { color: var(--accent); font-size: 14px; }
.why-card h3 { font-size: 17px; margin: 10px 0 6px; }
.why-card p { font-size: 14px; color: #4a4036; }

/* faq */
.faq { max-width: 760px; margin: 64px auto; padding: 0 24px; }
.faq h2 { text-align: center; font-size: 32px; margin-bottom: 28px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 17px; }
.faq-item p { color: #4a4036; margin-top: 6px; font-size: 15px; }

/* footer */
.foot { background: var(--ink); color: #efe6d8; padding: 40px 24px; text-align: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: #fff; }
.foot-brand svg { width: 28px; height: 24px; }
.foot-brand svg path { stroke: #fff; }
.foot-links { margin: 14px 0 8px; font-size: 14px; }
.foot-links a { color: #efe6d8; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-copy { font-size: 13px; color: #b6ab9c; }

@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
