/* === ROOT VARIABLES === */
:root {
  --primary: oklch(0.65 0.15 160);
  --primary-dark: oklch(0.55 0.15 160);
  --primary-light: oklch(0.75 0.12 160);
  --accent: oklch(0.80 0.16 85);
  --accent-dark: oklch(0.70 0.16 85);
  --bg: oklch(0.14 0.01 200);
  --card: oklch(0.18 0.01 200);
  --muted: oklch(0.22 0.01 200);
  --input: oklch(0.22 0.01 200);
  --text: oklch(0.97 0.01 200);
  --muted-text: oklch(0.70 0.02 200);
  --border: oklch(0.25 0.02 200);
  --ring: oklch(0.65 0.15 160);
  --radius: 0.75rem;
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 4px 24px oklch(0 0 0 / 0.4);
  --shadow-sm: 0 2px 8px oklch(0 0 0 / 0.3);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }
main { flex: 1; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: oklch(0.88 0.01 200); }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }
strong { color: var(--text); }

/* === LAYOUT === */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 0; }
.prose { max-width: 780px; }

/* === HEADER === */
.site-header {
  background: oklch(0.16 0.01 200 / 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--primary-light); }
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px oklch(0.65 0.15 160 / 0.4);
}
.logo-text span { color: var(--primary); }

/* === NAV === */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--muted-text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text);
  background: var(--muted);
}
.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 0.45rem 1rem !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  border: none;
  background: none;
  border-radius: 0.4rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}
.mobile-nav a {
  color: var(--muted-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--text);
  background: var(--muted);
}
.mobile-nav.open { display: flex; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

/* === HERO === */
.hero {
  padding: 3rem 0 2rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, oklch(0.65 0.15 160 / 0.12), transparent);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: oklch(0.65 0.15 160 / 0.12);
  border: 1px solid oklch(0.65 0.15 160 / 0.3);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 span { color: var(--primary); }
.hero-desc { font-size: 1.05rem; color: var(--muted-text); max-width: 680px; margin-bottom: 1.5rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.hero-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted-text); }
.hero-stat svg { color: var(--primary); }

/* === CALCULATOR WIDGET === */
.calc-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}
.calc-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}
.calc-widget-title .icon { color: var(--primary); font-size: 1.2rem; }

/* Grade rows */
.grades-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.grade-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideIn 0.2s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.grade-row label { font-size: 0.8rem; color: var(--muted-text); min-width: 80px; }
.grade-input-group { display: flex; align-items: center; gap: 0.5rem; flex: 1; }

.calc-input {
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 0.6rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.calc-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px oklch(0.65 0.15 160 / 0.2);
}
.calc-input::placeholder { color: var(--muted-text); }
.calc-input.grade-field { max-width: 90px; text-align: center; font-weight: 600; font-size: 1rem; }
.calc-input.weight-field { max-width: 80px; text-align: center; }
.calc-input.points-field { max-width: 120px; }
.calc-input.semester-field { max-width: 100px; text-align: center; }

.btn-remove {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted-text);
  border-radius: 0.5rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-remove:hover { border-color: oklch(0.65 0.2 20); color: oklch(0.65 0.2 20); background: oklch(0.65 0.2 20 / 0.1); }

/* Select for grade with +/- */
.grade-select {
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 0.6rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-family: var(--font);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2370a0b0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  min-width: 110px;
  transition: border-color 0.2s;
}
.grade-select:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px oklch(0.65 0.15 160 / 0.2); }
.grade-select option { background: var(--card); color: var(--text); }

/* Buttons */
.calc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px oklch(0.65 0.15 160 / 0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--muted);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: oklch(0.26 0.01 200); }
.btn-accent {
  background: var(--accent);
  color: oklch(0.15 0.01 200);
  font-weight: 700;
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--muted-text);
  border: 1px dashed var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: oklch(0.65 0.15 160 / 0.08); }

/* Result display */
.calc-result {
  background: oklch(0.65 0.15 160 / 0.08);
  border: 1px solid oklch(0.65 0.15 160 / 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  display: none;
  animation: fadeIn 0.3s ease;
}
.calc-result.visible { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.result-label { font-size: 0.8rem; color: var(--muted-text); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.25rem; }
.result-avg { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.result-grade { font-size: 1rem; color: var(--muted-text); margin-bottom: 1rem; }
.result-grade strong { color: var(--accent); font-size: 1.1rem; }
.result-bar { height: 8px; background: var(--muted); border-radius: 100px; overflow: hidden; margin-bottom: 0.5rem; }
.result-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.result-hint { font-size: 0.85rem; color: var(--muted-text); }
.result-hint.honor { color: var(--accent); font-weight: 600; }

/* Threshold table */
.threshold-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin: 1rem 0; }
.threshold-table th { background: var(--muted); color: var(--muted-text); font-weight: 600; padding: 0.6rem 0.75rem; text-align: left; font-size: 0.8rem; letter-spacing: 0.03em; }
.threshold-table td { padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--border); }
.threshold-table tr:last-child td { border-bottom: none; }
.threshold-table input { max-width: 70px; }
.grade-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
}
.grade-6 { background: oklch(0.65 0.15 160 / 0.2); color: var(--primary-light); }
.grade-5 { background: oklch(0.80 0.16 85 / 0.2); color: var(--accent); }
.grade-4 { background: oklch(0.65 0.18 230 / 0.2); color: oklch(0.75 0.15 230); }
.grade-3 { background: oklch(0.65 0.15 280 / 0.2); color: oklch(0.75 0.12 280); }
.grade-2 { background: oklch(0.65 0.18 50 / 0.2); color: oklch(0.75 0.15 50); }
.grade-1 { background: oklch(0.55 0.2 20 / 0.2); color: oklch(0.65 0.2 20); }

/* === CONTENT SECTIONS === */
.content-section { padding: 4rem 0; }
.content-section h2 { color: var(--text); position: relative; padding-bottom: 0.75rem; margin-bottom: 1.5rem; }
.content-section h2::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.content-section p, .content-section li { color: oklch(0.85 0.01 200); }
.content-section strong { color: var(--text); }

/* Highlight box */
.highlight-box {
  background: oklch(0.65 0.15 160 / 0.07);
  border-left: 3px solid var(--primary);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.highlight-box p { margin-bottom: 0; color: oklch(0.88 0.01 200); }

/* Step list */
.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}
.step-list li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Example boxes */
.example-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.example-card h3 { color: var(--primary-light); margin-bottom: 0.75rem; }
.example-grades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.example-grade-chip {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.example-result {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: oklch(0.65 0.15 160 / 0.1);
  border-radius: 0.6rem;
  font-weight: 600;
  color: var(--primary-light);
}

/* === FAQ ACCORDION === */
.faq-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: oklch(0.35 0.02 200); }
.faq-item.open { border-color: oklch(0.65 0.15 160 / 0.4); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  user-select: none;
  transition: color 0.2s;
  list-style: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted-text);
  transition: all 0.3s;
  font-size: 1rem;
  line-height: 1;
}
.faq-item.open .faq-icon { border-color: var(--primary); color: var(--primary); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: oklch(0.85 0.01 200);
  font-size: 0.9rem;
  line-height: 1.65;
}
.faq-answer a { color: var(--primary); }
.faq-item.open .faq-answer { display: block; }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted-text);
  padding: 0.75rem 0;
}
.breadcrumb a { color: var(--muted-text); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--primary-light); font-weight: 500; }

/* === FOOTER === */
.site-footer {
  background: oklch(0.13 0.01 200);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; color: var(--muted-text); line-height: 1.6; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-text); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: oklch(0.65 0.02 200); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-light); }

/* Social icons */
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0.6rem;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--muted-text);
  transition: all 0.2s;
  text-decoration: none;
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }
.social-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted-text);
}
.footer-bottom a { color: var(--muted-text); }
.footer-bottom a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 550px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: oklch(0.65 0.15 160 / 0.5); transform: translateY(-2px); }
.card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text); }
.card p { font-size: 0.875rem; color: var(--muted-text); margin-bottom: 1rem; }
.card-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 0.3rem; }
.card-link:hover { gap: 0.5rem; }

/* Author page */
.author-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  margin: 2rem 0;
}
.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), oklch(0.55 0.18 200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  border: 3px solid oklch(0.65 0.15 160 / 0.4);
}
.author-info h2 { margin-top: 0; }
.author-role { color: var(--primary-light); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; }
.author-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.author-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--muted-text); background: var(--muted); padding: 0.3rem 0.7rem; border-radius: 100px; }

@media (max-width: 600px) {
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .author-meta { justify-content: center; }
}

/* Contact form */
.contact-form { max-width: 580px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-group textarea { height: 150px; resize: vertical; }
.form-success {
  display: none;
  padding: 1.25rem;
  background: oklch(0.65 0.15 160 / 0.1);
  border: 1px solid oklch(0.65 0.15 160 / 0.4);
  border-radius: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
  text-align: center;
}
.form-success.visible { display: block; }

/* Utility */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-text); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.flex { display: flex; }
.gap-2 { gap: 0.5rem; }
.items-center { align-items: center; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* Skip link accessibility */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary); color: white; padding: 0.5rem 1rem; z-index: 1000; border-radius: 0 0 0.5rem 0; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* Page not prose layout: two-col */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Sticky sidebar */
.sticky-widget { position: sticky; top: 80px; }

/* Prose inner links */
.prose a { color: var(--primary); border-bottom: 1px solid oklch(0.65 0.15 160 / 0.3); }
.prose a:hover { color: var(--primary-light); border-bottom-color: var(--primary); }
