/* Countertop 101 — shared design system (light clean theme) */
:root {
  --bg: #FBF6EC;
  --bg2: #F5EEDF;
  --bg3: #FFFDF8;
  --accent: #C97B4A;
  --accent-hover: #B26A3B;
  --accent-soft: #F3E4D3;
  --text: #241A12;
  --muted: #7A6A58;
  --border: #E8DCC8;
  --radius: 12px;
  --maxw: 1100px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; color: var(--muted); }
p strong, li strong { color: var(--text); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  display: inline-block; color: var(--muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .75rem;
}
.lead { font-size: 1.2rem; color: var(--text); max-width: 44rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,236,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text); }
.logo span { color: var(--muted); font-weight: 600; }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--text); text-decoration: none; }
.hamburger { display: none; background: none; border: 1px solid var(--border); color: var(--text);
  font-size: 1.4rem; border-radius: 8px; padding: .2rem .7rem; cursor: pointer; }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: #ffffff;
  font-weight: 800; font-size: 1.05rem; padding: .95rem 2rem; border-radius: var(--radius);
  border: none; cursor: pointer; text-align: center; transition: transform .15s, background .15s;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--accent); border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); }
.btn-sm { font-size: .9rem; padding: .6rem 1.2rem; }
.btn-block { display: block; width: 100%; }

/* hero */
.hero { padding: 5rem 0 4rem; background:
  radial-gradient(60rem 30rem at 70% -10%, rgba(31,41,55,.06), transparent 60%),
  var(--bg); }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--muted); }
.hero-cta { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.hero-proof { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }

/* image placeholders */
.img-ph {
  background: linear-gradient(135deg, #F5EEDF, #EDE4D2);
  border: 1px dashed #C9B79A; border-radius: var(--radius);
  min-height: 220px; display: flex; align-items: center; justify-content: center;
  color: #A08B6D; font-size: .85rem; text-align: center; padding: 1.5rem;
}

/* cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.card h3 { color: var(--text); }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* rip-off list */
.ripoff { display: flex; gap: 1rem; padding: 1.25rem; background: var(--bg3);
  border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.ripoff-num {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.ripoff p { margin-bottom: 0; font-size: .95rem; }

/* curriculum */
.section-block { margin-bottom: 2rem; }
.section-head {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border); padding-bottom: .6rem;
}
.section-head h3 { color: var(--text); margin-bottom: 0; }
.section-head .count { color: var(--muted); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.lecture { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.lecture:last-child { border-bottom: none; }
.lecture-num { color: var(--accent); font-weight: 700; min-width: 3rem; }
.lecture p { margin: 0; font-size: .95rem; }
.lecture .dur { margin-left: auto; color: var(--muted); font-size: .85rem; white-space: nowrap; }

/* pricing */
.price-box {
  max-width: 26rem; margin: 0 auto; background: var(--bg3);
  border: 2px solid var(--accent); border-radius: 16px; padding: 2.5rem; text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.price { font-size: 3.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.price-note { font-size: .9rem; }
.includes { text-align: left; margin: 1.5rem 0; list-style: none; }
.includes li { padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.includes li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.guarantee {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-top: 1.5rem;
}
.guarantee svg { flex: 0 0 40px; width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 2; }

/* testimonials */
.testimonial { font-style: italic; }
.testimonial .who { font-style: normal; color: var(--text); font-weight: 700; margin-top: .75rem; font-size: .9rem; }
.stars { color: #C97B4A; letter-spacing: .2em; margin-bottom: .5rem; }

/* faq */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .9rem; background: var(--bg3); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-size: 1.05rem; font-weight: 700; padding: 1.1rem 1.25rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: inherit;
}
.faq-q::after { content: "+"; color: var(--muted); font-size: 1.5rem; font-weight: 400; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 1.25rem 1.25rem; }
.faq-a p { margin-bottom: .5rem; }
.faq-item.open .faq-a { display: block; }

/* forms */
.form-group { margin-bottom: 1.1rem; }
label { display: block; font-weight: 700; margin-bottom: .4rem; font-size: .95rem; }
input, textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: .8rem 1rem; font-size: 1rem; font-family: inherit;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 2rem; background: var(--bg2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: var(--text); font-size: .95rem; margin-bottom: .75rem; }
.footer-grid a { display: block; color: var(--muted); font-size: .92rem; padding: .2rem 0; }
.copyright { border-top: 1px solid var(--border); padding-top: 1.5rem; font-size: .85rem; color: var(--muted); }

/* player */
.player-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
.video-shell { background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.video-shell video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.player-controls { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.chapter-list { max-height: 560px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg3); }
.chapter-list h3 { padding: 1rem 1.25rem .5rem; position: sticky; top: 0; background: var(--bg3); }
.chapter { display: flex; gap: .8rem; width: 100%; text-align: left; background: none; border: none;
  border-top: 1px solid var(--border); padding: .8rem 1.25rem; cursor: pointer; color: var(--muted);
  font-family: inherit; font-size: .92rem; }
.chapter:hover { background: var(--bg2); color: var(--text); }
.chapter.active { background: var(--accent-soft); color: var(--accent); border-left: 3px solid var(--accent); }
.chapter .t { margin-left: auto; font-size: .8rem; white-space: nowrap; }
.now-playing { color: var(--text); font-weight: 700; margin: 1rem 0 .25rem; }

/* checkout */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.order-line { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.order-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 800; padding: 1rem 0; }
.order-total .amt { color: var(--text); }

/* responsive */
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .player-layout { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg3);
    flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); gap: .25rem; align-items: stretch;
    box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .5rem; border-bottom: 1px solid var(--border); }
  .hamburger { display: block; }
  section { padding: 2.75rem 0; }
}
