/* ==========================================================================
   Hyperfocus Website v5 — Editorial, Legal & Resources Stylesheet
   Uses tokens from css/website-v5-tokens.css (zero :root token declarations)
   ========================================================================== */

.hf-subpage-main {
  background: var(--rw-bg-white);
  color: var(--rw-off-black);
  font-family: var(--abcNormal);
  padding-top: 96px;
}

/* Legal pages (/privacy, /terms) */
.legal {
  background: var(--rw-bg-white);
  color: var(--rw-off-black);
}
.legal__inner {
  width: 896px;
  max-width: 100%;
  margin: 0 auto;
  padding: 56px 24px 120px;
}
.legal h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--rw-off-black);
  margin-bottom: 16px;
}
.legal__meta {
  font-size: 15px;
  color: var(--rw-dark-gray-alt);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: var(--rw-hairline);
}
.legal section {
  margin-bottom: 44px;
  scroll-margin-top: 112px;
}
.legal h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--rw-off-black);
  margin-bottom: 16px;
}
.legal h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--rw-off-black);
  margin: 24px 0 12px;
}
.legal p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--rw-dark-text);
  margin-bottom: 16px;
}
.legal p:last-child { margin-bottom: 0; }
.legal strong { font-weight: 600; color: var(--rw-off-black); }
.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 16px;
}
.legal li {
  font-size: 16px;
  line-height: 1.68;
  color: var(--rw-dark-text);
  margin-bottom: 8px;
}
.legal a {
  color: #4e47b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--rw-off-black); }

/* Hyperfocus Creative Superintelligence CTA Banner (top & bottom of /resources*) */
.hf-article-cta {
  background: var(--rw-inquiry-gray);
  border: var(--rw-hairline);
  border-radius: var(--rw-radius-xl);
  padding: 28px 32px;
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hf-article-cta--compact {
  padding: 20px 24px;
  margin: 0 0 36px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hf-article-cta__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4e47b8;
  margin-bottom: 6px;
}
.hf-article-cta__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--rw-off-black);
  margin: 0 0 6px;
}
.hf-article-cta__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--rw-dark-text);
  margin: 0;
  max-width: 600px;
}
.hf-article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hf-article-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--rw-radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.hf-article-cta__btn--primary {
  background: var(--rw-off-black);
  color: var(--rw-bg-white) !important;
}
.hf-article-cta__btn--primary:hover { opacity: 0.88; color: var(--rw-bg-white) !important; }
.hf-article-cta__btn--secondary {
  background: var(--rw-bg-white);
  color: var(--rw-off-black) !important;
  border: var(--rw-hairline);
}
.hf-article-cta__btn--secondary:hover { background: var(--rw-ice-pill); color: var(--rw-off-black) !important; }

/* Resource index & article styles (.article) */
.article {
  background: var(--rw-bg-white);
  color: var(--rw-off-black);
}
.article img { max-width: 100%; }
.article__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.article__inner--wide { max-width: 1120px; }
.article a { color: #4e47b8; }
.article a:hover { color: var(--rw-off-black); }

/* Layout utilities used inside migrated resource articles */
.article .relative { position: relative; }
.article .absolute { position: absolute; }
.article .inset-0 { inset: 0; }
.article .top-1\/2 { top: 50%; }
.article .top-3 { top: 12px; }
.article .top-4 { top: 16px; }
.article .\-translate-y-1\/2 { transform: translateY(-50%); }
.article .left-3 { left: 12px; }
.article .left-4 { left: 16px; }
.article .bottom-4 { bottom: 16px; }
.article .overflow-hidden { overflow: hidden; }
.article .overflow-x-auto { overflow-x: auto; }

.article .flex { display: flex; }
.article .inline-flex { display: inline-flex; }
.article .flex-col { flex-direction: column; }
.article .flex-1 { flex: 1 1 0%; }
.article .flex-wrap { flex-wrap: wrap; }
.article .items-center { align-items: center; }
.article .items-start { align-items: flex-start; }
.article .justify-between { justify-content: space-between; }
.article .justify-center { justify-content: center; }
.article .gap-1 { gap: 4px; }
.article .gap-2 { gap: 8px; }
.article .gap-3 { gap: 12px; }
.article .gap-4 { gap: 16px; }
.article .gap-5 { gap: 20px; }
.article .gap-6 { gap: 24px; }
.article .grid { display: grid; }
.article .grid-cols-1 { grid-template-columns: 1fr; }
.article .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.article .w-full { width: 100%; }
.article .h-full { height: 100%; }
.article .h-1 { height: 4px; }
.article .h-2 { height: 8px; }
.article .h-5 { height: 20px; }
.article .h-6 { height: 24px; }
.article .h-7 { height: 28px; }
.article .h-8 { height: 32px; }
.article .h-10 { height: 40px; }
.article .h-12 { height: 48px; }
.article .h-40 { height: 160px; }
.article .h-48 { height: 192px; }
.article .w-1 { width: 4px; }
.article .w-1\.5 { width: 6px; }
.article .w-2 { width: 8px; }
.article .w-4 { width: 16px; }
.article .w-6 { width: 24px; }
.article .min-w-0 { min-width: 0; }
.article .shrink-0 { flex-shrink: 0; }
.article .min-h-\[240px\] { min-height: 240px; }

.article .p-4 { padding: 16px; }
.article .p-5 { padding: 20px; }
.article .p-6 { padding: 24px; }
.article .p-8 { padding: 32px; }
.article .px-2\.5 { padding-left: 10px; padding-right: 10px; }
.article .px-3 { padding-left: 12px; padding-right: 12px; }
.article .px-4 { padding-left: 16px; padding-right: 16px; }
.article .px-6 { padding-left: 24px; padding-right: 24px; }
.article .py-1 { padding-top: 4px; padding-bottom: 4px; }
.article .py-1\.5 { padding-top: 6px; padding-bottom: 6px; }
.article .py-2 { padding-top: 8px; padding-bottom: 8px; }
.article .py-3 { padding-top: 12px; padding-bottom: 12px; }
.article .py-4 { padding-top: 16px; padding-bottom: 16px; }
.article .py-8 { padding-top: 32px; padding-bottom: 32px; }
.article .py-12 { padding-top: 48px; padding-bottom: 48px; }
.article .pl-4 { padding-left: 16px; }
.article .pl-6 { padding-left: 24px; }
.article .pl-7 { padding-left: 28px; }
.article .pr-3 { padding-right: 12px; }
.article .pr-4 { padding-right: 16px; }
.article .pt-8 { padding-top: 32px; }
.article .pb-6 { padding-bottom: 24px; }

.article .m-0 { margin: 0; }
.article .mx-auto { margin-left: auto; margin-right: auto; }
.article .ml-auto { margin-left: auto; }
.article .mt-0\.5 { margin-top: 2px; }
.article .mt-1 { margin-top: 4px; }
.article .mt-1\.5 { margin-top: 6px; }
.article .mt-2 { margin-top: 8px; }
.article .mt-4 { margin-top: 16px; }
.article .mt-6 { margin-top: 24px; }
.article .mt-8 { margin-top: 32px; }
.article .mt-16 { margin-top: 64px; }
.article .mb-0 { margin-bottom: 0; }
.article .mb-1 { margin-bottom: 4px; }
.article .mb-1\.5 { margin-bottom: 6px; }
.article .mb-2 { margin-bottom: 8px; }
.article .mb-3 { margin-bottom: 12px; }
.article .mb-4 { margin-bottom: 16px; }
.article .mb-5 { margin-bottom: 20px; }
.article .mb-6 { margin-bottom: 24px; }
.article .mb-8 { margin-bottom: 32px; }
.article .mb-10 { margin-bottom: 40px; }
.article .mb-12 { margin-bottom: 48px; }
.article .mb-14 { margin-bottom: 56px; }
.article .mb-16 { margin-bottom: 64px; }
.article .my-6 { margin-top: 24px; margin-bottom: 24px; }
.article .space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
.article .space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 4px; }
.article .space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 8px; }
.article .space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 12px; }
.article .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 16px; }
.article .space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 24px; }
.article .space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 32px; }

.article .rounded { border-radius: 4px; }
.article .rounded-sm { border-radius: 2px; }
.article .rounded-lg { border-radius: var(--rw-radius-lg); }
.article .rounded-xl { border-radius: var(--rw-radius-xl); }
.article .rounded-2xl { border-radius: var(--rw-radius-xl); }
.article .rounded-full { border-radius: 999px; }
.article .rounded-b-lg { border-bottom-left-radius: var(--rw-radius-lg); border-bottom-right-radius: var(--rw-radius-lg); }

.article .border { border: var(--rw-hairline); }
.article .border-b { border-bottom: var(--rw-hairline); }
.article .border-t { border-top: var(--rw-hairline); }
.article .border-white\/5 { border-color: rgba(102, 102, 102, 0.22); }
.article .border-white\/10 { border-color: rgba(102, 102, 102, 0.38); }
.article .border-white\/20 { border-color: rgba(102, 102, 102, 0.45); }
.article .border-purple-500\/30 { border-color: rgba(78, 71, 184, 0.35); }
.article .border-purple-500\/50 { border-color: rgba(78, 71, 184, 0.55); }
.article .hover\:border-purple-500\/50:hover { border-color: rgba(78, 71, 184, 0.55); }
.article .hover\:border-white\/20:hover { border-color: rgba(12, 12, 12, 0.35); }
.article .hover\:bg-white\/5:hover { background: var(--rw-light-gray); }

.article .bg-white\/5 { background: var(--rw-light-gray); }
.article .bg-white\/\[0\.02\] { background: var(--rw-bg-white); }
.article .bg-white\/\[0\.04\] { background: var(--rw-bg-white); }
.article .bg-black\/40 { background: var(--rw-bg-white); }
.article .bg-neutral-900 { background: var(--rw-bg-white); }
.article .bg-gradient-to-b { background: var(--rw-inquiry-gray); }
.article .from-purple-500 { background: var(--rw-off-black); color: var(--rw-bg-white) !important; }
.article .hover\:from-purple-400:hover { background: #262626; color: var(--rw-bg-white) !important; }
.article .bg-purple-500\/20 { background: rgba(78, 71, 184, 0.12); }
.article .bg-slate-600 { background: #6b7280; }
.article .bg-red-500\/70 { background: #ef4444; }
.article .bg-orange-500\/70 { background: #f97316; }
.article .bg-blue-500\/70 { background: #3b82f6; }
.article .bg-purple-500\/70 { background: #4e47b8; }
.article .bg-pink-500\/70 { background: #ec4899; }
.article .bg-emerald-500\/70 { background: #10b981; }
.article .bg-white { background: var(--rw-bg-white); }

.article .text-left { text-align: left; }
.article .text-right { text-align: right; }
.article .text-center { text-align: center; }
.article .text-xs { font-size: 12px; }
.article .text-\[11px\] { font-size: 11px; }
.article .text-sm { font-size: 14px; }
.article .text-base { font-size: 16px; }
.article .text-lg { font-size: 18px; }
.article .text-xl { font-size: 20px; }
.article .text-2xl { font-size: 24px; }
.article .text-3xl { font-size: 28px; }
.article .text-4xl { font-size: 36px; }
.article .text-5xl { font-size: 44px; }
.article .font-normal { font-weight: 400; }
.article .font-medium { font-weight: 500; }
.article .font-semibold { font-weight: 600; }
.article .font-bold { font-weight: 500; letter-spacing: -0.02em; }
.article .font-mono { font-family: var(--abcNormal); font-variant-numeric: tabular-nums; }
.article .leading-relaxed { line-height: 1.68; }
.article .leading-snug { line-height: 1.3; }
.article .tracking-tighter { letter-spacing: -0.025em; }
.article .italic { font-style: italic; }
.article .underline { text-decoration: underline; }
.article .underline-offset-2 { text-underline-offset: 2px; }
.article .whitespace-nowrap { white-space: nowrap; }
.article .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article .text-white,
.article .text-white\/70,
.article .text-white\/80,
.article .text-white\/90,
.article .hover\:text-white:hover { color: var(--rw-off-black); }
.article .bg-slate-600,
.article .bg-red-500\/70,
.article .bg-orange-500\/70,
.article .bg-blue-500\/70,
.article .bg-purple-500\/70,
.article .bg-pink-500\/70,
.article .bg-emerald-500\/70 { color: var(--rw-bg-white); }
.article .text-slate-200 { color: var(--rw-bg-white); }
.article .text-slate-300 { color: var(--rw-dark-text); }
.article .text-slate-400 { color: var(--rw-dark-text); }
.article .text-slate-500 { color: var(--rw-dark-gray-alt); }
.article .text-slate-600 { color: var(--rw-dark-gray); }
.article .hover\:text-slate-300:hover { color: var(--rw-off-black); }
.article .text-purple-300,
.article .text-purple-400 { color: #4e47b8; }
.article .hover\:text-purple-300:hover { color: var(--rw-off-black); }
.article .text-emerald-400 { color: #059669; }
.article .text-yellow-400 { color: #b45309; }
.article .text-orange-400 { color: #c2410c; }
.article .text-rose-400,
.article .text-red-400,
.article .text-red-500 { color: #dc2626; }

.article .object-cover { object-fit: cover; }
.article .cursor-pointer { cursor: pointer; }
.article .list-disc { list-style: disc; }
.article .list-decimal { list-style: decimal; }
.article .list-inside { list-style-position: inside; }
.article .list-none { list-style: none; }
.article .max-w-lg { max-width: 32rem; }
.article .max-w-2xl { max-width: 42rem; }
.article .block { display: block; }
.article .transition-all,
.article .transition,
.article .transition-colors { transition: 0.15s ease; }

.article input,
.article select,
.article textarea {
  background: var(--rw-bg-white);
  color: var(--rw-off-black);
  border: var(--rw-hairline);
}
.article input:focus,
.article select:focus,
.article textarea:focus {
  outline: none;
  border-color: #4e47b8;
  box-shadow: 0 0 0 2px rgba(78, 71, 184, 0.18);
}
.article .accent-purple-500 { accent-color: #4e47b8; }
.article .bg-clip-text { color: var(--rw-off-black); -webkit-text-fill-color: unset; }
.article .text-transparent { color: var(--rw-off-black); }
.article .about__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--rw-radius-md);
  background: var(--rw-off-black);
  color: var(--rw-bg-white) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.article .about__cta-btn:hover { opacity: 0.88; }

.article table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.article th { text-align: left; font-weight: 600; padding: 12px 16px 12px 0; color: var(--rw-off-black); }
.article td { padding: 12px 16px 12px 0; color: var(--rw-dark-text); }

/* Resource index filter pills & cards */
.hf-res-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hf-res-pill {
  padding: 8px 16px;
  border-radius: var(--rw-radius-sm);
  border: var(--rw-hairline);
  background: var(--rw-bg-white);
  color: var(--rw-dark-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.hf-res-pill:hover { background: var(--rw-ice-pill); color: var(--rw-off-black); }
.hf-res-pill.is-active { background: var(--rw-off-black); color: var(--rw-bg-white); border-color: var(--rw-off-black); }
.hf-res-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.hf-res-card {
  display: flex;
  flex-direction: column;
  border: var(--rw-hairline);
  border-radius: var(--rw-radius-lg);
  overflow: hidden;
  background: var(--rw-bg-white);
  text-decoration: none !important;
  transition: border-color 0.15s ease, transform 0.2s ease;
}
.hf-res-card:hover { border-color: var(--rw-off-black); transform: translateY(-2px); }
.hf-res-card__img { width: 100%; height: 180px; object-fit: cover; display: block; }
.hf-res-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.hf-res-card__cat { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: #4e47b8; }
.hf-res-card__title { font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--rw-off-black); margin: 0; }
.hf-res-card__desc { font-size: 14px; line-height: 1.55; color: var(--rw-dark-gray-alt); margin: 0; flex: 1; }
.hf-res-card__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rw-dark-gray-alt); padding-top: 12px; border-top: var(--rw-hairline); margin-top: 8px; }
.hf-res-card__meta img { width: 22px; height: 22px; border-radius: 999px; object-fit: cover; }

@media (min-width: 640px) {
  .article .sm\:flex-row { flex-direction: row; }
  .article .sm\:items-center { align-items: center; }
  .article .sm\:grid-cols-2 { grid-template-columns: 1fr 1fr; }
  .article .sm\:w-72 { width: 18rem; }
  .hf-res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .article .md\:h-64 { height: 256px; }
  .article .md\:h-full { height: 100%; }
  .article .md\:p-8 { padding: 32px; }
  .article .md\:grid-cols-2 { grid-template-columns: 1fr 1fr; }
  .article .md\:text-2xl { font-size: 24px; }
  .article .md\:text-3xl { font-size: 30px; }
  .article .md\:text-5xl { font-size: 42px; }
  .article .md\:text-lg { font-size: 18px; }
}
@media (min-width: 1024px) {
  .article .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .hf-res-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .hf-subpage-main { padding-top: 76px; }
  .legal__inner { padding: 36px 20px 80px; }
  .article__inner { padding: 36px 20px 72px; }
  .article .text-4xl { font-size: 28px; }
  .article .text-5xl { font-size: 32px; }
  .hf-article-cta { padding: 20px; }
}
