/* ════════════ Categories + Auth pages ════════════
   Loaded after web-styles.css (+ discover.css for .cat-tile on categories). */

/* ── Categories browse ── */
.web .cats-hero { background: linear-gradient(180deg, var(--pri-50) 0%, #fff 100%); padding: 52px 0 28px; text-align: center; }
.web .cats-h1 { margin: 6px auto 0; max-width: 680px; font-size: clamp(30px, 4.6cqi, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.web .cats-search {
  margin: 24px auto 0; max-width: 520px; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 0 16px; height: 54px;
  box-shadow: 0 16px 40px rgba(40,30,80,0.12), 0 0 0 1px var(--line);
}
.web .cats-search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink); }
.web .cats-search input::placeholder { color: var(--muted-2); font-weight: 500; }
.web .cats.cats-lg { grid-template-columns: repeat(5, 1fr); gap: 14px; }
@container web (max-width: 1100px) { .web .cats.cats-lg { grid-template-columns: repeat(4, 1fr); } }
@container web (max-width: 760px)  { .web .cats.cats-lg { grid-template-columns: repeat(3, 1fr); } }
@container web (max-width: 480px)  { .web .cats.cats-lg { grid-template-columns: repeat(2, 1fr); } }

/* ── Section heading on categories page ── */
.web .cats-section-h { font-size: clamp(20px, 2.8cqi, 28px); font-weight: 800; letter-spacing: -0.03em; }

/* ── Service pills (popular + filtered results) ── */
.web .cat-pill {
  display: inline-flex; align-items: center;
  padding: 9px 16px; border-radius: 99px;
  background: #fff; border: 1.5px solid var(--line);
  font-size: 13.5px; font-weight: 650; color: var(--ink);
  text-decoration: none; transition: all 0.12s;
}
.web .cat-pill:hover { border-color: var(--pri); color: var(--pri); box-shadow: var(--sh-1); transform: translateY(-1px); }

/* ── All services, grouped ── */
.web .cats-groups { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
@container web (max-width: 900px) { .web .cats-groups { grid-template-columns: repeat(2, 1fr); } }
@container web (max-width: 560px) { .web .cats-groups { grid-template-columns: 1fr; } }
.web .cats-group-h { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.web .cats-group-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.web .cats-group-list a { color: var(--pri); text-decoration: none; font-size: 14px; font-weight: 600; }
.web .cats-group-list a:hover { text-decoration: underline; }

/* ── "Don't see your trade" CTA ── */
.web .cats-cta {
  text-align: center; max-width: 620px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 28px; box-shadow: var(--sh-1);
}

/* ── Auth ── */
.web.auth-page { min-height: 100vh; background: #fff; }
.web .auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.web .auth-form-side { display: flex; flex-direction: column; align-items: center; padding: 32px 24px 28px; }
.web .auth-logo { align-self: flex-start; display: inline-flex; }
.web .auth-card { width: 100%; max-width: 400px; margin: auto; padding: 24px 0; }
.web .auth-h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.web .auth-sub { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }
.web .auth-social { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.web .auth-social .btn { height: 48px; justify-content: center; gap: 10px; font-size: 14.5px; }
.web .auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.web .auth-or::before, .web .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.web .auth-fields { display: flex; flex-direction: column; gap: 14px; }
.web .auth-field { display: flex; flex-direction: column; gap: 6px; }
.web .auth-field span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.web .auth-field input {
  height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  padding: 0 14px; font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.web .auth-field input:focus { outline: 0; border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-50); }
.web .auth-field input::placeholder { color: var(--muted-2); }
.web .auth-forgot { align-self: flex-end; font-size: 13px; font-weight: 700; color: var(--pri); margin-top: -4px; }
.web .auth-fields .btn { margin-top: 6px; }
.web .auth-switch { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }
.web .auth-switch a { color: var(--pri); font-weight: 800; }
.web .auth-legal { text-align: center; font-size: 11.5px; color: var(--muted-2); margin-top: 12px; line-height: 1.5; }
.web .auth-biz { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--muted); }
.web .auth-biz:hover { color: var(--pri); }

/* Brand panel */
.web .auth-brand-side { position: relative; overflow: hidden; background: linear-gradient(150deg, #1A0E4A 0%, #4A38D8 60%, #6B57FF 100%); color: #fff; display: flex; align-items: center; padding: 48px; }
.web .auth-brand-blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: #FF8FCB; opacity: 0.35; top: -120px; right: -140px; filter: blur(8px); }
.web .auth-brand-inner { position: relative; max-width: 420px; }
.web .auth-quote { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.web .auth-quote-by { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.web .auth-quote-av { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg,#FFB4A2,#FF7B9C); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.web .auth-quote-nm { font-weight: 800; font-size: 14.5px; }
.web .auth-quote-biz { font-size: 12.5px; opacity: 0.75; }
.web .auth-stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
.web .auth-stats b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.web .auth-stats span { font-size: 12px; opacity: 0.7; }

@container web (max-width: 860px) {
  .web .auth-split { grid-template-columns: 1fr; }
  .web .auth-brand-side { display: none; }
  .web .auth-form-side { padding: 24px 20px 40px; }
}
@media (max-width: 860px) {
  .web .auth-split { grid-template-columns: 1fr; }
  .web .auth-brand-side { display: none; }
}

/* ── Help Centre ── */
.web .help-hero {
  background: linear-gradient(180deg, var(--pri-50) 0%, #fff 100%);
  padding: 60px 0 0;
  text-align: center;
}
.web .help-h1 {
  font-size: clamp(36px, 5.5cqi, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 8px auto 0;
  max-width: 560px;
}
.web .help-search {
  margin: 28px auto 0;
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 0 18px;
  height: 58px;
  box-shadow: 0 16px 40px rgba(40,30,80,0.12), 0 0 0 1px var(--line);
}
.web .help-search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.web .help-search input::placeholder { color: var(--muted-2); font-weight: 500; }
.web .help-search-clear { width: 26px; height: 26px; border-radius: 8px; background: var(--chip); color: var(--muted); display: grid; place-items: center; flex-shrink: 0; }

.web .help-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 5px;
  background: var(--chip);
  border-radius: 999px;
  margin-bottom: 32px;
}
.web .help-tabs button {
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.web .help-tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }

.web .help-topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 0;
  margin-top: 0;
}
.web .help-topic {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .2s, transform .15s;
}
.web .help-topic:hover { transform: translateY(-2px); }
.web .help-topic-ic {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.web .help-topic-title { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.web .help-topic-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.web .help-section-h { font-size: clamp(20px, 2.8cqi, 26px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; }

.web .help-guides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.web .help-guide {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .2s, transform .15s;
}
.web .help-guide:hover { transform: translateY(-1px); }
.web .help-guide-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--pri-50);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.web .help-guide-title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }
.web .help-guide-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

.web .help-contact-cta {
  background: #fff;
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--sh-2);
  max-width: 600px;
  margin: 0 auto;
}
.web .help-contact-icon {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--pri-50);
  color: var(--pri);
  display: grid; place-items: center;
  margin: 0 auto;
}

@container web (max-width: 900px) {
  .web .help-topics { grid-template-columns: repeat(2, 1fr); }
  .web .help-guides { grid-template-columns: 1fr; }
}
@container web (max-width: 480px) {
  .web .help-topics { grid-template-columns: 1fr; }
  .web .help-tabs button { padding: 8px 16px; font-size: 13px; }
}
