@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,600;0,700;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --li-blue: #0A66C2;
  --li-blue-dark: #004182;
  --li-blue-pale: #EEF4FB;

  --amber: #D4860A;
  --amber-light: #F0A830;
  --amber-pale: #FEF3DC;

  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --surface: #F4F2EE;
  --surface-2: #ECEAE6;
  --border: rgba(0,0,0,0.09);

  --text-dark: #1B1B1B;
  --text-mid: #3D3D3D;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;

  --eth-green: #1B6B2F;
  --eth-green-light: #E8F5EC;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--off-white); color: var(--text-dark); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ── LINKEDIN LOCAL LOGO ── */
.ll-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.ll-logo-linked { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--li-blue); letter-spacing: -0.02em; line-height: 1; }
.ll-logo-in { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 5px; background: var(--li-blue); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.82rem; color: white; margin: 0 3px 0 3px; letter-spacing: 0; line-height: 1; flex-shrink: 0; }
.ll-logo-local { font-family: 'Inter', sans-serif; font-weight: 300; font-size: 1.15rem; color: var(--li-blue); letter-spacing: -0.01em; line-height: 1; }
.ll-logo-pipe { width: 1.5px; height: 21px; background: var(--li-blue); margin: 0 8px; opacity: 0.4; flex-shrink: 0; }
.ll-logo-city { font-family: 'Inter', sans-serif; font-weight: 300; font-size: 1.15rem; color: var(--li-blue); letter-spacing: -0.01em; line-height: 1; }
.ll-logo.small .ll-logo-linked, .ll-logo.small .ll-logo-local, .ll-logo.small .ll-logo-city { font-size: 0.88rem; }
.ll-logo.small .ll-logo-in { width: 18px; height: 18px; font-size: 0.65rem; border-radius: 3px; margin: 0 2px 0 2px; }
.ll-logo.small .ll-logo-pipe { height: 16px; margin: 0 6px; }

/* On dark backgrounds — white version */
.ll-logo.on-dark .ll-logo-linked,
.ll-logo.on-dark .ll-logo-local,
.ll-logo.on-dark .ll-logo-city { color: white; }
.ll-logo.on-dark .ll-logo-in { background: white; color: var(--li-blue); }
.ll-logo.on-dark .ll-logo-pipe { background: white; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 4rem; background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
nav ul { list-style: none; display: flex; gap: 1.75rem; align-items: center; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--text-dark); }
nav a.active { color: var(--li-blue); font-weight: 600; }
.nav-cta { background: var(--li-blue) !important; color: white !important; padding: 0.48rem 1.2rem; border-radius: 20px; font-weight: 600 !important; font-size: 0.83rem !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--li-blue-dark) !important; color: white !important; }
.nav-cta.active { color: white !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(150deg, var(--li-blue-pale) 0%, var(--surface) 100%); padding: 7.5rem 4rem 4.5rem; border-bottom: 1px solid var(--border); }
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--li-blue); margin-bottom: 0.85rem; }
.page-hero-eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--li-blue); }
.page-hero h1 { font-family: 'Source Serif 4', serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; color: var(--text-dark); line-height: 1.15; margin-bottom: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--li-blue); }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; max-width: 520px; }

/* ── SHARED ── */
section { padding: 5rem 4rem; }
.inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--li-blue); margin-bottom: 0.65rem; display: flex; align-items: center; gap: 0.5rem; }
.section-eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--li-blue); }
.section-title { font-family: 'Source Serif 4', serif; font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 700; line-height: 1.2; color: var(--text-dark); }
.section-title.light { color: white; }
.section-title em { font-style: italic; color: var(--li-blue); }

/* ── BUTTONS ── */
.btn-primary { display: inline-block; background: var(--li-blue); color: white; padding: 0.72rem 1.6rem; border-radius: 24px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: background 0.2s, transform 0.15s; box-shadow: 0 2px 10px rgba(10,102,194,0.22); }
.btn-primary:hover { background: var(--li-blue-dark); transform: translateY(-1px); }
.btn-outline { display: inline-block; border: 1.5px solid var(--li-blue); color: var(--li-blue); padding: 0.72rem 1.6rem; border-radius: 24px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: background 0.2s; }
.btn-outline:hover { background: var(--li-blue-pale); }
.btn-amber { display: inline-block; background: var(--amber); color: white; padding: 0.72rem 1.6rem; border-radius: 24px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: background 0.2s, transform 0.15s; }
.btn-amber:hover { background: #B8720A; transform: translateY(-1px); }

/* ── TAGS ── */
.tag { display: inline-block; font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 20px; }
.tag-blue { background: var(--li-blue-pale); color: var(--li-blue); }
.tag-amber { background: var(--amber-pale); color: var(--amber); }
.tag-green { background: var(--eth-green-light); color: var(--eth-green); }
.tag-grey { background: var(--surface-2); color: var(--text-muted); }

/* ── NEWSLETTER BAR ── */
.newsletter-bar { background: linear-gradient(135deg, var(--li-blue) 0%, var(--li-blue-dark) 100%); padding: 4.5rem 4rem; }
.newsletter-bar-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.newsletter-bar h2 { font-family: 'Source Serif 4', serif; font-size: 1.9rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.newsletter-bar p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.6; }
.newsletter-form { display: flex; background: white; border-radius: 30px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.newsletter-form input { flex: 1; background: none; border: none; outline: none; color: var(--text-dark); font-size: 0.9rem; padding: 0.85rem 1.25rem; font-family: 'Inter', sans-serif; }
.newsletter-form input::placeholder { color: var(--text-light); }
.newsletter-form button { background: var(--amber); color: white; border: none; padding: 0.85rem 1.4rem; font-weight: 700; font-size: 0.82rem; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; white-space: nowrap; border-radius: 0 30px 30px 0; }
.newsletter-form button:hover { background: #B8720A; }

/* ── FOOTER ── */
footer { background: #111111; padding: 3.5rem 4rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.38); line-height: 1.7; margin-top: 1rem; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.83rem; color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.22); }
.footer-bottom a { font-size: 0.75rem; color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: white; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.55s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0.85rem 1.5rem; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1.25rem 1.5rem; gap: 0.75rem; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  nav ul.open { display: flex; }
  .nav-toggle { display: flex; }
  section { padding: 3.5rem 1.5rem; }
  .page-hero { padding: 6.5rem 1.5rem 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .newsletter-bar { padding: 3.5rem 1.5rem; }
  .newsletter-bar-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}
