/* ================================================================
   RankHarbour — dashboard.css
   Signed-in client dashboard on account.html. Only applies while
   body[data-auth-view="account"]; the sign-in, sign-up and recovery
   views keep the compact card from account.css.
   ================================================================ */

/* ── SHELL: a wide glass card only while signed in ── */
[data-auth-view="account"] {
  --dash-gutter: clamp(10px, 2vw, 32px); /* modest page gutter around the card */
  --dash-max: 1760px;
  --auth-head-h: 76px;                    /* fixed header height; content starts below it */
}
/* Header content lines up with the wide card; logo styling itself is untouched. */
[data-auth-view="account"] .rh-header__inner {
  max-width: var(--dash-max);
  padding-left: calc(var(--dash-gutter) + 6px);
  padding-right: calc(var(--dash-gutter) + 6px);
  gap: 20px;
}
[data-auth-view="account"] .auth-main {
  align-items: flex-start;
  padding: calc(var(--auth-head-h) + 16px) var(--dash-gutter) 32px;
}

/* ── HEADER TABS: logo · sections · log out, in the fixed site header ── */
.auth-header__nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.dash-tabs { display: flex; gap: 4px; }
.dash-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(32, 35, 41, 0.72);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.dash-tab:hover { color: var(--chalk); background: rgba(32, 35, 41, 0.07); }
.dash-tab[aria-selected="true"] { color: var(--chalk); background: rgba(133, 94, 182, 0.14); }
.dash-tab[aria-selected="true"]::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
}
.dash-tab:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
.dash-tab__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dash-tab[aria-selected="true"] .dash-tab__icon { color: var(--brass); }

/* Below 1100px the tabs drop to a second header row spanning the full width. */
@media (max-width: 1099.98px) {
  [data-auth-view="account"] { --auth-head-h: 121px; } /* 64px row + 56px tab row + 1px border */
  [data-auth-view="account"] .rh-header { height: auto; }
  [data-auth-view="account"] .rh-header__inner { flex-wrap: wrap; height: auto; row-gap: 0; }
  [data-auth-view="account"] .rh-logo,
  [data-auth-view="account"] .auth-header__logout { margin-top: 10px; margin-bottom: 10px; }
  [data-auth-view="account"] .rh-header__inner > .rh-logo { min-height: 44px; }
  .auth-header__nav {
    order: 3;
    flex: 1 0 100%;
    height: 56px;
    align-items: center;
    border-top: 1px solid rgba(32, 35, 41, 0.08);
  }
  .dash-tabs { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .dash-tab { padding: 8px 6px; gap: 6px; font-size: 14px; min-height: 44px; }
}
[data-auth-view="account"] .auth-card {
  max-width: var(--dash-max);
  padding: 0;
  background: linear-gradient(160deg, rgba(248, 248, 252, 0.74) 0%, rgba(245, 245, 250, 0.82) 100%);
  border-color: rgba(133, 94, 182, 0.2);
  border-radius: 16px;
}
[data-auth-view="account"] .auth-notice:not(:empty) { margin: 18px var(--dash-pad, 24px) 0; }

.dash {
  --dash-pad: clamp(16px, 2.2vw, 36px);
  --dash-line: rgba(32, 35, 41, 0.1);
  --dash-soft: rgba(32, 35, 41, 0.74);
  --dash-faint: rgba(32, 35, 41, 0.6);
  --dash-well: rgba(245, 245, 250, 0.42);
  display: block;
  scroll-margin-top: calc(var(--auth-head-h) + 12px);
}

.dash__head { padding: 22px var(--dash-pad) 18px; min-width: 0; }
.dash__head .auth-eyebrow { margin-bottom: 8px; }
.dash__title {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.dash__session-note { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--dash-faint); }

/* ── PANELS ── */
.dash__main {
  min-width: 0;
  padding: 26px var(--dash-pad) 40px;
  border-top: 1px solid rgba(133, 94, 182, 0.16);
  container-type: inline-size;
}
.dash-panel:focus { outline: none; }
.dash-panel:focus-visible { outline: 2px solid rgba(133, 94, 182, 0.6); outline-offset: 8px; border-radius: 4px; }

.dash-h2 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--chalk);
  margin-bottom: 8px;
}
.dash-h2:focus { outline: none; }
.dash-h3 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--chalk);
  margin: 36px 0 14px;
}
.dash-h3--flush { margin: 0 0 4px; font-size: 19px; }
.dash-lede {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--dash-soft);
  max-width: 62ch;
  margin-bottom: 26px;
}
.dash-note { font-size: 14.5px; color: var(--dash-soft); margin-top: 28px; }
.dash-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: var(--brass);
  text-decoration: underline;
  text-decoration-color: rgba(133, 94, 182, 0.45);
  text-underline-offset: 3px;
}
.dash-link:hover, .dash-link:focus-visible { color: #7950ad; text-decoration-color: currentColor; }

/* ── OVERVIEW ── */
.dash-shortcuts { display: grid; grid-template-columns: 1fr; gap: 14px; }
@container (min-width: 560px) { .dash-shortcuts { grid-template-columns: 1fr 1fr; } }
@container (min-width: 900px) { .dash-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dash-shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 52px 22px 22px;
  text-align: left;
  color: var(--chalk);
  background: var(--dash-well);
  border: 1px solid var(--dash-line);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.dash-shortcut:hover { border-color: rgba(133, 94, 182, 0.5); background: rgba(133, 94, 182, 0.07); }
.dash-shortcut:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.dash-shortcut__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.dash-shortcut__title { font-family: 'DM Sans', Arial, sans-serif; font-size: 20px; line-height: 1.25; }
.dash-shortcut__text { font-size: 14px; line-height: 1.55; color: var(--dash-soft); }
.dash-shortcut__arrow {
  position: absolute;
  right: 22px;
  top: 22px;
  color: var(--brass);
  font-size: 18px;
  transition: transform 0.2s;
}
.dash-shortcut:hover .dash-shortcut__arrow { transform: translateX(3px); }

.dash-steps { display: grid; gap: 0; border-top: 1px solid var(--dash-line); }
.dash-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dash-line);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dash-soft);
}
.dash-steps__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(133, 94, 182, 0.55);
  border-radius: 50%;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--brass);
}
.dash-steps__title { color: var(--chalk); font-weight: 500; font-size: 15.5px; margin-bottom: 2px; }

/* ── PLANS ── */
.dash-lede--sub { font-size: 14.5px; margin-top: -14px; }
.plans-currency { font-size: 13px; color: var(--dash-faint); margin-bottom: 4px; }
.plans-group { margin-top: 26px; }
.plans-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 12px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(133, 94, 182, 0.24);
}
.plans-group__head .dash-h3 { margin: 0; }
.plans-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--dash-soft); }
.plans-legend__item { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.plans-legend__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.plans-legend__item--ent .plans-legend__name { color: #7950ad; }

/* One grid for all five plans: 1 → 2 → 3 columns, then a single row of five at ≥1200px. */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .plans { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
.plan { display: flex; }
.plan__body {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 26px 22px 22px;
  background: var(--dash-well);
  border: 1px solid var(--dash-line);
  border-radius: 12px;
}
.plan--featured .plan__body {
  border-color: rgba(133, 94, 182, 0.72);
  background: linear-gradient(180deg, rgba(133, 94, 182, 0.1) 0%, rgba(245, 245, 250, 0.5) 46%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(133, 94, 182, 0.25);
}
.plan__badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--brass);
  border-radius: 999px;
}
.plan__group {
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--dash-faint);
}
.plan--enterprise .plan__group { color: #7950ad; }
.plan--enterprise .plan__body {
  background: linear-gradient(180deg, rgba(32, 35, 41, 0.045) 0%, rgba(245, 245, 250, 0.5) 40%);
  border-top: 2px solid rgba(133, 94, 182, 0.5);
}
.plan__name {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--chalk);
}
.plan__tagline {
  margin-top: 2px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-style: italic;
  font-size: 15.5px;
  color: #7950ad;
}
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 12px 0 12px; }
.plan__amount {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 42px;
  line-height: 1;
  color: var(--chalk);
  letter-spacing: -0.01em;
}
.plan__per { font-size: 13.5px; color: var(--dash-faint); }
.plan__fit {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--dash-soft);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--dash-line);
}
.plan__lead { font-size: 13px; font-weight: 600; color: var(--brass); margin-bottom: 8px; }
.plan__list { display: grid; gap: 8px; margin-bottom: 22px; font-size: 14.5px; line-height: 1.45; color: rgba(32, 35, 41, 0.88); }
.plan__list li { position: relative; padding-left: 24px; }
.plan__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.32em;
  width: 13px;
  height: 13px;
  background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan__foot { margin-top: auto; display: grid; gap: 14px; }
.plan__cta {
  width: 100%;
  justify-content: center;
  border-radius: 2px;
  font-size: 14.5px;
  padding: 12px 14px;
  white-space: normal;
  text-align: center;
}

/* Full inclusions disclosure */
.plan__more { border-top: 1px solid var(--dash-line); }
.plan__more > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 2px 1px;
  font-size: 14px;
  font-weight: 500;
  color: var(--chalk);
  cursor: pointer;
  list-style: none;
}
.plan__more > summary::-webkit-details-marker { display: none; }
.plan__more > summary::after {
  content: '';
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}
.plan__more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.plan__more > summary:hover { color: #7950ad; }
.plan__more > summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.plan__count {
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brass);
  border: 1px solid rgba(133, 94, 182, 0.4);
  border-radius: 999px;
}
.plan__more-body { padding-top: 14px; }
.plan__full { display: grid; gap: 7px; font-size: 13.5px; line-height: 1.45; color: rgba(32, 35, 41, 0.84); }
.plan__full li { position: relative; padding-left: 16px; }
.plan__full li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
}
.plan__ideal {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dash-soft);
  background: rgba(133, 94, 182, 0.07);
  border-left: 2px solid var(--brass);
  border-radius: 0 6px 6px 0;
}
.plan__ideal strong { color: var(--chalk); font-weight: 600; }

/* Five across: compact type so every card stays readable at ~200px wide. */
@media (min-width: 1200px) {
  .plan__body { padding: 24px 16px 16px; }
  .plan__badge { left: 16px; }
  .plan__name { font-size: 22px; }
  .plan__tagline { font-size: 14.5px; }
  .plan__amount { font-size: clamp(32px, 2.4vw, 42px); }
  .plan__per { font-size: 12.5px; }
  .plan__fit, .plan__list { font-size: 13.5px; }
  .plan__full, .plan__ideal { font-size: 13px; }
  .plan__cta { font-size: 13.5px; padding: 11px 10px; }
}

/* ── COMPARISON TABLE ── */
.compare { scroll-margin-top: calc(var(--auth-head-h, 76px) + 20px); }
.compare__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 40px 0 14px; }
.compare__head .dash-h3 { margin: 0; }
.compare__focus { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--dash-soft); }
.compare__focus strong { color: var(--chalk); font-weight: 600; }
.compare__scroll {
  overflow-x: auto;
  border: 1px solid var(--dash-line);
  border-radius: 12px;
  background: rgba(245, 245, 250, 0.5);
  -webkit-overflow-scrolling: touch;
}
.compare__scroll:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.compare__hint { display: none; font-size: 13px; color: var(--dash-faint); margin: -6px 0 10px; }
@container (max-width: 799.98px) { .compare__hint { display: block; } }
.compare__table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
  color: rgba(32, 35, 41, 0.9);
}
.compare__table th, .compare__table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--dash-line);
  text-align: center;
  vertical-align: middle;
}
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table thead th {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--chalk);
  padding-top: 16px;
  padding-bottom: 14px;
  border-bottom-color: rgba(133, 94, 182, 0.3);
  border-top: 2px solid transparent;
}
.compare__table thead th:focus { outline: none; }
.compare__table thead th:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.compare__price {
  display: block;
  margin-top: 2px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 12.5px;
  color: var(--dash-faint);
}
.compare__table th[scope="row"], .compare__table .compare__feature {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  font-weight: 500;
  color: var(--chalk);
  background: #f6f5fa;
  min-width: 200px;
  width: 26%;
  line-height: 1.4;
}
.compare__table thead .compare__groups th {
  padding-top: 12px;
  padding-bottom: 8px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom-color: var(--dash-line);
}
.compare__table thead .compare__groups .compare__feature { vertical-align: bottom; padding-bottom: 14px; border-bottom-color: rgba(133, 94, 182, 0.3); }
.compare__table .compare__ent-start,
.compare__table .compare__group-ent { border-left: 1px solid rgba(133, 94, 182, 0.3); }
.compare__price-row > * { font-family: 'DM Sans', Arial, sans-serif; font-size: 18px; color: var(--chalk); }
.compare__price-row th[scope="row"] { font-family: 'DM Sans', Arial, sans-serif; font-size: 14.5px; }
.compare__table thead .compare__feature {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
/* relative: keeps .sr-only cell text inside the scroller instead of widening the page */
.compare__table td { position: relative; min-width: 96px; line-height: 1.35; }
.compare__table thead th[data-col] { min-width: 96px; line-height: 1.2; }
.compare__table td.is-yes::before,
.compare__table td.is-part::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 7px;
  vertical-align: -1px;
  background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compare__table td.is-part::before { opacity: 0.55; }
.compare__table td.is-yes::before { margin-right: 0; width: 15px; height: 15px; }
.compare__table td.is-no { color: var(--dash-faint); }

/* Growth column carries a quiet brass tint; a chosen column is highlighted more clearly. */
.compare__table [data-col="growth"] { background: rgba(133, 94, 182, 0.045); }
.compare__table[data-highlight] [data-col] { transition: background 0.25s; }
.compare__table .is-highlight { background: rgba(133, 94, 182, 0.16); color: var(--chalk); }
.compare__table thead .is-highlight { border-top-color: var(--brass); }
.compare__note { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--dash-faint); margin-top: 10px; }
.compare__key { display: inline-flex; align-items: center; gap: 6px; color: var(--dash-soft); }
.compare__tick {
  width: 13px;
  height: 13px;
  background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── HOW IT WORKS ── */
.explain { margin-top: 44px; }
.explain > .dash-h3 { margin: 0 0 6px; }
.explain__intro { font-size: 14.5px; color: var(--dash-soft); margin-bottom: 16px; }
.cycle { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-bottom: 22px; counter-reset: cycle; }
.cycle li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--chalk);
}
.cycle li:not(:last-child)::after { content: '\2192'; color: var(--brass); margin-left: 2px; }
.cycle li::before {
  counter-increment: cycle;
  content: counter(cycle);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11.5px;
  color: var(--brass);
  border: 1px solid rgba(133, 94, 182, 0.5);
  border-radius: 50%;
}
.explain__list { border-top: 1px solid var(--dash-line); }
.explain__item { border-bottom: 1px solid var(--dash-line); }
.explain__item > summary {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 16px 44px 16px 2px;
  cursor: pointer;
  list-style: none;
}
.explain__item > summary::-webkit-details-marker { display: none; }
.explain__item > summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 1;
  color: var(--brass);
  border: 1px solid rgba(133, 94, 182, 0.4);
  border-radius: 50%;
}
.explain__item[open] > summary::after { content: '\2212'; }
.explain__item > summary:hover .explain__title { color: #7950ad; }
.explain__item > summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
.explain__title { font-family: 'DM Sans', Arial, sans-serif; font-size: 18px; line-height: 1.3; color: var(--chalk); }
.explain__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  vertical-align: 3px;
  color: var(--brass);
  border: 1px solid rgba(133, 94, 182, 0.4);
  border-radius: 999px;
}
.explain__sum { font-size: 14px; line-height: 1.5; color: var(--dash-soft); }
.explain__body {
  display: grid;
  gap: 10px;
  padding: 2px 2px 20px;
  max-width: 72ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(32, 35, 41, 0.84);
}
.explain__bullets { display: grid; gap: 6px 24px; }
@container (min-width: 600px) { .explain__bullets--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.explain__bullets li { position: relative; padding-left: 16px; }
.explain__bullets li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
}
.explain__steps { display: grid; gap: 6px; padding-left: 0; counter-reset: step; }
.explain__steps li { position: relative; padding-left: 32px; counter-increment: step; }
.explain__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
  color: var(--brass);
}
.explain__flow {
  padding: 10px 14px;
  font-weight: 500;
  color: var(--chalk);
  background: rgba(133, 94, 182, 0.08);
  border-radius: 6px;
}
.explain__promise {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dash-soft);
  border: 1px solid var(--dash-line);
  border-left: 2px solid var(--brass);
  border-radius: 0 10px 10px 0;
  background: rgba(245, 245, 250, 0.36);
}
.explain__promise-title { font-size: 15px; font-weight: 500; color: var(--chalk); }

/* ── CUSTOM WORK ── */
.custom-work {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 32px;
  margin-top: 36px;
  padding: 24px;
  border: 1px solid rgba(133, 94, 182, 0.24);
  border-radius: 12px;
  background: rgba(245, 245, 250, 0.36);
  scroll-margin-top: 96px;
}
@container (min-width: 700px) {
  .custom-work { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .custom-work__cta { grid-column: 1; justify-self: start; }
  .custom-work__list { grid-column: 2; grid-row: 1 / span 2; }
}
.custom-work__intro .dash-h3 { margin: 0 0 8px; }
.custom-work__intro p { font-size: 14.5px; line-height: 1.6; color: var(--dash-soft); }
.custom-work__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; font-size: 14.5px; color: rgba(32, 35, 41, 0.88); }
.custom-work__list li { position: relative; padding-left: 16px; }
.custom-work__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--brass);
  transform: rotate(45deg);
}
.custom-work__cta { justify-content: center; border-radius: 2px; font-size: 14.5px; }

/* ── ACCOUNT ── */
.dash-box {
  padding: 20px 22px;
  margin-bottom: 14px;
  background: var(--dash-well);
  border: 1px solid var(--dash-line);
  border-radius: 12px;
}
.dash-box--row { display: flex; flex-direction: column; gap: 16px; }
@container (min-width: 600px) {
  .dash-box--row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .dash-box--row > :first-child { flex: 1 1 auto; min-width: 0; }
  .dash-box--row > :last-child { flex: 0 0 auto; }
}
.dash-box__text { font-size: 14.5px; color: var(--dash-soft); line-height: 1.55; }
.dash-details { border-top: 0; margin: 0; }
.dash-details .auth-details__row:last-child { border-bottom: 0; }
.dash-details .auth-details__row { padding: 10px 0; }
.dash-status { font-size: 14px; line-height: 1.5; margin-top: 8px; color: #6e4c96; }
.dash-status:empty { display: none; }
.dash-status[data-tone="error"] { color: #a13244; }
.dash-box .btn-chalk, .dash-actions > * { justify-content: center; border-radius: 2px; font-size: 14.5px; }
.dash-actions { flex-wrap: wrap; }
#dash-reset-btn:disabled, .dash-actions .btn-brass:disabled { opacity: 0.6; cursor: progress; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 560px) {
  [data-auth-view="account"] .auth-main { padding-top: calc(var(--auth-head-h) + 10px); padding-bottom: 24px; }
  [data-auth-view="account"] .auth-card { border-radius: 14px; }
  .dash__head { padding-top: 20px; padding-bottom: 14px; }
  .dash-tabs { gap: 2px; }
  .dash-tab {
    flex-direction: column;
    gap: 3px;
    padding: 5px 2px 7px;
    font-size: 12.5px;
    line-height: 1.2;
  }
  .dash-tab__icon { width: 17px; height: 17px; }
  .dash-tab[aria-selected="true"]::before { left: 8px; right: 8px; bottom: 2px; }
  /* Short visible label; the full "Plans & Pricing" / "Account centre" stays in the accessible name */
  .dash-tab__more:not(.dash-tab__more--xs) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .dash__main { padding-bottom: 28px; }
  .dash-h2 { font-size: 24px; }
  .dash-lede { font-size: 15px; margin-bottom: 20px; }
  .dash-shortcut { padding: 18px 46px 18px 18px; }
  .dash-shortcut__arrow { right: 18px; top: 18px; }
  .plan__body { padding: 24px 18px 18px; }
  .custom-work { padding: 20px 18px; }
  .custom-work__list { grid-template-columns: 1fr; }
  .dash-box { padding: 16px 18px; }
  .dash-details .auth-details__row { flex-direction: column; gap: 2px; }
  .dash-details dd { text-align: left; }
  .dash-box .btn-chalk, .dash-actions > * { width: 100%; }
  .compare__table { font-size: 13.5px; }
  .compare__table th, .compare__table td { padding: 11px 10px; }
  .compare__table { min-width: 600px; }
  .compare__table th[scope="row"], .compare__table .compare__feature { min-width: 118px; width: 118px; white-space: normal; }
  .compare__table th[scope="row"] { font-size: 13px; line-height: 1.35; }
  .compare__table td, .compare__table thead th[data-col] { min-width: 90px; }
  .compare__price-row > * { font-size: 16px; }
  .compare__table td.is-part::before { margin-right: 5px; }
  .plan__ideal { padding: 10px 12px; }
  .explain__title { font-size: 17px; }
  .explain__item > summary { padding-right: 40px; }
  .explain__promise { padding: 16px; }
}

/* Very narrow: "SEO Evaluation" shows as "SEO"; the full name stays accessible */
@media (max-width: 400px) {
  .dash-tab__more--xs {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .auth-header__logout { padding: 7px 12px; font-size: 13.5px; min-height: 38px; }
  [data-auth-view="account"] .rh-header__inner { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .dash-shortcut__arrow, .dash-tab, .dash-shortcut, .plan__more > summary::after { transition: none; }
}

@supports not (backdrop-filter: blur(1px)) {
  [data-auth-view="account"] .auth-card { background: rgba(14, 26, 38, 0.97); }
}
