/* round8: slim ILV/CLAIM/VERIFY cards, banner, full-bleed header + hero fade, back link */

/* ---- b/c: slim premium cards ---- */
.tre-cards3{display:flex;flex-direction:column;gap:.7rem;max-width:36rem;margin:0}
.tre-slim{
  position:relative;display:flex;align-items:center;gap:.95rem;min-height:60px;
  padding:.5rem .95rem .5rem .6rem;text-decoration:none;color:#241f1a;overflow:hidden;
  background:linear-gradient(180deg,#fffdf9 0%,#faf6ee 100%);
  border:1px solid var(--line,#e8e0d0);border-radius:var(--r,18px);box-shadow:var(--shadow,0 10px 30px rgba(14,26,43,.07));
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  -webkit-tap-highlight-color:transparent;
}
.tre-slim::before{content:"";position:absolute;inset:4px;border:1px solid rgba(201,164,92,.26);border-radius:calc(var(--r,18px) - 5px);pointer-events:none}
.tre-slim:hover,.tre-slim:focus-visible{transform:translateY(-2px);border-color:rgba(201,164,92,.7);box-shadow:0 12px 28px rgba(14,26,43,.14),0 0 0 1px rgba(201,164,92,.3)}
.tre-slim:focus-visible{outline:2px solid #c9a45c;outline-offset:3px}
.tre-medal{
  position:relative;flex:0 0 46px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;overflow:visible;
  background:radial-gradient(circle at 30% 24%,#2b4673 0%,#14253f 52%,#0a1424 100%);
  box-shadow:0 0 0 1.5px #d9b866,0 0 0 4px #fffdf9,0 0 0 5.5px #e2c88f,0 6px 14px rgba(14,26,43,.28);
  isolation:isolate;
}
.tre-medal--em{background:radial-gradient(circle at 30% 24%,#2f8a6f 0%,#14604a 52%,#0a3226 100%)}
.tre-medal::after{
  content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;z-index:2;
  background:linear-gradient(115deg,rgba(255,255,255,0) 32%,rgba(255,255,255,.34) 48%,rgba(255,255,255,0) 62%);
  background-size:240% 100%;background-position:130% 0;animation:tre-sheen 5.5s ease-in-out infinite;
}
@keyframes tre-sheen{0%,55%{background-position:130% 0}100%{background-position:-60% 0}}
@media (prefers-reduced-motion:reduce){.tre-medal::after{animation:none;background-position:60% 0}}
.tre-medal svg{width:23px;height:23px;position:relative;z-index:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
.tre-slim-txt{display:flex;flex-direction:column;gap:.12rem;min-width:0}
.tre-slim-kicker{
  font-family:var(--serif,"Playfair Display",Georgia,serif);font-size:.8rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;color:var(--gold-deep,#7a5a1e);line-height:1.2;
}
.tre-slim-text{font-family:var(--sans,Inter,system-ui,sans-serif);font-size:.92rem;line-height:1.32;color:#241f1a}

/* ---- f: "Become the top agent" banner ---- */
html body .city-tiles > .tier-menu-slot .tier-tabs,
html body .tier-menu-slot .tier-tabs{
  padding:1rem 1.2rem 1.05rem !important;
  border:1px solid var(--line,#e8e0d0) !important;
  border-radius:var(--r,18px) !important;
  box-shadow:0 10px 30px rgba(14,26,43,.12);
}
html body a.tier-menu-link{border-radius:var(--r,18px)}
html body .tier-menu-slot .tier-tabs::before{height:1px;width:2.6rem;margin:0 auto .55rem;background:linear-gradient(90deg,transparent,#e2c88f,transparent)}
html body .tier-menu-slot .tier-tabs::after{
  content:"";position:absolute;inset:6px;border:1px solid rgba(226,200,143,.4);
  border-radius:calc(var(--r,18px) - 7px);pointer-events:none;
}
html body .tier-menu-slot .tier-lines{padding:0 !important}
html body .tier-menu-slot .tier-lines::before{
  content:"";display:block;width:11px;height:11px;margin:0 auto .5rem;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2c88f' d='m12 1.5 2.6 7.9 7.9 2.6-7.9 2.6L12 22.5l-2.6-7.9L1.5 12l7.9-2.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body .tier-menu-slot .tier-lines strong{
  font-family:var(--serif,"Playfair Display",Georgia,serif) !important;font-weight:500 !important;
  font-size:clamp(1.15rem,4.8vw,1.5rem) !important;line-height:1.2 !important;letter-spacing:.005em !important;
  font-style:normal;color:#f6eedc !important;
}
@media (min-width:760px){html body .tier-menu-slot .tier-lines strong{font-size:1.6rem !important}}
html body .tier-menu-slot .tier-menu-cue{display:none !important}

/* ---- e: full-bleed header + hero, graceful fade into ivory ---- */
html body .site-header,
html body .tc-back-wrap,
html body .page-hero,
html body .pm-hero{width:100%;max-width:none;margin-left:0;margin-right:0;border-radius:0;box-shadow:none;box-sizing:border-box}
html body .tc-back-wrap{background:#0e1a2b;padding:.5rem 0 .1rem}
html body .tc-back-wrap>.container{display:flex;justify-content:space-between;align-items:center;gap:.75rem}
html body .tc-back-wrap .tc-back{display:inline-flex;align-items:center;gap:.35rem;min-height:40px;color:rgba(255,255,255,.85);text-decoration:none;font:500 15px Inter,system-ui,sans-serif}
html body .tc-back-wrap .tc-back:hover,html body .tc-back-wrap .tc-back:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}
html body.page-list .page-hero:not(.page-hero--photo),
html body .pm-hero{position:relative;padding-bottom:4.2rem;background:linear-gradient(160deg,#0e1a2b,#17294a)}
html body.page-list .page-hero:not(.page-hero--photo)::after,
html body .pm-hero::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3.4rem;pointer-events:none;z-index:0;
  background:linear-gradient(180deg,rgba(250,247,241,0) 0%,rgba(250,247,241,.55) 60%,var(--ivory,#faf7f1) 100%);
}
html body .pm-hero{background:linear-gradient(180deg,#0e1a2b 0%,#13233d 100%)}
html body .pm-hero>*{position:relative;z-index:1}
html body .pm-wrap{position:relative;z-index:2}
@media (min-width:760px){
  html body .site-header .header-inner{gap:1.4rem}
  html body .site-header nav{flex-wrap:wrap;justify-content:flex-end;gap:.15rem .85rem;font-size:.9rem}
}

/* i. one consistent header + 8-tile menu on every page */
@media (max-width:759px){
  html body .site-header nav[data-nav="r8"] a:last-child:nth-child(3n+2){grid-column:span 2 !important}
}
@media (min-width:760px){
  html body .site-header nav[data-nav="r8"]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.3rem .9rem}
  html body .site-header nav[data-nav="r8"] a{font-size:.8rem;white-space:nowrap}
}

/* h. terms section: bigger icons, first 3 rows, gold pill reveals the rest */
html body .pm-hero .tre-prem-ico{flex:0 0 3.1rem;width:3.1rem;height:3.1rem;margin-top:0;border:1px solid rgba(201,164,92,.45);border-radius:50%;background:radial-gradient(circle at 50% 35%,rgba(226,200,143,.14),rgba(255,255,255,.02));color:#e2c88f}
html body .pm-hero .tre-prem-ico svg{width:30px;height:30px;stroke-width:1.35}
html body .pm-hero .tre-prem-row{align-items:center;gap:1rem;padding:1rem 1.05rem}
html body .pm-hero .tre-prem-rows:not(.is-open) .tre-prem-extra{display:none}
.tre-prem-reveal{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;max-width:34rem;box-sizing:border-box;margin:1.1rem auto 0;min-height:52px;padding:.85rem 1.4rem;border:1px solid var(--gold,#c9a45c);border-radius:999px;background:var(--gold,#c9a45c);color:var(--ink,#0e1a2b);font:600 1rem Inter,system-ui,sans-serif;cursor:pointer;line-height:1.25;text-align:center}
.tre-prem-reveal:hover,.tre-prem-reveal:focus-visible{background:var(--gold-2,#e2c88f);outline:none}
.tre-prem-reveal[hidden],.tre-prem-less[hidden]{display:none}
.tre-prem-less{display:block;margin:.9rem auto 0;background:none;border:0;color:#e2c88f;font:500 .95rem Inter,system-ui,sans-serif;text-decoration:underline;text-decoration-color:#c9a45c;text-underline-offset:3px;min-height:40px;cursor:pointer}
