/* vaOS helpdesk. Loaded on /help only, after site.css and
   site-identity.css, and scoped to body.page-help. Same family as the
   homepage: rounded corners, soft shadows, Poppins headings. */

.page-help {
  --r:        14px;
  --night:    #14332b;
  --mint:     #7fd3ba;
  --shadow-s: 0 1px 2px rgba(20, 51, 43, .05), 0 2px 8px rgba(20, 51, 43, .04);
  --shadow-m: 0 2px 4px rgba(20, 51, 43, .04), 0 14px 34px -14px rgba(20, 51, 43, .2);
}

.page-help main { overflow-x: clip; }

.page-help h1,
.page-help h2 { letter-spacing: -.03em; text-wrap: balance; }

.page-help .btn { border-radius: 10px; }
.page-help .navtoggle { border-radius: 10px; }

/* --- Home hero --------------------------------------------------------- */

.hhero {
  position: relative;
  padding: 72px 0 64px;
  text-align: center;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(127, 211, 186, .30), transparent 70%),
    var(--sand);
}
.hhero .shell { padding-left: 24px; padding-right: 24px; }
.hkicker {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hhero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; margin: 0; }
.hlede {
  margin: 14px 0 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}
.hhero .hlede { margin-left: auto; margin-right: auto; }

/* --- Search --------------------------------------------------------- */

.hsearch {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  margin: 26px 0 0;
  padding: 6px 6px 6px 16px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
}
.hsearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-t), var(--shadow-s); }
.hsearch .navicon { flex: none; width: 19px; height: 19px; color: var(--muted); }
.hsearch input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.hsearch button {
  flex: none;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
}
.hsearch button:hover { background: var(--accent-d); }
.hsearch.is-big { margin: 32px auto 0; padding: 8px 8px 8px 20px; border-radius: 16px; box-shadow: var(--shadow-m); }
.hsearch.is-big input { font-size: 17px; padding: 12px 0; }

/* --- Page heads -------------------------------------------------------- */

.hhead { padding-top: 48px; padding-bottom: 8px; padding-left: 24px; padding-right: 24px; }
.hhead h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; margin: 0; }
.hhead-row { display: flex; align-items: center; gap: 18px; }
.hcrumb { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.hcrumb a { color: var(--muted); text-decoration: none; }
.hcrumb a:hover { color: var(--accent-d); text-decoration: underline; }
.hcrumb span { margin: 0 6px; opacity: .6; }
.hback { margin-top: 22px; }

/* --- Section tiles ------------------------------------------------------- */

.hsec { padding-top: 40px; padding-bottom: 72px; padding-left: 24px; padding-right: 24px; }

.htiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .htiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .htiles { grid-template-columns: repeat(3, 1fr); } }

.htile {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow: var(--shadow-s);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.htile:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #d6cfbf; }
.htile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-t);
  color: var(--accent);
}
.htile-icon .navicon { width: 22px; height: 22px; }
.htile-icon.is-lg { width: 56px; height: 56px; margin: 0; border-radius: 15px; flex: none; }
.htile-icon.is-lg .navicon { width: 27px; height: 27px; }
.htile-title { font-family: "Poppins", "Instrument Sans", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.htile-blurb { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.htile-n { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--accent-d); }

.hsub { margin: 56px 0 18px; font-size: clamp(22px, 3vw, 28px); }
.hcount { margin: 0 0 14px; font-size: 14px; color: var(--muted); }

/* --- Article lists ------------------------------------------------------- */

.hlist {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.hrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--edge);
  transition: background-color .15s;
}
.hrow:first-child { border-top: 0; }
.hrow:hover { background: #fbfaf6; }
.hrow-text { flex: 1; min-width: 0; }
.hrow-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.hrow-sec { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--accent); }
.hrow-sum { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.hrow-go { flex: none; color: var(--muted); font-size: 18px; transition: transform .15s, color .15s; }
.hrow:hover .hrow-go { color: var(--accent); transform: translateX(3px); }

.hplan {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-t);
  color: var(--accent-d);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .02em;
  vertical-align: 2px;
}
.hplan.is-draft { background: #fdf2dc; color: #8a5a00; }

.hempty {
  padding: 32px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--edge);
  border-radius: 18px;
  color: var(--muted);
}
.hempty p { margin: 4px 0; }

/* --- Section and article layout ---------------------------------------- */

.hsplit { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .hsplit { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
  .hside { position: sticky; top: 24px; }
}

.hside { display: flex; flex-direction: column; gap: 2px; }
.hside-head {
  margin: 0 0 8px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hside-head a { color: inherit; text-decoration: none; }
.hside-head a:hover { color: var(--accent-d); }
.hside > a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  text-decoration: none;
}
.hside > a:hover { background: var(--sand); color: var(--ink); }
.hside > a.on { background: var(--accent-t); color: var(--accent-d); font-weight: 600; }
.hside-all { margin: 14px 0 0; padding: 0 12px; font-size: 14px; }
.hside-all a { color: var(--muted); text-decoration: none; }
.hside-all a:hover { color: var(--accent-d); }

@media (max-width: 899px) {
  .hside { display: none; }
  .hsplit.is-article .hside { display: none; }
}

/* --- The article ------------------------------------------------------- */

.harticle { max-width: 760px; }
.harticle h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; margin: 0; }
.harticle > .hlede { font-size: 18.5px; margin-top: 16px; }
.hplanline { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hplanline a { font-weight: 600; color: var(--accent-d); }
.hdraft { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #fdf2dc; color: #8a5a00; font-size: 14px; }

.hv-video {
  position: relative;
  margin: 28px 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0f1f1a;
  box-shadow: var(--shadow-m);
}
.hv-video iframe,
.hv-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hbody { margin-top: 28px; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.hbody > *:first-child { margin-top: 0; }
.hbody p { margin: 0 0 18px; }
.hbody h2 { margin: 40px 0 12px; font-size: 24px; line-height: 1.2; color: var(--ink); }
.hbody h3 { margin: 30px 0 10px; font-size: 19px; line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.hbody h4 { margin: 24px 0 8px; font-size: 16.5px; color: var(--ink); }
.hbody ul,
.hbody ol { margin: 0 0 18px; padding-left: 24px; }
.hbody li { margin: 6px 0; padding-left: 4px; }
.hbody a { color: var(--accent-d); font-weight: 550; }
.hbody strong { color: var(--ink); }
.hbody code { padding: 2px 6px; border-radius: 6px; background: var(--sand); font-size: .92em; }
.hbody blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-t);
  color: var(--ink);
}
.hbody blockquote p:last-child { margin-bottom: 0; }
.hbody img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 14px;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-m);
}
.hbody hr { margin: 32px 0; border: 0; border-top: 1px solid var(--edge); }
.hbody table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.55;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow: hidden;
}
.hbody th,
.hbody td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--edge); }
.hbody tr:first-child th,
.hbody tr:first-child td { border-top: 0; }
.hbody th { width: 34%; font-weight: 600; color: var(--ink); background: #fbfaf6; }
.hbody thead th { width: auto; background: var(--sand); }
.hbody thead + tbody tr:first-child th,
.hbody thead + tbody tr:first-child td { border-top: 1px solid var(--edge); }

/* --- Was this helpful, pager, contact ------------------------------------ */

.hvote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 40px 0 0;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 14px;
  font-weight: 600;
}
.hvote span { margin-right: 6px; }
.hvote button {
  padding: 8px 18px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  cursor: pointer;
}
.hvote button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-d); }
.hvote button:disabled { opacity: .55; cursor: default; }
.hvote button.is-picked { opacity: 1; background: var(--accent); border-color: var(--accent); color: #fff; }
.hvote-thanks { flex-basis: 100%; margin: 4px 0 0; font-weight: 400; font-size: 14px; color: var(--muted); }

.hpager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.hpager a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.hpager a:hover { border-color: var(--accent); box-shadow: var(--shadow-s); }
.hpager a span { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hpager .is-next { text-align: right; grid-column: 2; }

.hcontact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 48px;
  padding: 30px 32px;
  border-radius: 20px;
  color: #e9f3ee;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(127, 211, 186, .22), transparent 70%),
    linear-gradient(155deg, #1f6f5c 0%, var(--night) 70%);
  box-shadow: var(--shadow-m);
}
.hcontact > div { flex: 1 1 340px; }
.hcontact h2 { margin: 0; color: #fff; font-size: 22px; }
.hcontact p { margin: 6px 0 0; color: #b9d3c8; font-size: 15px; line-height: 1.55; }
.hcontact .btn {
  flex: none;
  padding: 12px 20px;
  background: var(--mint);
  color: #12291f;
  font-weight: 650;
  box-shadow: 0 10px 26px -10px rgba(127, 211, 186, .7);
}
.hcontact .btn:hover { background: #9be0cb; }

@media (max-width: 560px) {
  .hhero { padding: 48px 0 44px; }
  .hsearch button { padding: 10px 14px; }
  .hrow { padding: 16px 18px; }
  .hpager { grid-template-columns: 1fr; }
  .hpager .is-next { grid-column: auto; }
  .hcontact { padding: 24px 22px; }
  .hcontact .btn { width: 100%; text-align: center; }
}