/* ─── whoosh360 · Shared Inner-Page Styles ──────────────────────────────────
   Used by: about, blog, careers, contact, privacy, terms
   The landing page (index.html) embeds its own styles; this file is for all
   other pages.
──────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #0D0B1E;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --gold:        #C9910D;
  --gold-dark:   #9A6E09;
  --gold-light:  #FEF3C7;
  --amber:       #F59E0B;
  --grad:        linear-gradient(135deg, #B8860B 0%, #C9910D 55%, #F59E0B 100%);
  --grad-soft:   linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  --text:        #0D0B1E;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --border:      #F5E8A0;
  --border-soft: #E5E7EB;
  --surface:     #FAFAF7;
  --radius:      16px;
  --shadow-sm:   0 1px 3px rgba(150,110,5,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 24px rgba(150,110,5,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:   0 20px 60px rgba(150,110,5,.12), 0 8px 24px rgba(0,0,0,.08);
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 24px; }

.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-light);
  border-radius: 100px; padding: 5px 14px;
}
.section-badge::before { content: "✦"; font-size: 10px; }

.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em; color: var(--text);
}
.section-sub {
  font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 600px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; border-radius: 10px;
  padding: 13px 24px; cursor: pointer; transition: all .2s;
  border: none; white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 20px rgba(180,130,10,.40);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(180,130,10,.55); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-soft);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-light); }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245,232,160,.6);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 32px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 32px; width: auto; display: block; }
.nav__links {
  display: flex; align-items: center; gap: 4px; list-style: none; flex: 1;
}
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 6px 14px; border-radius: 8px; transition: all .15s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__links a.active { color: var(--gold); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__signin {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 8px 16px; border-radius: 8px; transition: all .15s;
}
.nav__signin:hover { color: var(--text); background: var(--surface); }

/* ─── Page Hero (compact inner-page header) ─────────────────────────────── */
.page-hero {
  background: #06041A;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: -120px; left: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,145,13,.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; bottom: -60px; right: -40px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,30,140,.13) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__badge { margin-bottom: 20px; }
.page-hero__title {
  font-size: clamp(32px, 4.5vw, 56px); font-weight: 900; line-height: 1.1;
  letter-spacing: -.02em; color: #fff; margin-bottom: 18px;
}
.page-hero__sub {
  font-size: 18px; color: rgba(255,255,255,.62); line-height: 1.7;
  max-width: 560px;
}
/* breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 28px;
}
.breadcrumb a { color: rgba(255,255,255,.45); transition: color .15s; }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb__sep { font-size: 11px; }

/* ─── Page Body ──────────────────────────────────────────────────────────── */
.page-body { padding: 80px 0 100px; }
.page-body--tight { padding: 64px 0 80px; }

/* ─── Prose (legal, long-form) ───────────────────────────────────────────── */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -.01em; margin-top: 52px; margin-bottom: 16px;
  padding-top: 52px; border-top: 1px solid var(--border-soft);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-top: 28px; margin-bottom: 10px;
}
.prose p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul, .prose ol {
  padding-left: 20px; margin-bottom: 16px;
}
.prose li { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 8px; }
.prose a { color: var(--gold); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .legal-date {
  font-size: 13px; color: var(--text-light); margin-bottom: 40px;
}
.prose .callout {
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 12px; padding: 18px 22px;
  margin: 24px 0;
}
.prose .callout p { margin-bottom: 0; color: #92400E; }
.prose .platform-section {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 24px 28px; margin: 20px 0;
}
.prose .platform-section h3 {
  margin-top: 0; display: flex; align-items: center; gap: 10px;
}
.prose .platform-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

/* ─── Cards (used on about, careers) ────────────────────────────────────── */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.info-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: box-shadow .2s, border-color .2s;
}
.info-card:hover { box-shadow: var(--shadow-md); border-color: #FDE68A; }
.info-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid #FDE68A;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.info-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #FDE68A; }
.blog-card__cover {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 17px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin-bottom: 10px; letter-spacing: -.01em;
}
.blog-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.blog-card__meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid #F1F5F9;
}
.blog-card__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 700; flex-shrink: 0;
}
.blog-card__author { font-size: 13px; font-weight: 600; color: var(--text); }
.blog-card__date { font-size: 13px; color: var(--text-light); }
.blog-featured {
  background: #06041A; border-radius: 24px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-bottom: 56px;
}
.blog-featured__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #FCD34D; background: rgba(252,211,77,.12);
  border: 1px solid rgba(252,211,77,.22); border-radius: 100px;
  padding: 4px 14px; display: inline-flex; margin-bottom: 20px;
}
.blog-featured h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px;
}
.blog-featured p { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 28px; }
.blog-featured__image {
  height: 280px; background: rgba(255,255,255,.06);
  border-radius: 16px; border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
}
.blog-featured__meta {
  display: flex; align-items: center; gap: 10px; margin-top: 28px;
}
.blog-featured__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff; font-weight: 700;
}
.blog-featured__author { font-size: 14px; font-weight: 600; color: #fff; }
.blog-featured__date { font-size: 13px; color: rgba(255,255,255,.45); }

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: #374151; }
.form-group input, .form-group textarea, .form-group select {
  height: 46px; border-radius: 10px;
  border: 1.5px solid #E8D68A; padding: 0 14px;
  font-size: 14px; color: var(--text); font-family: inherit;
  outline: none; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-group textarea { height: 130px; padding: 12px 14px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,145,13,.12);
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info__item {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info__icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--grad-soft); border: 1px solid #FDE68A;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-info__label { font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-light); margin-bottom: 4px; }
.contact-info__value { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-info__note { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ─── TOC (table of contents sidebar) ───────────────────────────────────── */
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 60px; align-items: start; }
.toc {
  position: sticky; top: 88px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 22px 20px;
}
.toc__title { font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-light); margin-bottom: 16px; }
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc__list a {
  font-size: 13px; color: var(--text-muted); display: block;
  padding: 5px 8px; border-radius: 7px; transition: all .15s; line-height: 1.4;
}
.toc__list a:hover { background: var(--gold-light); color: var(--gold); }
.toc__list a.active { background: var(--gold-light); color: var(--gold); font-weight: 600; }

/* ─── Careers ────────────────────────────────────────────────────────────── */
.jobs-section { background: var(--surface); border-radius: 20px; padding: 48px; }
.jobs-empty {
  text-align: center; padding: 64px 40px;
  background: #fff; border: 1.5px dashed #FDE68A;
  border-radius: 16px;
}
.jobs-empty__icon { font-size: 48px; margin-bottom: 20px; }
.jobs-empty h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.jobs-empty p { font-size: 15px; color: var(--text-muted); max-width: 400px; margin: 0 auto 28px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: #0D0B1E; padding: 80px 0 40px; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 64px;
}
.footer__logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer__logo img { height: 38px; width: auto; display: block; }
.footer__tagline { font-size: 14px; color: #64748B; line-height: 1.65; max-width: 280px; }
.footer__col-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #94A3B8; margin-bottom: 20px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: #64748B; transition: color .15s; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid #1E1B35; padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer__copy { font-size: 13px; color: #475569; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 13px; color: #475569; transition: color .15s; }
.footer__legal a:hover { color: #fff; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__image { display: none; }
}
@media (max-width: 768px) {
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nav__links { display: none; }
  .page-hero { padding: 56px 0 48px; }
  .blog-featured { padding: 36px 28px; }
}
