/* Explorer Trail — page-scoped styles (.exp- prefix) for /explorer/ pages.
   Standalone: not part of the Tailwind build. Uses the Coastal Curator
   tokens (--cc-*) from site.css with local gold/deep accents. */

:root {
  --exp-deep: #0F3A33;
  --exp-teal: var(--cc-primary, #00685F);
  --exp-teal-soft: #d8ebe6;
  --exp-gold: #C9A95C;
  --exp-gold-deep: #A8842F;
  --exp-cream: #FAF6ED;
  --exp-cream2: #F1EADA;
  --exp-ink: #20302A;
  --exp-mut: #5E6D66;
  --exp-line: #e3dccb;
  --exp-green: #7aa35d;
}

.exp-page { background: var(--exp-cream); color: var(--exp-ink); padding-bottom: 2rem; }
.exp-wrap { max-width: 72rem; margin: 0 auto; padding: 2.5rem 1rem; }
@media (min-width: 640px) { .exp-wrap { padding: 3.5rem 1.5rem; } }

/* type */
.exp-eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--exp-teal); margin: 0 0 .7rem; }
.exp-eyebrow--light { color: var(--exp-gold); }
.exp-display { font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.02; color: var(--exp-deep); margin: 0 0 1.1rem; }
.exp-display span { font-style: italic; color: var(--exp-gold-deep); }
.exp-h2 { font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; color: var(--exp-deep); margin: 0 0 1.2rem; }
.exp-h2--light { color: #fff; }
.exp-h3 { font-family: Newsreader, Georgia, serif; font-weight: 600; font-size: 1.45rem; color: var(--exp-deep); margin: 1rem 0 .5rem; }
.exp-lede { font-size: 1.14rem; line-height: 1.65; color: #3d4f47; margin: 0 0 1.2rem; }
.exp-small { font-size: .84rem; color: var(--exp-mut); margin: .6rem 0 0; }
.exp-muted { color: var(--exp-mut); }
.exp-error { max-width: 42rem; margin: 0 auto; background: #fbeceb; border: 1px solid #efc9c5; color: #8f2c26; border-radius: 12px; padding: .9rem 1.2rem; font-size: .95rem; }

/* buttons */
.exp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--exp-teal); color: #fff !important; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 1rem; padding: .85rem 1.8rem; cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,104,95,.28); transition: transform .15s ease, box-shadow .15s ease;
}
.exp-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0,104,95,.34); }
.exp-btn--lg { font-size: 1.1rem; padding: 1.05rem 2.3rem; }
.exp-btn--block { width: 100%; }
.exp-btn--ghost { background: #fff; color: var(--exp-teal) !important; border: 2px solid var(--exp-teal); box-shadow: none; }
.exp-buyform { margin: 0; }

/* lists */
.exp-ticks { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.exp-ticks li { position: relative; padding-left: 1.9rem; line-height: 1.5; }
.exp-ticks li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--exp-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='%230F3A33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* 1. intro */
.exp-intro { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .exp-intro { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

.exp-phone {
  justify-self: center; width: 280px; max-width: 100%; border-radius: 42px; padding: 12px;
  background: #1c2522; box-shadow: 0 30px 60px rgba(15,58,51,.35), inset 0 0 0 2px #36433f;
  transform: rotate(2.5deg);
}
.exp-phone__screen { border-radius: 32px; overflow: hidden; background: var(--exp-cream); }
.exp-phone__top { background: var(--exp-deep); color: #fff; padding: 22px 16px 8px; display: flex; flex-direction: column; }
.exp-phone__top small { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--exp-gold); font-weight: 700; }
.exp-phone__top b { font-family: Newsreader, Georgia, serif; font-size: 18px; font-weight: 500; }
.exp-phone__seal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; background: var(--exp-deep); padding: 6px 12px 10px; border-bottom: 3px solid var(--exp-gold); }
.exp-phone__seal span { aspect-ratio: 1; border-radius: 6px; border: 1.5px dashed rgba(201,169,92,.6); display: grid; place-items: center; font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 15px; color: var(--exp-deep); }
.exp-phone__seal span.on, .exp-phone__seal span.new { border: 1.5px solid var(--exp-gold); background: linear-gradient(160deg, #EAD9A6, var(--exp-gold)); }
.exp-phone__seal span.new { animation: exp-pop 2.4s ease-in-out infinite; }
@keyframes exp-pop { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.25); } 80% { transform: scale(.95); } }
.exp-phone__body { padding: 12px 12px 16px; }
.exp-phone__eb { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--exp-teal); font-weight: 800; margin: 0; }
.exp-phone__h { font-family: Newsreader, Georgia, serif; font-size: 19px; color: var(--exp-deep); font-weight: 600; margin: 2px 0 6px; }
.exp-phone__q { font-size: 12px; line-height: 1.4; margin: 0 0 8px; }
.exp-phone__opt { display: flex; align-items: center; gap: 7px; background: #fff; border: 1.5px solid var(--exp-line); border-radius: 10px; padding: 6px 8px; font-size: 11.5px; margin-bottom: 6px; }
.exp-phone__opt i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--exp-cream2); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.exp-phone__opt.right { border-color: var(--exp-green); background: #eef5e8; }
.exp-phone__opt.right i { background: var(--exp-green); color: #fff; }
.exp-phone__reward { margin-top: 10px; background: #fff; border: 1.5px solid var(--exp-gold); border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 10px; }
.exp-phone__reward b { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #EAD9A6, var(--exp-gold-deep)); color: var(--exp-deep); font-family: Newsreader, Georgia, serif; font-size: 24px; }
.exp-phone__reward span { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--exp-gold-deep); }

/* 2. how */
.exp-band { background: var(--exp-deep); color: #e9efe9; }
.exp-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 720px) { .exp-how { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .exp-how { grid-template-columns: repeat(4, 1fr); } }
.exp-how li { background: rgba(255,255,255,.05); border: 1px solid rgba(201,169,92,.28); border-radius: 18px; padding: 1.4rem; }
.exp-how span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--exp-gold); color: var(--exp-deep); font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 1.3rem; margin-bottom: .8rem; }
.exp-how strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: .35rem; }
.exp-how p { margin: 0; font-size: .95rem; line-height: 1.55; color: #c8d6d0; }

/* 3. trail */
.exp-trail { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .exp-trail { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; } }
.exp-trail__map { max-width: 420px; width: 100%; justify-self: center; }
.exp-trail__map .xmap { width: 100%; height: auto; display: block; filter: drop-shadow(0 16px 30px rgba(15,58,51,.18)); }
.exp-trail__copy p { line-height: 1.7; margin: 0 0 1rem; }
.exp-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .exp-facts { grid-template-columns: repeat(4, 1fr); } }
.exp-facts div { background: #fff; border: 1px solid var(--exp-line); border-radius: 14px; padding: .8rem .9rem; }
.exp-facts dt { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--exp-gold-deep); }
.exp-facts dd { margin: .2rem 0 0; font-weight: 600; font-size: .95rem; }
.exp-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 640px) { .exp-stops { grid-template-columns: 1fr 1fr; } }
.exp-stops li { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--exp-line); border-radius: 12px; padding: .55rem .75rem; }
.exp-stops__n { width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--exp-deep); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.exp-stops__t { flex: 1; font-weight: 600; font-size: .95rem; }
.exp-stops__l { width: 1.9rem; height: 1.9rem; border-radius: 8px; border: 2px dashed var(--exp-gold); display: grid; place-items: center; font-family: Newsreader, Georgia, serif; font-weight: 700; color: var(--exp-gold-deep); flex: none; }

/* 4. inside */
.exp-inside { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .exp-inside { grid-template-columns: repeat(3, 1fr); } }
.exp-card { background: #fff; border: 1px solid var(--exp-line); border-radius: 22px; padding: 1.4rem; box-shadow: 0 10px 30px rgba(15,58,51,.06); }
.exp-card p { line-height: 1.6; margin: 0; }
.exp-card__art { border-radius: 16px; min-height: 200px; display: grid; place-items: center; overflow: hidden; }
.exp-card__art--app { background: linear-gradient(160deg, var(--exp-deep), #1b5148); color: #cfe0da; text-align: center; padding: 1.6rem 1rem; font-size: .85rem; }
.exp-miniseal { display: grid; grid-template-columns: repeat(7, 2.2rem); gap: .3rem; justify-content: center; margin-bottom: 1rem; }
.exp-miniseal span { height: 2.2rem; border-radius: 8px; display: grid; place-items: center; font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 1.2rem; border: 1.5px solid var(--exp-gold); background: linear-gradient(160deg, #EAD9A6, var(--exp-gold)); color: var(--exp-deep); }
.exp-miniseal span:nth-child(n+5) { background: transparent; border-style: dashed; color: rgba(201,169,92,.8); }
@media (max-width: 420px) { .exp-miniseal { grid-template-columns: repeat(7, 1.8rem); } .exp-miniseal span { height: 1.8rem; font-size: 1rem; } }
.exp-card__art--pdf { background: var(--exp-cream2); grid-template-columns: 1fr 1fr; gap: .7rem; padding: 1rem; }
.exp-card__art--pdf img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 18px rgba(15,58,51,.2); display: block; }
.exp-card__art--pdf picture:first-child img { transform: rotate(-2deg); }
.exp-card__art--pdf picture:last-child img { transform: rotate(2deg) translateY(8px); }
.exp-card__art--cert { background: var(--exp-cream2); padding: .9rem; }
.exp-card__art--cert svg { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 8px 18px rgba(15,58,51,.2); }

/* 5. price */
.exp-price { display: grid; border: 2px solid var(--exp-teal); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(15,58,51,.12); }
@media (min-width: 900px) { .exp-price { grid-template-columns: 1.3fr 1fr; } }
.exp-price__main { padding: 2rem 1.6rem; background: linear-gradient(160deg, #f0fdf9, #fff); }
.exp-price__row { display: flex; align-items: center; gap: 1rem; margin: .2rem 0 1.4rem; flex-wrap: wrap; }
.exp-price__big { font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--exp-teal); }
.exp-price__per { font-size: .95rem; color: var(--exp-mut); line-height: 1.35; }
.exp-price__buy { padding: 2rem 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; }
.exp-guarantee { font-size: .84rem; color: var(--exp-mut); line-height: 1.5; margin: 0; }
.exp-guarantee a { color: var(--exp-teal); text-decoration: underline; }

/* notes, faq */
.exp-note { background: #fff; border-left: 4px solid var(--exp-gold); border-radius: 12px; padding: 1rem 1.2rem; }
.exp-note p { margin: .3rem 0; line-height: 1.6; }
.exp-note a, .exp-related a { color: var(--exp-teal); text-decoration: underline; }
.exp-note--warn { border-left-color: #c0564e; }
.exp-faq details { background: #fff; border: 1px solid var(--exp-line); border-radius: 14px; margin-bottom: .6rem; }
.exp-faq summary { cursor: pointer; font-weight: 700; padding: 1rem 1.2rem; list-style: none; position: relative; padding-right: 3rem; }
.exp-faq summary::-webkit-details-marker { display: none; }
.exp-faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .8rem; font-size: 1.4rem; color: var(--exp-gold-deep); }
.exp-faq details[open] summary::after { content: "–"; }
.exp-faq details p { margin: 0; padding: 0 1.2rem 1.1rem; line-height: 1.65; color: #3d4f47; }

/* sticky bar (mobile) */
.exp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: #fff; border-top: 2px solid var(--exp-gold); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(15,58,51,.12); font-size: .92rem;
}
.exp-sticky[hidden] { display: none; }
.exp-sticky .exp-btn { padding: .7rem 1.3rem; }
@media (min-width: 900px) { .exp-sticky { display: none !important; } }

/* The buy bar owns the bottom edge while it shows: the site-wide help FAB and
   back-to-top button step up above it, as they do for the /premium bar. */
#tkd-fab, #backToTop { transition: bottom .25s ease; }
@media (max-width: 899px) {
  body:has(#exp-sticky:not([hidden])) #tkd-fab { bottom: calc(1rem + var(--exp-sticky-h, 72px) + env(safe-area-inset-bottom, 0px)); }
  body:has(#exp-sticky:not([hidden])) #backToTop { bottom: calc(6.5rem + var(--exp-sticky-h, 72px) + env(safe-area-inset-bottom, 0px)); }
}

/* success page */
.exp-success { text-align: center; max-width: 60rem; }
.exp-success__tick { display: inline-grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: var(--exp-teal); margin-bottom: 1.2rem; }
.exp-success .exp-lede { max-width: 38rem; margin: 0 auto 2rem; }
.exp-steps3 { display: grid; gap: 1rem; text-align: left; margin-bottom: 2rem; }
@media (min-width: 820px) { .exp-steps3 { grid-template-columns: 1.2fr 1fr 1fr; } }
.exp-stepcard { display: flex; flex-direction: column; gap: .45rem; background: #fff; border: 1px solid var(--exp-line); border-radius: 18px; padding: 1.3rem; text-decoration: none; color: var(--exp-ink); transition: transform .15s ease, box-shadow .15s ease; }
.exp-stepcard:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,58,51,.1); }
.exp-stepcard--main { background: var(--exp-deep); color: #e9efe9; border-color: var(--exp-deep); }
.exp-stepcard--main strong { color: #fff; }
.exp-stepcard__n { width: 2rem; height: 2rem; border-radius: 50%; background: var(--exp-gold); color: var(--exp-deep); display: grid; place-items: center; font-weight: 800; }
.exp-stepcard strong { font-size: 1.15rem; font-family: Newsreader, Georgia, serif; }
.exp-stepcard span:not(.exp-stepcard__n) { font-size: .92rem; line-height: 1.5; }
.exp-stepcard em { font-style: normal; font-weight: 700; color: var(--exp-teal); margin-top: auto; }
.exp-stepcard--main em { color: var(--exp-gold); }
.exp-success .exp-note { text-align: left; }

/* certificate page */
.exp-cert-out { text-align: center; margin-bottom: 2rem; }
.exp-cert-frame { max-width: 60rem; margin: 0 auto 1.2rem; background: #fff; border-radius: 12px; padding: .6rem; box-shadow: 0 20px 50px rgba(15,58,51,.18); }
.exp-cert-frame svg { width: 100%; height: auto; display: block; }
.exp-cert-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.exp-cert-form { max-width: 40rem; margin: 0 auto; }
.exp-cert-form form { display: grid; gap: .5rem; margin-top: 1rem; }
.exp-label { font-weight: 700; font-size: .9rem; margin: .8rem 0 .2rem; color: var(--exp-deep); display: block; }
.exp-input { width: 100%; border: 2px solid var(--exp-line); border-radius: 12px; padding: .75rem .9rem; font-size: 1rem; background: #fff; }
.exp-input:focus { outline: none; border-color: var(--exp-teal); }
.exp-input--word { text-transform: uppercase; letter-spacing: .3em; font-family: Newsreader, Georgia, serif; font-size: 1.6rem; font-weight: 700; text-align: center; }
.exp-names { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.exp-cert-form .exp-btn { margin-top: 1.2rem; }
.exp-cert-form .exp-error { margin: .8rem 0 0; }

@media print {
  body * { visibility: hidden; }
  #cert-frame, #cert-frame * { visibility: visible; }
  #cert-frame { position: fixed; inset: 0; box-shadow: none; padding: 0; max-width: none; }
  @page { size: A4 landscape; margin: 8mm; }
}
@media (prefers-reduced-motion: reduce) {
  .exp-phone__seal span.new { animation: none; }
  .exp-btn, .exp-stepcard { transition: none; }
}

/* certificate page: seal step, tabs, team chips */
.exp-seal-card { max-width: 36rem; margin: 0 auto; text-align: center; }
.exp-seal-form { display: grid; gap: .6rem; margin-top: 1.2rem; }
.exp-seal-slots { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; max-width: 22rem; margin: 0 auto .6rem; }
.exp-seal-slots span { aspect-ratio: 1; border-radius: 10px; border: 2px dashed var(--exp-gold); display: grid; place-items: end; padding: 2px 5px; font-size: .62rem; color: var(--exp-gold-deep); background: #fffdf7; }
.exp-sealed-ok { text-align: center; margin-bottom: 1.6rem; }
.exp-word-tiles { display: inline-flex; gap: .35rem; margin-bottom: .8rem; }
.exp-word-tiles span { width: 2.6rem; height: 3rem; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(160deg, #EAD9A6, var(--exp-gold-deep)); color: var(--exp-deep); font-family: Newsreader, Georgia, serif; font-weight: 700; font-size: 1.6rem; }
.exp-cert-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.4rem; }
.exp-cert-tabs a { padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--exp-line); background: #fff; color: var(--exp-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.exp-cert-tabs a.is-on { background: var(--exp-deep); border-color: var(--exp-deep); color: #fff; }
.exp-team-chips { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .85rem; color: var(--exp-mut); }
.exp-team-chips button { border: 1.5px solid var(--exp-gold); background: #fffaf0; color: var(--exp-deep); border-radius: 999px; padding: .3rem .85rem; font-weight: 700; cursor: pointer; }
.exp-input--name { font-family: Newsreader, Georgia, serif; font-size: 1.3rem; }
