/* A.W.C.L. Academy: shared styles for sales page and opt-in page */
:root {
  --pine: #12302a;
  --pine-2: #1c463d;
  --chalk: #eef0eb;
  --ink: #17201c;
  --moss: #2f5d45;
  --brass: #d2a94a;
  --mist: #aebfb5;
  --line: #cdd4cc;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.measure { max-width: 62ch; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: 0.005em; }
h3 { font-size: 1.6rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* header */
.top { background: var(--pine); color: var(--chalk); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.04em; color: var(--chalk); text-decoration: none; }
.top a.nav { color: var(--brass); font-weight: 600; text-decoration: none; }
.top a.nav:hover { text-decoration: underline; }

/* buttons */
.btn {
  display: inline-block; background: var(--brass); color: var(--pine);
  font-family: var(--body); font-weight: 700; font-size: 1.05rem;
  padding: 15px 28px; border-radius: 3px; border: 0; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: #e2bc5e; color: var(--pine); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 2px var(--mist); }
.btn.ghost:hover { background: rgba(255,255,255,.08); color: var(--chalk); }
.btn.dark { background: var(--pine); color: var(--chalk); }
.btn.dark:hover { background: var(--pine-2); color: var(--chalk); }

/* hero */
.hero { background: var(--pine); color: var(--chalk); padding-block: clamp(48px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero h1 { font-size: clamp(3.6rem, 10vw, 7.2rem); font-weight: 900; line-height: .92; margin-bottom: 28px; }
.hero .lede { font-size: 1.2rem; color: #d8dfd8; max-width: 34ch; margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .fine { margin-top: 18px; font-size: .9rem; color: var(--mist); }

.ladder { margin: 0; padding: 0; list-style: none; font-family: var(--display); font-weight: 900; line-height: .9; text-transform: none; }
.ladder li { display: block; letter-spacing: .01em; }
.ladder .s1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--mist); font-weight: 600; }
.ladder .s2 { font-size: clamp(2.6rem, 6vw, 4.2rem); color: #c3d0c7; font-weight: 700; }
.ladder .s3 { font-size: clamp(3.8rem, 9vw, 6.4rem); color: var(--chalk); font-weight: 800; }
.ladder .s4 { font-size: clamp(5.2rem, 13vw, 9.2rem); color: var(--brass); }
.ladder-cap { margin: 18px 0 0; font-size: .95rem; color: var(--mist); max-width: 36ch; }

@media (prefers-reduced-motion: no-preference) {
  .ladder li { opacity: 0; transform: translateY(22px); animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; }
  .ladder .s1 { animation-delay: .15s; }
  .ladder .s2 { animation-delay: .4s; }
  .ladder .s3 { animation-delay: .65s; }
  .ladder .s4 { animation-delay: .9s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* sections */
section { padding-block: clamp(48px, 7vw, 88px); }
section + section { border-top: 1px solid var(--line); }
.hero + section { border-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.two h3 { margin-bottom: 14px; }
.fit { margin: 0; padding: 0; list-style: none; }
.fit li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.fit li:last-child { border-bottom: 1px solid var(--line); }
.fit.yes li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 10px; height: 10px; background: var(--moss); border-radius: 50%; }
.fit.no li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 10px; height: 10px; border: 2px solid #8a948d; border-radius: 50%; }

.chapters { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: ch; max-width: 760px; }
.chapters li { counter-increment: ch; display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.chapters li:last-child { border-bottom: 1px solid var(--line); }
.chapters li::before { content: counter(ch); font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--moss); grid-row: span 2; }
.chapters h3 { font-size: 1.55rem; }
.chapters p { margin: 0; color: #36423c; }

/* offer */
.offer { background: #e3e8e1; }
.offer .wrap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.cover {
  aspect-ratio: 3 / 4; background: var(--pine); color: var(--chalk);
  padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between;
  border-left: 10px solid var(--brass); box-shadow: 14px 16px 0 rgba(18,48,42,.16);
  max-width: 300px;
}
.cover .c-brand { font-family: var(--display); font-weight: 800; letter-spacing: .06em; font-size: 1.05rem; color: var(--brass); }
.cover .c-title { font-family: var(--display); font-weight: 900; font-size: 2.9rem; line-height: .92; }
.cover .c-sub { font-size: .8rem; color: var(--mist); line-height: 1.4; }
.get { list-style: none; margin: 18px 0 26px; padding: 0; }
.get li { padding: 8px 0 8px 26px; position: relative; }
.get li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 12px; height: 6px; border-left: 3px solid var(--moss); border-bottom: 3px solid var(--moss); transform: rotate(-45deg); }
.price { font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; margin: 6px 0 4px; }
.price small { font-family: var(--body); font-weight: 400; font-size: .95rem; color: #4a564f; margin-left: 8px; }

/* author */
.author { max-width: 62ch; }
.author h2 { margin-bottom: 20px; }

/* opt-in */
.optin { background: var(--pine); color: var(--chalk); }
.optin .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.optin h2 { margin-bottom: 14px; }
.optin p { color: #d8dfd8; }
.form { display: grid; gap: 12px; }
.form label { font-weight: 600; font-size: .95rem; }
.form input[type=email], .form input[type=text] {
  width: 100%; padding: 14px 14px; font: inherit; border: 2px solid var(--mist);
  border-radius: 3px; background: var(--chalk); color: var(--ink);
}
.form input:focus { outline: 3px solid var(--brass); outline-offset: 2px; }
.form .consent { font-size: .85rem; color: var(--mist); line-height: 1.5; margin: 0; }
.form .consent a { color: var(--brass); }

/* faq */
details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 760px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.5rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--body); font-weight: 400; color: var(--moss); }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; color: #36423c; max-width: 62ch; }

/* closing + footer */
.closing { background: var(--pine); color: var(--chalk); text-align: left; }
.closing h2 { margin-bottom: 18px; }
.closing p { color: #d8dfd8; max-width: 48ch; }
footer { background: #0d221e; color: var(--mist); padding-block: 36px; font-size: .85rem; line-height: 1.6; }
footer p { max-width: 80ch; }
footer a { color: var(--brass); }

/* planner preview (opt-in page) */
.sheet { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--chalk); color: var(--ink); }
.sheet caption { text-align: left; font-size: .85rem; color: var(--mist); padding-bottom: 10px; caption-side: top; }
.sheet th, .sheet td { padding: 9px 12px; border: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.sheet th:first-child, .sheet td:first-child { text-align: left; }
.sheet thead th { background: #dfe5dd; font-weight: 700; }
.sheet tr.total td { font-weight: 700; background: #e9eee7; }

@media (max-width: 820px) {
  .hero .wrap, .two, .offer .wrap, .optin .wrap { grid-template-columns: 1fr; }
  .offer .cover { max-width: 240px; }
  .ladder-cap { max-width: none; }
}

/* articles */
.article { max-width: 70ch; padding-block: clamp(36px, 6vw, 72px); }
.article h1 { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; margin-bottom: 12px; }
.article h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 1.8em 0 .5em; }
.article .byline { color: #4a564f; font-size: .92rem; margin-bottom: 2em; }
.article table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .97rem; }
.article th, .article td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article thead th { background: #dfe5dd; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: .35em 0; }
.post-cta { margin: 2em 0; padding: 24px 26px; background: var(--pine); color: var(--chalk); }
.post-cta p { margin: 0 0 14px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.article .note { font-size: .85rem; color: #4a564f; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }
.bloglist { list-style: none; padding: 0; margin: 28px 0 0; }
.bloglist li { padding: 18px 0; border-top: 1px solid var(--line); }
.bloglist a { font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.bloglist p { margin: 6px 0 0; color: #36423c; }
