/* ==========================================================================
   Impulse — product landing page (hosted at impressions.co/impulse)
   Light re-skin of the standalone Impulse marketing site into the
   Impressions in Ink brand: the EXACT process inks from tokens.css
   (Cyan #00ADEF / Magenta #ED008C / Yellow #FCBA00) + Source Sans 3, so
   /impulse harmonizes with impressions.co while keeping Impulse's own
   layout, dark/light toggle, and motion. tokens.css is loaded first and
   supplies --font-sans / --font-serif; the three inks are also pinned
   here so this sheet renders correctly even if load order shifts.
   CMYK ink identity · light default · dark = the infographic art
   ========================================================================== */

:root {
  /* Impressions process inks (mirror tokens.css :root) */
  --cyan: #00ADEF;
  --magenta: #ED008C;
  --yellow: #FCBA00;
  --green: #22c55e;

  /* Light theme (default) */
  --bg: #f7f9fc;
  --bg-alt: #eef2f8;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --text: #0b1320;
  --muted: #56657c;
  --border: #e6e9ef;
  --primary: #0883b8;          /* AA-safe cyan on white */
  --primary-ink: #ffffff;
  --shadow: 0 1px 2px rgba(11, 19, 32, .06), 0 12px 32px rgba(11, 19, 32, .06);
  --shadow-lg: 0 24px 60px rgba(8, 12, 20, .12);
  --glow-op: .14;
  --hero-text: var(--text);
}

[data-theme="dark"] {
  --bg: #080c14;
  --bg-alt: #0b1320;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: #0d1625;
  --text: #e6edf5;
  --muted: #93a2b5;
  --border: rgba(255, 255, 255, .10);
  --primary: #00ADEF;
  --primary-ink: #04222a;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
  --glow-op: .20;
  --hero-text: #ffffff;
}

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

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

body {
  font-family: var(--font-sans), 'Source Sans 3', system-ui, -apple-system,
    'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--primary); color: var(--primary-ink);
  padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Brand mark (CMYK dots) ──────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.dots {
  display: inline-flex; gap: 4px; align-items: center;
  background: #080c14; padding: 9px 10px; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 173, 239, .28);
}
.dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.dots .dc { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dots .dm { background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
.dots .dy { background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.brand-name { font-weight: 500; font-size: 17px; letter-spacing: -.2px; }
.brand-name strong { font-weight: 800; }

/* Link back to the main Impressions site (added for /impulse). */
.brand-by { color: var(--muted); font-weight: 600; font-size: 14px; }
.brand-by:hover { color: var(--primary); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; letter-spacing: .1px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #2bc0f5, #00ADEF);
  color: #04222a; box-shadow: 0 10px 26px rgba(0, 173, 239, .35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(0, 173, 239, .5); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Visible keyboard focus on all interactive elements */
:where(.btn, .icon-btn, .nav-links a, .foot-links a, .skip-link,
  .faq summary, a.brand, .brand-by, .wl-form input):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 10px;
}

.icon-btn {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); cursor: pointer;
  display: inline-grid; place-items: center; font-size: 17px; line-height: 1;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.theme-sun { display: none; } .theme-moon { display: inline; }
[data-theme="dark"] .theme-sun { display: inline; }
[data-theme="dark"] .theme-moon { display: none; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 20px; }

/* ── Glow blobs ──────────────────────────────────────────────────────── */
.glow { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; z-index: 0; }
.glow-cyan { width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,173,239,var(--glow-op)), transparent 70%); top: -160px; right: -120px; }
.glow-magenta { width: 460px; height: 460px; background: radial-gradient(circle, rgba(237,0,140,var(--glow-op)), transparent 70%); bottom: -160px; left: -120px; }
.glow-yellow { width: 300px; height: 300px; background: radial-gradient(circle, rgba(252,186,0,calc(var(--glow-op) * .8)), transparent 70%); top: 40%; left: 30%; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
[data-theme="dark"] .hero { background: linear-gradient(170deg, #080c14, #0d1828 60%, #080c14); }
.hero-inner { position: relative; z-index: 1; max-width: 860px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; background: var(--surface-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px); font-weight: 900; line-height: 1.04;
  letter-spacing: -2px; margin: 22px 0 18px; color: var(--hero-text);
}
.grad-text {
  background: linear-gradient(110deg, #0a6e94, #C00074 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="dark"] .grad-text {
  background: linear-gradient(110deg, var(--cyan), var(--magenta) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 660px; }
.lede strong { color: var(--text); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; }
.hero-stats > div { display: flex; flex-direction: column; }
.stat-num { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.stat-num.c { color: #0a7fb0; } .stat-num.m { color: var(--magenta); } .stat-num.y { color: #8a6500; }
[data-theme="dark"] .stat-num.c { color: var(--cyan); }
[data-theme="dark"] .stat-num.y { color: var(--yellow); }
.stat-cap { font-size: 13px; color: var(--muted); margin-top: 6px; max-width: 160px; }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { position: relative; padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0a6e94; margin-bottom: 12px; }
[data-theme="dark"] .kicker { color: #4dd6ea; }
.section-head h2, .attr h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.section-head h2 em { font-style: normal; color: var(--magenta); }
.section-sub { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* ── Channel cards ───────────────────────────────────────────────────── */
.channel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.channel-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 20px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.channel-card[data-accent="cyan"]:hover { border-color: rgba(0,173,239,.5); }
.channel-card[data-accent="magenta"]:hover { border-color: rgba(237,0,140,.5); }
.channel-card[data-accent="yellow"]:hover { border-color: rgba(252,186,0,.5); }
.ch-icon { font-size: 30px; margin-bottom: 12px; }
.channel-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.channel-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 6px; }
.tag-digital { background: #e3f4fc; color: #0a6e94; }
.tag-physical { background: #fdf3cf; color: #8a6500; }
[data-theme="dark"] .tag-digital { background: rgba(0,173,239,.16); color: #5fd3e6; }
[data-theme="dark"] .tag-physical { background: rgba(252,186,0,.18); color: var(--yellow); }

/* ── Capability cards ────────────────────────────────────────────────── */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cap-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.cap-ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.cap-ic[data-accent="cyan"] { background: rgba(0,173,239,.14); }
.cap-ic[data-accent="magenta"] { background: rgba(237,0,140,.14); }
.cap-ic[data-accent="yellow"] { background: rgba(252,186,0,.18); }
.cap-card h3 { font-size: 17px; margin-bottom: 5px; }
.cap-card p { font-size: 14px; color: var(--muted); }

/* ── Trigger highlight ───────────────────────────────────────────────── */
.trigger {
  display: flex; gap: 20px; align-items: center; margin-top: 28px;
  background: linear-gradient(135deg, rgba(252,186,0,.10), rgba(237,0,140,.08));
  border: 1px solid rgba(252,186,0,.30); border-radius: 18px; padding: 26px 30px;
}
.trigger-ic { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(252,186,0,.18); display: grid; place-items: center; font-size: 26px; }
.trigger h3 { font-size: 18px; margin-bottom: 6px; }
.trigger p { color: var(--muted); font-size: 15px; }
.trigger-eg { display: inline-block; margin-top: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; color: var(--text); font-weight: 600; font-size: 14px; }
.trigger-eg em { color: var(--magenta); font-style: normal; }

/* ── Journey ─────────────────────────────────────────────────────────── */
.journey { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; margin-bottom: 48px; }
.journey li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.j-dot { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; border: 2px solid; margin-bottom: 4px; }
.j-dot.c { background: rgba(0,173,239,.14); border-color: rgba(0,173,239,.55); }
.j-dot.m { background: rgba(237,0,140,.14); border-color: rgba(237,0,140,.55); }
.j-dot.y { background: rgba(252,186,0,.16); border-color: rgba(252,186,0,.6); }
.j-dot.g { background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.55); }
.j-step { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.journey li strong { font-size: 15px; }
.journey li span:last-child { font-size: 13px; color: var(--muted); }

/* ── Contact profile mockup ──────────────────────────────────────────── */
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg); }
.profile-side .kicker { color: var(--muted); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--magenta)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; margin: 10px 0; }
.profile-side h3 { font-size: 18px; }
.muted { color: var(--muted); font-size: 13px; }
.intent { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; background: #e7f6ec; border: 1px solid rgba(34,197,94,.35); color: #15803d; border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
[data-theme="dark"] .intent { background: rgba(34,197,94,.14); color: #4ade80; }
.activity { list-style: none; display: flex; flex-direction: column; }
.activity li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.activity li:last-child { border-bottom: none; }
.activity li > div { display: flex; flex-direction: column; }
.activity strong { font-size: 14px; font-weight: 600; }
.activity span { font-size: 12px; color: var(--muted); }
.a-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: 0 0 auto; }
.a-dot.c { background: var(--cyan); } .a-dot.m { background: var(--magenta); } .a-dot.y { background: var(--yellow); } .a-dot.g { background: var(--green); }

/* ── Attribution / bridge ────────────────────────────────────────────── */
.attr { text-align: center; max-width: 900px; margin: 0 auto; }
.attr-badge { display: inline-block; background: linear-gradient(135deg, var(--cyan), var(--magenta)); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 18px; }
.bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 36px; text-align: left; }
.bridge-side { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.bridge-side h3 { font-size: 17px; margin: 8px 0 6px; }
.bridge-side p { font-size: 14px; color: var(--muted); }
.bridge-arrow { font-size: 30px; color: var(--muted); }

/* ── Use cases ───────────────────────────────────────────────────────── */
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 20px; box-shadow: var(--shadow); transition: transform .2s ease; }
.uc:hover { transform: translateY(-4px); }
.uc-ic { font-size: 34px; }
.uc h3 { font-size: 17px; margin: 10px 0 6px; }
.uc p { font-size: 14px; color: var(--muted); }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.price { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 22px; box-shadow: var(--shadow); }
.price-featured { border-color: var(--primary); box-shadow: 0 20px 50px rgba(0,173,239,.22); }
.price-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #2bc0f5, #00ADEF); color: #04222a; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price h3 { font-size: 18px; }
.price-amt { font-size: 40px; font-weight: 900; letter-spacing: -1px; margin: 6px 0 2px; }
.price-amt span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price ul { list-style: none; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.price li { font-size: 14px; padding-left: 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ── Waitlist ────────────────────────────────────────────────────────── */
.waitlist { position: relative; overflow: hidden; text-align: center; }
[data-theme="dark"] .waitlist { background: linear-gradient(170deg, #0b1320, #0d1828); }
.waitlist-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.wl-form { margin-top: 28px; text-align: left; }
.wl-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; margin-bottom: 12px; }
.wl-form input {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.wl-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,173,239,.18); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.wl-msg { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }
.wl-msg.ok { color: #16a34a; } [data-theme="dark"] .wl-msg.ok { color: #4ade80; }
.wl-msg.err { color: #dc2626; } [data-theme="dark"] .wl-msg.err { color: #f87171; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--primary); font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg-alt); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot-tag { color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.foot-links a { color: var(--muted); font-weight: 600; font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-copy { color: var(--muted); font-size: 13px; }

/* ── Reveal animation ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 1fr; }
  .bridge { grid-template-columns: 1fr; }
  .bridge-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 720px) {
  .cap-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .wl-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 560px) {
  /* Avoid nav overflow on phones — the hero CTA carries conversion. */
  .nav .btn-primary { display: none; }
  .brand-name { font-size: 16px; }
  .brand-by { display: none; }
}
@media (max-width: 480px) {
  .channel-grid, .price-grid, .uc-grid, .journey { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .channel-card:hover, .uc:hover { transform: none; }
}
