/* Emberjet Academy: shared styles for the home page and course sales pages. */
  /* Plus Jakarta Sans (SIL Open Font License, see /brand/fonts/OFL-plus-jakarta-sans.txt), self-hosted. */
  @font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
  @font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
  @font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

  /* Tokens. Radius system: buttons 12px, cards, tiles and images 16-20px, pills fully round. */
  :root {
    --bg: #f5f7fa; --surface: #ffffff; --surface-2: #eef2f7; --text: #121722; --muted: #4b5565; --line: #dde3ec;
    --accent: #1f4fd1; --accent-hover: #1a43b3; --accent-ink: #ffffff; --accent-soft: #e4ebfc;
    --shadow: 0 24px 60px rgb(31 79 209 / .12); --shadow-soft: 0 10px 30px rgb(18 23 34 / .07);
    --r-btn: 12px; --r-card: 18px; --max: 1180px; --ease: cubic-bezier(.16, 1, .3, 1);
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #0e1117; --surface: #151a23; --surface-2: #1b212c; --text: #edf1f7; --muted: #a4aec0; --line: #283041;
      --accent: #7a9bff; --accent-hover: #93afff; --accent-ink: #0b1020; --accent-soft: #1a2547;
      --shadow: 0 24px 60px rgb(0 0 0 / .45); --shadow-soft: 0 10px 30px rgb(0 0 0 / .35);
    }
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--text); font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img, video { display: block; max-width: 100%; height: auto; }
  a { color: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
  h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
  h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
  p { margin: 0; color: var(--muted); max-width: 62ch; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head p { margin-top: 12px; font-size: 1.06rem; }

  /* Icons: inline SVG (Phosphor, MIT). Card logos: Simple Icons (CC0). */
  i.ph { display: inline-flex; font-style: normal; line-height: 1; }
  i.ph svg { width: 1em; height: 1em; display: block; }

  /* Buttons */
  .btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 22px; border-radius: var(--r-btn); font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
         transition: transform .25s var(--ease), background-color .2s, border-color .2s; }
  .btn:active { transform: translateY(1px) scale(.98); }
  .btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
  .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
  .btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
  .btn-ghost:hover { border-color: var(--accent); }
  .btn i { font-size: 1.15em; }

  /* Navigation */
  .nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
  .brand svg { width: 30px; height: 30px; border-radius: 8px; }
  .nav-links { display: flex; align-items: center; gap: 26px; }
  .nav-links a.link { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
  .nav-links a.link:hover { color: var(--text); }
  .nav .btn { padding: 10px 16px; font-size: .95rem; box-shadow: none; }

  /* Hero: copy left, the course trailer right */
  .hero { position: relative; padding: 68px 0 48px; overflow: hidden; }
  .hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; pointer-events: none;
                  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent); }
  .hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(2.3rem, 4vw, 3.3rem); letter-spacing: -0.035em; }
  .hero .sub { margin-top: 22px; font-size: 1.16rem; max-width: 44ch; }
  .hero .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
  .trailer { position: relative; margin: 0; }
  .trailer .frame { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
  .trailer video { width: 100%; height: 100%; object-fit: cover; }
  .trailer .sound { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .35); background: rgb(11 16 32 / .62); color: #fff; font: 700 .92rem/1 inherit; font-family: inherit; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .25s var(--ease), background-color .2s; }
  .trailer .sound:hover { background: rgb(11 16 32 / .8); transform: translateY(-1px); }
  .trailer .sound i { font-size: 1.15rem; }
  .trailer.playing .sound { display: none; }
  @media (max-width: 640px) { .trailer .sound { left: 10px; bottom: 10px; padding: 7px 12px; font-size: .8rem; gap: 6px; } }
  .trailer figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); }

  /* Trust strip: true facts only */
  .trust { padding: 0 0 8px; }
  .trust ul { list-style: none; margin: 0; padding: 18px 4px; display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 14px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trust li { display: flex; align-items: center; gap: 12px; }
  .trust li > i { font-size: 1.6rem; color: var(--accent); }
  .trust strong { display: block; font-size: .9rem; line-height: 1.3; white-space: nowrap; }
  .trust span { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
  .cards { gap: 7px !important; }
  .cards svg { height: 24px; width: auto; display: block; fill: var(--text); opacity: .8; margin: -3px 0; }
  .cards svg[aria-label="Revolut"] { height: 14px; margin: 0; }

  /* Outcomes bento: real screenshots */
  .bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 20px; }
  .tile { position: relative; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
  .tile .txt { padding: 26px 28px 0; }
  .tile .txt p { margin-top: 8px; font-size: .96rem; }
  .tile-site { grid-row: span 2; }
  .tile-site .shot { position: relative; margin: 26px 28px 0; padding-bottom: 36px; flex: 1; display: flex; align-items: flex-end; }
  .tile-site .desk { border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: 0; overflow: hidden; box-shadow: var(--shadow-soft); }
  .tile-site .phone { position: absolute; right: -6px; bottom: 0; width: 28%; max-width: 170px; border: 5px solid var(--text); border-radius: 20px; overflow: hidden; background: var(--text); box-shadow: var(--shadow); }
  .tile-site .phone img { border-radius: 14px; }
  .tile-form .img { margin: 22px 28px 0; border-radius: 12px 12px 0 0; border: 1px solid var(--line); border-bottom: 0; overflow: hidden; max-height: 250px; }
  .tile-live { background: linear-gradient(140deg, #1f4fd1, #3b6ef0); border: 0; color: #fff; justify-content: space-between; }
  .tile-live .txt p { color: rgb(255 255 255 / .85); }
  .tile-live .url { margin: 22px 28px 28px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; padding: 10px 18px; font-weight: 700; }
  .tile-live .url i { font-size: 1.2rem; }
  .tile-kit { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px 32px; padding: 26px 28px; }
  .tile-kit .txt { padding: 0; }
  .kit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px; }
  .kit li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; background: var(--surface-2); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
  .kit i { color: var(--accent); font-size: 1.1rem; }

  /* Course panel */
  .label { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; }
  .course { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-soft); overflow: hidden; }
  .course-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding: 44px 48px; align-items: start; }
  .course-top h2 { max-width: 20ch; }
  .course-top .pitch { margin-top: 16px; font-size: 1.08rem; }
  .facts { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; gap: 10px; }
  .facts li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; background: var(--surface-2); border-radius: 999px; padding: 7px 14px; }
  .facts i { color: var(--accent); font-size: 1.1rem; }
  .buy { border-left: 1px solid var(--line); padding-left: 44px; }
  .buy .price { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
  .buy .terms { margin: 8px 0 24px; font-size: .95rem; }
  .buy .note { margin-top: 16px; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
  .buy .note i { color: var(--accent); font-size: 1.15rem; }
  .modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: var(--surface-2); counter-reset: mod; }
  .modules li { padding: 26px 24px 30px; counter-increment: mod; }
  .modules li + li { border-left: 1px solid var(--line); }
  .modules li::before { content: counter(mod); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
  .modules p { margin-top: 6px; font-size: .92rem; }
  @media (min-width: 981px) { .modules h3 { min-height: 2.6em; } }

  /* Free lesson: a contained media panel */
  .free-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
  .free-panel .txt { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; }
  .free-panel .lead { margin-top: 16px; font-size: 1.06rem; }
  .free-panel .btn { margin-top: 26px; align-self: flex-start; }
  .free-panel .small { margin-top: 12px; font-size: .9rem; }
  .video-link { position: relative; display: flex; align-items: center; overflow: hidden; background: #f9f8f4; }
  .video-link img { width: 100%; height: auto; transition: transform .5s var(--ease); }
  .video-link .knob { position: absolute; left: 7%; bottom: 10%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1f4fd1; color: #fff; font-size: 24px; box-shadow: 0 12px 30px rgb(31 79 209 / .35); transition: transform .3s var(--ease); }
  .video-link .knob i { margin-left: 4px; }
  .video-link:hover img { transform: scale(1.025); }
  .video-link:hover .knob { transform: scale(1.06); }

  /* Costs + how courses work: two cards */
  .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .card { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 34px 34px 30px; }
  .card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
  .card > p { margin-top: 10px; }
  .costs { margin: 22px 0 0; }
  .costs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
  .costs div + div { border-top: 1px dashed var(--line); }
  .costs dt { font-weight: 600; }
  .costs dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
  .costs .free { color: var(--accent); }
  .costs .ours dd { font-size: 1.15rem; }
  .points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
  .points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
  .points li > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.3rem; }
  .points p { margin-top: 3px; font-size: .94rem; }

  /* FAQ */
  .faq-list { display: grid; gap: 12px; max-width: 860px; }
  details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
  summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
  summary::-webkit-details-marker { display: none; }
  summary i { color: var(--accent); transition: transform .25s var(--ease); }
  details[open] summary i { transform: rotate(45deg); }
  details p { margin-top: 12px; }
  .faq-more { margin-top: 18px; font-size: .95rem; }
  .faq-more a { color: var(--accent); font-weight: 700; }
  @media (min-width: 981px) {
    #faq .wrap { display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: 0 56px; align-items: start; }
    #faq .section-head { position: sticky; top: 100px; }
    #faq .faq-list { max-width: none; }
    #faq .faq-more { grid-column: 2; }
  }

  /* Closing call to action */
  .cta { padding-top: 24px; }
  .cta-band { border-radius: 24px; padding: 54px 52px; background: linear-gradient(135deg, #1f4fd1, #3b6ef0); color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
  .cta-band p { color: rgb(255 255 255 / .86); margin-top: 12px; font-size: 1.08rem; }
  .cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-white { background: #ffffff; color: #173a9b; }
  .btn-white:hover { transform: translateY(-1px); }
  .btn-outline { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .55); }
  .btn-outline:hover { border-color: #fff; }

  footer { padding: 8px 0 56px; }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
  footer nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
  footer a { color: var(--muted); text-decoration: none; }
  footer a:hover { color: var(--text); }

  /* Motion: hero enters in reading order; sections fade up once when they come into view. */
  @media (prefers-reduced-motion: no-preference) {
    .hero .copy > * { animation: rise .8s var(--ease) both; }
    .hero .copy > *:nth-child(2) { animation-delay: .07s; }
    .hero .copy > *:nth-child(3) { animation-delay: .14s; }
    .trailer { animation: rise .9s .12s var(--ease) both; }
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
    .reveal.in { opacity: 1; transform: none; }
  }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  @media (max-width: 1180px) { .trust ul { grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 40px; } }
  /* Tablet */
  @media (max-width: 980px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
    .bento { grid-template-columns: 1fr; }
    .tile-site { grid-row: auto; }
    .tile-kit { grid-template-columns: 1fr; }
    .course-top { grid-template-columns: 1fr; gap: 32px; padding: 34px 32px; }
    .buy { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
    .modules { grid-template-columns: 1fr 1fr; }
    .modules li + li { border-left: 0; }
    .modules li { border-top: 1px solid var(--line); }
    .modules li:nth-child(-n+2) { border-top: 0; }
    .modules li:nth-child(even) { border-left: 1px solid var(--line); }
    .free-panel { grid-template-columns: 1fr; }
    .duo { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; }
  }
  /* Phone */
  @media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .nav-links a.link { display: none; }
    .nav .btn { white-space: nowrap; padding: 9px 13px; font-size: .88rem; }
    .brand { font-size: .95rem; gap: 8px; }
    .brand svg { width: 26px; height: 26px; }
    .hero { padding: 36px 0 36px; }
    .hero .sub { font-size: 1.06rem; }
    .btn { white-space: normal; }
    section { padding: 56px 0; }
    .trust ul { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 0; gap: 16px 14px; }
    .trust li { min-width: 0; align-items: flex-start; }
    .trust strong { white-space: normal; }
    .trust span { flex-wrap: wrap; }
    .trust li:has(.cards) { grid-column: 1 / -1; order: 1; } /* payment logos: own full row, last */
    .kit { grid-template-columns: 1fr; }
    .facts { display: flex; flex-wrap: wrap; }
    .kit li { white-space: normal; }
    .course-top { padding: 26px 20px; }
    .modules { grid-template-columns: 1fr; }
    .modules li { border-top: 1px solid var(--line); border-left: 0 !important; padding: 22px 20px; }
    .modules li:first-child { border-top: 0; }
    .free-panel .txt { padding: 28px 22px; }
    .card { padding: 26px 22px; }
    .cta-band { padding: 36px 24px; }
    .tile-site .phone { width: 32%; border-width: 4px; }
  }

/* Launch announcement bar (true statement only: the launch price is temporary).
   Brand blue with white text in both colour schemes: 6.6:1 contrast, and it reads as an offer, not as page chrome. */
.announce { background: #1f4fd1; color: #ffffff; font-size: .92rem; font-weight: 600; }
.announce .wrap { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.announce a { color: #ffffff; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.announce a:hover { text-decoration-color: rgb(255 255 255 / .6); }
.announce a:focus-visible { outline-color: #ffffff; }
.announce .tag { background: #ffffff; color: #1f4fd1; border-radius: 999px; padding: 3px 11px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 640px) {
  .announce { font-size: .82rem; }
  .announce .wrap { display: block; padding-top: 9px; padding-bottom: 9px; line-height: 1.6; }
  .announce .tag { display: inline-block; margin-right: 6px; padding: 1px 8px; font-size: .66rem; vertical-align: 1px; }
  .announce a { margin-left: 6px; }
}

/* Comparison table: three ways to get a website (sourced prices) */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: .96rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare { table-layout: fixed; }
.compare thead th { font-size: 1rem; background: var(--surface-2); }
.compare thead th:first-child { width: 17%; }
.compare tbody th { font-weight: 700; color: var(--muted); }
.compare .ours { background: var(--accent-soft); }
.compare thead .ours { color: var(--accent); }
.compare .ours strong { color: var(--text); }
.sources { margin-top: 12px; font-size: .82rem; }
.sources a { color: var(--muted); }
@media (max-width: 760px) {
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .compare tbody th { padding: 12px 18px 4px; width: auto; }
  .compare td { border: 0; padding: 4px 18px; }
  .compare td::before { content: attr(data-col) ": "; font-weight: 700; color: var(--muted); }
  .compare td.ours { margin: 4px 10px 8px; border-radius: 10px; padding: 8px 10px; }
}

/* What happens after you pay */
.after { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.after li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: .92rem; color: var(--muted); counter-increment: step; }
.after li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .82rem; }
.after strong { color: var(--text); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
