/* AeroShorts: white page, generous whitespace, hairline dividers; brand yellow only as highlighter and primary accents */
:root {
  --bg: #ffffff;
  --soft: #f5f5f3;
  --line: #e7e7e4;
  --fg: #111214;
  --muted: #6b6e73;
  --yellow: #ffd21f;
  --ink: #0f1011;
  --good: #1f9d55;
  --bad: #d6453a;
  --display: "Archivo", "Arial Black", Helvetica, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); padding-inline: 20px; padding-block: 0 56px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; }
main { display: grid; gap: 112px; padding-block: 40px 112px; }

.mark { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%); padding: 0 .06em; }
.label { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
a.label:hover { color: var(--fg); }
.link { font-weight: 600; border-bottom: 1.5px solid var(--fg); padding-bottom: 1px; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--body); padding: 14px 22px; border-radius: 999px; background: var(--fg); color: #fff; border: 0; cursor: pointer; }
.btn.y { background: var(--yellow); color: var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn.sm { padding: 10px 16px; font-size: 14px; }
.pill { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; justify-self: start; }
.pill.free { background: #e9f7ee; color: #1b7a43; }
.empty { color: var(--muted); padding-block: 32px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; }

/* nav + footer */
.nav { display: flex; align-items: center; gap: 36px; padding-block: 26px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); font-stretch: 112%; letter-spacing: .02em; }
.links { display: flex; gap: 28px; color: var(--muted); font-weight: 500; flex-wrap: wrap; }
.links a:hover, .links a.on { color: var(--fg); }
.nav .right { margin-left: auto; }
.footer { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.flinks { display: flex; gap: 16px; flex-wrap: wrap; }
.flinks a:hover { color: var(--fg); }

/* section heads */
.sh { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.sh h2, .quiz h2 { font: 800 clamp(28px, 3.4vw, 40px)/1.05 var(--display); letter-spacing: -.01em; margin: 8px 0 0; text-wrap: balance; }
.pagehead h1, .quizpage h1 { font: 800 clamp(38px, 5.4vw, 64px)/1 var(--display); letter-spacing: -.02em; margin: 14px 0 16px; text-wrap: balance; }
.pagehead { display: grid; justify-items: start; }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font: 800 clamp(44px, 6.6vw, 82px)/.97 var(--display); letter-spacing: -.02em; margin: 18px 0 24px; text-wrap: balance; }
.hero p { color: var(--muted); font-size: 19px; max-width: 44ch; margin: 0 0 32px; }
.yt { display: grid; gap: 14px; }
.yt h3 { margin: 0; font: 600 18px/1.35 var(--body); }
.thumb { aspect-ratio: 16/9; max-width: 100%; background: var(--ink) center/cover no-repeat; border-radius: 16px; position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; padding: 16px; }
.thumb b { font: 800 clamp(20px, 2.6vw, 30px)/1 var(--display); color: var(--yellow); text-align: center; text-wrap: balance; }
.thumb .play { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; font: 500 12px var(--mono); background: rgba(0,0,0,.6); padding: 6px 10px; border-radius: 999px; }
.thumb .play i { width: 0; height: 0; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* offer */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.of { padding: 28px 24px 28px 0; display: grid; gap: 10px; align-content: start; }
.of + .of { padding-left: 24px; border-left: 1px solid var(--line); }
.of h3 { margin: 6px 0 0; font: 800 22px/1.1 var(--display); }
.of p { margin: 0; color: var(--muted); font-size: 15px; }

/* posts */
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chip { padding: 8px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 500; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.chip.on { background: var(--fg); color: #fff; box-shadow: none; }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 16px; }
.posts.three { grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.post { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); align-content: start; min-width: 0; }
.post h3 { margin: 0; font: 600 20px/1.3 var(--body); text-wrap: balance; }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.post p { margin: 0; color: var(--muted); font-size: 15px; max-width: 56ch; }
.post .top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post .vid { font: 500 12px var(--mono); color: var(--muted); }
.more { margin-top: 28px; display: flex; justify-content: center; }
.pager { margin-top: 32px; display: flex; justify-content: center; align-items: center; gap: 20px; }

/* videos */
.vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.v { display: grid; gap: 10px; align-content: start; min-width: 0; }
.v .thumb { border-radius: 12px; }
.v .thumb b { font-size: 17px; }
.v h4 { margin: 0; font: 500 15px/1.4 var(--body); }

/* quiz */
.quiz, .quizpage { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.quizpage { align-items: start; }
.quiz > div > p { color: var(--muted); margin: 10px 0 24px; max-width: 42ch; }
.qlist { display: grid; margin: 0 0 28px; padding: 0; list-style: none; }
.qlist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qlist li a:hover { text-decoration: underline; }
.qlist li span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.qcard { background: var(--soft); border-radius: 20px; padding: 32px; display: grid; gap: 18px; min-width: 0; }
.qhead { display: flex; justify-content: space-between; gap: 12px; }
.progress { display: flex; gap: 6px; }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.progress i.d { background: var(--fg); }
.q { font: 600 20px/1.4 var(--body); margin: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { padding: 14px 16px; border-radius: 12px; background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); font: 500 16px/1.35 var(--body); text-align: left; cursor: pointer; color: var(--fg); }
.opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--fg); }
.opt:disabled { cursor: default; }
.opt.right { box-shadow: inset 0 0 0 2px var(--good); background: #effaf3; }
.opt.wrong { box-shadow: inset 0 0 0 2px var(--bad); color: #b3362c; }
.explain { font-size: 15px; color: #33363a; }
.qnav { display: flex; gap: 12px; flex-wrap: wrap; }
.result { font: 800 56px/1 var(--display); }
.quizcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quizcard { border-radius: 20px; padding: 28px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; gap: 10px; align-content: start; justify-items: start; }
.quizcard:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.quizcard h3 { margin: 0; font: 800 24px/1.1 var(--display); }
.quizcard p { margin: 0; color: var(--muted); font-size: 15px; }

/* newsletter */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px; background: var(--yellow); border-radius: 24px; }
.news h2 { font: 800 clamp(26px, 3vw, 34px)/1.1 var(--display); margin: 8px 0 0; }
.news .label { color: #4a3f00; }
.form { display: flex; gap: 8px; flex-wrap: wrap; }
.form input { flex: 1 1 200px; min-width: 0; border: 0; border-radius: 999px; padding: 14px 20px; font: 15px var(--body); background: #fff; color: var(--fg); }
.formmsg { margin: 12px 0 0; font-weight: 500; }

/* article */
.article { max-width: 720px; margin: 0 auto; width: 100%; display: grid; gap: 36px; }
.ahead { display: grid; gap: 14px; }
.ahead .meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.ahead h1 { font: 800 clamp(34px, 5vw, 56px)/1.03 var(--display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.ahead .lead { margin: 0; }
.cover { border-radius: 16px; width: 100%; }
.ytembed { aspect-ratio: 16/9; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--ink) center/cover no-repeat; position: relative; display: grid; place-items: center; }
.ytembed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytplay { display: grid; justify-items: center; gap: 10px; background: none; border: 0; color: #fff; font: 600 15px var(--body); cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.ytbtn { width: 72px; height: 50px; border-radius: 14px; background: #e5332a; display: grid; place-items: center; }
.ytbtn i { width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.ytnote { margin: -26px 0 0; font-size: 13px; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.75; min-width: 0; }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { font: 800 30px/1.15 var(--display); margin: 1.6em 0 .6em; letter-spacing: -.01em; }
.prose h3 { font: 600 22px/1.3 var(--body); margin: 1.4em 0 .5em; }
.prose a { border-bottom: 1.5px solid var(--yellow); }
.prose a:hover { background: var(--yellow); }
.prose img, .prose figure img { border-radius: 12px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--yellow); color: #33363a; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose code { font: 500 .9em var(--mono); background: var(--soft); padding: 2px 5px; border-radius: 4px; }
.prose iframe { max-width: 100%; }
.aquiz { background: var(--soft); border-radius: 20px; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.aquiz h2 { margin: 0; font: 800 26px/1.1 var(--display); }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #1f62a3; outline-offset: 3px; }

@media (max-width: 900px) {
  main { gap: 80px; }
  .hero, .quiz, .quizpage, .news { grid-template-columns: 1fr; gap: 36px; }
  .posts, .posts.three { grid-template-columns: 1fr; }
  .vids { grid-template-columns: 1fr 1fr; }
  .quizcards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav { gap: 14px 20px; padding-block: 18px; }
  .nav .right .subscribe { display: none; }
  .links { width: 100%; gap: 22px; }
  .offer, .quizcards { grid-template-columns: 1fr; }
  .of, .of + .of { padding-left: 0; border-left: 0; }
  .of + .of { border-top: 1px solid var(--line); }
  .news, .qcard { padding: 24px; }
  .opts { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.ytplay span:last-child { background: rgba(0,0,0,.72); padding: 5px 12px; border-radius: 999px; text-shadow: none; }
