/* Astrion Academy front site (Wells, 10/24). Astrion's own look, kept from the Kajabi site: deep teal bar, dark navy
   hero, blue buttons, Playfair Display headings over Montserrat. One theme on purpose (the brand is a dark hero over
   light reading sections), so every color is set explicitly. */
:root {
  --navy: #161e2a; --navy-2: #1f2a3a; --teal: #127059; --blue: #2980b9; --blue-ink: #1f6694;
  --ink: #1f2328; --muted: #55606b; --line: #d8dde2; --paper: #f5f5f5; --white: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.65 "Montserrat", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); }
a:focus-visible, .button:focus-visible { outline: 3px solid #9fd0f0; outline-offset: 3px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; line-height: 1.2; text-wrap: balance; margin: 0 0 .5em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.bar { background: var(--teal); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.bar img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.bar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.bar nav a { color: var(--white); text-decoration: none; font-size: 14px; letter-spacing: .04em; }
.bar nav a:hover { text-decoration: underline; }

.hero { background: var(--navy); color: var(--white); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); }
.hero p { color: #d6dde5; max-width: 56ch; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #9fc7e3; margin: 0 0 14px; }
.hero img { border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; padding: 13px 24px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.button.ghost { background: transparent; border: 1px solid #7fa9c8; }
.button:hover { filter: brightness(1.08); }

section { padding: 64px 0; }
section.alt { background: var(--paper); }
section h2 { font-size: clamp(28px, 3.6vw, 38px); }
.lead { color: var(--muted); max-width: 62ch; }
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.method div { border-top: 3px solid var(--teal); padding-top: 14px; }
.method h3 { font-size: 22px; margin-bottom: .3em; }
.method p { margin: 0; color: var(--muted); font-size: 16px; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.offer { background: var(--white); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.offer h3 { font-size: 23px; margin: 0; }
.offer p { margin: 0; color: var(--muted); font-size: 16px; flex: 1; }
.offer img { width: 96px; height: 96px; border-radius: 50%; }
.offer a { font-weight: 700; font-size: 15px; }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.note { background: var(--white); border-left: 4px solid var(--teal); padding: 18px 22px; color: var(--muted); font-size: 15px; max-width: 75ch; }

footer { background: var(--navy); color: #c4ccd5; font-size: 14px; }
footer .wrap { padding-top: 36px; padding-bottom: 36px; display: grid; gap: 16px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--white); }
footer .disclaimer { max-width: 80ch; color: #aab4bf; font-size: 13px; line-height: 1.6; }

/* the legal pages */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); }
.doc h2 { font-size: 24px; margin-top: 1.6em; }
.doc p, .doc li { max-width: 70ch; }
.doc .updated { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero .wrap, .book { grid-template-columns: 1fr; }
  .method, .offers { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 480px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
