/* The help centre (/help). Uses the tokens and panels of site.css; loaded only on help pages. */
.help-wrap { max-width: 1000px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a:not(.btn) { color: var(--teal); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

/* search */
.hsearch { margin-bottom: 24px; }
.hsearch label { display: block; font-weight: 700; margin-bottom: 8px; }
.hsearch input {
  font: inherit; font-size: 17px; width: 100%; min-height: 56px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid rgba(19, 38, 42, 0.2); background: var(--white); color: var(--ink); box-shadow: var(--shadow);
}
.hsearch input:focus { outline: 3px solid rgba(27, 123, 131, 0.35); border-color: var(--teal); }
.hsearch-none { margin-top: 12px; color: var(--ink-soft); }
.hsearch-none a:not(.btn) { color: var(--teal); }

/* start here */
.start {
  display: grid; gap: 8px; justify-items: start; text-decoration: none; color: var(--on-dark);
  background: var(--night); border-radius: var(--radius); padding: 28px; margin-bottom: 40px; box-shadow: var(--shadow);
}
.start b { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.start small { font-size: 16px; color: var(--on-dark-soft); max-width: 36em; }
.start .btn { margin-top: 10px; }

/* groups, cards and rows */
.hgroup { margin-bottom: 40px; }
.hgroup > h2 { font-size: 24px; }
.hgroup > p { color: var(--ink-soft); margin: 6px 0 16px; }
.hcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hcard {
  display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid rgba(19, 38, 42, 0.08); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
.hcard:hover { border-color: rgba(27, 123, 131, 0.45); }
.hcard b { font-size: 18px; line-height: 1.3; }
.hcard small { font-size: 15px; color: var(--ink-soft); }
.hcard .meta { font-size: 14px; font-weight: 600; color: var(--teal); margin-top: 4px; }
.hrows { display: grid; background: var(--white); border: 1px solid rgba(19, 38, 42, 0.08); border-radius: var(--radius); overflow: hidden; }
.panel .hrows { border: 0; border-radius: 0; margin-top: 4px; }
.hgroup .hrows { box-shadow: var(--shadow); }
.hrow {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px;
  text-decoration: none; color: var(--ink); border-top: 1px solid rgba(19, 38, 42, 0.08);
}
.panel .hrow { padding-left: 0; padding-right: 0; }
.hrow:first-child { border-top: 0; }
.hrow:hover b, .hrow:hover > span:first-child { color: var(--teal); }
.hrow > span:first-child { display: grid; gap: 2px; font-weight: 600; }
.hrow small { font-weight: 400; font-size: 15px; color: var(--ink-soft); }
.chev { font-size: 26px; line-height: 1; color: var(--teal); flex: none; }

/* a guide: video and steps side by side (tall video), or the wide video above the steps */
.guide { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; align-items: start; margin-bottom: 28px; }
.hvideo { margin: 0; position: sticky; top: 92px; }
.hvideo video { display: block; width: 100%; border-radius: var(--radius); background: #06252a; border: 1px solid rgba(19, 38, 42, 0.12); box-shadow: var(--shadow); }
.hvideo .v-tall { aspect-ratio: 9 / 16; }
.hvideo .v-wide { aspect-ratio: 16 / 9; display: none; }
.hvideo figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.guide.has-wide { grid-template-columns: 1fr; }
.guide.has-wide .hvideo { position: static; }
.guide.has-wide .v-tall { display: none; }
.guide.has-wide .v-wide { display: block; }
.app-word { background: rgba(27, 123, 131, 0.08); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; }
.guide-steps > h2 { font-size: 22px; margin-bottom: 14px; }

.hsteps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.panel .hsteps { margin-top: 8px; }
.hsteps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 12px; margin: 0 -12px; border-radius: var(--radius-sm); transition: background-color 0.2s ease; }
.hsteps li.now { background: rgba(226, 140, 40, 0.12); }
.hsteps .n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal); color: var(--white); font-weight: 800; font-size: 15px;
}
.hsteps h3 { font-size: 18px; margin: 4px 0 4px; }
.hsteps p { color: var(--ink-soft); }
.hsteps a:not(.btn), .checks a:not(.btn), .after a:not(.btn), .app-word a:not(.btn), .tip a:not(.btn) { color: var(--teal); }
.watch {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--teal); background: transparent; cursor: pointer;
  border: 1px solid rgba(27, 123, 131, 0.4); border-radius: 999px;
}
.watch::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.watch:hover { background: rgba(27, 123, 131, 0.08); }
.watch .num { color: var(--ink-soft); font-weight: 600; }

.after { margin-top: 16px; color: var(--ink-soft); }
.brands { display: grid; gap: 0; margin-top: 16px; border-top: 1px solid rgba(19, 38, 42, 0.08); }
.brands details { border-bottom: 1px solid rgba(19, 38, 42, 0.08); padding: 14px 0; }
.brands summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.brands p { margin-top: 8px; color: var(--ink-soft); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 20px; }
.pager a:not(.btn) {
  display: grid; gap: 2px; text-decoration: none; color: var(--ink); font-weight: 700; background: var(--white);
  border: 1px solid rgba(19, 38, 42, 0.08); border-radius: var(--radius); padding: 16px 20px;
}
.pager a:hover { border-color: rgba(27, 123, 131, 0.45); }
.pager .next { text-align: right; }
.pager small { font-weight: 600; font-size: 13px; color: var(--teal); }
.help-cta h2 { margin-bottom: 6px; }

/* your first week */
.week { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.day {
  display: grid; grid-template-columns: 76px 1fr; gap: 18px; background: var(--white); border: 1px solid rgba(19, 38, 42, 0.08);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.day-n { display: grid; place-items: center; align-content: center; width: 68px; height: 68px; border-radius: 16px; background: var(--night); color: var(--on-dark-soft); font-size: 13px; font-weight: 600; line-height: 1.1; }
.day-n b { font-size: 26px; color: var(--on-dark); }
.day h3 { font-size: 20px; margin-bottom: 4px; }
.day p { color: var(--ink-soft); }
.day .tip { margin-top: 8px; padding-left: 12px; border-left: 3px solid var(--amber); color: var(--ink); }
.day .row { margin-top: 12px; }

[hidden] { display: none !important; }

@media (min-width: 721px) and (max-width: 860px) {
  .guide { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
  .guide { grid-template-columns: 1fr; gap: 24px; }
  .hvideo { position: static; }
  .hvideo .v-tall { width: min(100%, calc(76vh * 9 / 16)); margin: 0 auto; }
  /* On phones the tall video fills the screen better than the wide one. */
  .guide.has-wide .v-tall { display: block; }
  .guide.has-wide .v-wide { display: none; }
  .day { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .day-n { width: auto; height: auto; display: inline-flex; gap: 6px; justify-self: start; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
  .day-n b { font-size: 16px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .start { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hsteps li { transition: none; }
}
