/* ============================================================
   Slidey — Content pages (about / blog / careers / legal / contact)
   ============================================================ */

/* ---------- NAV (reused from landing) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: oklch(0.985 0.004 270 / 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
html[data-theme='dark'] .nav { background: oklch(0.165 0.014 274 / 0.82); }
.nav.scrolled { border-color: var(--border); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--accent); color: var(--accent-contrast); }
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-size: 19px; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--text-2); padding: 8px 13px; border-radius: var(--r-md); transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-login { display: inline-flex; }
.nav-burger { display: none; }

/* ---------- PAGE HERO ---------- */
.page-hero { position: relative; padding: 74px 0 46px; text-align: center; overflow: hidden; }
.page-hero.left { text-align: left; }
.page-hero-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 680px; height: 380px; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity: .8;
}
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; margin-bottom: 16px; }
.page-hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 640px; margin-inline: auto; line-height: 1.55; }
.page-hero.left .lead { margin-inline: 0; }
.page-hero .meta { margin-top: 18px; font-size: 14px; color: var(--muted); }

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--border); }
.narrow { max-width: 760px; margin-inline: auto; }
.sec-label { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
h2.block-title { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin-bottom: 14px; }

/* ---------- PROSE (story + legal) ---------- */
.prose { font-size: 16.5px; line-height: 1.72; color: var(--text-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 23px; color: var(--text); margin-top: 40px; margin-bottom: 4px; letter-spacing: -.01em; }
.prose h3 { font-size: 18px; color: var(--text); margin-top: 26px; }
.prose p { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 700; }
.prose ul { padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.prose a.inline { color: var(--accent-ink); font-weight: 600; border-bottom: 1px solid var(--accent-soft); }

/* legal layout with sticky TOC */
.legal-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; }
.legal-toc a { display: block; font-size: 14px; color: var(--text-2); padding: 7px 12px; border-radius: 8px; border-left: 2px solid var(--border); transition: color .15s, background .15s, border-color .15s; }
.legal-toc a:hover { color: var(--text); background: var(--card-2); border-color: var(--faint); }
.legal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 40px; box-shadow: var(--shadow-sm); }
.legal-card section { scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-card section + section { margin-top: 8px; }

/* ---------- VALUE / FEATURE CARDS ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--faint); }
.value-ic { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px; }
.value-ic svg { width: 23px; height: 23px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }

/* ---------- STATS ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box { text-align: center; padding: 26px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.stat-box .n { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -.03em; color: var(--accent-ink); }
.stat-box .l { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- BLOG ---------- */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 44px; }
.featured .cover { min-height: 320px; position: relative; }
.featured .body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured .body h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 14px 0 12px; letter-spacing: -.02em; }
.featured .body p { font-size: 16px; color: var(--text-2); line-height: 1.6; margin-bottom: 22px; }

.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.post-cat { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 11px; border-radius: var(--r-pill); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--faint); }
.post-card .cover { height: 168px; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .body h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.post-card .body p { font-size: 14px; color: var(--text-2); line-height: 1.55; flex: 1; }
.post-card .foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* decorative covers (no external images) */
.cover-art { background: linear-gradient(135deg, var(--accent), var(--accent-2)); position: relative; overflow: hidden; }
.cover-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%, oklch(1 0 0 / .22), transparent 45%), radial-gradient(circle at 15% 90%, oklch(1 0 0 / .14), transparent 40%); }
.cover-art.v2 { background: linear-gradient(135deg, oklch(0.64 0.13 195), oklch(0.55 0.18 230)); }
.cover-art.v3 { background: linear-gradient(135deg, oklch(0.70 0.16 70), oklch(0.62 0.20 30)); }
.cover-art.v4 { background: linear-gradient(135deg, oklch(0.64 0.16 150), oklch(0.55 0.15 185)); }
.cover-art.v5 { background: linear-gradient(135deg, oklch(0.62 0.20 12), oklch(0.55 0.205 320)); }
.cover-art.v6 { background: linear-gradient(135deg, oklch(0.55 0.205 280), oklch(0.50 0.18 235)); }
.cover-glyph { position: absolute; right: 18px; bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: 76px; color: oklch(1 0 0 / .16); z-index: 1; letter-spacing: -.04em; }

/* ---------- CAREERS ---------- */
.perk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perk { display: flex; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.perk .ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); }
.perk .ic svg { width: 20px; height: 20px; }
.perk h4 { font-size: 15.5px; margin-bottom: 4px; }
.perk p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

.roles { display: flex; flex-direction: column; gap: 12px; }
.role { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color .18s, box-shadow .18s, transform .18s; }
.role:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateX(3px); }
.role .info { flex: 1; min-width: 0; }
.role h3 { font-size: 18px; margin-bottom: 7px; letter-spacing: -.01em; }
.role .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.role .tag { font-size: 12.5px; font-weight: 600; color: var(--text-2); background: var(--card-2); border: 1px solid var(--border); padding: 4px 11px; border-radius: var(--r-pill); }
.role .arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--card-2); color: var(--text-2); transition: background .18s, color .18s; }
.role:hover .arrow { background: var(--accent); color: var(--accent-contrast); }
.role .arrow svg { width: 18px; height: 18px; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card { display: flex; gap: 15px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.info-card .ic { width: 44px; height: 44px; flex: none; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.info-card p { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.info-card a { color: var(--accent-ink); font-weight: 600; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; font-size: 15px; color: var(--text); background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-success { display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 13px 16px; border-radius: var(--r-md); background: oklch(0.64 0.16 150 / .12); color: var(--green); font-size: 14px; font-weight: 600; }
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; }

/* ---------- CTA strip ---------- */
.cta-strip { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 48px 32px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.cta-strip h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-strip p { font-size: 16px; color: var(--text-2); margin-bottom: 24px; }

/* ---------- FOOTER (reused) ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 24em; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-2); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--accent-ink); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--card-2); border: 1px solid var(--border); color: var(--text-2); transition: color .15s, border-color .15s; }
.footer-social a:hover { color: var(--accent-ink); border-color: var(--faint); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 940px) {
  .value-grid, .blog-grid, .perk-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .legal-wrap { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; display: none; }
  .featured { grid-template-columns: 1fr; }
  .featured .cover { min-height: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 600px) {
  .value-grid, .blog-grid, .perk-grid, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .legal-card { padding: 24px 22px; }
  .role { flex-wrap: wrap; }
  .container { padding-inline: 18px; }
}

/* mobile menu reuse */
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 99; background: var(--bg); padding: 24px; display: none; flex-direction: column; gap: 6px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 18px; font-weight: 600; color: var(--text); padding: 14px 4px; border-bottom: 1px solid var(--border); }
