/* ============================================================
   DasAds — A modern Advertising Platform
   ============================================================ */

:root {
  --yellow:        #F5E876;   /* soft brand highlight */
  --yellow-strong: #FACC15;   /* button / accent       */
  --yellow-deep:   #EAB308;   /* dots / hover           */
  --ink:           #0A0A0A;
  --ink-soft:      #1a1a1a;
  --gray-900:      #111114;
  --gray-700:      #3f3f46;
  --gray-500:      #71717a;
  --gray-300:      #d4d4d8;
  --gray-100:      #f4f4f5;
  --gray-50:       #fafafa;
  --white:         #ffffff;
  --radius:        18px;
  --radius-lg:     28px;
  --shadow-sm:     0 2px 8px rgba(10,10,10,.06);
  --shadow-md:     0 12px 32px rgba(10,10,10,.10);
  --shadow-lg:     0 28px 64px rgba(10,10,10,.16);
  --maxw:          1200px;
  --font:          'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display:  'Space Grotesk', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap; font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary { background: var(--yellow-strong); color: var(--ink); box-shadow: 0 8px 20px rgba(250,204,21,.35); }
.btn-primary:hover { background: var(--yellow-deep); box-shadow: 0 12px 28px rgba(234,179,8,.45); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--gray-300); }
.btn-ghost:hover { border-color: var(--ink); background: var(--gray-50); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); box-shadow: var(--shadow-md); }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: rgba(10,10,10,.4); }
.btn-outline-dark:hover { border-color: var(--ink); }

/* ---------------- Eyebrow / shared ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink);
  background: var(--yellow); padding: 7px 14px; border-radius: 999px;
}
.eyebrow-dark { background: var(--gray-100); color: var(--gray-700); }

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  margin: 18px 0 16px;
}
.section-title.light { color: var(--white); }
.section-lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--gray-500); }
.section-lead.light { color: rgba(255,255,255,.7); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(10,10,10,.06), var(--shadow-sm);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-img {
  width: 44px; height: 44px; border-radius: 11px;
  object-fit: contain; display: block;
}
.eyebrow-ic { width: 14px; height: 14px; }
.brand-name { font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; }
.brand-accent { color: var(--yellow-deep); }

.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop a { font-weight: 600; font-size: 15px; color: var(--gray-700); transition: color .15s ease; }
.nav-desktop a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 6px; padding: 14px 24px 22px; background: var(--white); box-shadow: var(--shadow-md); }
.mobile-menu a { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--gray-100); }
.mobile-menu a.btn { margin-top: 10px; border-bottom: none; justify-content: center; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--gray-300) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 72%);
  opacity: .6;
}
.hero-glow {
  position: absolute; top: -120px; right: -80px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(250,204,21,.35), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04;
  font-weight: 700; letter-spacing: -.03em; margin: 22px 0 18px;
}
.hero-title .hl { position: relative; color: var(--ink); white-space: nowrap; }
.hero-title .hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 6px; height: 38%;
  background: var(--yellow); z-index: -1; border-radius: 4px; transform: rotate(-1.5deg);
}
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--gray-500); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }

.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust p { font-size: 15px; color: var(--gray-500); }
.hero-trust strong { color: var(--ink); font-weight: 800; }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--white);
  margin-left: -10px; background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #fef08a, #eab308); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, var(--ink), var(--gray-700)); }

/* Hero visual */
.hero-visual { position: relative; }
.revenue-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.rc-head { display: flex; align-items: center; justify-content: space-between; }
.rc-label { font-size: 14px; color: var(--gray-500); font-weight: 600; }
.rc-badge { background: rgba(34,197,94,.12); color: #16a34a; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.rc-amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 22px; }
.rc-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-bottom: 4px; border-bottom: 1px solid var(--gray-100); }
.rc-bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--yellow-strong), var(--yellow)); border-radius: 6px 6px 3px 3px; transform-origin: bottom; animation: growBar 1s cubic-bezier(.2,.8,.2,1) both; }
.rc-bars span:last-child { background: linear-gradient(180deg, var(--ink), var(--gray-700)); }
.rc-bars span:nth-child(1){animation-delay:.05s}.rc-bars span:nth-child(2){animation-delay:.12s}.rc-bars span:nth-child(3){animation-delay:.19s}.rc-bars span:nth-child(4){animation-delay:.26s}.rc-bars span:nth-child(5){animation-delay:.33s}.rc-bars span:nth-child(6){animation-delay:.4s}.rc-bars span:nth-child(7){animation-delay:.47s}
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.rc-foot { display: flex; justify-content: space-between; margin-top: 18px; }
.rc-foot div { display: flex; flex-direction: column; gap: 2px; }
.rc-k { font-size: 12px; color: var(--gray-500); font-weight: 600; }
.rc-v { font-size: 17px; font-weight: 700; font-family: var(--font-display); }

.float-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md); border-radius: 999px; padding: 10px 16px;
  font-weight: 700; font-size: 14px; z-index: 3; animation: floaty 4s ease-in-out infinite;
}
.float-pill svg { width: 16px; height: 16px; color: var(--yellow-deep); }
.pill-1 { top: 6%; left: -34px; }
.pill-2 { bottom: 10%; right: -24px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------------- Logo marquee ---------------- */
.logos-section { padding: 40px 0 56px; border-top: 1px solid var(--gray-100); }
.logos-caption { text-align: center; color: var(--gray-500); font-weight: 600; font-size: 14px; margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollX 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--gray-300); letter-spacing: -.01em; transition: color .2s ease; }
.logo-item:hover { color: var(--gray-700); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------------- Features grid ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--yellow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--gray-500); font-size: 15px; }

/* ---------------- Split sections ---------------- */
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text .section-title { text-align: left; font-size: clamp(28px, 3.6vw, 42px); margin-top: 16px; }
.split-text .section-lead { margin-bottom: 24px; }
.check-list { list-style: none; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--gray-700); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Feed mock */
.feed-mock { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); }
.feed-head { font-weight: 700; font-family: var(--font-display); margin-bottom: 16px; color: var(--gray-700); }
.feed-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; margin-bottom: 10px; background: var(--white); border: 1px solid var(--gray-100); }
.feed-item.sponsored { border-color: var(--yellow); background: linear-gradient(0deg, rgba(245,232,118,.14), rgba(245,232,118,.14)), var(--white); }
.thumb { width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0; }
.t1 { background: linear-gradient(135deg, #fef08a, #eab308); }
.t2 { background: linear-gradient(135deg, var(--ink), var(--gray-700)); }
.t3 { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.t4 { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.feed-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.feed-lines span { height: 9px; border-radius: 5px; background: var(--gray-300); }
.feed-lines span:first-child { width: 90%; }
.feed-lines span:nth-child(2) { width: 60%; }
.feed-lines em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--yellow-deep); margin-top: 2px; }

/* ---------------- Dark section / steps ---------------- */
.section-dark { background: var(--ink); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,232,118,.16) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000, transparent 70%);
}
.section-dark .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 34px 28px; transition: border-color .25s ease, transform .25s ease;
}
.step:hover { border-color: var(--yellow); transform: translateY(-6px); }
.step-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--yellow); display: block; margin-bottom: 14px; }
.step h3 { color: var(--white); font-family: var(--font-display); font-size: 21px; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.66); font-size: 15px; }

/* ---------------- Stats ---------------- */
.stats-section { padding: 70px 0; background: var(--yellow); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--font-display); font-size: clamp(38px, 5vw, 56px); font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.stat-label { font-weight: 600; color: rgba(10,10,10,.66); font-size: 15px; }

/* ---------------- Support card ---------------- */
.support-card {
  background: linear-gradient(160deg, var(--ink), #232323); color: var(--white);
  border-radius: var(--radius-lg); padding: 42px 36px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.support-card::after { content: ""; position: absolute; bottom: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(245,232,118,.4), transparent 65%); }
.sc-avatar { width: 64px; height: 64px; border-radius: 18px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; margin-bottom: 20px; position: relative; }
.sc-avatar svg { width: 32px; height: 32px; }
.support-card h4 { font-family: var(--font-display); font-size: 26px; line-height: 1.2; margin-bottom: 12px; position: relative; }
.support-card p { color: rgba(255,255,255,.72); position: relative; }
.sc-stars { display: flex; gap: 5px; color: var(--yellow); margin-top: 18px; position: relative; }
.sc-stars svg { width: 20px; height: 20px; }
.mini-stats { display: flex; gap: 36px; margin-top: 8px; }
.mini-stats div { display: flex; flex-direction: column; }
.mini-stats strong { font-family: var(--font-display); font-size: 28px; }
.mini-stats span { color: var(--gray-500); font-size: 14px; font-weight: 600; }

/* ---------------- FAQ ---------------- */
.section-muted { background: var(--gray-50); }
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 17px;
  font-family: var(--font-display); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 20px; font-weight: 700; transition: transform .25s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 24px 24px; color: var(--gray-500); font-size: 15.5px; }

/* ---------------- CTA ---------------- */
.cta-section { padding: 80px 0; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center;
  background: var(--yellow); border-radius: var(--radius-lg);
  padding: 72px 32px; box-shadow: var(--shadow-md);
}
.cta-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(10,10,10,.12) 1.5px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000, transparent 75%); }
.cta-inner h2 { position: relative; font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.cta-inner p { position: relative; font-size: 19px; color: rgba(10,10,10,.7); margin-bottom: 30px; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-footer .brand-name { color: var(--white); }
.brand-footer .brand-img { background: #fff; padding: 3px; }
.brand-footer .brand-accent { color: var(--yellow); }
.footer-tag { margin: 18px 0 26px; max-width: 380px; font-size: 15px; }
.newsletter-title { color: var(--white); font-weight: 700; font-family: var(--font-display); margin-bottom: 12px; font-size: 17px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; }
.newsletter-form input {
  flex: 1; padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: var(--white); font-size: 15px; font-family: var(--font);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { outline: none; border-color: var(--yellow); }
.newsletter-msg { font-size: 13px; margin-top: 10px; min-height: 18px; }
.newsletter-msg.ok { color: var(--yellow); }
.newsletter-msg.err { color: #f87171; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; padding: 7px 0; font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 14px; }
.back-to-top { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--yellow); font-weight: 700; cursor: pointer; font-family: var(--font); font-size: 14px; }
.btn-ic { width: 18px; height: 18px; }
.back-to-top .btn-ic { width: 15px; height: 15px; }
.back-to-top:hover { text-decoration: underline; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 460px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split-inner { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero { padding: 130px 0 70px; }
  .pill-1 { left: 0; } .pill-2 { right: 0; }
  .mini-stats { gap: 24px; flex-wrap: wrap; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SUB-PAGE STYLES (about, publisher, advertiser, blogs,
   contact, terms, privacy, cookies, dmca)
   ============================================================ */

/* --- Page hero / banner --- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 64px; border-bottom: 1px solid var(--gray-100);
  background: linear-gradient(180deg, #fffdf2 0%, var(--white) 100%);
}
.page-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--gray-300) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 20%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 70% 20%, #000 20%, transparent 70%);
  opacity: .5; pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-500); margin-bottom: 18px; }
.breadcrumb a { color: var(--gray-500); transition: color .15s ease; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--gray-300); }
.breadcrumb .current { color: var(--ink); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.06; max-width: 16ch;
}
.page-hero .lead { margin-top: 18px; font-size: clamp(17px, 1.9vw, 20px); color: var(--gray-500); max-width: 60ch; }
.page-hero .eyebrow { margin-bottom: 18px; }

/* --- Generic prose / legal --- */
.prose-wrap { padding: 72px 0 96px; }
.prose { max-width: 800px; margin: 0 auto; }
.prose .updated { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gray-500); background: var(--gray-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 36px; }
.prose h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 14px; scroll-margin-top: 100px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.prose p { color: var(--gray-700); margin-bottom: 16px; font-size: 16.5px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--gray-700); }
.prose li { margin-bottom: 9px; font-size: 16.5px; }
.prose ul li::marker { color: var(--yellow-deep); }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--gray-100); margin: 40px 0; }
.prose .callout { background: var(--gray-50); border: 1px solid var(--gray-100); border-left: 4px solid var(--yellow-strong); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.prose .callout p:last-child { margin-bottom: 0; }

/* Legal layout with sticky table of contents */
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 56px; max-width: 1040px; margin: 0 auto; align-items: start; }
.toc { position: sticky; top: 100px; }
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 0; font-size: 14.5px; color: var(--gray-500); font-weight: 600; transition: color .15s ease; }
.toc a:hover { color: var(--ink); }
.legal-layout .prose { margin: 0; max-width: none; }

/* --- Section intro (centered, for content pages) --- */
.intro { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.intro .section-title { text-align: center; }

/* --- Value / icon cards reuse .features-grid + .feature-card --- */
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* --- Blog grid --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--yellow); }
.blog-thumb { height: 168px; position: relative; }
.blog-thumb span { position: absolute; left: 14px; top: 14px; background: rgba(10,10,10,.78); color: var(--white); font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.bt1 { background: linear-gradient(135deg, #fef08a, #eab308); }
.bt2 { background: linear-gradient(135deg, var(--ink), var(--gray-700)); }
.bt3 { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.bt4 { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.bt5 { background: linear-gradient(135deg, #1f2937, #4b5563); }
.bt6 { background: linear-gradient(135deg, #facc15, #fbbf24); }
.blog-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { font-size: 13px; font-weight: 600; color: var(--gray-500); }
.blog-card h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.25; font-weight: 700; }
.blog-card p { color: var(--gray-500); font-size: 14.5px; flex: 1; }
.blog-readmore { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.blog-readmore svg { width: 16px; height: 16px; }
.blog-card:hover .blog-readmore { color: var(--yellow-deep); }
.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 44px; }
.featured-post .fp-media { min-height: 320px; }
.featured-post .fp-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured-post .fp-body h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 700; }

/* --- Contact / application form --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-aside h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.contact-aside p { color: var(--gray-500); margin-bottom: 28px; }
.contact-points { display: grid; gap: 20px; }
.contact-point { display: flex; gap: 16px; align-items: flex-start; }
.contact-point .cp-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.contact-point .cp-ic svg { width: 22px; height: 22px; }
.contact-point h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 2px; }
.contact-point p { margin: 0; font-size: 14.5px; }
.contact-point a { color: var(--ink); font-weight: 600; }

.form-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--gray-300);
  background: var(--white); font-family: var(--font); font-size: 15px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow-deep); box-shadow: 0 0 0 3px rgba(250,204,21,.25); }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 14px; text-align: center; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 600; min-height: 18px; }
.form-msg.ok { color: #16a34a; }
.form-msg.err { color: #dc2626; }

/* --- FAQ reuse on subpages already covered by .faq-* --- */

/* --- CTA strip reuse .cta-section --- */

/* --- Sub-page responsive --- */
@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; display: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fp-media { min-height: 220px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 130px 0 52px; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}
