/* StudyLINQ marketing site */
:root {
  --navy: #12304d; --navy-2: #0d2439; --brand: #265a88; --brand-d: #1b4266; --tint: #e6eef6;
  --ink: #1c2731; --ink-2: #3a4552; --muted: #56616e; --line: #dfe5ec; --canvas: #f4f6f8;
  --ok: #067647; --bad: #b42318; --bad-bg: #fef3f2; --amber: #fdc23e;
  --serif: "Slabo 27px", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.5; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-d); }
:focus-visible { outline: 3px solid #4e9bd1; outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Moved sign-in banner */
.moved { background: var(--amber); color: var(--ink); font-size: 15px; text-align: center; padding: 11px 24px; }
.moved a { color: var(--ink); font-weight: 700; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.signin { color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; padding: 12px 8px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 14px; border: 1px solid #c3ced9; border-radius: 8px; display: flex; align-items: center; font-weight: 700; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(16,24,40,.14); padding: 8px; min-width: 240px; display: flex; flex-direction: column; }
.menu-panel a { padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu-panel a:hover { background: var(--canvas); }
@media (max-width: 1040px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 560px) { .signin, .header-actions .btn { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.btn:hover { background: var(--brand-d); color: #fff; }
.btn-sm { min-height: 44px; font-size: 15px; }
.btn-lg { min-height: 56px; font-size: 17px; padding: 0 28px; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #c3ced9; }
.btn-ghost:hover { background: var(--canvas); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Type */
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; }
h3 { margin: 0; color: var(--ink); }
.h3-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.lead { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.lead-lg { font-size: 20px; }
.measure { max-width: 780px; }
.prose { max-width: 780px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin-top: 48px; font-size: clamp(26px, 2.6vw, 34px); }
.prose h3 { margin-top: 28px; font-size: 20px; }
.prose p, .prose ul { margin: 14px 0 0; }
.small { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 18px 0 0; }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-canvas { background: var(--canvas); }
.hero { background: linear-gradient(180deg, var(--canvas) 0%, #fff 100%); padding: 80px 0 64px; }
.page-hero { background: linear-gradient(180deg, var(--canvas) 0%, #fff 100%); padding: 64px 0 48px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split-top { align-items: flex-start; }
.split > .col-text { flex: 1 1 400px; min-width: 0; }
.split > .col-media { flex: 1 1 540px; min-width: 0; }
.split.reverse { flex-direction: row-reverse; }
.stack-xl { display: flex; flex-direction: column; gap: 112px; }
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-sec { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 20px; }
@media (max-width: 400px) { .grid-3 { grid-template-columns: 1fr; } }

.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 18px 40px rgba(16,24,40,.12); background: #fff; }
.shot-caption { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.checks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.checks svg { flex: 0 0 auto; margin-top: 3px; }
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trust li { display: flex; gap: 8px; }

.stats { background: var(--navy); padding: 44px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.stat-num { margin: 0; font-family: var(--serif); font-size: 44px; line-height: 1; color: #fff; }
.stat-label { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: #c9d8e7; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 20px; line-height: 1.3; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.card .more { font-weight: 700; text-decoration: none; margin-top: auto; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.sec-item { display: flex; gap: 16px; align-items: flex-start; }
.sec-item h3 { margin: 2px 0 6px; font-size: 18px; }
.sec-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.problems { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.problems li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.problems strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.x { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--bad-bg); color: var(--bad); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* Comparison */
.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 8px; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 18px; font-size: 15px; line-height: 1.5; }
.cmp thead th { font-size: 16px; }
.cmp thead th.us { color: #fff; background: var(--brand); border-radius: 10px 10px 0 0; }
.cmp tbody th, .cmp tbody td { border-top: 1px solid var(--line); }
.cmp tbody th { color: var(--ink); width: 18%; }
.cmp td { color: var(--ink-2); width: 26%; }
.cmp td.us { color: var(--ink); background: var(--tint); font-weight: 600; width: 30%; }

/* Pricing */
.price-card { flex: 1 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: 0 10px 28px rgba(16,24,40,.07); }
.price-main { margin: 8px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price-main .num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--ink); }
.price-sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.price-sub .num { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink); }
.price-sub p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.price-card .checks { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.examples { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.examples th, .examples td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.examples thead th { border-top: 0; background: var(--canvas); font-size: 14px; color: var(--muted); }
.examples td.num { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Testimonials */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.quote figcaption { font-size: 15px; color: var(--ink-2); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 700; color: var(--ink); }
.faq details p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* CTA + footer */
.cta { background: var(--navy); padding: 88px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; }
.cta .lead { color: #c9d8e7; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-side p { margin: 0; font-size: 14px; color: #c9d8e7; }
.cta-side a:not(.btn) { color: #fff; }
.site-footer { background: var(--navy-2); color: #c9d8e7; padding: 56px 0 32px; font-size: 14px; }
.site-footer a { color: #c9d8e7; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-title { margin: 0 0 10px; font-weight: 700; color: #fff; }
.footer-brand { margin: 0; font-family: var(--serif); font-size: 24px; color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-grid address { font-style: normal; line-height: 1.8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #23415e; }

.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.steps { counter-reset: step; list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.steps strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
