:root {
  --ink: #17212b;
  --muted: #5d6b76;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --line: #dce4ea;
  --brand: #16697a;
  --brand-dark: #0e4f5d;
  --bright: #1fa9e5;
  --aqua: #55d7c3;
  --night: #080e20;
  --gold: #f2b84b;
  --green: #217a4b;
  --red: #c93535;
  --shadow: 0 18px 50px rgba(9, 25, 39, 0.1);
  --soft-shadow: 0 10px 24px rgba(9, 25, 39, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(31, 169, 229, 0.04), transparent 320px),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 5vw, 46px) clamp(18px, 6vw, 90px);
  background: transparent;
  border-bottom: 0;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: center;
  grid-column: 2;
  gap: clamp(14px, 3vw, 26px);
  color: transparent;
  background: linear-gradient(90deg, var(--bright), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(34px, 6vw, 74px);
  font-weight: 900;
  line-height: 1;
}

.brand span {
  display: grid;
  width: clamp(72px, 11vw, 118px);
  height: clamp(72px, 11vw, 118px);
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #15a8e4, #59d982);
  border-radius: 28%;
  font-size: clamp(34px, 5vw, 56px);
}

nav {
  display: none;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

.signin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 18px;
  color: white;
  background: var(--bright);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(31, 169, 229, 0.2);
}

.share-button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  font-size: 14px;
}

.header-logout-button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  color: white;
  background: rgba(201, 53, 53, 0.92);
  box-shadow: 0 10px 24px rgba(201, 53, 53, 0.18);
  font-size: 14px;
}

.header-logout-button[hidden] {
  display: none;
}

.share-status {
  max-width: 150px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.page-jump-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.page-jump {
  width: auto;
  min-width: 150px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 36px 9px 14px;
  color: white;
  background: rgba(13, 20, 39, 0.72);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.page-jump option {
  color: var(--ink);
  background: white;
}

.settings-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero {
  display: grid;
  min-height: 86vh;
  place-items: center;
  padding: clamp(140px, 16vw, 190px) clamp(24px, 7vw, 96px) clamp(54px, 8vw, 96px);
  background:
    radial-gradient(circle at 78% 42%, rgba(0, 169, 165, 0.16), transparent 28%),
    radial-gradient(circle at 55% 65%, rgba(246, 191, 56, 0.12), transparent 24%),
    linear-gradient(135deg, #fffaf1 0%, #fff4e5 52%, #f3fbf7 100%);
  color: var(--ink);
  text-align: left;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 930px;
  margin-bottom: 18px;
  font-size: clamp(48px, 7.6vw, 88px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.5;
  letter-spacing: 0;
}

.hero p strong {
  color: var(--brand);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  align-items: center;
  width: min(1180px, 100%);
  gap: clamp(28px, 6vw, 72px);
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.hero-kicker {
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--brand-dark) !important;
  background: rgba(0, 169, 165, 0.1);
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-cta {
  display: inline-flex;
  min-width: min(210px, 82vw);
  justify-content: center;
  border-radius: 999px;
  padding: 18px 32px;
  color: white;
  background: var(--brand);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 18px 42px rgba(31, 169, 229, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
  box-shadow: 0 24px 54px rgba(31, 169, 229, 0.3);
}

.hero-cta.secondary {
  color: var(--night);
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 169, 165, 0.28);
  box-shadow: var(--soft-shadow);
}

.hero-visual {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(0, 169, 165, 0.16);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 75% 18%, rgba(0, 169, 165, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.app-preview-panel {
  align-content: start;
  padding: clamp(20px, 4vw, 30px);
  background:
    radial-gradient(circle at 86% 14%, rgba(0, 169, 165, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 241, 0.86));
}

.preview-welcome {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(9, 40, 75, 0.08);
}

.preview-welcome h3 {
  margin: 0;
  color: var(--night);
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.08;
}

.preview-welcome p {
  margin: 0;
}

.preview-category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.preview-category-row a {
  display: grid;
  min-height: 86px;
  place-items: end center;
  border: 1px solid rgba(9, 40, 75, 0.08);
  border-radius: 20px;
  padding: 12px;
  background: var(--mint);
  color: var(--night);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.preview-category-row a:nth-child(2) {
  background: #f1f8ea;
}

.preview-category-row a:nth-child(3) {
  background: #fff4df;
}

.preview-category-row a:nth-child(4) {
  background: var(--lavender);
}

.preview-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr);
  gap: 12px;
}

.preview-job-list,
.preview-safety {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(9, 40, 75, 0.08);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.preview-job-list span,
.preview-safety span {
  display: block;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(0, 169, 165, 0.08);
  font-size: 13px;
}

.tech-law-strip {
  padding: clamp(28px, 6vw, 56px) clamp(18px, 5vw, 72px);
  background: #edf6f7;
}

.local-jobs-panel {
  padding: clamp(26px, 5vw, 58px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.home-dashboard-strip {
  display: grid;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(9, 40, 75, 0.08);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.job-category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.job-category-strip a {
  display: grid;
  min-height: 132px;
  align-content: end;
  gap: 8px;
  border: 1px solid rgba(9, 40, 75, 0.08);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 22%, rgba(0, 169, 165, 0.14), transparent 36%),
    #f5fbf7;
  color: var(--night);
  box-shadow: 0 10px 22px rgba(9, 40, 75, 0.05);
}

.job-category-strip a:nth-child(2) {
  background:
    radial-gradient(circle at 50% 22%, rgba(33, 122, 75, 0.14), transparent 36%),
    #eff9f0;
}

.job-category-strip a:nth-child(3) {
  background:
    radial-gradient(circle at 50% 22%, rgba(246, 191, 56, 0.2), transparent 36%),
    #fff7df;
}

.job-category-strip a:nth-child(4) {
  background:
    radial-gradient(circle at 50% 22%, rgba(136, 83, 230, 0.16), transparent 36%),
    var(--lavender);
}

.job-category-strip a:nth-child(5) {
  background:
    radial-gradient(circle at 50% 22%, rgba(201, 53, 53, 0.1), transparent 36%),
    #fff1ed;
}

.job-category-strip span {
  font-size: 18px;
  font-weight: 900;
}

.job-category-strip strong {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.feature-card-dark {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(18px, 3vw, 34px);
  min-height: clamp(330px, 36vw, 520px);
  padding: clamp(28px, 5vw, 58px) clamp(18px, 4vw, 46px);
  border-radius: clamp(20px, 3vw, 34px);
  background:
    radial-gradient(circle at 50% 5%, rgba(150, 91, 238, 0.08), transparent 28%),
    linear-gradient(180deg, #202b3d 0%, #1c2637 100%);
  color: white;
  text-align: center;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 26px 80px rgba(0, 0, 0, 0.22);
}

.feature-icon {
  position: relative;
  display: grid;
  width: clamp(82px, 9vw, 130px);
  height: clamp(82px, 9vw, 130px);
  place-items: center;
  border-radius: 999px;
  background: rgba(62, 77, 98, 0.55);
}

.briefcase-icon span {
  position: relative;
  width: clamp(48px, 5vw, 68px);
  height: clamp(36px, 4vw, 50px);
  border: clamp(5px, 0.7vw, 8px) solid #a85cf0;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(168, 92, 240, 0.24);
}

.briefcase-icon span::before {
  content: "";
  position: absolute;
  left: 24%;
  top: -48%;
  width: 42%;
  height: 34%;
  border: clamp(5px, 0.7vw, 8px) solid #a85cf0;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.briefcase-icon span::after {
  content: "";
  position: absolute;
  top: calc(clamp(5px, 0.7vw, 8px) * -1);
  bottom: calc(clamp(5px, 0.7vw, 8px) * -1);
  left: 33%;
  width: 20%;
  border-left: clamp(5px, 0.7vw, 8px) solid #a85cf0;
  border-right: clamp(5px, 0.7vw, 8px) solid #a85cf0;
}

.gift-icon span {
  position: relative;
  width: clamp(42px, 5vw, 64px);
  height: clamp(42px, 5vw, 64px);
  border: clamp(5px, 0.7vw, 7px) solid #ffda67;
  border-radius: 10px;
}

.gift-icon span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(clamp(5px, 0.7vw, 7px) * -1);
  bottom: calc(clamp(5px, 0.7vw, 7px) * -1);
  width: clamp(5px, 0.7vw, 7px);
  background: #ffda67;
  transform: translateX(-50%);
}

.gift-icon span::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  top: 32%;
  height: clamp(5px, 0.7vw, 7px);
  background: #ffda67;
}

.gift-icon {
  color: #ffda67;
}

.gift-icon::before,
.gift-icon::after {
  content: "";
  position: absolute;
}

.people-icon span {
  position: relative;
  width: clamp(58px, 6vw, 76px);
  height: clamp(48px, 5vw, 64px);
}

.people-icon span::before,
.people-icon span::after {
  content: "";
  position: absolute;
  border: clamp(4px, 0.6vw, 6px) solid #ff8296;
}

.people-icon span::before {
  left: 16%;
  top: 0;
  width: 22%;
  height: 22%;
  border-radius: 999px;
  box-shadow: 24px 0 0 -2px #1f2b3d, 24px 0 0 2px #ff8296;
}

.people-icon span::after {
  left: 4%;
  right: 4%;
  bottom: 0;
  height: 36%;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
}

.feature-card-dark h2 {
  margin: 0;
  color: #f5f7ff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.feature-card-dark p {
  margin: 0;
  max-width: 620px;
  color: rgba(239, 243, 252, 0.82);
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.app-tabs {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px clamp(14px, 4vw, 56px);
  background: rgba(255, 249, 238, 0.96);
  border-bottom: 1px solid var(--line);
}

.app-tabs a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--night);
  background: white;
  font-size: 14px;
  font-weight: 850;
  transition:
    transform 0.16s ease,
    color 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.app-tabs a:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 105, 122, 0.28);
  background: #edf6f7;
}

.app-tabs a.active {
  color: white;
  background: linear-gradient(135deg, var(--brand), #06c7bd);
  border-color: transparent;
}

.app-page {
  display: none;
}

.app-page.active-page {
  display: block;
}

.app-page.split,
.app-page.safety {
  display: none;
}

.app-page.split.active-page,
.app-page.safety.active-page {
  display: grid;
}

.page-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(6, 11, 24, 0.72);
}

.page-modal.open {
  display: flex;
}

.page-modal-window {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 100%);
  max-height: min(88vh, 920px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.page-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 28px);
  background: #0d1427;
  color: white;
}

.page-modal-header h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 34px);
}

.page-modal-body {
  overflow: auto;
  background: var(--paper);
}

.page-modal-body .section,
.page-modal-body .tech-law-strip {
  padding-top: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(28px, 5vw, 52px);
}

body.standalone-page .topbar {
  position: sticky;
  background: rgba(255, 249, 238, 0.96);
  border-bottom: 1px solid rgba(9, 40, 75, 0.08);
  backdrop-filter: blur(16px);
}

body.standalone-page .app-tabs {
  top: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold) !important;
  font-size: 13px !important;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actions,
.chips,
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button,
button {
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: white;
  background: var(--brand);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(22, 105, 122, 0.16);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  box-shadow: 0 12px 26px rgba(22, 105, 122, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: var(--gold);
}

.button.danger,
button.danger {
  background: var(--red);
}

.law-card,
.role-grid article,
.job-card,
.panel,
.phone,
.emergency {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 246, 0.92));
  color: var(--ink);
  box-shadow: var(--soft-shadow);
}

.law-card {
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.law-card p {
  color: var(--muted);
}

.law-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.law-list span {
  color: var(--green);
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.trust-band {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 169, 165, 0.12), transparent 30%),
    linear-gradient(180deg, #fff9ee 0%, #f4fbf7 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(9, 40, 75, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.trust-card h3,
.trust-card p {
  margin: 0;
}

.trust-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: var(--brand);
  font-weight: 900;
}

.trust-icon.blue {
  background: var(--bright);
}

.trust-icon.green {
  background: var(--green);
}

.trust-icon.aqua {
  color: #06353a;
  background: var(--aqua);
}

.trust-icon.gold {
  color: #2b2008;
  background: var(--gold);
}

.trust-icon.red {
  background: var(--red);
}

.trust-icon.purple {
  background: #8853e6;
}

.teen-visor-card {
  border-color: rgba(136, 83, 230, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 255, 0.9));
}

.family-brand-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 28px auto 0;
  border-top: 1px solid rgba(9, 40, 75, 0.08);
  padding-top: 24px;
}

.family-brand-band div {
  display: grid;
  gap: 6px;
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.family-brand-band strong {
  color: var(--night);
  font-size: 18px;
}

.family-brand-band span {
  color: var(--muted);
  line-height: 1.5;
}

.role-grid,
.account-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.account-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.role-grid article,
.plan-card,
.job-card,
.panel {
  padding: clamp(22px, 3vw, 30px);
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 169, 165, 0.08), transparent 26%),
    var(--panel);
  box-shadow: var(--soft-shadow);
}

.plan-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--brand);
}

.plan-card ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.referral-mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.referral-instruction-box {
  width: min(100%, 440px);
  border: 1px solid rgba(0, 169, 165, 0.22);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(234, 248, 242, 0.68);
}

.referral-instruction-box strong {
  display: block;
  color: var(--night);
  font-size: 15px;
}

.referral-instruction-box p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.referral-program-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid rgba(0, 169, 165, 0.35);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--brand);
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 40, 75, 0.08);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.referral-profile-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid rgba(0, 169, 165, 0.22);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(234, 248, 242, 0.62);
}

.referral-profile-strip > div:first-child {
  display: grid;
  gap: 3px;
}

.referral-profile-strip strong {
  color: var(--night);
}

.referral-profile-strip span {
  color: var(--muted);
  font-size: 13px;
}

.referral-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.referral-mini-stats span {
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.chip {
  color: var(--brand);
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: none;
}

.chip.active {
  color: white;
  background: var(--brand);
}

.stack {
  display: grid;
  gap: 14px;
}

.job-board-results {
  display: grid;
  gap: 14px;
}

.job-pagination-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.job-load-more {
  justify-self: center;
}

.job-card p {
  margin-bottom: 12px;
}

.job-card,
.admin-item,
.payment-row,
.verification-row,
.verification-review-item,
.worker-level-badge,
.job-worker-levels,
.current-user,
.position-status,
.worker-notification-preview,
.settings-account-status,
.profile-stat {
  border-radius: 18px;
  border-color: rgba(9, 40, 75, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.job-card {
  overflow: hidden;
}

.job-card::before,
.panel.wide::before,
.phone::before,
.emergency::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.position-status {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfd;
}

.position-status p {
  margin: 0;
}

.position-status.green strong {
  color: #217a4b;
}

.position-status.yellow strong {
  color: #9a6500;
}

.position-status.red strong {
  color: #c93535;
}

.worker-notification-preview {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(31, 169, 229, 0.25);
  border-radius: 10px;
  background: #eef9fd;
}

.worker-notification-preview p {
  margin: 0;
}

.worker-notification-preview span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: white;
  background: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.worker-verification,
.verification-center {
  border-left: 4px solid var(--brand);
}

.verification-grid,
.verification-review-list {
  display: grid;
  gap: 10px;
}

.verification-row,
.verification-review-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8fbfd;
}

.verification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.verification-row.with-upload {
  align-items: flex-start;
}

.worker-upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.worker-upload-form input[type="file"] {
  max-width: 260px;
}

.worker-upload-form .result {
  flex-basis: 100%;
  margin: 0;
}

.verification-row span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef2f6;
  font-size: 13px;
  font-weight: 850;
}

.verification-row.approved span {
  color: #217a4b;
  background: #e7f5ee;
}

.verification-row.rejected span,
.verification-row.expired span {
  color: #c93535;
  background: #fdeeee;
}

.verification-row.needs-more-information span,
.verification-row.pending-review span,
.verification-row.pending-upload span {
  color: #9a6500;
  background: #fff5df;
}

.worker-level-badge,
.job-worker-levels {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  background: #f5fbff;
}

.worker-level-badge strong,
.job-worker-levels strong {
  display: block;
  color: var(--brand);
  font-size: 15px;
}

.worker-level-badge span {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  margin-top: 6px;
  background: #e8f7ff;
  color: #16697a;
  font-size: 12px;
  font-weight: 850;
}

.worker-level-badge p {
  margin: 8px 0 0;
}

.worker-level-badge.junior-teen {
  background: #f8fbff;
}

.worker-level-badge.teen-worker {
  background: #f4fff8;
}

.worker-level-badge.senior-teen-mentor {
  background: #fffaf0;
}

.worker-lifecycle-badge {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  background: #f7fffc;
}

.worker-lifecycle-badge strong {
  display: block;
  color: var(--brand);
  font-size: 15px;
}

.worker-lifecycle-badge span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.worker-lifecycle-badge.age-out-upcoming {
  background: #fff8e6;
}

.worker-lifecycle-badge.alumni-aged-out {
  background: #fff0f0;
}

.worker-lifecycle-badge.exception-approved {
  background: #eefbf3;
}

.worker-level-tags {
  margin-top: 8px;
}

.review-history {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}

.report-button {
  width: fit-content;
  margin-top: 14px;
}

.client-trust {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f9fa;
}

.teen-visor-badge {
  display: grid;
  gap: 5px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid rgba(136, 83, 230, 0.24);
  border-radius: 10px;
  background: #f6f2ff;
}

.teen-visor-badge strong {
  color: #56359a;
}

.teen-visor-badge span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: white;
  background: #8853e6;
  font-size: 13px;
  font-weight: 850;
}

.teen-visor-badge p {
  margin: 0;
}

.donation-goal-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.donation-goal-form .result {
  grid-column: 1 / -1;
}

.donation-side {
  display: grid;
  gap: 16px;
}

.donation-progress-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(22, 105, 122, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f3fbfc);
  box-shadow: var(--shadow);
}

.donation-progress-head,
.donation-progress-meta,
.donation-purpose-list div,
.spending-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.donation-progress-head strong {
  display: block;
  color: var(--brand);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.donation-progress-head span,
.donation-progress-meta,
.spending-item span {
  color: var(--muted);
}

.donation-percent {
  border-radius: 999px;
  padding: 10px 14px;
  color: white;
  background: var(--bright);
  font-weight: 900;
}

.donation-bar {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe9ec;
}

.donation-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--bright));
  transition: width 240ms ease;
}

.donation-purpose-list,
#donationSpendingList {
  display: grid;
  gap: 10px;
}

.donation-purpose-list div,
.spending-item {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.spending-item div {
  display: grid;
  gap: 3px;
}

.spending-item em {
  color: var(--brand);
  font-style: normal;
  font-weight: 900;
}

.donation-spending-admin,
.admin-add-spending-form,
.admin-invite-item,
.admin-add-invite-form {
  display: grid;
  gap: 10px;
}

.donation-spending-admin,
.admin-invite-item {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.donation-spending-admin strong,
.donation-spending-admin .plan-actions,
.admin-invite-item strong,
.admin-invite-item p,
.admin-invite-item .plan-actions,
.admin-add-spending-form h4,
.admin-add-invite-form h4,
.admin-add-invite-form .result,
.admin-add-spending-form .result {
  grid-column: 1 / -1;
}

.admin-invite-item code {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  padding: 4px 8px;
  color: var(--brand);
  background: #eef8fa;
  font-weight: 900;
}

.admin-invite-item.disabled {
  opacity: 0.68;
}

.client-trust span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: white;
  background: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.client-trust p {
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #edf6f7;
  font-size: 13px;
  font-weight: 800;
}

.panel {
  display: grid;
  gap: 18px;
}

#teenFields {
  display: grid;
  gap: 14px;
}

#privateContactFields {
  display: grid;
  gap: 14px;
}

#adminFields {
  display: none;
  gap: 14px;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.account-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: white;
  color: var(--ink);
  font-weight: 850;
}

.account-tab.active {
  border-color: var(--brand);
  color: white;
  background: var(--brand);
}

.cleaner-account-grid {
  grid-template-columns: minmax(0, 1fr);
}

.account-panel {
  display: none;
}

.account-panel.active {
  display: grid;
}

.parent-auto-fields {
  display: grid;
  gap: 14px;
}

.fine-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

[data-admin-only].is-hidden {
  display: none !important;
}

.current-user {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf6f7;
}

.current-user span {
  color: var(--muted);
  line-height: 1.5;
}

.logout-button {
  width: fit-content;
  margin-top: 4px;
  padding: 9px 12px;
}

.admin-signin-helper {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(22, 105, 122, 0.18);
  border-radius: 10px;
  background: #edf6f7;
}

.admin-signin-helper p {
  margin: 0;
  font-size: 13px;
}

.admin-signin-helper button {
  width: fit-content;
  padding: 9px 12px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  font-weight: 800;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

fieldset label {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(31, 169, 229, 0.65);
  box-shadow: 0 0 0 4px rgba(31, 169, 229, 0.12);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.result {
  min-height: 28px;
  margin: 0;
  font-weight: 850;
}

.phone {
  overflow: hidden;
  max-width: 430px;
  width: 100%;
  justify-self: center;
}

.phone-head,
.composer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #edf6f7;
}

.phone-head span {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.messages {
  display: grid;
  min-height: 310px;
  align-content: end;
  gap: 10px;
  padding: 18px;
}

.bubble {
  max-width: 84%;
  margin: 0;
  padding: 12px;
  border-radius: 10px;
}

.bubble.client {
  background: #edf0f2;
}

.bubble.parent {
  justify-self: end;
  color: white;
  background: var(--brand);
}

.bubble.parent small {
  color: rgba(255, 255, 255, 0.78);
}

.bubble.teen {
  background: #fff1cf;
}

.bubble small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 800;
}

.bubble.needs-review {
  border: 1px solid rgba(242, 184, 75, 0.7);
}

.safety-warning {
  display: block;
  margin-top: 8px;
  color: #7a4d00;
  font-size: 13px;
  font-weight: 850;
}

.report-inline {
  display: block;
  width: fit-content;
  margin-top: 8px;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--gold);
  font-size: 12px;
  box-shadow: none;
}

.composer input {
  min-width: 0;
}

.safety {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  background: #edf6f7;
}

.teen-visor-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(136, 83, 230, 0.2);
  border-radius: 10px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.teen-visor-callout p {
  margin: 0;
}

.teen-visor-button {
  background: #8853e6;
}

.teen-visor-button:hover {
  background: #6b3fc0;
}

.rules-band {
  background: #f6f8ea;
}

.payout-band {
  background: #eef6f7;
}

.rule-source {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  line-height: 1.5;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-row {
  display: flex;
  align-items: center;
}

.check-row input {
  width: auto;
}

.password-toggle {
  margin-top: -8px;
  font-size: 0.9rem;
}

.rule-result {
  display: grid;
  gap: 8px;
  min-height: 42px;
}

.rule-result strong {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: var(--green);
}

.rule-result strong.blocked {
  background: var(--red);
}

.rule-result strong.needs-review {
  color: var(--ink);
  background: var(--gold);
}

.admin-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 169, 229, 0.1), transparent 26%),
    #f5f7f8;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-grid .wide,
.settings-grid .wide {
  grid-column: span 2;
}

.settings-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.settings-summary div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.settings-summary span {
  color: var(--muted);
  font-size: 0.9rem;
}

.settings-account-status {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(33, 122, 75, 0.22);
  border-radius: 10px;
  background: #eefaf4;
}

.settings-account-status.deactivated {
  border-color: rgba(201, 53, 53, 0.22);
  background: #fff1f1;
}

.settings-account-status span {
  color: var(--muted);
}

.profile-stat {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-left: 4px solid var(--bright);
  border-radius: 10px;
  background: #edf6f7;
}

.profile-stat strong {
  font-size: 26px;
}

.contact-panel {
  position: relative;
}

.contact-popover {
  display: none;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 105, 122, 0.16);
  border-radius: 10px;
  background: #f5f9fa;
  box-shadow: var(--soft-shadow);
}

.contact-popover.open {
  display: grid;
}

.private-payments {
  border-color: rgba(22, 105, 122, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 169, 229, 0.08), transparent 28%),
    var(--panel);
}

.readiness-panel.ready {
  border-color: rgba(33, 122, 75, 0.28);
  background: linear-gradient(180deg, #f3fbf6, #ffffff);
}

.readiness-panel.needs-setup {
  border-color: rgba(242, 184, 75, 0.34);
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}

.readiness-panel.blocked {
  border-color: rgba(201, 53, 53, 0.28);
  background: linear-gradient(180deg, #fff8f8, #ffffff);
}

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

.readiness-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: 10px;
  background: white;
}

.readiness-item.done {
  border-left-color: var(--green);
}

.readiness-item.needed {
  border-left-color: var(--gold);
}

.readiness-item strong {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  color: white;
  background: var(--green);
  font-size: 12px;
}

.readiness-item.needed strong {
  color: var(--ink);
  background: var(--gold);
}

.readiness-item span {
  font-weight: 850;
}

.readiness-item p {
  margin: 0;
  font-size: 13px;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}

.profile-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--brand);
  background: white;
  font-size: 13px;
  box-shadow: none;
}

.profile-tab.active {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.private-payment-panel {
  display: grid;
  gap: 14px;
}

.private-payment-panel[hidden] {
  display: none;
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.payment-list {
  display: grid;
  gap: 10px;
}

.payment-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(160px, 1.2fr) minmax(150px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f5f9fa;
}

.payment-row span {
  color: var(--muted);
  line-height: 1.4;
}

.payment-row button {
  width: fit-content;
  padding: 8px 10px;
  font-size: 13px;
}

.emergency-contact {
  border-color: rgba(201, 53, 53, 0.22);
  background: #fff8f8;
}

.emergency-contact span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: white;
  background: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.safety-report {
  border-color: rgba(242, 184, 75, 0.34);
  background: #fffaf0;
}

.safety-report.resolved {
  border-color: rgba(33, 122, 75, 0.28);
  background: #f3fbf6;
}

.safety-report.dismissed {
  background: #f7f8f9;
}

.safety-case.open,
.safety-case.reviewing {
  border-color: rgba(242, 184, 75, 0.38);
  background: #fffaf0;
}

.safety-case.resolved {
  border-color: rgba(33, 122, 75, 0.28);
  background: #f3fbf6;
}

.safety-case.dismissed {
  background: #f7f8f9;
}

.blocked-user {
  border-color: rgba(201, 53, 53, 0.22);
  background: #fff8f8;
}

.account-review.approved {
  border-color: rgba(33, 122, 75, 0.22);
  background: #f3fbf6;
}

.account-review.pending-admin-review {
  border-color: rgba(31, 169, 229, 0.24);
  background: #f1f9fd;
}

.account-review.needs-review {
  border-color: rgba(242, 184, 75, 0.38);
  background: #fffaf0;
}

.account-review.blocked {
  border-color: rgba(201, 53, 53, 0.24);
  background: #fff8f8;
}

.refund-request.pending-admin-review,
.refund-request.needs-more-info {
  border-color: rgba(242, 184, 75, 0.38);
  background: #fffaf0;
}

.refund-request.approved {
  border-color: rgba(33, 122, 75, 0.28);
  background: #f3fbf6;
}

.refund-request.denied {
  border-color: rgba(201, 53, 53, 0.24);
  background: #fff8f8;
}

.refund-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 105, 122, 0.16);
  border-radius: 10px;
  background: #f5f9fa;
}

.dashboard-grid .wide {
  grid-column: span 2;
}

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

.metric {
  padding: 12px;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: #edf6f7;
}

.metric strong {
  display: block;
  font-size: 26px;
}

.admin-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.admin-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.admin-item p {
  margin-bottom: 0;
}

.provider-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.provider-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.provider-card strong {
  display: block;
  margin-bottom: 6px;
}

.provider-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: white;
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.provider-card span.demo {
  color: var(--ink);
  background: var(--gold);
}

.policy-center {
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 169, 229, 0.08), transparent 28%),
    #f7fafb;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.policy-tabs {
  position: sticky;
  top: 64px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.policy-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--brand);
  background: white;
  box-shadow: none;
  text-align: left;
}

.policy-tab.active {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.policy-panel {
  min-height: 420px;
}

.policy-panel[hidden] {
  display: none;
}

.policy-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 8px;
  color: var(--muted);
}

.policy-table th,
.policy-table td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: var(--brand);
  background: #eef9fd;
}

.emergency {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.panic {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(201, 53, 53, 0.24);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .brand {
    justify-self: start;
    grid-column: 1;
  }

  .signin-button {
    grid-column: auto;
  }

  .header-actions {
    grid-column: 2;
  }

  .hero {
    min-height: 100svh;
  }

  .split,
  .safety,
  .emergency,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-tabs {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-grid,
  .account-grid,
  .plan-grid,
  .home-feature-grid,
  .trust-grid,
  .payment-summary-grid,
  .readiness-list,
  .profile-grid,
  .settings-grid,
  .settings-summary,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-row {
    grid-template-columns: 1fr;
  }

  .donation-goal-form {
    grid-template-columns: 1fr;
  }

  .donation-spending-admin,
  .admin-invite-item {
    grid-template-columns: 1fr;
  }

  .dashboard-grid .wide {
    grid-column: span 1;
  }

  .profile-grid .wide,
  .settings-grid .wide {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 18px;
  }

  .brand {
    gap: 10px;
    font-size: 30px;
  }

  .brand span {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .signin-button,
  .share-button,
  .header-logout-button {
    min-height: 38px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .share-status {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 8px;
  }

  .page-jump {
    min-width: 116px;
    min-height: 38px;
    padding: 8px 26px 8px 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 140px;
  }

  .role-grid,
  .account-grid,
  .plan-grid,
  .home-feature-grid,
  .trust-grid,
  .payment-summary-grid,
  .readiness-list,
  .profile-grid,
  .settings-grid,
  .settings-summary,
  .dashboard-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .composer {
    align-items: stretch;
    flex-direction: column;
  }

  .policy-tabs {
    grid-template-columns: 1fr;
  }
}

/* Home page only: design-system treatment from the supplied mockup. */
#home.hero,
.local-jobs-panel[data-page="home"],
.trust-band[data-page="home"],
.home-categories-section,
#subscriptions[data-page="home"],
.home-mentor-band,
.home-final-cta {
  --home-ink: #062446;
  --home-muted: #536982;
  --home-cream: #fff9ee;
  --home-teal: #00a9a5;
  --home-teal-dark: #007f7b;
  --home-gold: #f6bf38;
  --home-mint: #eaf9f4;
  --home-lavender: #f1edff;
  color: var(--home-ink);
  background: var(--home-cream);
}

#home.hero {
  min-height: 760px;
  background:
    radial-gradient(circle at 72% 16%, rgba(246, 191, 56, 0.14), transparent 250px),
    radial-gradient(circle at 72% 62%, rgba(0, 169, 165, 0.13), transparent 280px),
    linear-gradient(180deg, #fffdfa 0%, var(--home-cream) 100%);
}

#home .hero-inner {
  grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1.12fr);
  width: min(1180px, 100%);
}

#home .hero-copy {
  max-width: 560px;
}

#home .hero-kicker {
  color: var(--home-teal-dark) !important;
  background: rgba(0, 169, 165, 0.1);
}

#home h1 {
  color: var(--home-ink);
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 1.08;
}

#home h1 span {
  display: inline-block;
  color: var(--home-teal);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--home-gold);
  text-decoration-thickness: 5px;
  text-underline-offset: 10px;
}

#home .hero-copy p {
  color: var(--home-muted);
  font-size: clamp(18px, 2.3vw, 25px);
}

#home .hero-cta,
.home-final-cta .hero-cta {
  min-width: 190px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--home-teal), #05c1ba);
  font-size: 17px;
  box-shadow: 0 14px 30px rgba(0, 169, 165, 0.18);
}

#home .hero-cta.secondary,
.home-final-cta .hero-cta.secondary {
  color: var(--home-ink);
  background: linear-gradient(135deg, var(--home-gold), #ffc93d);
  border: 0;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.hero-trust-row span {
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 850;
}

.app-preview-panel {
  border: 0;
  border-radius: 32px;
  padding: clamp(20px, 4vw, 34px);
  background:
    radial-gradient(circle at 22% 24%, rgba(246, 191, 56, 0.16), transparent 110px),
    radial-gradient(circle at 78% 62%, rgba(0, 169, 165, 0.15), transparent 180px),
    rgba(255, 255, 255, 0.68);
  box-shadow: none;
}

.preview-welcome,
.preview-job-list,
.preview-safety,
.preview-category-row a {
  border-color: rgba(6, 36, 70, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.preview-welcome h3 {
  color: var(--home-ink);
}

.local-jobs-panel[data-page="home"],
.trust-band[data-page="home"],
.home-categories-section,
#subscriptions[data-page="home"],
.home-mentor-band {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.home-dashboard-strip,
.home-categories-section,
.home-mentor-band,
.home-final-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid rgba(6, 36, 70, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 54px rgba(6, 36, 70, 0.075);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.how-track {
  display: grid;
  gap: 18px;
}

.how-track > strong {
  width: fit-content;
  border-radius: 10px;
  padding: 8px 16px;
  color: white;
  background: var(--home-ink);
}

.teen-track > strong {
  background: var(--home-teal);
}

.how-track ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-track li {
  display: grid;
  gap: 8px;
  min-height: 180px;
  align-content: start;
  border-radius: 26px;
  padding: 18px;
  background: var(--home-mint);
}

.how-track li:nth-child(2) {
  background: var(--home-lavender);
}

.how-track li:nth-child(3) {
  background: #fff3d8;
}

.how-track li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--home-teal);
  font-weight: 900;
}

.how-track li p,
.trust-band[data-page="home"] p,
.home-mentor-band p,
.home-final-cta p {
  color: var(--home-muted);
}

.trust-band[data-page="home"] .trust-grid {
  width: min(1080px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}

.trust-band[data-page="home"] .trust-card {
  min-height: 230px;
  border: 1px solid rgba(6, 36, 70, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  box-shadow: 0 18px 46px rgba(6, 36, 70, 0.06);
}

.trust-band[data-page="home"] .trust-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  border-radius: 999px;
}

.home-category-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.home-category-header a {
  color: var(--home-teal-dark);
  font-weight: 900;
}

.home-categories-section .job-category-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-categories-section .job-category-strip a {
  min-height: 128px;
  border-color: rgba(6, 36, 70, 0.08);
  border-radius: 28px;
}

#subscriptions[data-page="home"] {
  background:
    radial-gradient(circle at 85% 22%, rgba(246, 191, 56, 0.22), transparent 200px),
    var(--home-cream);
}

.home-mentor-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 32px;
  padding: clamp(26px, 5vw, 46px);
  background: linear-gradient(135deg, #eaf9f4, #fffaf1);
}

.home-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-testimonials article {
  display: grid;
  gap: 8px;
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.home-testimonials p {
  margin: 0;
  font-size: 14px;
}

.home-testimonials span {
  color: var(--home-muted);
  font-size: 13px;
}

.home-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
  padding: clamp(26px, 5vw, 42px);
  color: white;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 169, 165, 0.26), transparent 200px),
    linear-gradient(135deg, #062446, #082f5d);
}

.home-final-cta h2,
.home-final-cta p {
  color: white;
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  #home .hero-inner,
  .how-it-works-grid,
  .home-mentor-band,
  .home-final-cta {
    grid-template-columns: 1fr;
  }

  .trust-band[data-page="home"] .trust-grid,
  .home-categories-section .job-category-strip,
  .home-testimonials,
  .how-track ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-final-cta {
    display: grid;
  }
}

@media (max-width: 620px) {
  .preview-split,
  .preview-category-row,
  .trust-band[data-page="home"] .trust-grid,
  .home-categories-section .job-category-strip,
  .home-testimonials,
  .how-track ol {
    grid-template-columns: 1fr;
  }
}

/* Hire a Teen reference homepage and warmer app design system */
:root {
  --cream: #fff8ec;
  --cream-2: #fffdf8;
  --navy: #06264a;
  --navy-soft: #173b61;
  --teal: #00a9a5;
  --teal-dark: #008c88;
  --gold-soft: #fff2c4;
  --gold: #f8bd26;
  --outline: #dce8ea;
  --blush: #fff0ef;
  --mint: #eaf8f2;
  --lav: #f2efff;
}

body {
  color: var(--navy);
  background: linear-gradient(180deg, #fffdfa 0%, var(--cream) 52%, #f7fbf6 100%);
}

.topbar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(6, 38, 74, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  grid-column: 1;
  justify-self: start;
  gap: 12px;
  display: grid;
  grid-template-columns: 56px auto;
  grid-template-rows: auto auto;
  color: var(--navy);
  background: none;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  line-height: 1;
}

.brand strong {
  align-self: end;
}

.brand small {
  grid-column: 2;
  align-self: start;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.brand span {
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #06264a 0%, #043c63 42%, var(--teal) 100%);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 12px 28px rgba(0, 169, 165, 0.18);
}

.topbar nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.6vw, 38px);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.topbar nav a {
  border-radius: 999px;
  padding: 9px 4px;
}

.topbar nav a:hover,
.topbar nav a.active {
  color: var(--teal-dark);
}

.header-actions {
  grid-column: 3;
  gap: 12px;
}

.page-jump,
.share-button {
  border-color: rgba(6, 38, 74, 0.12);
  color: var(--navy);
  background: #fff;
  box-shadow: none;
}

.signin-button {
  min-width: 86px;
  min-height: 46px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  box-shadow: none;
}

.signin-button.signup-link,
.hero-cta,
.button:not(.secondary):not(.danger) {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #08bbb5);
  box-shadow: 0 16px 28px rgba(0, 169, 165, 0.22);
}

body[data-current-page="home"] .app-tabs {
  display: none;
}

.hero.home-blueprint {
  min-height: auto;
  padding: clamp(46px, 7vw, 84px) clamp(22px, 6vw, 80px) 26px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 242, 196, 0.78), transparent 20%),
    radial-gradient(circle at 72% 58%, rgba(0, 169, 165, 0.11), transparent 24%),
    var(--cream-2);
}

.home-blueprint .hero-inner {
  width: min(1220px, 100%);
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
}

.home-blueprint .hero-copy {
  position: relative;
  gap: 24px;
}

.spark-mark {
  width: 22px;
  height: 38px;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(90deg);
}

.home-blueprint h1 {
  max-width: 610px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.12;
  font-weight: 950;
}

.home-blueprint h1 span {
  display: inline-block;
  color: var(--teal-dark);
  font-family: "Comic Sans MS", "Segoe Print", cursive;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

.home-blueprint .hero-copy p {
  max-width: 520px;
  color: var(--navy-soft);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.65;
}

.hero-cta {
  min-height: 58px;
  border-radius: 12px;
  padding: 16px 26px;
  font-size: 17px;
}

.hero-cta.secondary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffd24d);
  box-shadow: 0 16px 28px rgba(248, 189, 38, 0.24);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.hero-trust-row span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.family-illustration {
  display: block;
  min-height: 0;
  padding: 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.family-illustration img {
  display: block;
  width: min(760px, 100%);
  margin-inline: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.local-jobs-panel[data-page="home"],
.trust-band[data-page="home"],
.home-categories-section,
.founding-family-section,
.home-mentor-band,
.home-testimonial-section,
.home-final-cta {
  width: min(1200px, calc(100% - 44px));
  margin: 24px auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(6, 38, 74, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(6, 38, 74, 0.06);
}

.section-title-center,
.trust-band[data-page="home"] .section-head {
  text-align: center;
}

.eyebrow {
  color: var(--teal-dark);
  font-weight: 950;
  letter-spacing: 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.how-track {
  padding: 16px 10px 8px;
  border-radius: 22px;
  background: transparent;
}

.how-track > strong {
  display: block;
  width: fit-content;
  margin: 0 auto 22px;
  border-radius: 8px;
  padding: 8px 20px;
  color: #fff;
  background: var(--navy);
}

.teen-track > strong {
  background: var(--teal-dark);
}

.how-track ol {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-track li,
.trust-card,
.home-testimonials article,
.job-category-strip a,
.panel,
.job-card,
.admin-item {
  border: 1px solid rgba(6, 38, 74, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(6, 38, 74, 0.055);
}

.how-track li {
  min-height: 170px;
  padding: 22px 16px;
  text-align: center;
}

.how-track li span {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 950;
}

.trust-band[data-page="home"] .trust-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trust-card {
  min-height: 210px;
  padding: 30px 22px;
  text-align: center;
}

.trust-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--mint);
  font-size: 12px;
}

.trust-icon.gold {
  background: var(--gold-soft);
}

.trust-icon.purple {
  background: var(--lav);
}

.trust-icon.aqua {
  background: #e6fbf8;
}

.home-category-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.home-category-header a {
  color: var(--teal-dark);
  font-weight: 900;
}

.categories-and-family {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.category-panel,
.founding-family-section {
  min-width: 0;
}

.home-categories-section .job-category-strip {
  grid-template-columns: repeat(6, minmax(86px, 1fr));
}

.home-categories-section .job-category-strip a {
  min-height: 120px;
  justify-content: center;
  text-align: center;
}

.founding-family-section {
  width: auto;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255, 242, 196, 0.62), rgba(255, 255, 255, 0.88));
}

.home-mentor-band {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  align-items: center;
  background: linear-gradient(135deg, rgba(234, 248, 242, 0.9), rgba(255, 255, 255, 0.84));
}

.mentor-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 240px;
  border-radius: 28px;
  background: rgba(0, 169, 165, 0.1);
}

.mentor-illustration img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.home-testimonial-section {
  background: rgba(234, 248, 242, 0.76);
}

.home-testimonials {
  grid-template-columns: repeat(3, 1fr);
}

.home-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #06264a, #073763);
}

.home-final-cta h2,
.home-final-cta p {
  color: #fff;
}

.section,
.app-page {
  background-color: transparent;
}

.section-head h2,
.panel h3,
.job-card h3,
.admin-item strong {
  color: var(--navy);
}

.panel,
.job-card {
  border-radius: 24px;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .brand,
  .header-actions,
  .topbar nav {
    grid-column: 1;
    justify-self: center;
  }

  .topbar nav {
    gap: 12px;
  }

  .home-blueprint .hero-inner,
  .how-it-works-grid,
  .categories-and-family,
  .founding-family-section,
  .home-mentor-band,
  .home-final-cta {
    grid-template-columns: 1fr;
  }

  .family-illustration {
    min-height: 420px;
  }

  .trust-band[data-page="home"] .trust-grid,
  .home-categories-section .job-category-strip,
  .home-testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar nav,
  .page-jump,
  .share-button {
    display: none;
  }

  .home-blueprint h1 {
    font-size: 42px;
  }

  .family-illustration,
  .how-track ol,
  .categories-and-family,
  .trust-band[data-page="home"] .trust-grid,
  .home-categories-section .job-category-strip,
  .home-testimonials {
    grid-template-columns: 1fr;
  }

  .family-illustration {
    min-height: auto;
  }

  .illustration-scene {
    min-height: 180px;
  }
}
