/* ads-creative — bold creative ads (high contrast, asymmetric modular grid) */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #ffffff;
  --muted: #a3a3a3;
  --border: #333333;
  --yellow: #facc15;
  --magenta: #e879f9;
  --cyan: #22d3ee;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; font-weight: 600; }
a:hover { color: var(--yellow); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--bg); padding: 0.5rem 1rem; z-index: 100; font-weight: 800; }
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.site-main { padding-bottom: 3rem; }

.site-header { background: var(--bg); border-bottom: 3px solid var(--yellow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; min-height: 3.75rem; }
.brand { font-weight: 900; font-size: 1.15rem; color: var(--text); text-decoration: none; text-transform: uppercase; letter-spacing: -0.02em; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--yellow); }
.nav-toggle { display: none; border: 2px solid var(--yellow); background: transparent; padding: 0.4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 3px; background: var(--yellow); margin: 4px 0; }

.demo-banner { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0.6rem 0; font-size: 0.85rem; color: var(--muted); }

.hero-creative { padding: 4rem 0 3rem; background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 50%, #1a0a2e 100%); }
.hero-creative h1 { margin: 0 0 1rem; font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1.05; font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; max-width: 16ch; }
.hero-creative .lead { font-size: 1.1rem; color: var(--muted); max-width: 32rem; font-weight: 400; }
.lead { margin: 0; }
.eyebrow { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--magenta); margin: 0 0 0.5rem; }

.modular-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.75rem; padding: 2rem 0; }
.mod { padding: 1.75rem; font-weight: 700; }
.mod h2, .mod h3 { margin: 0 0 0.5rem; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; }
.mod p { margin: 0; font-weight: 400; font-size: 0.9rem; line-height: 1.5; opacity: 0.9; }
.mod.a { grid-column: span 7; background: var(--yellow); color: var(--bg); min-height: 180px; }
.mod.b { grid-column: span 5; background: var(--magenta); color: var(--bg); min-height: 180px; }
.mod.c { grid-column: span 5; background: var(--cyan); color: var(--bg); min-height: 160px; }
.mod.d { grid-column: span 7; background: var(--surface); border: 2px solid var(--border); color: var(--text); min-height: 160px; }

.section-block { padding: 2rem 0; }
.section-head h2 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }

.page-hero { padding: 3rem 0; border-bottom: 3px solid var(--border); }
.page-hero.hero-creative { background: var(--surface); }
.page-hero h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); font-weight: 900; text-transform: uppercase; margin: 0 0 0.75rem; }
.content-section { padding: 2rem 0; }

.prose h2 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin-top: 1.5rem; }
.prose p, .prose li { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.75rem; }
.contact-card { background: var(--surface); border: 2px solid var(--border); padding: 1.5rem; }
.contact-card h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan); margin: 1rem 0 0.25rem; font-weight: 800; }
.contact-card h2:first-child { margin-top: 0; }
.muted-card { border-color: var(--muted); opacity: 0.85; }
.text-link { color: var(--cyan); }

.site-footer { border-top: 3px solid var(--yellow); margin-top: 2rem; background: var(--surface); }
.footer-inner { padding: 2rem 0; }
.footer-brand strong { font-weight: 900; text-transform: uppercase; }
.footer-brand p { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin: 1rem 0; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; }
.footer-links a:hover { color: var(--yellow); }
.footer-copy { margin: 0; font-size: 0.8rem; color: var(--muted); }
.muted { color: var(--muted); }

.section-head h2 { font-size: 1.5rem; font-weight: 900; text-transform: uppercase; margin: 0 0 0.5rem; }
.section-sub { color: var(--muted); margin: 0 0 1.25rem; }
.text-link { color: var(--cyan); font-weight: 700; }
.footer-inner { padding: 2rem 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.mod:hover { transform: scale(1.01); transition: transform 0.12s; }
.modular-grid .mod { display: flex; flex-direction: column; justify-content: flex-end; }

.contact-card p { margin: 0; color: var(--text); }
.prose a { color: var(--cyan); font-weight: 600; }
.prose strong { color: var(--text); }
.hero-creative .wrap { position: relative; }

@media (min-width: 769px) {
  .modular-grid { min-height: 400px; }
  .mod.a { min-height: 220px; }
  .mod.d { display: flex; align-items: flex-end; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 0; }
  .modular-grid { grid-template-columns: 1fr; }
  .mod.a, .mod.b, .mod.c, .mod.d { grid-column: span 1; min-height: auto; }
  .hero-creative { padding: 2.5rem 0 2rem; }
  .hero-creative h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mod:hover { transform: none; }
}

.hero-creative .wrap::after { content: ""; display: block; width: 4rem; height: 4px; background: var(--yellow); margin-top: 1.5rem; }
.modular-grid.wrap { padding-top: 1rem; padding-bottom: 2rem; }
.page-hero .lead { max-width: 28rem; }

/* Shared utilities & a11y enhancements */
.site-main { min-height: 50vh; }
.header-inner.wrap, .footer-inner.wrap { padding-left: 0; padding-right: 0; }
.site-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.demo-banner strong { font-weight: 700; }
.content-section .prose { max-width: 42rem; }
.page-hero .eyebrow + h1 { margin-top: 0.35rem; }
.contact-grid .contact-card h2 + p { line-height: 1.5; }

@media (prefers-contrast: more) {
  :root { --border: currentColor; }
  .site-header, .site-footer, .contact-card, .deal-card, .saas-card, .catalog-card, .stat-card, .panel, .mod, .link-row { border-width: 2px; }
}

@media print {
  .skip-link, .nav-toggle, .demo-banner, .site-nav { display: none !important; }
  .site-header { position: static; border-bottom: 1px solid #000; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}
