/* ============================================================
   Amazon Masters — version 2 (short funnel)
   Loads AFTER style.css and only adds what this page needs.
   Same tokens, same type, fewer sections.
   ============================================================ */

/* ---------- 3 learning pillars ----------
   The icon sits in a circle that breaks out over the top edge of the card,
   so the row reads as three badges rather than three boxes. */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.pillar {
  position: relative; text-align: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 62px 26px 34px;
}
.pillar__ico {
  position: absolute; top: -45px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 90px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  border: 5px solid var(--paper);
  box-shadow: 0 10px 24px -12px rgba(255, 122, 0, .8);
}
.pillar:nth-child(2) .pillar__ico { background: var(--violet); box-shadow: 0 10px 24px -12px rgba(75, 55, 200, .8); }
.pillar:nth-child(3) .pillar__ico { background: var(--amber); color: #4A3500; box-shadow: 0 10px 24px -12px rgba(255, 184, 0, .9); }
.pillar h3 { font-size: 21px; line-height: 1.15; margin-bottom: 12px; }
.pillar p { color: var(--ink-60); font-size: 15.5px; }

/* ---------- view-more control ---------- */
.more { display: flex; justify-content: center; margin-top: 28px; }
[data-more-item][hidden] { display: none; }

/* ---------- curriculum + booking, side by side ---------- */
.prog { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; }
.prog__list { display: grid; gap: 8px; }
.prog__row {
  display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-m);
}
.prog__n { font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-40); }
.prog__n b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--orange); letter-spacing: -.03em; }
.prog__t { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.prog__t small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-60); margin-top: 2px; letter-spacing: 0; }

.buybox {
  position: sticky; top: 92px;
  border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 26px; background: var(--haze);
}
.buybox .price { display: block; margin-bottom: 4px; }
.buybox__note { font-size: 13.5px; color: var(--ink-60); }
.buybox ul { display: grid; gap: 11px; margin: 20px 0; }
.buybox li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.buybox li i { flex: none; width: 19px; height: 19px; border-radius: 6px; background: var(--amber); display: grid; place-items: center; margin-top: 2px; }
.buybox li i::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.buybox .btn { width: 100%; }
.buybox__fine { margin-top: 12px; font-size: 12.5px; color: var(--ink-40); text-align: center; }

/* ---------- community access ---------- */
.access { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.access__cell { border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; }
.access__cell h3 { font-size: 19px; margin-bottom: 9px; }
.access__cell p { font-size: 15px; color: var(--ink-60); }
.access__big { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.035em; color: var(--orange); margin-bottom: 12px; }
.access__wide { grid-column: span 4; display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: center; }
.access__shot { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-m); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .prog { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .access { grid-template-columns: repeat(2, 1fr); }
  .access__wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; gap: 56px; }
  .access__wide { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .access { grid-template-columns: 1fr; }
  .access__wide { grid-column: span 1; }
}

/* ============================================================
   Start-now popup
   ============================================================ */
[data-spanel][hidden] { display: none; }

/* the offer, stated before we ask for anything.
   Three named items rather than a paragraph — the paragraph was the first
   thing to get squeezed out on short screens, which left an empty panel. */
.kit { margin-top: 20px; padding: 15px 17px; background: var(--haze); border-radius: var(--r-m); }
.kit__title {
  display: block; margin-bottom: 11px; color: var(--ink-60);
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.02em;
}
.kitlist { display: grid; gap: 9px; }
.kitlist li { display: flex; gap: 11px; align-items: flex-start; }
.kitlist i {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: var(--paper); color: var(--orange-d);
  box-shadow: var(--shadow-s);
  display: grid; place-items: center;
}
.kitlist li:nth-child(2) i { color: var(--violet); }
.kitlist li:nth-child(3) i { color: #8A6100; }
.kitlist span { display: block; }
.kitlist em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--ink-60); }
.kitlist span b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 14px; color: var(--ink); letter-spacing: -.01em;
}

.orline { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; }
.orline::before, .orline::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.orline span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); }

/* the two deliverables, once they are unlocked */
.kitgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 14px; }
.kitcard {
  display: block; text-align: left; padding: 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--paper);
  transition: border-color .16s, transform .16s var(--ease);
}
.kitcard:hover { border-color: var(--orange); transform: translateY(-2px); }
.kitcard__ico {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; margin-bottom: 12px;
  background: var(--orange-t); color: var(--orange-d);
}
.kitcard__ico--amber { background: var(--amber-t); color: #8A6100; }
.kitcard__ico--violet { background: var(--violet-t); color: var(--violet); }
.kitcard b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; }
.kitcard small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-60); line-height: 1.45; }
.kitcard[hidden] { display: none; }

.kitplayer { margin-bottom: 18px; border-radius: var(--r-m); overflow: hidden; background: #000; }
.kitplayer video { width: 100%; display: block; max-height: 46vh; }

@media (max-width: 620px) {
  .kitgrid { grid-template-columns: 1fr; }
  #start .flow { padding: 20px 18px 22px; }
  #start .kit { padding: 12px 14px; margin-top: 14px; }
  #start .kitlist { display: flex; flex-wrap: wrap; gap: 7px 14px; }
  #start .kitlist li { align-items: center; gap: 7px; }
  #start .kitlist i { width: 22px; height: 22px; border-radius: 7px; }
  #start .kitlist i svg { width: 14px; height: 14px; }
  #start .kitlist em { display: none; }
  #start .kitlist span b { font-size: 13px; }
  #start .kit__title { margin-bottom: 8px; font-size: 13.5px; }
}

/* ---------- popup density ----------
   Every panel has to be readable in one look, so the dialog is allowed more
   height and the internals are tightened rather than left to scroll. */
#start .modal__box { max-width: 600px; max-height: 94vh; }
#start .flow { padding: 24px 26px 26px; }
#start .flow h3 { font-size: clamp(20px, 2vw, 24px); }
#start .flow > p { font-size: 14.5px; margin-top: 6px; }
#start .field { margin-top: 10px; }
#start .field label { font-size: 12.5px; margin-bottom: 4px; }
#start .field input { padding: 11px 14px; font-size: 15px; }

/* name and email share a row to buy back vertical space */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.frow .field { margin-top: 10px; }

#start .kit { padding: 14px 16px; margin-top: 18px; }
#start .kit__ico { width: 34px; height: 34px; border-radius: 9px; }
#start .kit b { font-size: 15px; }
#start .kit span { font-size: 12.5px; margin-top: 3px; }

#start .consent { margin-top: 12px; font-size: 12px; }
#start .orline { margin: 14px 0 12px; }
#start .flow__nav { margin-top: 16px; }
#start .fineprint { margin-top: 10px; }

/* the booking panel: shorter calendar so the buttons under it stay in view */
#start .cal { margin-top: 14px; min-height: 260px; }
#start .cal iframe { height: 380px; }
#start .msgrow { margin-top: 10px; }

@media (max-height: 780px) {
  #start .flow > p { display: none; }
  #start .kit { padding: 12px 14px; margin-top: 14px; }
  #start .kitlist { gap: 7px; }
  #start .kitlist em { display: none; }
  #start .kitlist i { width: 26px; height: 26px; border-radius: 8px; }
  #start .kit__title { margin-bottom: 8px; }
  #start .callnote { margin-top: 9px; }
  #start .orline { margin: 12px 0 10px; }
  #start .cal iframe { height: 300px; }
  #start .cal { min-height: 220px; }
}

/* v2 headline is longer than v1's, so it needs a smaller ceiling to hold
   its three lines. */
.hero .h1 { font-size: clamp(30px, 4vw, 52px); }

/* The account tag is a sentence, not a flex row — as a row the separator
   gets orphaned on its own line at phone width. */
.proof__tag { display: block; }
@media (max-width: 620px) {
  .proof__tag { letter-spacing: .06em; line-height: 1.5; }
  .proof__kpis { grid-template-columns: repeat(2, auto); gap: 18px 22px; }
}

/* ---------- community wall ----------
   Posts run to wildly different lengths, so each card shows the top of the
   post at a fixed height with a fade, and the full thing opens in a lightbox.
   Capping them keeps the row tidy and makes the click worth making. */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.wall__item {
  display: flex; flex-direction: column; width: 100%; padding: 0;
  text-align: left; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: var(--r-m);
  background: var(--paper); overflow: hidden;
  transition: border-color .18s, transform .18s var(--ease), box-shadow .18s var(--ease);
}
.wall__item:hover {
  border-color: var(--ink-40); transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}
.wall__shot { position: relative; display: block; max-height: 300px; overflow: hidden; }
.wall__shot img { width: 100%; height: auto; display: block; }
.wall__shot::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(rgba(255,255,255,0), var(--paper));
}
.wall__meta {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: auto; padding: 13px 15px 15px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-60);
}
.wall__meta b {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14.5px; color: var(--ink); letter-spacing: -.01em;
}
.wall__meta::after {
  content: "Read"; margin-left: auto;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange);
}

/* lightbox */
.wallbox__inner { position: relative; z-index: 1; max-width: min(92vw, 880px); }
.wallbox__inner img {
  width: 100%; height: auto; max-height: 88vh; object-fit: contain;
  border-radius: var(--r-m); background: var(--paper);
  box-shadow: var(--shadow-l); animation: pop .26s var(--ease);
}
.wallbox__inner .modal__x { background: var(--paper); box-shadow: var(--shadow-m); }

@media (max-width: 1080px) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .wall { grid-template-columns: 1fr; } .wall__shot { max-height: 260px; } }

/* the promise that follows the button — it is the reason for the phone field,
   so it sits with the button, not in the fine print */
.callnote {
  margin-top: 11px; text-align: center;
  font-size: 12.5px; line-height: 1.45; color: var(--ink-60);
}
.callnote::before {
  content: ""; display: inline-block; vertical-align: -1px;
  width: 6px; height: 6px; margin-right: 7px; border-radius: 50%;
  background: var(--green);
}

/* Very short viewports: the bundle is supporting detail, so it collapses to a
   single row of labels rather than forcing the whole panel to scroll. */
@media (max-height: 760px) {
  #start .kitlist { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  #start .kitlist li { align-items: center; gap: 7px; }
  #start .kitlist i { width: 22px; height: 22px; border-radius: 7px; }
  #start .kitlist i svg { width: 14px; height: 14px; }
  #start .kitlist span b { font-size: 13px; }
  #start .kit { padding: 11px 13px; margin-top: 12px; }
  #start .kit__title { margin-bottom: 7px; font-size: 13.5px; }
}

/* Terms has no page yet — mark it so it is obvious, rather than a dead link */
.fill-note { color: var(--ink-40); border-bottom: 1px dotted var(--ink-40); }
