/* ===================== RESET & BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #ffffff;
  color: #0D0D0D;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
site-nav, site-footer { display: contents; }

/* ===================== TOKENS ===================== */
:root {
  --grad: linear-gradient(135deg, #E03070 0%, #6D5FF6 100%);
  --grad-text-start: #E03070;
  --grad-text-end: #6D5FF6;
  --rose: #E03070;
  --indigo: #6D5FF6;
  --accent-light: #FDF0F6;
  --accent-border: #F0C0D8;
  --ink: #0D0D0D;
  --ink-2: #444444;
  --ink-3: #888888;
  --ink-4: #BBBBBB;
  --surface: #FFFFFF;
  --surface-2: #FAFAFA;
  --surface-3: #F5F5F5;
  --border: #EBEBEB;
  --border-2: #F5F5F5;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===================== UTILITIES ===================== */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex; align-items: center;
  padding: 0 clamp(24px, 5vw, 64px);
}
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
}
.nav-logo {
  font-size: 18px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.5px; margin-right: 40px; white-space: nowrap;
}
.nav-logo em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; gap: 0; flex: 1; justify-content: space-evenly;
}
.nav-links a {
  font-size: 14px; color: var(--ink-3); font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: white;
  padding: 10px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 700; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.nav-cta:hover { background: #222; transform: translateY(-1px); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto; z-index: 101;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 98;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px; font-weight: 600; color: var(--ink-2);
  padding: 14px 0; border-bottom: 1px solid var(--border-2);
  text-decoration: none; transition: color 0.15s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--ink); }
.nav-mobile-cta {
  margin-top: 12px;
  background: var(--ink); color: white;
  padding: 14px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.15s;
}
.nav-mobile-cta:hover { background: #222; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--ink); color: #888;
  padding: clamp(48px, 5vw, 64px) clamp(24px, 5vw, 64px) 32px;
  border-top: 1px solid #1e1e1e;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  font-size: 18px; font-weight: 800; color: white;
  letter-spacing: -0.5px; margin-bottom: 12px;
  text-decoration: none; display: block;
}
.footer-logo em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-tagline { font-size: 13px; color: #666; line-height: 1.65; max-width: 240px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; color: #555;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px; font-family: 'Inter', sans-serif;
}
.footer-col a { display: block; font-size: 14px; color: #888; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1e1e1e; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: #555; font-family: 'Inter', sans-serif; }
.footer-email a {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  background: var(--grad); color: white; padding: 14px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; transition: opacity 0.15s, transform 0.1s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-secondary {
  background: white; color: var(--ink); padding: 14px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 700; border: 1.5px solid var(--border); cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; transition: border-color 0.15s, transform 0.1s;
}
.btn-secondary:hover { border-color: #ccc; transform: translateY(-1px); }

/* ===================== SECTION TYPOGRAPHY ===================== */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  font-family: 'Inter', sans-serif; margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.section-h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -1.2px; line-height: 1.1;
  margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--ink-3); line-height: 1.7; }

/* ===================== EYEBROW ===================== */
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(white, white) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; border-radius: 100px;
  padding: 7px 18px; margin-bottom: 28px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif; color: var(--rose);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-3); font-family: 'Inter', sans-serif;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  padding: 6px 14px; margin-bottom: 28px;
}

/* ===================== HERO SKY ===================== */
.hero-sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 120% 50% at 50% 55%, rgba(224,48,112,0.18) 0%, rgba(224,48,112,0.08) 30%, transparent 60%),
    radial-gradient(ellipse 100% 70% at 50% 15%, rgba(109,95,246,0.12) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(109,95,246,0.06) 0%, rgba(180,80,160,0.10) 20%, rgba(224,48,112,0.14) 40%,
      rgba(240,140,100,0.12) 55%, rgba(255,200,160,0.10) 65%,
      rgba(255,230,210,0.06) 75%, rgba(255,255,255,0) 85%);
  pointer-events: none;
}
.hero-sky::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 12% at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 10% at 60% 25%, rgba(255,255,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 35% 14% at 80% 35%, rgba(255,255,255,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 45% 8% at 35% 40%, rgba(255,255,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 55% 10% at 70% 45%, rgba(224,48,112,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 12% at 15% 50%, rgba(109,95,246,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 8% at 50% 32%, rgba(255,255,255,0.10) 0%, transparent 70%);
  animation: cloudDrift 30s ease-in-out infinite alternate;
}
.hero-sky::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 15% at 45% 28%, rgba(255,255,255,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 10% at 75% 38%, rgba(255,220,200,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 35% 12% at 25% 45%, rgba(224,48,112,0.05) 0%, transparent 70%);
  animation: cloudDrift 25s ease-in-out infinite alternate-reverse;
}
@keyframes cloudDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(20px); }
}

/* ===================== ARTICLE LAYOUT ===================== */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 0 clamp(24px,5vw,48px); }
.article-wide { max-width: 1100px; margin: 0 auto; padding: 0 clamp(24px,5vw,64px); }

/* ===================== ARTICLE HERO ===================== */
.article-hero {
  padding: clamp(56px,7vw,88px) 0 clamp(40px,5vw,60px);
  border-bottom: 1px solid var(--border);
}
.article-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px; font-family: 'Inter', sans-serif;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block;
}
.article-h1 {
  font-size: clamp(32px,4.5vw,54px); font-weight: 800; letter-spacing: -2px; line-height: 1.06;
  color: var(--ink); margin-bottom: 20px; max-width: 740px;
}
.article-h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.article-sub {
  font-size: clamp(15px,1.6vw,18px); color: var(--ink-3); line-height: 1.7;
  max-width: 620px; margin-bottom: 28px;
}
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.meta-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  padding: 4px 10px; border-radius: 100px; font-family: 'Inter', sans-serif;
}
.meta-tag-author { background: var(--surface-3); color: var(--ink-3); border: 1px solid var(--border); }
.meta-tag-updated { background: #F0F9FF; color: #0369A1; border: 1px solid #BAE6FD; }

/* ===================== ARTICLE BODY ===================== */
.article-body {
  padding: clamp(48px,6vw,80px) clamp(24px,5vw,64px) clamp(48px,6vw,80px);
}
.article-body-inner { max-width: 720px; margin: 0 auto; }
.article-body--gray {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.article-body--first { padding-bottom: clamp(40px,5vw,64px); }
.article-body--last {
  padding-top: clamp(40px,5vw,64px);
  padding-bottom: clamp(56px,7vw,88px);
}
.article-body p {
  font-size: 18px; color: var(--ink-2); line-height: 1.75;
  margin-bottom: 22px;
}
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body h2 {
  font-size: clamp(24px,3vw,32px); font-weight: 900; letter-spacing: -0.8px; line-height: 1.2;
  color: var(--ink);
  margin-top: 56px; margin-bottom: 22px;
}
.article-body h2:first-child { margin-top: 0; }

/* ===================== PULLQUOTE ===================== */
.pullquote {
  position: relative;
  margin: 64px calc(-1 * clamp(0px, 5vw, 72px));
  padding: 36px 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(224,48,112,0.05) 0%, rgba(109,95,246,0.05) 100%);
  border: 1px solid var(--accent-border);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.8px;
  color: var(--ink);
}
.pullquote-mark {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 72px; font-weight: 900;
  line-height: 0.5; padding-top: 0.25em; margin-bottom: 4px;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  user-select: none;
}

/* ===================== SECTION-H2 EM ===================== */
.section-h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===================== PAGE CTA ===================== */
.page-cta {
  text-align: center; padding: clamp(64px,8vw,96px) 0;
  border-top: 1px solid var(--border);
}
.page-cta h2 { font-size: clamp(28px,3.5vw,44px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 14px; }
.page-cta p { font-size: 16px; color: var(--ink-3); line-height: 1.7; max-width: 480px; margin: 0 auto 32px; }
.cta-note { font-size: 12px; color: var(--ink-4); margin-top: 10px; font-family: 'Inter', sans-serif; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .article-body p { font-size: 17px; }
  .pullquote { padding: 8px 0 8px 24px; margin: 44px 0; }
  .pullquote-mark { font-size: 56px; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
