/* AcademicXpress — site styles */
:root {
  --navy: #13294b;
  --navy-700: #0d1d36;
  --teal: #2a9d96;
  --teal-600: #218a83;
  --teal-50: #e8f5f4;
  --ink: #1b2433;
  --muted: #5a6577;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 41, 75, .06), 0 8px 24px rgba(19, 41, 75, .06);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(42, 157, 150, .28); }
.btn-primary:hover { background: var(--teal-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: #25d366; color: #0b3d1f; }
.btn-whatsapp:hover { background: #1fbe5a; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Logo: crops the supplied square logo image to its content */
.logo {
  --h: 46px;
  display: block; height: var(--h); width: calc(var(--h) * 818 / 268);
  overflow: hidden; position: relative; flex: none;
}
.logo img {
  position: absolute; max-width: none;
  width: calc(var(--h) * 1024 / 268);
  left: calc(var(--h) * -102 / 268);
  top: calc(var(--h) * -378 / 268);
  filter: brightness(1.05); /* lifts the off-white background of the supplied image to pure white */
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-600); }
.nav-cta { padding: .6rem 1.1rem; font-size: .95rem; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(42, 157, 150, .14), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(19, 41, 75, .08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--teal); }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-bottom: 1rem; }
.hero-card ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.hero-card li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.hero-card li:first-child { border-top: 0; }
.hero-card li::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 10px; background: var(--teal-50);
  color: var(--teal-600); font-weight: 800; display: grid; place-items: center;
}
.hero-card strong { color: var(--navy); display: block; }
.hero-card span { color: var(--muted); font-size: .93rem; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.icon.navy { background: #e9edf4; color: var(--navy); }

/* Audiences */
.audience { padding: 36px; border-radius: 20px; }
.audience.academic { background: var(--navy); color: #d7deea; }
.audience.academic h3, .audience.academic .eyebrow { color: #fff; }
.audience.academic .eyebrow { color: #7fd3cd; }
.audience.business { background: var(--teal-50); }
.audience h3 { font-size: 1.5rem; }
.audience ul { list-style: none; padding: 0; margin: 20px 0 28px; }
.audience li { padding: 8px 0 8px 30px; position: relative; }
.audience li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 10px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg);
}
.audience.academic li::before { border-color: #7fd3cd; }
.audience.academic .btn-outline { border-color: #fff; color: #fff; }
.audience.academic .btn-outline:hover { background: #fff; color: var(--navy); }

/* Videos */
.video {
  display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff; transition: box-shadow .2s ease, transform .2s ease;
}
.video:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.video .thumb { position: relative; aspect-ratio: 16 / 9; background: #dfe5ee; }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.video .play span {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(19, 41, 75, .85);
  display: grid; place-items: center;
}
.video .play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.video .meta { padding: 16px 18px 18px; }
.video h3 { font-size: 1rem; margin: 0 0 4px; }
.video small { color: var(--muted); }

/* Integrity band */
.band {
  background: var(--navy); color: #d7deea; border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.band h2 { color: #fff; }
.band p { margin: 0; max-width: 680px; }
.band .btn-outline { border-color: #fff; color: #fff; }
.band .btn-outline:hover { background: #fff; color: var(--navy); }

/* Payments */
.pay { display: flex; gap: 18px; align-items: flex-start; }
.pay .badge {
  flex: none; font-weight: 800; font-size: 1.05rem; color: var(--navy); background: #fff;
  border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; min-width: 70px; text-align: center;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; }
.contact-list .icon { margin: 0; width: 42px; height: 42px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--teal-600); }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42, 157, 150, .15); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

/* Page header (inner pages) */
.page-hero { padding: 72px 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin: 0; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 40px 0 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat strong { display: block; font-size: 2rem; color: var(--teal); font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .93rem; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.toc a { padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; }
.toc a:hover { border-color: var(--teal); color: var(--teal-600); }

/* Footer */
.site-footer { background: var(--navy-700); color: #aeb9cc; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .logo-chip { background: #fff; border-radius: 12px; padding: 8px 12px; display: inline-block; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #aeb9cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(19, 41, 75, .08);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 4px; }
  .nav-links .nav-cta { margin-top: 8px; display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .grid-2, .grid-3, .grid-4, .stats, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .audience { padding: 26px; }
  .band { padding: 28px; }
  .form { padding: 22px; }
  .logo { --h: 40px; }
  .hero-actions .btn { width: 100%; }
}
