/* Shared by coursemark.co's marketing pages (home, features, buy, welcome, changelog, marketplace).
   Page-specific styles stay in each page. */
/* Course Mark's brand: soft charcoal, pink grapefruit and pastels, Outfit + Hanken Grotesk */
:root {
  --surface: #ffffff; --raised: #ffffff; --stone: #f7f6f4; --line: #eceae6; --outline: #d9d6d0;
  --ink: #302e33; --body: #55535a; --muted: #6f6d73;
  --grapefruit: #ffa79b; --grapefruit-wash: #ffe9e5; --butter: #f7dc8c; --butter-wash: #fdf5dc; --pistachio: #cfe3b8;
  --aqua: #c4e7e2; --aqua-wash: #e3f3f0; --sky: #b4d9f6; --sky-wash: #e6f3fd; --lilac: #dcd3f2; --lilac-wash: #efeafa; --pistachio-wash: #edf5e4;
  --head: 'Outfit', system-ui, sans-serif;
  /* older names some page styles still use */
  --drop: var(--grapefruit); --drop-deep: var(--ink); --lagoon: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--head); font-weight: 500; }
a { color: var(--ink); text-decoration-color: var(--grapefruit); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, 4vw); padding-right: max(16px, 4vw); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 99px; font-weight: 600; text-decoration: none; transition: filter .15s, transform .15s, background-color .15s; }
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
/* Course Mark's buttons: charcoal with white text; outlined for the second choice */
.btn-drop, .btn-ink { background: var(--ink); color: #ffffff; }
.btn-line { border: 1px solid var(--outline); background: var(--raised); color: var(--ink); }
.btn-line:hover { filter: none; background: var(--stone); }
.btn-grapefruit { background: var(--grapefruit); color: var(--ink); }
.drop-shape { border-radius: 24px; }
/* the logo: a grapefruit circle and a charcoal dot, then the name in lowercase */
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-size: 27px; font-weight: 500; line-height: 1; letter-spacing: -.035em; color: var(--ink); text-decoration: none; white-space: nowrap; }
/* the official logo (mark + wordmark), its height set by the .logo font size */
.logo img { display: block; height: 1.3em; width: auto; }
/* "Intro price" next to Course Mark's price: $97 CAD is an introductory price */
.intro-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--butter); color: var(--ink); font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.intro-note { color: var(--body); font-size: 15px; }
/* small pill labels above headings, each section its own colour */
.kicker { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 99px; background: var(--grapefruit-wash); color: var(--ink); font-weight: 500; font-size: 14px; }
.kicker.k-lilac { background: var(--lilac); }
.kicker.k-pistachio { background: var(--pistachio); }
.kicker.k-sky { background: var(--sky); }
.kicker.k-butter { background: var(--butter); }
.kicker.k-aqua { background: var(--aqua); }
.kicker.k-grapefruit { background: var(--grapefruit); }
/* Example-site screenshots sit in a pastel browser window (.pastel-win, colour from --win) and
   carry a tilted sticker saying what they show (.stk, colour from --stk, angle from --tilt),
   so Course Mark's colours stay around the example courses' own photos and colours. */
.pastel-win { position: relative; background: var(--win, var(--lilac)); border-radius: 16px; padding: 0 8px 8px; }
.pastel-win-bar { display: flex; gap: 6px; padding: 11px 6px; }
.pastel-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffffff; }
.pastel-win img { display: block; width: 100%; border-radius: 10px; }
.stk { position: absolute; z-index: 3; padding: 7px 14px; border-radius: 99px; background: var(--stk, var(--butter)); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 20px rgba(48,46,51,.14); transform: rotate(var(--tilt, -4deg)); pointer-events: none; }
/* Drawn mockups of Course Mark's own screens get a thick pastel outline instead (colour from --win).
   !important because each page's own card styles set a border and shadow and load after this file. */
.pastel-ring { border-color: transparent !important; box-shadow: 0 0 0 8px var(--win, var(--lilac)), 0 24px 50px rgba(48,46,51,.10) !important; }
@media (max-width: 640px) { .stk { padding: 6px 12px; font-size: 13px; } .pastel-ring { box-shadow: 0 0 0 6px var(--win, var(--lilac)), 0 18px 36px rgba(48,46,51,.10) !important; } }

.topbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.topbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.topbar nav a { color: var(--body); text-decoration: none; }
.topbar nav a:not(.btn):hover, .nav-drop-btn:hover { color: var(--ink); }
.topbar .login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--outline); border-radius: 99px; color: var(--ink); }
.menu-btn { display: none; }
.topbar .buy { min-height: 44px; padding: 0 18px; border-radius: 99px; font-size: 15px; color: #ffffff; }
/* the header across the top of the pages that don't open with a hero */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
/* Features dropdown */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--body); font: inherit; font-weight: 600; cursor: pointer; }
.nav-drop-btn svg { transition: transform .2s; }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.topbar nav > a[aria-current="page"], .nav-drop-btn[data-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--grapefruit); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-drop-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.nav-drop-menu { display: none; position: absolute; z-index: 30; top: calc(100% + 6px); left: -18px; width: 300px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); box-shadow: 0 18px 40px rgba(48,46,51,.12); }
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop.is-open .nav-drop-menu { display: block; }
.topbar nav .nav-drop-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.nav-drop-menu a:hover, .nav-drop-menu a[aria-current="page"] { background: var(--stone); }
.nav-drop-menu a[aria-current="page"] strong::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--grapefruit); vertical-align: middle; }
.nav-drop-menu a:first-child { margin-bottom: 9px; position: relative; }
.nav-drop-menu a:first-child::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -5px; height: 1px; background: var(--line); }
.nav-drop-menu strong { display: block; font-size: 15px; font-weight: 600; }
.nav-drop-menu span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.topbar nav .nav-drop-menu a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
/* phones: a menu button opens the links as a panel under the header */
@media (max-width: 760px) {
  .logo { font-size: 23px; }
  .topbar { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--outline); background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .menu-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }
  .topbar nav { display: none; position: absolute; z-index: 20; top: 100%; left: max(16px, 4vw); right: max(16px, 4vw); flex-direction: column; align-items: stretch; gap: 0; margin-top: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); box-shadow: 0 18px 40px rgba(48,46,51,.16); font-size: 18px; }
  .topbar nav.is-open { display: flex; }
  .topbar nav a { display: flex; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 10px; color: var(--ink); }
  .topbar nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .topbar nav a:not(.btn):hover { background: var(--stone); }
  .topbar nav a + a:not(.btn) { border-top: 1px solid var(--line); }
  .topbar .login { border: 0; border-radius: 10px; padding: 0 12px; }
  .topbar .buy { display: flex; justify-content: center; min-height: 52px; margin-top: 8px; font-size: 17px; }
  .topbar nav a + a.buy { border-top: 0; }
  .nav-drop-btn { display: flex; width: 100%; min-height: 52px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 18px; justify-content: space-between; }
  .nav-drop-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .nav-drop + a { border-top: 1px solid var(--line); }
  .topbar nav a + .nav-drop { border-top: 1px solid var(--line); }
  .nav-drop-menu { position: static; width: auto; margin: 0 0 8px; padding: 4px 0 4px 12px; border: 0; border-left: 2px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
  .nav-drop-menu::before { display: none; }
  .topbar nav .nav-drop-menu a { min-height: 0; display: block; padding: 8px 12px; border: 0; }
  .nav-drop-menu a:first-child { margin-bottom: 0; }
  .nav-drop-menu a:first-child::after { display: none; }
  .topbar nav .nav-drop-menu a + a { border-top: 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .topbar nav.is-open { animation: menuin .22s ease-out; }
  @keyframes menuin { from { opacity: 0; transform: translateY(-8px); } }
}
/* make it / publish it / sell it */
.step { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 112px; }
.step.flip { flex-wrap: wrap-reverse; }
.step > * { flex: 1 1 440px; min-width: 0; }
.step h2 { margin-bottom: 18px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -.04em; }
.step p.body { font-size: 19px; color: var(--body); }
/* the footer: footer.css */

@media (max-width: 640px) { .step { padding-top: 80px; gap: 32px; } }
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  html.js .reveal.in { opacity: 1; transform: none; }
  /* stickers pop on just after their screenshot arrives. They wait smaller, not larger,
     so a sticker near the edge never makes a phone's page wider before it's revealed. */
  html.js .reveal .stk { opacity: 0; transform: rotate(var(--tilt, -4deg)) scale(.8); transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.5,.5,1); transition-delay: calc(var(--d, 0s) + .6s); }
  html.js .reveal.in .stk { opacity: 1; transform: rotate(var(--tilt, -4deg)); }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
