*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  display: block;
  font-family: 'Sora', sans-serif;
  color: var(--gray-900);
  overflow-x: hidden;
  --navy: #1a3a6b; --navy-dark: #0f2347; --navy-light: #2a5298;
  --cyan: #00b4d8; --cyan-light: #e0f7fc; --cyan-mid: #0096b7;
  --green: #16a34a; --green-lt: #dcfce7;
  --amber: #d97706; --amber-lt: #fef3c7;
  --red: #dc2626; --red-lt: #fee2e2;
  --purple: #7c3aed; --purple-lt: #ede9fe;
  --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0;
  --gray-300: #cbd5e1; --gray-400: #94a3b8; --gray-500: #64748b;
  --gray-600: #475569; --gray-700: #334155; --gray-900: #0f172a;
  --white: #ffffff;
  --r: 12px; --r-lg: 18px; --r-xl: 24px;
  --sh: 0 4px 20px rgba(26,58,107,.09);
  --sh-lg: 0 8px 40px rgba(26,58,107,.15);
  --font: 'Sora', sans-serif;
  --prose: 'Lora', serif;
  scroll-behavior: smooth;
}
.page-root { font-size: 17px; line-height: 1.75; font-family: 'Sora', sans-serif; background: var(--gray-50); }
.page-root * { font-family: inherit; }

/* ── NAV ── */
nav { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--navy); text-decoration: none; }
.logo-box { width: 34px; height: 34px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 10px; font-weight: 800; }
.logo em { font-style: normal; color: var(--cyan); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-600); transition: color .2s; text-decoration: none; }
.nav-links a:hover { color: var(--navy); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.btn-ghost-nav { font-size: 14px; font-weight: 600; color: var(--gray-600); padding: 8px 14px; border-radius: 6px; transition: background .2s; text-decoration: none; }
.btn-ghost-nav:hover { background: var(--gray-100); }
.btn-cta-nav { background: var(--navy); color: white; padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; transition: background .2s, transform .15s; text-decoration: none; }
.btn-cta-nav:hover { background: var(--navy-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: 6px; transition: background .2s; }
.hamburger:hover { background: var(--gray-100); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); box-shadow: var(--sh-lg); z-index: 99; padding: 16px 24px; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 600; color: var(--gray-700); padding: 12px 0; border-bottom: 1px solid var(--gray-100); text-decoration: none; }
.mobile-menu a:last-child { border-bottom: none; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.bc-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-600); flex-wrap: wrap; }
.bc-inner a { color: var(--gray-500); transition: color .2s; text-decoration: none; }
.bc-inner a:hover { color: var(--navy); }
.bc-sep { color: var(--gray-300); }
.bc-current { color: var(--navy); font-weight: 600; }

/* ── TOC ── */
.toc-bar { background: var(--cyan-light); border-bottom: 1px solid rgba(0,180,216,.2); overflow-x: auto; scrollbar-width: none; }
.toc-bar::-webkit-scrollbar { display: none; }
.toc-inner { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: max-content; }
.toc-label { font-size: 12px; font-weight: 800; color: var(--cyan-mid); text-transform: uppercase; letter-spacing: .5px; margin-right: 6px; }
.toc-link { font-size: 13px; font-weight: 600; color: var(--navy); padding: 3px 10px; border-radius: 99px; background: white; border: 1px solid rgba(0,180,216,.25); transition: all .2s; white-space: nowrap; cursor: pointer; text-decoration: none; }
.toc-link:hover { background: var(--navy); color: white; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a4f9f 100%); padding: 60px 24px 52px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .04; background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0); background-size: 28px 28px; }
.hero::after { content: ''; position: absolute; top: -60px; right: 0; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(0,180,216,.12) 0%, transparent 70%); pointer-events: none; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,180,216,.18); border: 1px solid rgba(0,180,216,.35); color: var(--cyan); padding: 5px 14px; border-radius: 99px; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: white; line-height: 1.2; margin-bottom: 14px; }
.hero-title em { font-style: normal; color: var(--cyan); }
.hero-desc { font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.8; max-width: 560px; margin-bottom: 24px; }
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); padding: 5px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.hero-stat-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-xl); padding: 28px 32px; text-align: center; min-width: 0; width: 180px; flex-shrink: 0; backdrop-filter: blur(8px); }
.hero-stat-box .big { font-size: 52px; font-weight: 800; color: var(--cyan); line-height: 1; }
.hero-stat-box .lbl { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 6px; }
.hero-stat-box .sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ── SECTIONS ── */
.section { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.section-alt { background: #fafafa; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan-mid); margin-bottom: 8px; }
.section-label-lt { color: var(--cyan); }
.section-title { font-size: clamp(20px, 2.8vw, 28px); font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.25; }
.section-desc { font-size: 16px; color: var(--gray-500); max-width: 700px; line-height: 1.85; }

/* ── SCROLL OFFSET ── */
#what-is, #specific-solutions, #structure, #worked-example,
#vocabulary, #planning, #mistakes, #essays, #faq {
  scroll-margin-top: 120px;
}

/* ── WHAT IS / REQUIREMENTS ── */
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.what-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh); }
.what-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.what-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.what-card li { font-size: 15px; color: var(--gray-600); display: flex; align-items: flex-start; gap: 8px; line-height: 1.65; }
.what-card li .ico { flex-shrink: 0; margin-top: 1px; color: var(--cyan-mid); font-weight: 700; }
.signal-box { background: var(--navy-dark); border-radius: var(--r-lg); padding: 28px; margin-top: 24px; }
.signal-box h3 { font-size: 16px; font-weight: 800; color: rgba(255,255,255,.95); margin-bottom: 18px; }
.signal-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.signal-pill { background: rgba(0,180,216,.15); border: 1px solid rgba(0,180,216,.3); color: var(--cyan); padding: 9px 20px; border-radius: 8px; font-size: 15px; font-weight: 600; font-family: var(--prose); font-style: italic; }

/* ── STRUCTURE STEPS ── */
.structure-wrap { margin-top: 32px; }
.structure-steps { display: flex; gap: 12px; align-items: stretch; }
.structure-step { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 22px 18px; flex: 1; box-shadow: var(--sh); position: relative; display: flex; flex-direction: column; gap: 8px; }
.step-para { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-400); }
.step-name { font-size: 17px; font-weight: 800; color: var(--navy); }
.step-desc { font-size: 14.5px; color: var(--gray-600); line-height: 1.7; flex: 1; }
.step-words { font-size: 12px; font-weight: 700; color: var(--cyan-mid); background: var(--cyan-light); padding: 3px 10px; border-radius: 99px; align-self: flex-start; margin-top: 4px; }
.step-arrow { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--gray-300); z-index: 2; }
.step-intro { border-top: 4px solid #3b82f6; }
.step-body1 { border-top: 4px solid var(--red); }
.step-body2 { border-top: 4px solid var(--green); }
.step-conc  { border-top: 4px solid var(--purple); }

/* ── SOLUTION PLACEMENT ── */
.opinion-visual { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); margin-top: 28px; }
.opinion-visual-head { background: var(--navy); color: white; padding: 16px 24px; font-size: 14px; font-weight: 700; }
.opinion-rows { display: flex; flex-direction: column; }
.opinion-row { display: flex; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--gray-100); align-items: flex-start; }
.opinion-row:last-child { border-bottom: none; }
.opinion-para-badge { font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.op-intro { background: #dbeafe; color: #1d4ed8; }
.op-v1    { background: var(--red-lt); color: var(--red); }
.op-v2    { background: var(--green-lt); color: var(--green); }
.op-conc  { background: var(--purple-lt); color: var(--purple); }
.opinion-row-main { flex: 1; }
.opinion-row-main strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.opinion-row-main p { font-size: 15px; color: var(--gray-600); line-height: 1.72; }
.opinion-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-top: 8px; }
.op-required { background: var(--navy); color: white; }
.op-recommended { background: var(--cyan-light); color: var(--cyan-mid); }
.op-optional { background: var(--gray-100); color: var(--gray-600); }

/* ── WORKED EXAMPLE ── */
.worked-prompt { background: var(--gray-100); border-radius: var(--r-lg); padding: 20px 24px; margin-top: 32px; border-left: 4px solid var(--navy); }
.worked-prompt-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-500); margin-bottom: 8px; }
.worked-prompt-text { font-family: var(--prose); font-size: 16px; color: var(--gray-900); line-height: 1.75; font-weight: 600; }
.worked-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.worked-card { border-radius: var(--r-lg); padding: 26px; border: 1px solid; }
.worked-weak   { background: var(--red-lt);   border-color: #fca5a5; }
.worked-strong { background: var(--green-lt); border-color: #86efac; }
.worked-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.worked-weak   .worked-label { color: var(--red); }
.worked-strong .worked-label { color: var(--green); }
.worked-text { font-family: var(--prose); font-size: 15.5px; line-height: 1.88; color: var(--gray-800); margin-bottom: 16px; }
.worked-reason { padding-top: 16px; border-top: 1px solid rgba(0,0,0,.1); font-size: 15.5px; color: var(--gray-800); line-height: 1.8; }
.worked-reason strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; color: var(--gray-500); font-weight: 800; }

/* ── FULL ESSAY WALKTHROUGH ── */
.essay-walkthrough { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); margin-top: 28px; }
.ew-header { background: var(--navy); padding: 22px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ew-header h3 { font-size: 18px; font-weight: 800; color: white; }
.ew-header p { font-size: 14.5px; color: rgba(255,255,255,.82); margin-top: 6px; max-width: 600px; line-height: 1.68; }
.ew-band { background: rgba(0,180,216,.25); color: var(--cyan); font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 8px; white-space: nowrap; }
.ew-body { padding: 28px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; }
.para-block { border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 22px; margin-bottom: 16px; background: #fafcff; }
.para-block:last-child { margin-bottom: 0; }
.para-label { display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
.pl-intro { background: #dbeafe; color: #1d4ed8; }
.pl-prob  { background: var(--red-lt); color: var(--red); }
.pl-sol   { background: var(--green-lt); color: var(--green); }
.pl-conc  { background: var(--purple-lt); color: var(--purple); }
.para-title { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.para-text { font-family: var(--prose); font-size: 15px; color: var(--gray-800); line-height: 1.85; }
.step-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.step-chip { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--gray-200); background: var(--white); color: var(--gray-700); }
.step-chip b { color: var(--navy); }
.analysis-panel { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 24px; border-top: 4px solid var(--navy); }
.analysis-panel h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 10px; margin-top: 20px; }
.analysis-panel h4:first-child { margin-top: 0; }
.analysis-panel ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 6px; }
.analysis-panel li { font-size: 15px; color: var(--gray-700); line-height: 1.72; display: flex; gap: 8px; align-items: flex-start; }
.analysis-panel li::before { content: '\203A'; color: var(--cyan-mid); font-weight: 800; flex-shrink: 0; font-size: 16px; margin-top: 1px; }

/* ── VOCABULARY ── */
.vocab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.vocab-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.vocab-card-head { padding: 14px 16px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.vocab-card-body { padding: 4px 0; }
.vocab-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--gray-100); }
.vocab-row:last-child { border-bottom: none; }
.vocab-phrase { font-size: 15px; font-weight: 600; color: var(--navy); font-family: var(--prose); font-style: italic; }
.vocab-use { font-size: 13px; color: var(--gray-500); text-align: right; max-width: 140px; line-height: 1.45; }
.vh-prob    { background: var(--red-lt); color: #991b1b; }
.vh-sol     { background: var(--green-lt); color: #15803d; }
.vh-cause   { background: var(--amber-lt); color: #92400e; }
.vh-conclude { background: var(--purple-lt); color: #5b21b6; }

/* ── PLANNING ── */
.plan-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; }
.plan-step { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh); display: flex; gap: 14px; align-items: flex-start; }
.plan-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--cyan); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plan-step h4 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.plan-step p  { font-size: 15px; color: var(--gray-600); line-height: 1.72; }
.plan-example { background: var(--navy-dark); border-radius: var(--r-lg); padding: 28px; margin-top: 24px; }
.plan-example-label { font-size: 13px; font-weight: 800; color: var(--cyan); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.plan-example-q { font-family: var(--prose); font-size: 15px; font-style: italic; color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.plan-col-head { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.72); margin-bottom: 12px; }
.plan-col-item { font-size: 15px; color: rgba(255,255,255,.9); line-height: 1.7; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.plan-col-item:last-child { border-bottom: none; }
.plan-col-item strong { color: var(--cyan); display: block; font-size: 12px; margin-bottom: 2px; }

/* ── MISTAKES ── */
.mistakes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mistake-group { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.mg-head { padding: 15px 20px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mg-head.red   { background: var(--red-lt);   color: var(--red); }
.mg-head.green { background: var(--green-lt); color: var(--green); }
.mg-body { padding: 4px 0; }
.mg-row { padding: 14px 20px; font-size: 15px; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); display: flex; align-items: flex-start; gap: 10px; line-height: 1.75; }
.mg-row:last-child { border-bottom: none; }
.mg-head.red   + .mg-body .mg-row::before { content: '\2717'; color: var(--red);   flex-shrink: 0; }
.mg-head.green + .mg-body .mg-row::before { content: '\2713'; color: var(--green); flex-shrink: 0; }

/* ── MID CTA ── */
.mid-cta { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); border-radius: var(--r-xl); padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.mid-cta-text h3 { font-size: 22px; font-weight: 800; color: white; margin-bottom: 8px; line-height: 1.3; }
.mid-cta-text p  { font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.7; max-width: 480px; }
.mid-cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.btn-cta-primary { background: var(--cyan); color: var(--navy-dark); padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 800; white-space: nowrap; transition: opacity .2s, transform .15s; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-cta-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-cta-secondary { border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); padding: 12px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; transition: background .2s; white-space: nowrap; text-decoration: none; }
.btn-cta-secondary:hover { background: rgba(255,255,255,.08); }

/* ── ESSAYS LAYOUT ── */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.filter-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filter-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 13px; font-weight: 700; color: var(--gray-500); }
.filter-btn { padding: 7px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; border: 1px solid var(--gray-200); background: var(--white); color: var(--gray-600); cursor: pointer; transition: all .2s; font-family: var(--font); }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.filter-right { display: flex; align-items: center; gap: 10px; }
.sort-select { font-size: 13px; font-weight: 600; color: var(--gray-600); border: 1px solid var(--gray-200); border-radius: 8px; padding: 7px 14px; background: var(--white); cursor: pointer; font-family: var(--font); }
.results-count { font-size: 13px; color: var(--gray-500); }
.results-count strong { color: var(--navy); }
.essays-layout { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.essays-col { min-width: 0; }
.essay-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); margin-bottom: 14px; transition: all .22s; display: block; text-decoration: none; }
.essay-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.essay-card-inner { padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.essay-num { font-size: 12px; font-weight: 800; color: var(--gray-300); flex-shrink: 0; width: 26px; text-align: right; margin-top: 2px; }
.essay-main { flex: 1; min-width: 0; }
.essay-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.topic-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--cyan-light); color: var(--cyan-mid); }
.meta-pill { font-size: 11px; color: var(--gray-400); display: flex; align-items: center; gap: 3px; }
.model-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--amber-lt); color: var(--amber); }
.student-answer-badge { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--green-lt); color: var(--green); border: 1px solid #bbf7d0; }
.essay-question { font-size: 15px; font-weight: 600; color: var(--gray-800); line-height: 1.65; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.essay-snippet { font-family: var(--prose); font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.essay-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.essay-scores { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.band-chip { font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 8px; display: flex; align-items: center; gap: 4px; }
.band-60 { background: var(--amber-lt); color: #92400e; }
.band-65 { background: #fef9c3; color: #854d0e; }
.band-70 { background: var(--green-lt); color: #15803d; }
.band-75 { background: #dbeafe; color: #1d4ed8; }
.sub-scores { font-size: 12px; color: var(--gray-500); }
.btn-read { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 4px; padding: 7px 14px; border: 1.5px solid var(--navy); border-radius: 6px; transition: all .2s; white-space: nowrap; flex-shrink: 0; text-decoration: none; }
.essay-card:hover .btn-read { background: var(--navy); color: white; }

/* ── SIDEBAR ── */
.sidebar { min-width: 0; }
.sc { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); margin-bottom: 20px; }
.sc-head { background: var(--navy); color: white; padding: 15px 20px; font-size: 15px; font-weight: 700; }
.sc-body { padding: 16px 18px; }
.cta-sidebar { background: linear-gradient(135deg, var(--navy-dark), var(--navy-light)); border-radius: var(--r-lg); padding: 24px 20px; color: white; text-align: center; margin-bottom: 20px; }
.cta-sidebar h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.cta-sidebar p { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 18px; line-height: 1.65; }
.cta-btn-main { display: block; background: var(--cyan); color: var(--navy-dark); padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 800; transition: opacity .2s; margin-bottom: 8px; text-decoration: none; }
.cta-btn-main:hover { opacity: .9; }
.cta-btn-sec { display: block; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background .2s; text-decoration: none; }
.cta-btn-sec:hover { background: rgba(255,255,255,.1); }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--gray-100); font-size: 15px; }
.stat-row:last-child { border-bottom: none; }
.stat-lbl { color: var(--gray-500); }
.stat-val { font-weight: 700; color: var(--navy); }
.band-dist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.band-dist-row:last-child { margin-bottom: 0; }
.bd-label { font-size: 14px; font-weight: 700; color: var(--navy); width: 68px; flex-shrink: 0; }
.bd-bar { flex: 1; height: 8px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.bd-fill { height: 100%; border-radius: 99px; }
.bd-count { font-size: 13px; color: var(--gray-500); width: 28px; text-align: right; flex-shrink: 0; }
.topic-pill-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.topic-pill { font-size: 13px; font-weight: 600; padding: 5px 13px; border-radius: 99px; background: var(--gray-100); color: var(--gray-600); cursor: pointer; transition: all .2s; }
.topic-pill:hover { background: var(--navy); color: white; }
.related-link { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--gray-700); padding: 11px 0; border-bottom: 1px solid var(--gray-100); transition: color .2s; text-decoration: none; }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--navy); }
.related-link span:last-child { font-size: 12px; color: var(--gray-400); white-space: nowrap; }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 16px 0 0; }
.page-btn { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--gray-200); background: var(--white); color: var(--gray-600); transition: all .2s; font-family: var(--font); }
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ── FAQ ── */
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.faq-q { padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; user-select: none; }
.faq-q:hover { background: var(--gray-50); }
.faq-icon { font-size: 18px; color: var(--gray-500); flex-shrink: 0; transition: transform .25s; }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { font-size: 16px; color: var(--gray-600); line-height: 1.9; padding-bottom: 22px; max-width: 720px; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-q { background: var(--gray-50); }

/* ── FOOTER ── */
.footer-strip { background: var(--cyan); padding: 52px 24px; text-align: center; }
.footer-strip h2 { font-size: 24px; font-weight: 800; color: var(--navy-dark); margin-bottom: 10px; }
.footer-strip p { color: rgba(15,35,71,.72); margin-bottom: 28px; font-size: 16px; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.footer-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-navy { background: var(--navy); color: white; padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; transition: background .2s; text-decoration: none; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); padding: 11px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; transition: background .2s; text-decoration: none; }
.btn-outline-navy:hover { background: rgba(26,58,107,.08); }
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.5); text-align: center; padding: 18px 24px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.5); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-ghost-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stat-box { display: none; }
  .what-grid, .worked-grid, .mistakes-grid, .ew-body { grid-template-columns: 1fr; }
  .structure-steps { flex-direction: column; }
  .step-arrow { display: none; }
  .essays-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .mid-cta { padding: 32px 24px; flex-direction: column; }
  .mid-cta-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .btn-cta-primary, .btn-cta-secondary { flex: 1; justify-content: center; text-align: center; }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vocab-grid { grid-template-columns: 1fr; }
  .plan-steps { grid-template-columns: 1fr; }
  .section { padding: 40px 16px; }
  .section-inner { padding: 40px 16px; }
  .hero-desc { font-size: 15px; }
  .hero-pills { gap: 6px; }
  .hero-pill { font-size: 11px; padding: 4px 10px; }
  .worked-grid { grid-template-columns: 1fr; }
  .what-grid { grid-template-columns: 1fr; }
  .mistakes-grid { grid-template-columns: 1fr; }
  .opinion-visual-head { font-size: 13.5px; padding: 14px 18px; }
  .opinion-row { flex-direction: column; gap: 8px; padding: 14px 18px; }
  .opinion-para-badge { align-self: flex-start; }
  .plan-grid { grid-template-columns: 1fr; }
  .ew-body { grid-template-columns: 1fr; padding: 20px; }
  .ew-header { padding: 18px 20px; }
  .section-title { font-size: 20px; }
  .mid-cta { padding: 28px 20px; }
  .mid-cta-text h3 { font-size: 18px; }
  .mid-cta-actions { flex-direction: column; }
  .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
  .faq-q { font-size: 14.5px; padding: 16px 18px; }
  .faq-a p { font-size: 15px; }
  .footer-strip { padding: 40px 18px; }
  .footer-strip h2 { font-size: 20px; }
  .step-chip { font-size: 11px; padding: 4px 9px; }
}
@media (max-width: 400px) {
  .structure-steps { gap: 8px; }
  .section-title { font-size: 18px; }
  .hero-title { font-size: 24px; }
  .what-card li { font-size: 14px; }
  .signal-pill { font-size: 13px; padding: 7px 14px; }
}
