:root {
  --gold: #cc9c19;
  --gold-light: #edc75c;
  --ink: #090b0d;
  --panel: #202224;
  --line: #484b4e;
  --muted: #b8b8b8;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 35%, rgba(44, 59, 66, .28), transparent 36rem),
    #111315;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: .7rem 1rem;
  background: white;
  color: black;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  height: 72px;
  padding: 0 clamp(1.2rem, 5vw, 5.5rem);
  border-bottom: 1px solid #555;
  background: rgba(5, 7, 8, .97);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.rad-mark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #c5a763;
  text-decoration: none;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rad-mark img {
  display: block;
  width: min(190px, 30vw);
  height: auto;
}

.top-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }

.top-nav a {
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s ease;
}

.top-nav a:hover, .top-nav a:focus-visible { color: white; text-decoration: underline; }

.hero {
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem 4.2rem;
  background:
    linear-gradient(90deg, rgba(4, 7, 11, .13), rgba(4, 7, 11, .32)),
    url("f441be3071d493625862cf1462eb4a0be4091469.png") center 14% / cover no-repeat;
  box-shadow: inset 0 -35px 50px rgba(0, 0, 0, .36);
}

.echo-logo {
  width: min(600px, 86vw);
  filter: drop-shadow(0 5px 11px rgba(0, 0, 0, .75));
}

.search-wrap {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 2rem));
  margin: -23px auto 46px;
}

.search-wrap svg {
  position: absolute;
  top: 50%;
  left: 19px;
  width: 19px;
  transform: translateY(-50%);
  color: #777;
  pointer-events: none;
}

#help-search {
  width: 100%;
  height: 48px;
  padding: 0 3.2rem;
  border: 3px solid var(--gold);
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: #252525;
  font: inherit;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .26);
}

#help-search:focus { box-shadow: 0 0 0 4px rgba(204, 156, 25, .28), 0 8px 26px rgba(0, 0, 0, .3); }

.search-results { position: absolute; z-index: 10; top: calc(100% + 9px); right: 12px; left: 12px; display: none; max-height: min(430px, 60vh); overflow-y: auto; border: 1px solid var(--line); border-radius: 7px; background: #181a1c; box-shadow: 0 16px 36px rgba(0, 0, 0, .55); }
.search-results.open { display: block; }
.search-result { display: block; padding: .9rem 1.1rem; border-bottom: 1px solid #35383b; color: white; text-decoration: none; }
.search-result:last-child { border-bottom: 0; }
.search-result:hover, .search-result.active { background: #2b2d30; outline: none; }
.search-result-title { display: block; color: var(--gold-light); font-weight: 600; }
.search-result-section { margin-left: .45rem; color: #888; font-size: .75rem; font-weight: 400; }
.search-result-copy { display: block; margin-top: .2rem; color: #c7c7c7; font-size: .82rem; }
.search-result mark { padding: 0; background: transparent; color: white; font-weight: 700; }
.search-message { margin: 0; padding: 1.2rem; color: #bbb; text-align: center; }
.search-hint { color: #777; font-size: .72rem; }

.content { width: min(800px, calc(100% - 2rem)); margin: 0 auto; }

.revival-note {
  margin: 0 0 1.35rem;
  color: #c9c9c9;
  text-align: center;
  font-size: .88rem;
}

.revival-note strong { color: var(--gold-light); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.card {
  min-height: 136px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.card:hover, .card:focus-visible {
  border-color: var(--gold-light);
  background: var(--gold);
  color: white;
  outline: none;
  transform: translateY(-3px);
}

.card svg { width: 35px; height: 35px; flex: 0 0 auto; transition: transform .3s ease; }
.card:hover svg, .card:focus-visible svg { transform: scale(1.2); }
.card-title { display: block; font-size: 1rem; font-weight: 500; }
.card-copy { display: block; margin-top: .25rem; color: var(--muted); font-size: .76rem; }
.card:hover .card-copy, .card:focus-visible .card-copy { color: white; }
.card[hidden] { display: none; }

.no-results { display: none; padding: 2rem; color: #ccc; text-align: center; }
.no-results.visible { display: block; }

footer {
  margin-top: 64px;
  padding: 30px clamp(1.2rem, 5vw, 5.5rem);
  border-top: 1px solid #555;
  color: var(--gold-light);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
}

footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .site-header { height: auto; min-height: 72px; padding-block: .85rem; }
  .top-nav { gap: 1rem; }
  .top-nav .secondary { display: none; }
  .hero { min-height: 290px; background-position: center 12%; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: 112px; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Help article pages */
.article-hero {
  min-height: 220px;
  padding: 2.5rem 1.5rem;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(5, 8, 12, .45), rgba(5, 8, 12, .7)),
    url("f441be3071d493625862cf1462eb4a0be4091469.png") center 18% / cover no-repeat;
}

.article-hero h1 { margin: 0; color: white; font-size: clamp(2rem, 5vw, 3.25rem); }
.article-hero p { margin: .5rem 0 0; color: var(--gold-light); }
.article-shell { width: min(900px, calc(100% - 2rem)); margin: 38px auto 0; }
.breadcrumbs { margin-bottom: 1.5rem; color: var(--gold-light); font-size: .86rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.help-section { margin-bottom: 22px; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.help-section h2 { margin: 0 0 .7rem; color: var(--gold-light); font-size: 1.3rem; }
.help-section h3 { color: white; }
.help-section p { margin: .5rem 0; color: #ddd; }
.help-section li { margin: .45rem 0; color: #ddd; }
.help-section a { color: var(--gold-light); }
.help-section img, .help-section video { display: block; max-width: 100%; height: auto; margin: 1rem auto; border: 1px solid var(--line); border-radius: 5px; }
.help-section .phone-shot { max-height: 520px; width: auto; }
.notice { border-left: 4px solid var(--gold); }
.article-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.help-button { display: inline-block; padding: .7rem 1.1rem; border: 1px solid var(--gold); border-radius: 4px; color: var(--gold-light); text-decoration: none; }
.help-button:hover { background: var(--gold); color: white; }

@media (max-width: 720px) {
  .article-hero { min-height: 180px; }
}
