/*
Theme Name: RESAAS Corporate
Theme URI: https://corporate.resaas.com
Author: RESAAS Services Inc.
Author URI: https://corporate.resaas.com
Description: A modern, data-driven corporate theme for RESAAS — built for investors, enterprise clients, and global real estate professionals. White, grey and yellow brand palette.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: resaas-corporate
Tags: corporate, light, modern, technology, investor-relations, real-estate
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────── */
:root {
  --c-white:       #FFFFFF;
  --c-off-white:   #F7F7F5;
  --c-grey-100:    #F0EFED;
  --c-grey-200:    #E2E0DC;
  --c-grey-400:    #9B9890;
  --c-grey-600:    #6B6860;
  --c-grey-800:    #3A3834;
  --c-charcoal:    #1E1D1A;
  --c-ink:         #0F0E0C;

  --c-yellow:      #F5C518;
  --c-yellow-hover:#D9AE0A;
  --c-yellow-soft: rgba(245,197,24,0.12);
  --c-yellow-line: rgba(245,197,24,0.25);

  --c-line:        rgba(30,29,26,0.08);
  --c-line-med:    rgba(30,29,26,0.14);
  --c-line-dark:   rgba(30,29,26,0.22);

  --f-display: 'Sora', sans-serif;
  --f-body:    'Inter', sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;
  --max-w: 1200px; --nav-h: 72px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-body); background: var(--c-white); color: var(--c-charcoal); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Navigation ────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; background: var(--c-white); border-bottom: 1px solid var(--c-line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; width: 100%; display: flex; align-items: center; gap: 32px; }
.site-logo img { height: 36px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--c-grey-600); border-radius: var(--r-sm); transition: color .2s, background .2s; white-space: nowrap; cursor: pointer; }
.nav-link:hover { color: var(--c-charcoal); background: var(--c-grey-100); }
.nav-link svg.chevron { width: 13px; height: 13px; transition: transform .2s; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; }
.nav-item:hover .nav-link svg.chevron { transform: rotate(180deg); }
.nav-item.investors > .nav-link { color: var(--c-charcoal); font-weight: 600; }
.nav-item.investors > .nav-link:hover { background: var(--c-yellow-soft); }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--c-white); border: 1px solid var(--c-line-dark); border-radius: var(--r-md); padding: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.10); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 10px 14px; font-size: 13.5px; color: var(--c-grey-600); border-radius: var(--r-sm); transition: color .15s, background .15s; }
.nav-dropdown a:hover { color: var(--c-charcoal); background: var(--c-grey-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.btn-nav-login { padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--c-grey-600); border: 1px solid var(--c-line-dark); border-radius: var(--r-sm); transition: color .2s, border-color .2s, background .2s; }
.btn-nav-login:hover { color: var(--c-charcoal); border-color: var(--c-grey-400); background: var(--c-grey-100); }
.btn-nav-primary { padding: 8px 18px; font-size: 13.5px; font-weight: 700; color: var(--c-ink); background: var(--c-yellow); border-radius: var(--r-sm); transition: background .2s; border: none; letter-spacing: -.01em; }
.btn-nav-primary:hover { background: var(--c-yellow-hover); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-charcoal); border-radius: 2px; }

/* ── Hero (dark bg, yellow accent) ────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); background: var(--c-ink); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-gradient { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 55% at 65% 45%, rgba(245,197,24,.06) 0%, transparent 65%), radial-gradient(ellipse 40% 40% at 10% 80%, rgba(245,197,24,.04) 0%, transparent 60%); }
.hero-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 80px 32px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--c-yellow); margin-bottom: 24px; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--c-yellow); border-radius: 2px; }
.hero-headline { font-family: var(--f-display); font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; color: var(--c-white); margin-bottom: 24px; }
.hero-headline .accent { color: var(--c-yellow); }
.hero-body { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--f-body); font-size: 15px; font-weight: 700; color: var(--c-ink); background: var(--c-yellow); border-radius: var(--r-sm); border: none; transition: background .2s, transform .15s; cursor: pointer; letter-spacing: -.01em; }
.btn-primary:hover { background: var(--c-yellow-hover); transform: translateY(-1px); }
.btn-primary svg, .btn-ghost svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--f-body); font-size: 15px; font-weight: 500; color: rgba(255,255,255,.8); background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm); transition: background .2s, border-color .2s, transform .15s; cursor: pointer; }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.35); transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--c-charcoal); background: transparent; border: 1.5px solid var(--c-line-dark); border-radius: var(--r-sm); transition: background .2s, border-color .2s; flex-shrink: 0; white-space: nowrap; }
.btn-outline:hover { background: var(--c-grey-100); border-color: var(--c-grey-400); }
.btn-outline svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-data-panel { display: grid; gap: 2px; background: rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.hero-stat-card { background: rgba(255,255,255,.06); padding: 28px 32px; transition: background .2s; }
.hero-stat-card:hover { background: rgba(255,255,255,.1); }
.stat-number { font-family: var(--f-display); font-size: 40px; font-weight: 700; color: var(--c-white); line-height: 1; margin-bottom: 6px; letter-spacing: -.03em; }
.stat-label { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .09em; }
.stat-sub { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }
.stat-tag { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-yellow); background: rgba(245,197,24,.12); border: 1px solid rgba(245,197,24,.25); padding: 3px 10px; border-radius: 100px; }

/* ── Investor Ticker ───────────────────────────────── */
.investor-ticker { background: var(--c-charcoal); padding: 14px 0; }
.ticker-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ticker-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); white-space: nowrap; flex-shrink: 0; }
.ticker-divider { width: 1px; height: 20px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.ticker-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ticker-symbol { font-size: 14px; font-weight: 700; color: var(--c-white); font-family: var(--f-display); }
.ticker-exchange { font-size: 11px; color: rgba(255,255,255,.4); }
.ticker-price { font-size: 14px; font-weight: 600; color: var(--c-white); font-family: var(--f-display); }
.ticker-change { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.ticker-change.up { color: #4ADE80; background: rgba(74,222,128,.12); }
.ticker-links { margin-left: auto; display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.ticker-link { font-size: 12.5px; font-weight: 600; color: var(--c-yellow); transition: opacity .2s; display: flex; align-items: center; gap: 4px; }
.ticker-link:hover { opacity: .8; }
.ticker-link svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Shared Section Styles ─────────────────────────── */
.section { padding: 88px 32px; max-width: var(--max-w); margin: 0 auto; }
.full-bleed-wrapper { background: var(--c-off-white); border-top: 1px solid var(--c-line-med); border-bottom: 1px solid var(--c-line-med); }
.full-bleed-dark { background: var(--c-charcoal); }
.news-section-wrap { background: var(--c-off-white); border-bottom: 1px solid var(--c-line-med); }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-yellow-hover); margin-bottom: 14px; }
.section-title { font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--c-ink); margin-bottom: 14px; }
.section-body { font-size: 17px; font-weight: 300; color: var(--c-grey-600); line-height: 1.75; max-width: 560px; }
.on-dark .section-label { color: var(--c-yellow); }
.on-dark .section-title { color: var(--c-white); }
.on-dark .section-body { color: rgba(255,255,255,.6); }

/* ── News Releases ─────────────────────────────────── */
.news-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.news-card { background: var(--c-white); border-radius: var(--r-md); border: 1px solid var(--c-line-med); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-2px); }
.news-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.news-thumb { width: 100%; aspect-ratio: 16/9; background: var(--c-grey-200); overflow: hidden; flex-shrink: 0; position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c-grey-200) 0%, var(--c-grey-100) 100%); }
.news-thumb-placeholder svg { width: 40px; height: 40px; stroke: var(--c-grey-400); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.news-card.featured .news-thumb { aspect-ratio: auto; height: 100%; min-height: 280px; }
.news-body { padding: 24px 28px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.news-date { font-size: 12px; font-weight: 500; color: var(--c-grey-400); letter-spacing: .03em; }
.news-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-yellow-hover); background: var(--c-yellow-soft); border: 1px solid var(--c-yellow-line); padding: 2px 9px; border-radius: 100px; }
.news-title { font-family: var(--f-display); font-size: 16px; font-weight: 600; color: var(--c-ink); line-height: 1.35; margin-bottom: 10px; /*flex: 1;*/ }
.news-card.featured .news-title { font-size: 22px; }
.news-excerpt { font-size: 13.5px; color: var(--c-grey-600); line-height: 1.6; margin-bottom: 18px; }
.news-read-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--c-yellow-hover); letter-spacing: -.01em; transition: gap .2s; }
.news-read-more:hover { gap: 9px; }
.news-read-more svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Customer Logos ────────────────────────────────── */
.logos-section { padding: 52px 32px; max-width: var(--max-w); margin: 0 auto; }
.logos-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-grey-400); text-align: center; margin-bottom: 32px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.customer-logo { display: flex; align-items: center; justify-content: center; opacity: .5; transition: opacity .2s, filter .2s; filter: grayscale(1); }
.customer-logo:hover { opacity: .85; filter: grayscale(0); }
.customer-logo svg { height: 26px; width: auto; }

/* ── Stats Strip ───────────────────────────────────── */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--c-yellow); border-radius: var(--r-lg); overflow: hidden; }
.strip-stat { padding: 32px 28px; text-align: center; border-right: 1px solid rgba(0,0,0,.08); }
.strip-stat:last-child { border-right: none; }
.strip-number { font-family: var(--f-display); font-size: 36px; font-weight: 700; color: var(--c-ink); letter-spacing: -.03em; margin-bottom: 6px; }
.strip-label { font-size: 12.5px; color: rgba(0,0,0,.55); font-weight: 500; }

/* ── Solutions Cards ───────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--c-white); border-radius: var(--r-md); border: 1px solid var(--c-line-med); padding: 36px 32px; transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--c-yellow-soft); border: 1px solid var(--c-yellow-line); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--c-yellow-hover); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--c-ink); margin-bottom: 10px; }
.feature-body { font-size: 14px; color: var(--c-grey-600); line-height: 1.65; margin-bottom: 22px; }
.feature-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--c-yellow-hover); transition: gap .2s; letter-spacing: -.01em; }
.feature-link:hover { gap: 10px; }
.feature-link svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Investor Module ───────────────────────────────── */
.investor-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 88px 32px; }
.invest-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.investor-resources { display: flex; flex-direction: column; gap: 2px; }
.resource-item { background: rgba(255,255,255,.06); padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.1); transition: background .2s; }
.resource-item:hover { background: rgba(255,255,255,.11); }
.resource-name { font-size: 14.5px; font-weight: 500; color: var(--c-white); }
.resource-arrow { width: 18px; height: 18px; color: rgba(255,255,255,.35); flex-shrink: 0; transition: color .2s, transform .2s; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.resource-item:hover .resource-arrow { color: var(--c-yellow); transform: translateX(3px); }

/* ── Footer ────────────────────────────────────────── */
.site-footer { background: var(--c-ink); border-top: 1px solid rgba(255,255,255,.07); padding: 64px 32px 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; margin-top: 14px; max-width: 280px; }
.tsx-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.12); padding: 5px 12px; border-radius: 100px; }
.tsx-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: inline-block; }
.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--c-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-legal { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-legal a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-legal a:hover { color: var(--c-white); }
.footer-social { display: flex; align-items: center; gap: 10px; }
.social-link { width: 34px; height: 34px; border-radius: 6px; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }
.social-link:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); }
.social-link svg { width: 15px; height: 15px; fill: rgba(255,255,255,.45); transition: fill .2s; }
.social-link:hover svg { fill: var(--c-white); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-data-panel { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .investor-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { padding: 48px 24px 64px; }
  .hero-data-panel { display: none; }
  .cards-grid, .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { display: flex; flex-direction: column; }
  .news-card.featured .news-thumb { height: 220px; }
  .footer-top { grid-template-columns: 1fr; }
  .ticker-links { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 24px; }
  .logos-row { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Mobile nav panel ──────────────────────────────── */
.mobile-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c-white);
    z-index: 999;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
    display: flex;
    flex-direction: column;
}
.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.mobile-nav-menu {
    flex: 1;
    padding: 8px 0;
    border-top: 1px solid var(--c-line-med);
}
.mobile-nav-group {
    border-bottom: 1px solid var(--c-line);
}
.mobile-nav-parent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--c-charcoal);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background .15s;
}
.mobile-nav-parent:hover { background: var(--c-grey-100); }
.mobile-nav-parent.investors { color: var(--c-yellow-hover); }
.mobile-nav-parent svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
    transition: transform .2s;
}
.mobile-nav-parent[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.mobile-nav-children {
    display: none;
    flex-direction: column;
    background: var(--c-off-white);
    border-top: 1px solid var(--c-line);
}
.mobile-nav-children.open { display: flex; }
.mobile-nav-children a {
    display: block;
    padding: 13px 24px 13px 36px;
    font-size: 14px;
    font-weight: 400;
    color: var(--c-grey-600);
    text-decoration: none;
    border-bottom: 1px solid var(--c-line);
    transition: color .15s, background .15s;
}
.mobile-nav-children a:last-child { border-bottom: none; }
.mobile-nav-children a:hover {
    color: var(--c-charcoal);
    background: var(--c-grey-100);
}
.mobile-nav-cta {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid var(--c-line-med);
    background: var(--c-white);
}
.mobile-nav-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-charcoal);
    border: 1.5px solid var(--c-line-dark);
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: background .15s;
}
.mobile-nav-login:hover { background: var(--c-grey-100); }
.mobile-nav-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-ink);
    background: var(--c-yellow);
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: background .15s;
}
.mobile-nav-primary:hover { background: var(--c-yellow-hover); }

/* Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(0,0,0,.4);
    z-index: 998;
}
.mobile-nav-overlay.open { display: block; }

/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform .25s, opacity .25s; }