:root {
  --blue: #184f9c;
  --blue-dark: #11366b;
  --teal: #007f7a;
  --warm: #f7efe4;
  --gold: #f4b63f;
  --aqua: #61d4c8;
  --ink: #203040;
  --muted: #5d6b78;
  --line: #dce4ea;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(26, 55, 88, 0.13);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.review-bar { padding: .55rem 1rem; text-align: center; color: #fff; background: #111827; font-size: .88rem; }
.review-bar a { color: #fff; margin: 0 .35rem; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand img { width: 148px; }
.brand span { max-width: 230px; color: var(--muted); font-size: .82rem; line-height: 1.25; font-weight: 500; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { padding: .64rem .72rem; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 800; border-radius: 6px; }
.nav a:hover { color: var(--blue); background: var(--soft); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .72rem 1.05rem; color: #fff; background: var(--blue); border: 2px solid var(--blue); border-radius: 6px; font-weight: 800; text-decoration: none; }
.button.secondary { color: var(--blue); background: #fff; border-color: #bad0e8; }
.button.gold { color: #1f2933; background: var(--gold); border-color: var(--gold); }
.hero { position: relative; min-height: 680px; display: grid; align-items: center; isolation: isolate; overflow: hidden; color: #fff; background: #173f6f; }
.hero:before { content: ""; position: absolute; inset: 0; z-index: -3; background: url("images/StudyActivity.jpg") center / cover no-repeat; transform: scale(1.02); }
.hero:after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(13,45,77,.9), rgba(13,45,77,.58) 48%, rgba(44,23,17,.2)); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, black, transparent 72%); }
.hero-content { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 6.5rem 0 5rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--teal); font-size: .82rem; font-weight: 900; text-transform: uppercase; }
.hero .eyebrow { color: #d7f5f2; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1 { max-width: 800px; font-size: clamp(2.7rem, 7vw, 5.8rem); }
h2 { color: var(--blue-dark); font-size: clamp(1.85rem, 4vw, 2.8rem); }
h3 { font-size: 1.15rem; }
.hero-copy { max-width: 730px; margin: 1.15rem 0 0; color: #edf6ff; font-size: 1.16rem; }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.55rem; }
section { padding: 4.7rem 0; }
.soft { background: var(--soft); }
.warm { background: var(--warm); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem; margin-bottom: 1.6rem; }
.section-intro p { max-width: 680px; margin: .65rem 0 0; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .feature, .faq, .ai-helper, .meta-panel, .template-card { padding: 1.22rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 26px rgba(16,42,67,.06); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 1rem; }
.card p, .feature p, .faq p, .template-card p { margin: .55rem 0 0; color: var(--muted); }
.feature { border-left: 4px solid var(--teal); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px,.95fr); gap: 2rem; align-items: center; }
.split img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.trust-grid { display: grid; grid-template-columns: repeat(5, minmax(120px,1fr)); gap: 1rem; padding: 1.2rem 0; }
.trust-item { min-height: 78px; display: grid; place-items: center; padding: .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.trust-item img { max-height: 58px; object-fit: contain; }
.link-list { display: grid; gap: .65rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.link-list a { display: block; padding: .8rem .9rem; color: var(--ink); text-decoration: none; font-weight: 800; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.breadcrumbs { margin: 0 0 1rem; color: #d7f5f2; }
.breadcrumbs a { color: #fff; }
.page-hero { padding: 4.2rem 0; color: #fff; background: linear-gradient(100deg, rgba(17,54,107,.95), rgba(0,127,122,.78)), url("images/bannerphoto1.jpg") center / cover no-repeat; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 2rem; align-items: start; }
.sidebar { position: sticky; top: 110px; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.ai-helper { border-color: #9bd5d8; background: linear-gradient(180deg, #fff, #eef8f9); }
.meta-panel { font-size: .92rem; background: #fffdf6; }
.contact-band { color: #eafcff; background: linear-gradient(100deg, var(--blue-dark), var(--teal)); }
.contact-band h2, .contact-band .eyebrow { color: #fff; }
.site-footer { padding: 2.2rem 0; color: #dfeaf5; background: #152536; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: .35rem 0; }
@media (max-width: 920px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: .9rem 0; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: .25rem; }
  .trust-grid, .cards-4, .cards-3, .split, .content-layout, .footer-grid { grid-template-columns: 1fr; }
  .section-intro { align-items: flex-start; flex-direction: column; }
  .sidebar { position: static; }
}
@media (max-width: 620px) {
  .container, .hero-content { width: min(100% - 24px, 1120px); }
  .brand img { width: 126px; }
  .nav a { white-space: nowrap; }
  .hero { min-height: 620px; }
  .hero-content { padding: 4.8rem 0 3.4rem; }
  h1 { font-size: 2.55rem; }
  section { padding: 3.2rem 0; }
  .button { width: 100%; }
}
