:root {
  --ht-ink: #111827;
  --ht-muted: #667085;
  --ht-soft: #f5f6f1;
  --ht-surface: #ffffff;
  --ht-line: rgba(17, 24, 39, 0.10);
  --ht-line-strong: rgba(17, 24, 39, 0.16);
  --ht-brand: #dc4423;
  --ht-brand-dark: #ad2f18;
  --ht-green: #14724f;
  --ht-shadow: 0 18px 55px rgba(17, 24, 39, 0.10);
  --ht-radius: 8px;
  --ht-container: 1160px;
}

html.ht-shell-lock {
  scroll-padding-top: 92px;
}

body.ht-shell-page {
  min-height: 100vh !important;
  padding-top: 74px !important;
  margin: 0 !important;
  background: var(--ht-soft) !important;
  color: var(--ht-ink) !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.55 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.ht-shell-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(220, 68, 35, 0.10), transparent 28rem),
    radial-gradient(circle at 85% 10%, rgba(20, 114, 79, 0.11), transparent 26rem),
    linear-gradient(180deg, #fffdfa 0%, var(--ht-soft) 42%, #eef5f2 100%);
}

body.ht-shell-page {
  --bg: var(--ht-soft);
  --bg2: #eef1eb;
  --bg3: #e6ece4;
  --bg4: #dde6df;
  --surface: var(--ht-surface);
  --gold: var(--ht-brand);
  --gold-l: var(--ht-brand);
  --gold-d: var(--ht-brand-dark);
  --saffron: var(--ht-brand-dark);
  --amber: #f2b233;
  --green: var(--ht-green);
  --green-l: #18845b;
  --accent: var(--ht-brand);
  --accent-dark: var(--ht-brand-dark);
  --accent-soft: #fff1ed;
  --text: var(--ht-ink);
  --text-primary: var(--ht-ink);
  --text2: #475467;
  --text-secondary: #475467;
  --text3: var(--ht-muted);
  --text-muted: var(--ht-muted);
  --border: rgba(17, 24, 39, 0.12);
  --border2: rgba(17, 24, 39, 0.10);
  --border3: rgba(17, 24, 39, 0.08);
  --shadow: 0 12px 34px rgba(17, 24, 39, 0.05);
  --shadow-lg: var(--ht-shadow);
}

body.ht-shell-page,
body.ht-shell-page button,
body.ht-shell-page input,
body.ht-shell-page textarea,
body.ht-shell-page select {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.ht-shell-page h1,
body.ht-shell-page h2,
body.ht-shell-page h3,
body.ht-shell-page h4 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}

body.ht-shell-page > nav,
body.ht-shell-page > footer,
body.ht-shell-page .mobile-menu,
body.ht-shell-page[data-ht-page="delete_account"] .topbar,
body.ht-shell-page[data-ht-page="news"] > header,
body.ht-shell-page[data-ht-page="business-portal"] > header,
body.ht-shell-page[data-ht-page="services"] > header {
  display: none !important;
}

.ht-shell-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2147483000;
  background: rgba(255, 253, 250, 0.90);
  border-bottom: 1px solid var(--ht-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.ht-shell-inner {
  width: min(100% - 40px, var(--ht-container));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ht-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ht-ink) !important;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.ht-shell-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 22px rgba(220, 68, 35, 0.20);
}

.ht-shell-brand strong {
  color: var(--ht-brand);
}

.ht-shell-back,
.ht-shell-menu,
.ht-shell-button {
  appearance: none;
  border: 1px solid var(--ht-line-strong) !important;
  border-radius: var(--ht-radius) !important;
  background: #fff !important;
  color: var(--ht-ink) !important;
  cursor: pointer;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ht-shell-back {
  gap: 7px;
  padding: 0 12px !important;
  flex: 0 0 auto;
}

.ht-shell-back span:first-child {
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-1px);
}

.ht-shell-button {
  padding: 0 15px !important;
}

.ht-shell-button-primary {
  border-color: transparent !important;
  background: var(--ht-brand) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(220, 68, 35, 0.24);
}

.ht-shell-back:hover,
.ht-shell-button:hover,
.ht-shell-menu:hover {
  transform: translateY(-1px);
}

.ht-shell-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 750;
}

.ht-shell-links a {
  color: #344054 !important;
  text-decoration: none !important;
}

.ht-shell-links a:hover,
.ht-shell-links a.is-active {
  color: var(--ht-brand) !important;
}

.ht-shell-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ht-shell-menu {
  display: none;
  width: 42px;
  padding: 0 !important;
  flex-direction: column;
  gap: 5px;
}

.ht-shell-menu span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ht-ink);
}

.ht-shell-footer {
  margin-top: 72px;
  background: #101623;
  color: #fff;
  padding: 48px 0 22px;
}

.ht-shell-footer-inner {
  width: min(100% - 40px, var(--ht-container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) repeat(3, minmax(120px, 0.6fr));
  gap: 26px;
}

.ht-shell-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
}

.ht-shell-footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}

.ht-shell-footer p {
  margin: 14px 0 0 !important;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.94rem !important;
}

.ht-shell-footer-column {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ht-shell-footer-column strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.95rem;
}

.ht-shell-footer a {
  color: rgba(255, 255, 255, 0.70) !important;
  text-decoration: none !important;
  font-size: 0.93rem;
}

.ht-shell-footer a:hover {
  color: #fff !important;
}

.ht-shell-bottom {
  width: min(100% - 40px, var(--ht-container));
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

body.ht-shell-page .page-hero {
  padding-top: clamp(56px, 8vw, 84px) !important;
}

body.ht-shell-page[data-ht-page="privacypolicy"] .hero,
body.ht-shell-page[data-ht-page="terms-condition"] .hero {
  padding-top: 0 !important;
}

body.ht-shell-page[data-ht-page="safety"] > header {
  background: transparent !important;
  color: var(--ht-ink) !important;
  border-bottom: 1px solid var(--ht-line) !important;
}

body.ht-shell-page[data-ht-page="safety"] > header::before {
  display: none !important;
}

body.ht-shell-page[data-ht-page="safety"] .header-inner {
  width: min(100% - 40px, var(--ht-container)) !important;
  max-width: var(--ht-container) !important;
  padding: clamp(52px, 8vw, 84px) 0 clamp(34px, 6vw, 54px) !important;
}

body.ht-shell-page[data-ht-page="safety"] .brand-logo {
  background: #fff !important;
  border: 1px solid var(--ht-line) !important;
  box-shadow: 0 6px 22px rgba(220, 68, 35, 0.12);
}

body.ht-shell-page[data-ht-page="refundpolicy"] main,
body.ht-shell-page[data-ht-page="delete_account"] main,
body.ht-shell-page[data-ht-page="news"] main,
body.ht-shell-page[data-ht-page="business-portal"] main,
body.ht-shell-page[data-ht-page="services"] main {
  padding-top: clamp(34px, 6vw, 58px) !important;
}

body.ht-shell-page[data-ht-page="refundpolicy"] .max-w-3xl,
body.ht-shell-page[data-ht-page="delete_account"] .container,
body.ht-shell-page[data-ht-page="news"] main,
body.ht-shell-page[data-ht-page="business-portal"] main,
body.ht-shell-page[data-ht-page="services"] main {
  width: min(100% - 40px, var(--ht-container)) !important;
  max-width: var(--ht-container) !important;
}

body.ht-shell-page .card,
body.ht-shell-page .toc,
body.ht-shell-page .content-card,
body.ht-shell-page .contact-card,
body.ht-shell-page .story-card,
body.ht-shell-page .mission-card,
body.ht-shell-page .support-card {
  border-radius: var(--ht-radius) !important;
  border-color: var(--ht-line) !important;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.05) !important;
}

body.ht-shell-page .gradient-text {
  background: linear-gradient(120deg, var(--ht-brand), var(--ht-brand-dark)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

@media (max-width: 980px) {
  .ht-shell-links,
  .ht-shell-actions .ht-shell-button:not(.ht-shell-button-primary) {
    display: none;
  }

  .ht-shell-menu {
    display: inline-flex;
    margin-left: auto;
  }

  .ht-shell-links.is-open {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--ht-line);
    border-radius: 16px;
    box-shadow: var(--ht-shadow);
  }

  .ht-shell-links.is-open a {
    padding: 12px;
    border-radius: var(--ht-radius);
  }

  .ht-shell-links.is-open a:hover {
    background: #f5f6f8;
  }

  .ht-shell-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body.ht-shell-page {
    padding-top: 66px !important;
  }

  .ht-shell-inner {
    width: min(100% - 28px, var(--ht-container));
    min-height: 66px;
    gap: 9px;
  }

  .ht-shell-brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .ht-shell-brand span {
    font-size: 0.98rem;
  }

  .ht-shell-back {
    min-height: 38px;
    padding: 0 10px !important;
  }

  .ht-shell-back-label {
    display: none;
  }

  .ht-shell-actions .ht-shell-button-primary {
    display: none;
  }

  .ht-shell-menu {
    width: 40px;
    min-height: 38px;
  }

  .ht-shell-links.is-open {
    top: 66px;
    left: 14px;
    right: 14px;
  }

  .ht-shell-links.is-open::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--ht-line);
    margin: 6px 0;
  }

  .ht-shell-footer-inner {
    width: min(100% - 28px, var(--ht-container));
    grid-template-columns: 1fr;
  }

  .ht-shell-bottom {
    width: min(100% - 28px, var(--ht-container));
    flex-direction: column;
  }
}


/* Legacy page responsive fixes layered on top of the shared shell. */
body.ht-shell-page {
  overflow-x: clip !important;
}

body.ht-shell-page[data-ht-page="privacypolicy"] .pp-body,
body.ht-shell-page[data-ht-page="privacypolicy"] .pp-main,
body.ht-shell-page[data-ht-page="privacypolicy"] aside,
body.ht-shell-page[data-ht-page="privacypolicy"] .mobile-toc-wrap,
body.ht-shell-page[data-ht-page="privacypolicy"] .compliance-strip {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.ht-shell-page[data-ht-page="privacypolicy"] .mobile-toc-wrap {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

body.ht-shell-page[data-ht-page="privacypolicy"] .mobile-toc-inner {
  width: max-content !important;
  max-width: none !important;
}

body.ht-shell-page[data-ht-page="privacypolicy"] .compliance-strip,
body.ht-shell-page[data-ht-page="privacypolicy"] .comp-label,
body.ht-shell-page[data-ht-page="privacypolicy"] .comp-badges {
  width: auto !important;
}

body.ht-shell-page[data-ht-page="privacypolicy"] .hero-deco-char {
  display: none !important;
}

body.ht-shell-page[data-ht-page="safety"] .table-wrap,
body.ht-shell-page[data-ht-page="safety"] .feature-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.ht-shell-page[data-ht-page="safety"] .feature-table {
  table-layout: fixed !important;
}

body.ht-shell-page[data-ht-page="safety"] .feature-table th,
body.ht-shell-page[data-ht-page="safety"] .feature-table td {
  padding: 10px 9px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

@media (max-width: 680px) {
  body.ht-shell-page[data-ht-page="about"] .story-inner > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body.ht-shell-page[data-ht-page="about"] .timeline {
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 40px !important;
  }

  body.ht-shell-page[data-ht-page="about"] .tl-dot {
    left: -34px !important;
  }
}


body.ht-shell-page[data-ht-page="safety"] p,
body.ht-shell-page[data-ht-page="safety"] li,
body.ht-shell-page[data-ht-page="safety"] a,
body.ht-shell-page[data-ht-page="safety"] strong,
body.ht-shell-page[data-ht-page="safety"] .step-body,
body.ht-shell-page[data-ht-page="safety"] .contact-card,
body.ht-shell-page[data-ht-page="safety"] .c-value {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
