:root {
  --cream: #f5f0e6;
  --cream-2: #fbf8f2;
  --navy: #0c416b;
  --red: #d03624;
  --teal: #00bdc2;
  --gray: #aaaaaa;
  --ink: #17324a;
  --muted: #66727d;
  --line: rgba(12, 65, 107, 0.14);
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(12, 65, 107, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Proxima Nova", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
button, input { font: inherit; }

.support-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  background: rgba(245, 240, 230, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
}
.brand strong { color: var(--navy); font-size: 20px; letter-spacing: -0.02em; }
.brand span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.search-shell { flex: 1; max-width: 640px; margin-left: auto; }
.search-shell input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--ink);
  outline: none;
}
.search-shell input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,65,107,.08); }
.search-shell input:disabled { opacity: .72; cursor: not-allowed; }

.mobile-nav-button {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 700;
}

.support-layout {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 52px;
  padding: 40px 0 80px;
}

.support-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  max-height: calc(100vh - 126px);
  overflow: auto;
  padding-right: 8px;
}

.support-nav-label,
.eyebrow {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.nav-home {
  display: block;
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.nav-home:hover, .nav-home.is-active { background: rgba(12,65,107,.08); }

.nav-group { margin: 0 0 20px; }
.nav-group h3 { margin: 0 0 6px; color: var(--navy); font-size: 14px; }
.nav-group a, .nav-group .nav-placeholder {
  display: block;
  padding: 6px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.nav-group a:hover { color: var(--navy); }
.nav-group a.is-active { color: var(--navy); border-left-color: var(--red); font-weight: 800; }
.nav-group .nav-placeholder { opacity: .62; }

.support-content { min-width: 0; }
.breadcrumbs { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); }

.hero {
  padding: 34px;
  background: var(--navy);
  color: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero .eyebrow { color: var(--teal); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(34px, 5vw, 58px); line-height: 0.98; letter-spacing: -0.045em; }
.hero p { max-width: 680px; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 18px; }

.article {
  max-width: 780px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow);
}
.article h1 { margin: 0 0 10px; color: var(--navy); font-size: clamp(36px, 5vw, 54px); line-height: 1; letter-spacing: -0.04em; }
.article .lede { margin: 0 0 34px; color: var(--muted); font-size: 18px; }
.article h2 { margin: 34px 0 12px; color: var(--navy); font-size: 22px; }
.article ol, .article ul { margin: 0; padding-left: 24px; }
.article li { margin: 0 0 14px; padding-left: 6px; }
.article strong { color: var(--navy); }

.note {
  margin-top: 30px;
  padding: 18px 20px;
  background: rgba(208,54,36,.06);
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
}
.note strong { color: var(--red); }
.note > strong:first-child { display: block; margin-bottom: 4px; }

.note.note-info {
  background: rgba(0,189,194,.07);
  border-left-color: var(--teal);
}
.note.note-info > strong:first-child { color: var(--navy); }

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.section-card {
  min-height: 160px;
  padding: 22px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
a.section-card:hover { transform: translateY(-2px); border-color: rgba(12,65,107,.32); }
.section-card span { display: block; margin-bottom: 8px; color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.section-card h2 { margin: 0; color: var(--navy); font-size: 22px; }
.section-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.section-card.is-placeholder { opacity: .68; }
.section-card.is-placeholder span { color: var(--muted); }

.guide-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.guide-link {
  display: block;
  padding: 18px 20px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}
.guide-link:hover { border-color: rgba(12,65,107,.32); }
.guide-link strong { display: block; color: var(--navy); font-size: 18px; }
.guide-link span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

.article-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 780px;
  margin-top: 18px;
  padding: 18px 4px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.article-footer a { color: var(--navy); font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
  .support-header { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .brand { flex: 1; }
  .mobile-nav-button { display: inline-flex; }
  .search-shell { order: 3; flex-basis: 100%; max-width: none; }
  .support-layout { width: min(100% - 28px, 760px); display: block; padding-top: 24px; }
  .support-nav {
    display: none;
    position: fixed;
    inset: 122px 14px 14px;
    z-index: 30;
    max-height: none;
    padding: 20px;
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(12,65,107,.18);
  }
  .support-nav.is-open { display: block; }
  .section-grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 24px; }
  .article { padding: 28px 22px; }
  .article-footer { flex-direction: column; }
}


/* Final assembled Support Hub */
.search-shell { position: relative; }
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  max-height: min(420px, 60vh);
  overflow: auto;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(12,65,107,.16);
}
.search-results.is-open { display: block; }
.search-result {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
}
.search-result:hover,
.search-result:focus { background: rgba(12,65,107,.07); outline: none; }
.search-result small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.search-empty { padding: 12px; color: var(--muted); font-size: 14px; }
.nav-group h3 a.nav-section-link {
  display: inline;
  padding: 0;
  border: 0;
  color: var(--navy);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.nav-group h3 a.nav-section-link:hover { color: var(--red); }


/* v02-99: website return links + full-content search */
.site-link {
  flex: 0 0 auto;
  padding: 9px 4px 9px 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.site-link:hover { color: var(--red); }
.site-link span { color: var(--teal); }

.support-nav-footer {
  margin: 26px 2px 4px;
  padding: 16px 10px 6px;
  border-top: 1px solid var(--line);
}
.support-nav-footer > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.support-nav-footer a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.support-nav-footer a:hover { color: var(--red); }
.support-nav-footer a span { color: var(--teal); }

.search-result strong { display: block; }

@media (max-width: 860px) {
  .site-link { order: 2; padding: 8px 2px; font-size: 13px; }
  .mobile-nav-button { order: 3; }
  .search-shell { order: 4; }
}

@media (max-width: 430px) {
  .site-link { font-size: 12px; }
  .site-link span { display: none; }
}
