@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Senior Support Guild — professional network for senior support.
   Palette sampled from the brand mockup: deep navy structure, teal for
   primary action, cobalt as the alternating secondary accent. */

:root {
  --navy:       #002262;
  --navy-deep:  #001744;
  --navy-text:  #002262;
  --navy-soft:  #35497c;
  --ink-mute:   #5f6d90;
  --ink-faint:  #8a95b0;

  --teal:       #008e92;
  --teal-deep:  #00707d;
  --teal-lift:  #00a3a7;
  --teal-wash:  #e4f4f4;

  --blue:       #4c71ba;
  --blue-deep:  #3a5c9e;
  --blue-wash:  #eaf0fb;

  --line:       #dbe3f2;
  --line-soft:  #eaeff9;
  --paper:      #ffffff;
  --wash:       #f5f8fe;
  --wash-deep:  #eef3fd;
  --hero-a:     #f2f6fe;
  --hero-b:     #e1ebfd;

  --ok:      #06735a;  --ok-bg:   #e4f5ee;
  --warn:    #8a5a10;  --warn-bg: #fdf3e0;
  --err:     #9c2620;  --err-bg:  #fdecea;

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(0,27,86,.06);
  --shadow:    0 1px 3px rgba(0,27,86,.06), 0 6px 20px rgba(0,27,86,.06);
  --shadow-lg: 0 2px 6px rgba(0,27,86,.06), 0 20px 50px rgba(0,27,86,.12);
  --wrap: 1340px;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--navy-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--navy-text); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.05rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.16rem; }
p  { margin: 0 0 1.05em; }

a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; height: auto; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: .8rem 1.3rem; }
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.75rem; }
.wrap.narrow { max-width: 780px; }
.center-col { text-align: center; }
.muted { color: var(--ink-mute); }

/* ------------------------------------------------------------------- brand */

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand svg { display: block; flex: none; }
.brand-word { font-size: 1.32rem; font-weight: 500; letter-spacing: -.02em; color: var(--navy-text); white-space: nowrap; }
.brand-word .w-support { color: var(--teal); }
.brand-word .w-guild { color: var(--blue); }
.brand-word .w-llc { font-size: .58em; color: var(--ink-faint); font-weight: 500; margin-left: .3em; letter-spacing: .02em; }

/* ------------------------------------------------------------------ header */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 78px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2.35rem; }
.site-nav a { color: var(--navy-soft); text-decoration: none; font-weight: 500; font-size: 1rem; padding: .45rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { color: var(--teal); }
.site-nav a.is-active { color: var(--navy-text); border-bottom-color: var(--teal); }
.nav-signin { color: var(--navy-text) !important; font-weight: 500; }
.site-nav .nav-cta { background: var(--teal-deep); color: #fff !important; padding: .72rem 1.5rem; border-radius: var(--radius); font-weight: 500; border-bottom: 0; }
.site-nav .nav-cta:hover { background: #005b66; }
.navtoggle, .navtoggle-label { display: none; }

/* -------------------------------------------------------------------- hero */

.hero { background: linear-gradient(115deg, var(--hero-a) 0%, var(--hero-b) 100%); padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 600; color: var(--teal-deep); margin: 0 0 1.1em; white-space: nowrap; }
.hero h1 { margin-bottom: .4em; }
.lede { font-size: 1.1rem; color: var(--navy-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-compact { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.hero-compact .hero-inner { grid-template-columns: 1fr; }
.hero-compact .lede { max-width: 62ch; }

/* --------------------------------------------------- hero network graphic */

.netgraph { position: relative; min-height: 480px; }
.netgraph svg.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ng-card { position: absolute; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .9rem .95rem; }
.ng-tl { top: 3%;  left: 0;    width: 27.5%; }
.ng-tr { top: 3%;  right: 0;   width: 27.5%; }
.ng-bl { bottom: 8%; left: 0;  width: 27.5%; }
.ng-br { bottom: 8%; right: 0; width: 27.5%; }
.ng-head { display: flex; align-items: center; gap: .7rem; }
.ng-ico { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.ng-ico.t { background: var(--teal); }
.ng-ico.b { background: var(--blue); }
.ng-ico svg { width: 21px; height: 21px; stroke: #fff; fill: none; stroke-width: 2; }
.ng-title { font-weight: 600; color: var(--navy-text); font-size: .93rem; line-height: 1.25; }
.ng-loc { font-size: .82rem; color: var(--ink-mute); display: flex; align-items: center; gap: .22rem; }
.ng-loc svg { width: 12px; height: 12px; fill: var(--ink-faint); }
.ng-faces { display: flex; align-items: center; gap: .45rem; margin-top: .85rem; }
.face { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 600; color: var(--navy-text); background: var(--wash-deep); border: 1.5px solid #fff; box-shadow: var(--shadow-sm); }
.face-more { font-size: .8rem; color: var(--ink-mute); margin-left: .15rem; }
.ng-stat { font-size: 1.85rem; font-weight: 700; color: var(--navy-text); line-height: 1.1; margin-top: .6rem; }
.ng-statlabel { font-size: .84rem; color: var(--ink-mute); }

.ng-feature { position: absolute; left: 50%; top: 7%; transform: translateX(-50%); width: 36%; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ngf-top { background: var(--navy); padding: 1.05rem 2.3rem 1.05rem 1.05rem; display: flex; gap: .8rem; align-items: center; position: relative; }
.ngf-avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, #4c74c4, #23407e); color: #fff; font-weight: 600; font-size: 1.25rem; border: 3px solid rgba(255,255,255,.9); }
.ngf-name { color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.ngf-role { color: rgba(255,255,255,.82); font-size: .85rem; }
.ngf-loc  { color: rgba(255,255,255,.66); font-size: .78rem; display: flex; align-items: center; gap: .22rem; }
.ngf-loc svg { width: 11px; height: 11px; fill: rgba(255,255,255,.66); }
.ngf-check { position: absolute; top: .9rem; right: .9rem; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.ngf-check svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; fill: none; }
.ngf-body { padding: .95rem 1.05rem 1.05rem; }
.ngf-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .85rem; }
.ngf-pill { font-size: .72rem; padding: .28rem .6rem; border-radius: 999px; color: var(--navy-text); }
.ngf-pill:nth-child(1) { background: var(--teal-wash); }
.ngf-pill:nth-child(2) { background: var(--blue-wash); }
.ngf-pill:nth-child(3) { background: #e7f5ec; }
.ngf-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); padding-top: .8rem; text-align: center; }
.ngf-stats > div + div { border-left: 1px solid var(--line-soft); }
.ngf-num { font-size: 1.15rem; font-weight: 700; color: var(--navy-text); }
.ngf-lbl { font-size: .72rem; color: var(--ink-mute); }
.ngf-stars { color: var(--teal); font-size: .68rem; letter-spacing: .05em; }
.ngf-view { display: block; text-align: center; margin-top: .85rem; padding: .5rem; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: .84rem; font-weight: 500; color: var(--navy-text); text-decoration: none; }
.ngf-view:hover { border-color: var(--blue); color: var(--blue); }

.ng-verified { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: .7rem 1.15rem; display: flex; align-items: center; gap: .7rem; white-space: nowrap; }
.ng-verified svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; flex: none; }
.nv-title { font-weight: 600; color: var(--navy-text); font-size: .9rem; }
.nv-sub { font-size: .8rem; color: var(--ink-mute); }

/* ----------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 500; line-height: 1.2; padding: .82rem 1.6rem; border-radius: var(--radius); border: 1.5px solid transparent; background: var(--paper); color: var(--navy-text); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: #005b66; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: var(--paper); border-color: #a5bae3; color: var(--blue); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--navy-text); }
.btn-ghost:hover { border-color: var(--ink-mute); }
.btn-danger { border-color: #e3b9b6; color: var(--err); }
.btn-danger:hover { background: var(--err-bg); border-color: var(--err); }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: .48rem 1rem; font-size: .87rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------ trust strip */

.trustbar { background: var(--wash-deep); border-block: 1px solid var(--line-soft); }
.trustbar-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 0; }
.tb-item { display: flex; align-items: center; gap: .7rem; padding: 1.35rem 1.5rem; flex: 1; justify-content: center; }
.tb-item + .tb-item { border-left: 1px solid #dbe3f2; }
.tb-lead { font-weight: 600; color: var(--navy-text); font-size: .95rem; line-height: 1.25; }
.tb-label { color: var(--navy-soft); font-size: .93rem; font-weight: 500; }
.tb-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.tb-ico svg { width: 24px; height: 24px; fill: none; stroke-width: 1.9; }
.tb-ico.t svg { stroke: var(--teal); }
.tb-ico.b svg { stroke: var(--blue); }
.tb-ico.round { background: var(--paper); border-radius: 50%; box-shadow: var(--shadow-sm); width: 40px; height: 40px; }

/* ------------------------------------------------------------------- bands */

.band { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.band-wash { background: var(--wash); }
.page-head { background: linear-gradient(115deg, var(--hero-a), var(--hero-b)); border-bottom: 1px solid var(--line-soft); padding: clamp(2.5rem, 4vw, 3.75rem) 0; }
.section-title { text-align: center; margin-bottom: 2.4rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cards-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.card p { margin: 0; color: var(--navy-soft); font-size: .93rem; }
.card h3 { margin-bottom: .5em; }

.feature-card { display: flex; flex-direction: column; }
.fc-ico { width: 52px; height: 52px; margin-bottom: 1.1rem; display: grid; place-items: center; }
.fc-ico svg { width: 44px; height: 44px; fill: none; stroke-width: 1.9; }
.fc-ico.t svg { stroke: var(--teal); }
.fc-ico.b svg { stroke: var(--blue); }
.fc-link { margin-top: auto; padding-top: 1.15rem; font-size: .9rem; font-weight: 500; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.fc-link.t { color: var(--teal-deep); } .fc-link.t:hover { color: var(--teal-deep); }
.fc-link.b { color: var(--blue); } .fc-link.b:hover { color: var(--blue-deep); }

/* ------------------------------------------------------------ search panel */

.searchpanel { background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); padding: clamp(1.6rem, 3vw, 2.4rem); }
.sp-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.sp-head h2 { margin-bottom: .25em; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.sp-head p { margin: 0; color: var(--ink-mute); font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { display: inline-block; padding: .55rem 1.05rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--paper); color: var(--navy-text); font-size: .89rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill.is-active { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.pill.is-active:hover { background: var(--teal-deep); color: #fff; }

.searchrow { display: grid; grid-template-columns: 1.5fr 1fr .85fr auto; gap: .8rem; }
.inputgroup { position: relative; display: flex; }
.inputgroup svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--ink-faint); fill: none; stroke-width: 2; pointer-events: none; }
.searchrow .inputgroup input[type], .inputgroup input[type] { padding-left: 2.75rem; }

/* ------------------------------------------------------------------- forms */

.form { display: grid; gap: 1.3rem; }
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field > label, .field > legend { font-weight: 500; font-size: .94rem; color: var(--navy-text); padding: 0; }
.req { color: var(--err); }
.hint { font-size: .85rem; color: var(--ink-mute); margin: 0; }

input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], select, textarea {
  font: inherit; font-size: .97rem; color: var(--navy-text); padding: .78rem .95rem; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
input:hover, select:hover, textarea:hover { border-color: #b9c6e0; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(2,140,137,.15); outline: none; }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%235f6d90' stroke-width='2' d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* The consent wording carries legal@seniorsupportguild.com, a 28-character
   token no browser will break. In a grid the item's min-content floor is what
   sizes the track, so on a 320px screen that one address pushed the whole form
   12px off the page. min-width:0 stops it setting the floor; overflow-wrap
   lets the address itself wrap instead of running past its own box. */
.consent { background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.1rem; min-width: 0; }
.consent .checkline span { overflow-wrap: anywhere; }
.checkline { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: var(--navy-soft); line-height: 1.55; cursor: pointer; }
.checkline input[type=checkbox] { width: 20px; height: 20px; flex: none; margin-top: .1rem; accent-color: var(--teal); cursor: pointer; }
.fineprint { font-size: .85rem; color: var(--ink-mute); margin: 0; text-align: center; }

.chipgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: .4rem; }
.chiprow { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: flex; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { flex: 1; text-align: center; padding: .48rem .35rem; font-size: .87rem; font-weight: 500; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--navy-soft); transition: all .12s; }
.chip-wide span { padding: .5rem 1rem; }
.chip input:hover + span { border-color: #b9c6e0; }
.chip input:checked + span { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.auth-card { max-width: 460px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 2.3rem; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 1.3rem; }
.auth-alt { margin: 1.5rem 0 0; text-align: center; font-size: .93rem; color: var(--ink-mute); }

.flash { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-size: .94rem; border: 1px solid; }
.flash-ok    { background: var(--ok-bg);   color: var(--ok);   border-color: #b6e0cf; }
.flash-error { background: var(--err-bg);  color: var(--err);  border-color: #eec2bf; }
.flash-info  { background: var(--warn-bg); color: var(--warn); border-color: #e8d3a8; }

.checkmark { width: 68px; height: 68px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--teal-wash); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--navy-soft); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: -.05em; color: var(--teal); font-weight: 700; font-size: 1.05rem; }

.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 2.2rem; } .prose h2:first-child { margin-top: 0; }
.prose p { color: var(--navy-soft); }

.cta-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; background: linear-gradient(120deg, var(--navy-deep), #08307a); border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3rem); }
.cta-panel h2 { color: #fff; margin-bottom: .3em; }
.cta-panel p { color: rgba(255,255,255,.86); margin: 0; max-width: 54ch; }

/* --------------------------------------------------------------- directory */

.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.provider { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pv-head { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: .9rem; }
.pv-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, #4c74c4, #23407e); color: #fff; font-weight: 600; font-size: 1.05rem; }
.pv-avatar.t { background: linear-gradient(150deg, var(--teal-lift), var(--teal-deep)); }
.pv-name { font-weight: 600; color: var(--navy-text); display: flex; align-items: center; gap: .35rem; }
.pv-name svg { width: 15px; height: 15px; flex: none; }
.pv-role { font-size: .87rem; color: var(--ink-mute); }
.pv-loc { font-size: .83rem; color: var(--ink-faint); }
.pv-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .9rem; }
.tag { font-size: .74rem; padding: .24rem .6rem; border-radius: 999px; background: var(--wash-deep); color: var(--navy-soft); }
.tag.t { background: var(--teal-wash); color: var(--teal-deep); }
.pv-bio { font-size: .9rem; color: var(--navy-soft); margin: 0 0 1rem; }
.pv-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.pv-stat { font-size: .82rem; color: var(--ink-mute); }
.cat-badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 5px; background: var(--blue-wash); color: var(--blue-deep); }

/* ---------------------------------------------------------- member surface */

.hub-nav { background: var(--navy); }
.hub-nav-admin { background: var(--navy-deep); }
.hub-nav-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 56px; flex-wrap: wrap; }
.hub-nav-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.hub-nav a { color: rgba(255,255,255,.76); text-decoration: none; font-weight: 500; font-size: .93rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.hub-nav a:hover { color: #fff; }
.hub-nav a.is-active { color: #fff; border-bottom-color: var(--teal); }
.hub-nav-user { margin-left: auto; display: flex; gap: 1.1rem; align-items: center; font-size: .88rem; color: rgba(255,255,255,.68); }
.admin-tag { background: var(--teal); color: #fff; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .55rem; border-radius: 5px; }

.hub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hub-head h1 { font-size: 1.85rem; margin: 0; }

.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.statcard { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.statcard .n { font-size: 1.8rem; font-weight: 700; color: var(--navy-text); line-height: 1.1; }
.statcard .l { font-size: .84rem; color: var(--ink-mute); }

.empty { text-align: center; padding: 3.5rem 1.5rem; background: var(--wash); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty h3 { margin-bottom: .4em; }
.empty p { color: var(--ink-mute); margin: 0; }

.lead-list { display: grid; gap: 1.15rem; }
.lead { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.45rem; box-shadow: var(--shadow-sm); margin-bottom: 1.15rem; }
.lead-new { border-left: 4px solid var(--teal); }
.lead-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: .9rem; }
.lead-head h3 { margin: 0 0 .2em; }
.lead-meta { margin: 0; font-size: .87rem; color: var(--ink-mute); }
.lead-contact { display: flex; flex-wrap: wrap; gap: 1.7rem; margin: 0 0 .95rem; }
.lead-contact dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: .12rem; }
.lead-contact dd { margin: 0; font-weight: 500; color: var(--navy-text); }
.lead-msg { margin: 0 0 .95rem; padding: .85rem 1.05rem; background: var(--wash); border-left: 3px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; color: var(--navy-soft); font-size: .93rem; }
.consent-note { font-size: .8rem; color: var(--ink-faint); margin: 0 0 .95rem; }
.lead-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; padding-top: .95rem; border-top: 1px solid var(--line-soft); }
.lead-actions select { width: auto; min-width: 130px; }
.lead-actions input[type=text] { flex: 1; min-width: 170px; }

.badge { display: inline-block; padding: .26rem .68rem; border-radius: 999px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--wash-deep); color: var(--navy-soft); white-space: nowrap; }
.badge-new, .badge-assigned, .badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-accepted, .badge-active, .badge-won, .badge-connected { background: var(--ok-bg); color: var(--ok); }
.badge-declined, .badge-lost, .badge-rejected, .badge-suspended { background: var(--err-bg); color: var(--err); }

.closed-block { margin-top: 2rem; }
.closed-block summary { cursor: pointer; font-weight: 500; color: var(--navy-soft); padding: .7rem 0; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: .91rem; min-width: 820px; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); padding: .85rem 1rem; border-bottom: 1px solid var(--line); background: var(--wash); }
.table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.inline-form { display: flex; gap: .4rem; align-items: center; }
.inline-form select { width: auto; padding: .38rem .55rem; font-size: .86rem; }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-grid h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 1rem; }
.footer-grid a { display: block; color: rgba(255,255,255,.7); text-decoration: none; padding: .28rem 0; font-size: .92rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-blurb { font-size: .92rem; max-width: 40ch; margin: 1rem 0 0; }
.brand-footer .brand-word { color: #fff; }
.brand-footer .w-support { color: #35c2c6; }
.brand-footer .w-guild { color: #8ea9de; }
.brand-footer .w-llc { color: rgba(255,255,255,.5); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.7rem; font-size: .83rem; }
.footer-legal p { margin: 0 0 .7rem; }
.footer-legal a { color: rgba(255,255,255,.85); }
.disclaimer { color: rgba(255,255,255,.5); line-height: 1.6; max-width: 92ch; }

/* -------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .netgraph { min-height: 340px; }
  .searchrow { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { flex-wrap: wrap; }
  .tb-item { flex: 1 1 33%; }
  .tb-item:nth-child(3n+1) { border-left: 0; }
}

@media (max-width: 860px) {
  .netgraph { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
  .netgraph svg.net-lines { display: none; }
  .ng-card, .ng-feature, .ng-verified { position: static; width: auto; transform: none; }
  .ng-feature { grid-column: 1 / -1; order: -1; }
  .ng-verified { grid-column: 1 / -1; justify-content: center; }
}

/* The header is one row: brand, then either the full nav or a hamburger. At
   four links the nav is ~726px, which clears the brand comfortably from about
   1200px up. In the band below that the spacing closes up but the type does
   not: an earlier six-link nav only fit by dropping to 14px, which is the
   wrong thing to do to this audience. Below 1080 it becomes the hamburger. */
@media (min-width: 1081px) and (max-width: 1199px) {
  .header-inner { gap: 1.25rem; }
  .site-nav { gap: 1.5rem; }
  .site-nav .nav-cta { padding: .68rem 1.2rem; }
}

@media (max-width: 1080px) {
  .navtoggle-label { display: block; margin-left: auto; flex: none; width: 44px; height: 44px; cursor: pointer; position: relative; border-radius: 8px; border: 1.5px solid var(--line); }
  .navtoggle-label span, .navtoggle-label span::before, .navtoggle-label span::after { content: ""; position: absolute; left: 12px; width: 18px; height: 2px; background: var(--navy-text); border-radius: 2px; }
  .navtoggle-label span { top: 20px; }
  .navtoggle-label span::before { top: -6px; left: 0; }
  .navtoggle-label span::after { top: 6px; left: 0; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.75rem 1.25rem; box-shadow: var(--shadow-lg); }
  .navtoggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .site-nav a.is-active { border-bottom-color: var(--line-soft); }
  .site-nav .nav-cta { text-align: center; margin-top: .9rem; border-bottom: 0; }
}

@media (max-width: 760px) {
  /* Now the brand and the hamburger share a narrow row. The hamburger is a flex
     item whose only child is absolutely positioned, so it has no intrinsic width
     to defend and was being crushed from 44px to 2px — its bars then hung 11px
     off the side of every page. flex:none keeps the tap target; shrinking the
     brand buys back the room so nothing has to be crushed at all. */
  .header-inner { gap: .75rem; }
  .site-header .brand { gap: .5rem; }
  .site-header .brand svg { width: 54px; }
  .site-header .brand-word { font-size: 1.1rem; }
  .site-header .w-llc { display: none; }   /* the footer carries the legal name */

  /* 1.75rem of gutter each side is 19% of a 320px screen. Narrow it there so
     content, not margin, gets the width. */
  .wrap, .site-nav { padding-left: 1.15rem; padding-right: 1.15rem; }
  .field-row { grid-template-columns: 1fr; }
  .searchrow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .netgraph { grid-template-columns: 1fr; }
  .tb-item { flex: 1 1 100%; border-left: 0 !important; border-top: 1px solid #dbe3f2; justify-content: flex-start; }
  .tb-item:first-child { border-top: 0; }
  .lead-head { flex-direction: column; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .sp-head { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .hub-nav, .lead-actions { display: none; } }

/* --------------------------------------------------- intake: two doors */

.intent-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.intent-choice legend { grid-column: 1 / -1; }
.intent-card { position: relative; display: flex; cursor: pointer; }
.intent-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ic-body { flex: 1; display: block; padding: 1.05rem 1.15rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: all .12s; }
.ic-title { display: block; font-weight: 600; color: var(--navy-text); margin-bottom: .2rem; }
.ic-sub { display: block; font-size: .87rem; color: var(--ink-mute); line-height: 1.5; }
.intent-card input:hover + .ic-body { border-color: #b9c6e0; }
.intent-card input:checked + .ic-body { border-color: var(--teal); background: var(--teal-wash); box-shadow: 0 0 0 1px var(--teal); }
.intent-card input:focus-visible + .ic-body { outline: 3px solid var(--teal); outline-offset: 2px; }

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.topic { position: relative; display: flex; cursor: pointer; }
.topic input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.topic > span { flex: 1; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: all .12s; }
.topic strong { display: block; font-size: .95rem; font-weight: 600; color: var(--navy-text); margin-bottom: .15rem; }
.topic em { display: block; font-style: normal; font-size: .84rem; color: var(--ink-mute); line-height: 1.45; }
.topic input:hover + span { border-color: #b9c6e0; }
.topic input:checked + span { border-color: var(--teal); background: var(--teal-wash); box-shadow: 0 0 0 1px var(--teal); }
.topic input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Show only the blocks that belong to the chosen door. Pure CSS, so it works
   with scripting off; the server re-checks the right consent box regardless. */
.intake .call-only, .intake .info-only { display: none; }
.intake:has(input[name="intent"][value="consultation"]:checked) .call-only { display: grid; }
.intake:has(input[name="intent"][value="information"]:checked) .info-only { display: block; }
.intake:has(input[name="intent"][value="consultation"]:checked) .consent.call-only { display: block; }
/* No :has() support — show everything rather than hiding a required field. */
@supports not selector(:has(*)) {
  .intake .call-only { display: grid; }
  .intake .info-only { display: block; }
}

.steps-num { margin: 0 0 1.5rem; padding-left: 1.3rem; display: grid; gap: .85rem; }
.steps-num li { color: var(--navy-soft); padding-left: .3rem; }
.steps-num strong { color: var(--navy-text); }

/* ------------------------------------------------------------------ forum */

.chan-pills { margin-bottom: .5rem; }
.topic-list { display: grid; gap: .8rem; }
.topic-row { display: flex; gap: 1.5rem; align-items: flex-start; justify-content: space-between; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.tr-top { display: flex; gap: .45rem; align-items: center; margin-bottom: .4rem; flex-wrap: wrap; }
.topic-row h3 { font-size: 1.08rem; margin: 0 0 .5rem; }
.topic-row h3 a { text-decoration: none; color: var(--navy-text); }
.topic-row h3 a:hover { color: var(--blue); text-decoration: underline; }
.tr-count { text-align: center; flex: none; min-width: 76px; }
.tr-count .n { display: block; font-size: 1.3rem; font-weight: 700; color: var(--navy-text); line-height: 1.1; }
.tr-count .l { display: block; font-size: .78rem; color: var(--ink-mute); }
.tr-last { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: .35rem; }

.byline { display: flex; align-items: center; gap: .55rem; }
.by-avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .68rem; font-weight: 600; color: #fff; background: linear-gradient(150deg, #4c74c4, #23407e); }
.by-name { display: block; font-size: .89rem; font-weight: 600; color: var(--navy-text); line-height: 1.25; }
.by-meta { display: block; font-size: .78rem; color: var(--ink-mute); }

.post-list { display: grid; gap: 1rem; }
.post { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); }
.post-op { border-left: 4px solid var(--teal); }
.post-body { margin-top: .9rem; color: var(--navy-soft); font-size: .97rem; }
.post-body p { margin: 0 0 .8em; }
.post-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- membership */

.plan-card { display: flex; flex-direction: column; }
.plan-card.is-current { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--navy-text); margin: .2em 0 .4em; line-height: 1; }
.plan-price span { font-size: .95rem; font-weight: 400; color: var(--ink-mute); }
.plan-card .btn { margin-top: auto; }
.plan-card .checklist { margin-bottom: 1.2rem; }
.plan-card .checklist li { font-size: .9rem; padding-left: 1.6rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--wash-deep); padding: .12em .4em; border-radius: 5px; color: var(--navy-text); }
input[type=file] { font: inherit; font-size: .93rem; padding: .6rem; width: 100%; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--paper); }

@media (max-width: 720px) {
  .intent-choice, .topic-grid { grid-template-columns: 1fr; }
  .topic-row { flex-direction: column; gap: .8rem; }
  .tr-count { text-align: left; display: flex; gap: .4rem; align-items: baseline; }
  .tr-count .n, .tr-count .l, .tr-last { display: inline; }
}

/* ------------------------------------------------------------ public feed */

.feed-head { background: linear-gradient(115deg, var(--hero-a), var(--hero-b)); border-bottom: 1px solid var(--line-soft); padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.fh-inner { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; justify-content: space-between; }
.fh-inner h1 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); margin-bottom: .3em; }
.fh-inner .lede { margin: 0; max-width: 54ch; }
.fh-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.feed { display: grid; gap: 1.1rem; }
.fcard { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--line); }
.fcard-q { border-left-color: var(--blue); }
.fcard-p { border-left-color: var(--teal); }
.fc-top { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-bottom: .6rem; }
.fc-kind { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .22rem .6rem; border-radius: 5px; }
.fc-kind.question { background: var(--blue-wash); color: var(--blue-deep); }
.fc-kind.post { background: var(--teal-wash); color: var(--teal-deep); }
.fc-chan { font-size: .8rem; color: var(--ink-mute); text-decoration: none; }
.fc-chan:hover { color: var(--blue); text-decoration: underline; }
.fc-title { font-size: 1.2rem; margin: 0 0 .45rem; line-height: 1.3; }
.fc-title a { color: var(--navy-text); text-decoration: none; }
.fc-title a:hover { color: var(--blue); text-decoration: underline; }
.fc-excerpt { font-size: .94rem; color: var(--navy-soft); margin: 0 0 1rem; }
.fc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.fc-count { font-size: .86rem; font-weight: 500; color: var(--blue); text-decoration: none; white-space: nowrap; }
.fc-count:hover { text-decoration: underline; }

.by-avatar.by-senior { background: linear-gradient(150deg, #8ca4cf, #4a6597); }
.by-name svg { width: 14px; height: 14px; vertical-align: -2px; }

.post-pro { border-left: 4px solid var(--teal); background: linear-gradient(180deg, var(--teal-wash) 0%, var(--paper) 46px); }
.post-foot { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line-soft); }

.helpful { display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-size: .85rem; font-weight: 500; padding: .42rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--navy-soft); cursor: pointer; transition: all .12s; }
.helpful svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.helpful:hover { border-color: var(--teal); color: var(--teal-deep); }
.helpful.is-on { background: var(--teal-wash); border-color: var(--teal); color: var(--teal-deep); }
.helpful.is-on svg { fill: var(--teal); stroke: var(--teal); }
.helpful.is-static { cursor: default; border-color: transparent; color: var(--ink-mute); padding-left: 0; }

@media (max-width: 720px) {
  .fh-inner { flex-direction: column; align-items: flex-start; }
  .fc-foot { flex-direction: column; align-items: flex-start; gap: .7rem; }
}

/* --------------------------------------------------- hero (composite art) */

.hero-stacked { padding-bottom: 0; }
.hero-copy-c { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
.hero-copy-c .lede { margin-left: auto; margin-right: auto; }
.hero-copy-c .hero-actions { justify-content: center; }
.hero-art { margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

.feat-card { position: relative; border-top: 3px solid var(--teal); }
.feat-flag { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--teal-deep); background: var(--teal-wash); padding: .2rem .6rem; border-radius: 5px; margin-bottom: .7rem; }
.feat-by { margin: 1rem 0 .3rem; font-size: .9rem; }
.feat-by a { font-weight: 600; text-decoration: none; }
.feat-by a:hover { text-decoration: underline; }
.feat-by span { display: block; color: var(--ink-mute); font-size: .85rem; }

.plan-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--teal-deep); color: #fff; font-size: .72rem; font-weight: 600; padding: .22rem .8rem; border-radius: 999px; }
.plan-pick { position: relative; border-color: var(--teal); }

@media (max-width: 760px) {
  .hero-copy-c { text-align: left; }
  .hero-copy-c .hero-actions { justify-content: flex-start; }
  .hero-art img { border-radius: var(--radius-lg); }
}

.btn[disabled] { opacity: .5; cursor: not-allowed; border-color: var(--line); background: var(--wash); color: var(--ink-mute); }
.btn[disabled]:hover { border-color: var(--line); }
.plan-card .badge { align-self: flex-start; }

/* ------------------------------------------- senior-first home page pieces */

.steps-3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.steps-3 li { display: flex; flex-direction: column; align-items: center; }
.steps-3 .step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-deep); color: #fff; font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.steps-3 h3 { margin-bottom: .35em; }
.steps-3 p { color: var(--navy-soft); margin: 0; font-size: .97rem; max-width: 30ch; }

.q-list { display: grid; gap: .7rem; }
.q-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.05rem 1.3rem; text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .12s; }
.q-row:hover { border-color: var(--blue); }
.q-title { font-size: 1.03rem; font-weight: 500; color: var(--navy-text); }
.q-meta { font-size: .84rem; color: var(--ink-mute); white-space: nowrap; }

/* One quiet door to the professional side, at the very bottom. */
.pro-strip { background: var(--wash-deep); border-top: 1px solid var(--line-soft); padding: 1.5rem 0; }
.pro-strip p { margin: 0; text-align: center; font-size: .96rem; color: var(--navy-soft); }
.pro-strip a { font-weight: 500; }

.perk { display: flex; flex-direction: column; }
.perk-partner { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-mute); margin-bottom: .45rem; }
.perk-detail { font-size: .88rem; color: var(--ink-mute); margin-top: .7rem; }
.perk-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.perk-code { background: var(--teal-wash); color: var(--teal-deep); font-weight: 600; letter-spacing: .04em; }
.perk-lock { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--ink-mute); }
.perk-lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.perk.is-locked { background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 60%); }
.perk.is-locked h3, .perk.is-locked p { opacity: .72; }

@media (max-width: 760px) {
  .steps-3 { grid-template-columns: 1fr; gap: 1.6rem; }
  .q-row { flex-direction: column; gap: .35rem; }
}

/* ------------------------------------------------- standing & the two marks */

.by-name svg[aria-label="Guild Certified"] { width: 15px; height: 15px; vertical-align: -2px; }
.standing-line { display: flex; flex-wrap: wrap; gap: .6rem; margin: .6rem 0 0; }
.stand { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 500; padding: .25rem .7rem; border-radius: 999px; }
.stand svg { width: 14px; height: 14px; }
.stand-v { background: var(--teal-wash); color: var(--teal-deep); }
.stand-c { background: #fdf3e0; color: #8a5a10; }

.stand-card { padding: 1.5rem 1.6rem; }
.stand-card.is-earned { border-color: #e6c98a; }
.stand-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; flex-wrap: wrap; }
.stand-head > div { flex: 1; min-width: 180px; }
.stand-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; }
.stand-ico svg { width: 30px; height: 30px; }

.prog { display: grid; gap: .9rem; margin-top: 1.2rem; }
.prog-top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .3rem; }
.prog-bar { height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.prog-bar span { display: block; height: 100%; border-radius: 999px; background: var(--teal); }

/* ----------------------------------------------------------- perks & find */

.disclose { background: var(--wash); border: 1px solid var(--line-soft); border-left: 3px solid var(--blue);
  border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .91rem; color: var(--navy-soft); margin-bottom: 1.6rem; }
.disclose strong { color: var(--navy-text); }
.perk-what { font-size: .88rem; color: var(--ink-mute); margin: -.4rem 0 .6rem; }
.perk-rating { font-size: .9rem; color: #b07d1e; letter-spacing: .06em; margin: .3rem 0 .7rem; }
.perk-rating .muted { letter-spacing: 0; margin-left: .3rem; font-size: .82rem; }
.perk-rate { display: flex; align-items: center; gap: .15rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line-soft); }
.perk-rate .muted { font-size: .82rem; margin-right: .35rem; }
.star { background: none; border: 0; cursor: pointer; font-size: 1.15rem; line-height: 1; color: var(--line); padding: 0 .06rem; }
.star:hover, .star.is-on { color: #d9a441; }

.hub-nav-senior { background: var(--brand-senior, #0d3a63); }
.find-form .field { margin-bottom: 0; }

@media (max-width: 720px) { .stand-head { flex-direction: column; align-items: flex-start; } }

/* legal documents ------------------------------------------------------- */
.prose.legal ul, .prose.legal ol { color: var(--navy-soft); margin: 0 0 1.4rem; padding-left: 1.4rem; }
.prose.legal li { margin-bottom: .45rem; }
.prose.legal blockquote { margin: 1.2rem 0; padding: 1rem 1.2rem; border-left: 3px solid var(--teal);
  background: var(--teal-wash); border-radius: 0 var(--radius) var(--radius) 0; color: var(--navy-soft); font-size: .95rem; }
.prose.legal h2 { font-size: 1.18rem; }
.prose.legal, .prose.legal blockquote { overflow-wrap: break-word; }

/* honeypot: real people never see it, so anything typed here is a bot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.section-gap { margin-top: 2.6rem; }

/* reach-out panel, saved list, video facade --------------------------------- */
.reach-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.reach-btn { display: inline-flex; align-items: center; gap: .45rem; }
.reveal-form { margin: 0; }
.revealed { margin-top: 1.1rem; padding: 1rem 1.15rem; background: var(--teal-wash);
  border: 1px solid var(--teal); border-radius: var(--radius); }
.revealed-label { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-deep); font-weight: 600; margin-bottom: .25rem; }
.revealed-value { font-size: 1.35rem; font-weight: 600; color: var(--navy-text);
  text-decoration: none; overflow-wrap: anywhere; }
.revealed-value:hover { color: var(--teal-deep); text-decoration: underline; }
.revealed .hint { margin: .5rem 0 0; }
.reach-save { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.2rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.reach-links { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.2rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.reach-links a { font-size: .92rem; }

/* The video is a still image until it is clicked, so nothing loads from the
   video host — and no cookies are set — for someone who never presses play. */
.videoframe { position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--navy-text), var(--teal-deep)); aspect-ratio: 16 / 9; }
.videoframe img, .videoframe iframe { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.videoframe-plain { position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-text), var(--teal-deep)); }
.videoplay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer;
  background: rgba(0,20,50,.28); display: flex; align-items: center; justify-content: center; }
.videoplay:hover { background: rgba(0,20,50,.42); }
.videoplay::before { content: ""; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,.94); position: absolute; box-shadow: var(--shadow-lg); }
.videoplay-tri { position: relative; width: 0; height: 0; margin-left: 6px;
  border-left: 22px solid var(--teal-deep); border-top: 14px solid transparent;
  border-bottom: 14px solid transparent; }
.videoplay:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }

.savedlist { display: grid; gap: 1rem; margin-top: 1.2rem; }
.savedcard { background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.3rem; box-shadow: var(--shadow); }
.savedcard.is-done { opacity: .72; }
.savedcard .pv-name a { text-decoration: none; color: inherit; }
.savedcard .pv-name a:hover { color: var(--teal-deep); }
.savednote { margin: 1rem 0 .3rem; }
.savednote label { display: block; font-size: .88rem; font-weight: 500;
  color: var(--navy-soft); margin-bottom: .35rem; }
.savednote .hint { font-weight: 400; }
.savedcard .pv-foot { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  border-top: 1px solid var(--line-soft); padding-top: .9rem; margin-top: .9rem; }
.savedcard .pv-foot form { margin: 0; }
.linkreview { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: .6rem 0 0; font-size: .9rem; }
.linkreview dt { color: var(--ink-mute); font-weight: 500; }
.linkreview dd { margin: 0; overflow-wrap: anywhere; }

.savednote .inputgroup { display: flex; gap: .5rem; }
.savednote .inputgroup input { flex: 1; min-width: 0; }
.savednote .inputgroup .btn { flex: none; white-space: nowrap; }

/* reporting — quiet by design, so it is used for harm and not for disagreement */
.report { display: inline-block; }
.report > summary { list-style: none; cursor: pointer; font-size: .82rem; color: var(--ink-faint);
  padding: .3rem .1rem; user-select: none; }
.report > summary::-webkit-details-marker { display: none; }
.report > summary:hover { color: var(--navy-soft); text-decoration: underline; }
.report-form { margin-top: .7rem; padding: 1rem; background: var(--wash);
  border: 1px solid var(--line-soft); border-radius: var(--radius); max-width: 30rem; display: grid; gap: .5rem; }
.report-form .checkline { font-size: .88rem; gap: .55rem; align-items: center; }
.report-form textarea { font-size: .9rem; }
.report-form .btn { justify-self: start; margin-top: .3rem; }
.report-row { margin-top: 1.4rem; }
.report-detail { font-style: italic; color: var(--navy-soft); }
.report-body { margin: .7rem 0 0; padding: .8rem 1rem; background: var(--wash);
  border-left: 3px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem; color: var(--navy-soft); white-space: pre-wrap; }

/* Verification badges. Sized in em so they track whatever text they sit beside
   instead of rendering at the browser's default SVG size, which made them
   enormous next to a profile heading. Swapping the SVG for a PNG later only
   needs the same class. */
/* Named credmark, not badge — .badge is already a pill component further up
   this file, and reusing it made every verification mark inherit a rounded
   background and a .75rem font size, which squashed the icons into blank
   lozenges. */
.credmark { width: 1em; height: 1em; display: inline-block; vertical-align: -.11em; flex: none; }
h1 .credmark { width: .58em; height: .58em; vertical-align: .06em; margin-left: .14em; }
.pv-name .credmark, .fc-author .credmark, .tr-top .credmark { width: .95em; height: .95em; }
.stand .credmark { width: 1.05em; height: 1.05em; margin-right: .1em; }

/* Two front doors onto one sign-in form. */
.authtabs { display: flex; gap: .3rem; margin-bottom: 1.4rem; background: var(--wash);
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: .28rem; }
.authtab { flex: 1; text-align: center; padding: .6rem .5rem; border-radius: calc(var(--radius) - .22rem);
  font-size: .92rem; font-weight: 500; color: var(--navy-soft); text-decoration: none; }
.authtab:hover { color: var(--navy-text); }
.authtab.is-on { background: var(--paper); color: var(--navy-text); box-shadow: var(--shadow); }

/* deals ---------------------------------------------------------------- */
.deal { display: flex; flex-direction: column; }
.deal-head { display: flex; gap: .85rem; align-items: flex-start; }
.deal-mark { font-size: 2rem; line-height: 1; flex: none; }
.deal-partner { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: .2rem; }
.deal h3 { font-size: 1.12rem; margin: 0; }
.deal-blurb { color: var(--navy-soft); margin: .8rem 0 0; }
.deal-code { margin: .9rem 0 0; padding: .6rem .9rem; background: var(--teal-wash);
  border: 1px dashed var(--teal); border-radius: var(--radius); text-align: center;
  font-size: .95rem; color: var(--navy-text); }
.deal-code strong { font-size: 1.05rem; letter-spacing: .06em; }
.deal .btn { margin-top: auto; }
.deal .hint { margin: .6rem 0 0; }
.deal .btn-block { margin-top: 1.1rem; }

/* cover photos ---------------------------------------------------------- */
/* The band across the top of a professional's profile. It is decoration, so
   it never gets to push the name and credentials off the first screen: the
   height is capped in viewport units as well as by the aspect ratio. */
.cover { position: relative; background: var(--wash-deep); border-bottom: 1px solid var(--line-soft); }
.cover img { display: block; width: 100%; height: auto; max-height: 34vh;
  aspect-ratio: 8 / 3; object-fit: cover; object-position: center; }
.cover-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.5rem 1.25rem .8rem;
  background: linear-gradient(to top, rgba(11,26,50,.72), rgba(11,26,50,0)); pointer-events: none; }
.cover-cap span { display: block; max-width: 62rem; margin: 0 auto; color: #fff;
  font-size: .92rem; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
/* With a photo above it, the header gradient becomes a second banner. Flatten
   it so the two do not fight. */
.page-head-covered { background: var(--paper); padding-top: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 560px) { .cover img { max-height: 28vh; } }

/* the uploader's side of it */
.coverguide { background: var(--wash); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1rem 1.15rem; margin-top: 1rem; font-size: .9rem; color: var(--navy-soft); }
.coverguide ul { margin: .6rem 0 0; padding-left: 1.1rem; }
.coverguide li + li { margin-top: .35rem; }
.coverpreview { margin-top: 1.2rem; }
.coverpreview img { display: block; width: 100%; aspect-ratio: 8 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--wash-deep); }
.coverpreview .hint { margin-top: .5rem; }
.coverbtns { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .4rem; }
/* Review shot: sized so a reviewer sees it as a visitor would, not as a thumbnail. */
.coverreview { display: block; width: 100%; max-width: 30rem; margin: .7rem 0; aspect-ratio: 8 / 3;
  object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-soft); }
