/* College Research Papers for Sale — static marketing site */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-cta: #0f172a;
  --text: #1a1a1a;
  --text-soft: #4b5563;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --gold: #ca8a04;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 12px;
  --maxw: 880px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; font-size: 1.05rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--text-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 48px 0 28px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #f7f8fa, #fff); }
.hero h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.03em; }
.hero .updated { color: var(--text-soft); font-size: 0.85rem; margin-bottom: 18px; }
.hero p { color: var(--text-soft); font-size: 1.02rem; }

/* Quick answer */
.quick-answer {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0 8px;
}
.quick-answer h2 { margin: 0 0 12px; font-size: 1.15rem; }
.quick-answer ul { margin: 0; padding-left: 20px; }
.quick-answer li { margin-bottom: 6px; }
.quick-answer strong { color: var(--text); }

/* Content sections */
main { padding: 36px 0 60px; }
section { margin-bottom: 40px; }
h2 { font-size: 1.55rem; margin: 0 0 16px; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; margin: 24px 0 10px; }
p { margin: 0 0 16px; color: var(--text-soft); }
p strong { color: var(--text); }

/* Service card */
.service {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.service.best { border-color: var(--gold); border-width: 2px; position: relative; }
.badge {
  display: inline-block; background: var(--gold); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 10px;
}
.badge.blue { background: var(--accent); }
.service-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.service-head h3 { margin: 0; font-size: 1.35rem; }
.service-meta { color: var(--text-soft); font-size: 0.88rem; }
.service-rating { color: var(--gold); font-weight: 700; }
.service ul { margin: 10px 0 14px; padding-left: 20px; }
.service ul li { margin-bottom: 5px; color: var(--text-soft); }
.service ul li strong { color: var(--text); }
.service .price { display:inline-block; background:#ecfdf5; color:var(--green); font-weight:700; font-size:0.85rem; padding:3px 10px; border-radius:6px; margin-left:6px;}

/* CTA */
.cta-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 18px 0;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid #1e293b;
}
.cta-box p { color: #cbd5e1; margin: 0; font-size: 0.95rem; }
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  align-self: flex-start;
  transition: background 0.15s ease, transform 0.15s ease;
  border: none;
}
.cta-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.cta-banner {
  background: var(--bg-cta); color: #fff; border-radius: var(--radius);
  padding: 30px; text-align: center; margin: 32px 0; border: 1px solid #1e293b;
}
.cta-banner h3 { color:#fff; margin-top:0; }
.cta-banner p { color: #cbd5e1; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 18px 0; border:1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-soft); font-weight: 700; color: var(--text); }
td { color: var(--text-soft); }
td a { color: var(--accent); text-decoration: none; font-weight: 600; }
td a:hover { text-decoration: underline; }
tr:last-child td { border-bottom: none; }

/* Checklists */
.checklist {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 22px 26px;
  margin: 18px 0;
}
.checklist h3 { margin-top: 0; }
.checklist ul { padding-left: 4px; list-style: none; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text-soft); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Tips / mistakes blocks */
.callout {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 16px 0;
  border-left: 4px solid var(--accent);
  background: #eff6ff;
}
.callout.warn { border-left-color: var(--red); background: #fef2f2; }
.callout.expert { border-left-color: var(--gold); background: #fffbeb; }
.callout h3 { margin-top: 0; font-size: 1.08rem; }
.callout p { margin-bottom: 0; }

.tips-grid { display: grid; gap: 16px; }
.tip {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px;
}
.tip .num { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; background:var(--accent); color:#fff; font-weight:700; font-size:0.85rem; margin-right:8px; }
.tip h3 { display:inline; font-size:1.05rem; vertical-align:middle; }
.tip p { margin: 8px 0 0; }

/* FAQ */
.faq details {
  border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px;
  background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--text); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: " +"; color: var(--accent); }
.faq details[open] summary::after { content: " −"; }
.faq details p { margin: 12px 0 0; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 40px 0 28px; margin-top: 20px; }
.site-footer a { color: #93c5fd; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-col h4 { color:#fff; font-size:0.95rem; margin:0 0 12px; }
.footer-col ul { list-style: none; padding:0; margin:0; }
.footer-col li { margin-bottom:8px; font-size:0.9rem; }
.site-footer .legal { border-top: 1px solid #1e293b; margin-top: 28px; padding-top: 18px; font-size: 0.82rem; color: #94a3b8; }

.disclaimer { font-size: 0.82rem; color: var(--text-soft); background: var(--bg-soft); padding: 16px 20px; border-radius: 10px; margin: 24px 0; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
  .site-nav { gap: 14px; }
  body { font-size: 16px; }
  .service { padding: 18px; }
}
