/* PrimeOffer.ca — Premium Design System */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --prime: #FF9900;
  --prime-text: #b45309;     /* 5.02:1 on white ✅ */
  --prime-light: #fff8ed;
  --qc: #003087;
  --qc-mid: #0044bb;
  --qc-light: #eef2fb;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;   /* 7.56:1 on white ✅ */
  --gray-700: #374151;   /* 10.3:1 on white ✅ */
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Dark surfaces */
  --dark-bg: #0a0f1e;
  --dark-card: #111827;
  --dark-border: rgba(255,255,255,.08);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15), 0 4px 12px rgba(0,0,0,.08);
  --shadow-glow-prime: 0 0 24px rgba(255,153,0,.2);
  --shadow-glow-qc: 0 0 24px rgba(0,48,135,.2);

  --radius-sm: .5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

/* ─── Base ───────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
       background: var(--gray-50); color: var(--gray-800); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--gray-900); }

/* ─── Skip link ──────────────────────────── */
.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 9999;
  background: var(--qc); color: #fff; padding: .5rem 1.25rem; border-radius: var(--radius-sm);
  width: auto; height: auto; font-weight: 700; box-shadow: var(--shadow-lg); }

/* ─── Layout ─────────────────────────────── */
.container   { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.container-sm{ max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Header ─────────────────────────────── */
.site-header {
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 72rem; margin: 0 auto;
}
.logo { font-size: 1.375rem; font-weight: 900; color: var(--qc); letter-spacing: -.02em; }
.logo span.accent { color: var(--prime-text); }
.logo span.tld    { color: var(--gray-600); font-weight: 400; font-size: 1rem; }
.main-nav { display: flex; gap: .25rem; list-style: none; }
.main-nav a {
  font-size: .875rem; font-weight: 600; color: var(--gray-700);
  padding: .4rem .85rem; border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a:focus-visible {
  background: var(--qc-light); color: var(--qc);
}

/* ─── Hero ───────────────────────────────── */
.hero {
  background: var(--dark-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,68,187,.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(255,153,0,.08) 0%, transparent 60%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,153,0,.15); border: 1px solid rgba(255,153,0,.3);
  color: var(--prime); font-size: .75rem; font-weight: 700;
  padding: .35rem .85rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem;
}
.hero-badge::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--prime); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 1.25rem; color: #fff;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--prime) 0%, #ffcc66 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.125rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 2rem; max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--dark-border); }
.hero-stat-num  { font-size: 1.75rem; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-label{ font-size: .75rem; color: rgba(255,255,255,.5); margin-top: .25rem; text-transform: uppercase; letter-spacing: .05em; }

/* Hero app grid */
.hero-apps {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.hero-app-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; align-items: center; gap: .75rem;
  transition: background .2s, border-color .2s;
  cursor: default;
}
.hero-app-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.15); }
.hero-app-card .icon { font-size: 1.75rem; flex-shrink: 0; }
.hero-app-card .name { font-size: .875rem; font-weight: 700; color: #fff; }
.hero-app-card .cat  { font-size: .7rem; color: rgba(255,255,255,.45); margin-top: .1rem; }
.hero-app-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(0,68,187,.3) 0%, rgba(255,153,0,.1) 100%);
  border-color: rgba(255,153,0,.2);
}

/* ─── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; padding: .8rem 1.75rem; border-radius: var(--radius-sm);
  font-size: .9375rem; transition: all .15s; cursor: pointer; border: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--prime-text); outline-offset: 3px; }
.btn-prime {
  background: var(--prime); color: var(--gray-900);
  box-shadow: 0 4px 14px rgba(255,153,0,.35);
}
.btn-prime:hover { background: #e68a00; box-shadow: 0 6px 20px rgba(255,153,0,.45); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.btn-dark  { background: var(--gray-900); color: #fff; }
.btn-dark:hover  { background: var(--gray-800); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--gray-600); background: var(--gray-100); }
.btn-qc { background: var(--qc); color: #fff; box-shadow: 0 4px 14px rgba(0,48,135,.3); }
.btn-qc:hover { background: #002470; transform: translateY(-1px); }
.btn-rose { background: #e11d48; color: #fff; }
.btn-rose:hover { background: #be123c; transform: translateY(-1px); }

/* ─── Section ────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-alt { background: linear-gradient(180deg, var(--qc-light) 0%, #fff 100%); }
.section-dark { background: var(--dark-bg); color: #fff; }

.section-eyebrow {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--prime-text); margin-bottom: .625rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 900; color: var(--gray-900); line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: .75rem;
}
.section-sub {
  font-size: 1rem; color: var(--gray-700); max-width: 42rem; line-height: 1.7;
}
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ─── Category label ─────────────────────── */
.cat-label {
  font-size: .7rem; font-weight: 800; color: var(--gray-700);
  text-transform: uppercase; letter-spacing: .14em;
  margin: 3rem 0 1.25rem; display: flex; align-items: center; gap: .5rem;
}
.cat-label::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.cat-label:first-of-type { margin-top: 0; }

/* ─── App cards ──────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.app-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: block;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  box-shadow: var(--shadow-sm);
}
.app-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent, var(--gray-200));
  transition: height .2s;
}
.app-card:hover, .app-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.app-card:hover::before { height: 4px; }
.app-card:focus-visible { outline: 3px solid var(--prime-text); outline-offset: 2px; }

/* Accent colors per card */
.app-card.ve-green  { --card-accent: #22c55e; }
.app-card.ve-yellow { --card-accent: var(--prime); }
.app-card.ve-indigo { --card-accent: #6366f1; }
.app-card.ve-orange { --card-accent: #f97316; }
.app-card.eco-red   { --card-accent: #ef4444; }
.app-card.eco-rose  { --card-accent: #f43f5e; }
.app-card.eco-teal  { --card-accent: #14b8a6; }
.app-card.life-lime { --card-accent: #84cc16; }
.app-card.life-violet{--card-accent: #8b5cf6; }
.app-card.life-sky  { --card-accent: #0ea5e9; }

.app-icon-wrap {
  width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  background: var(--icon-bg, var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.app-name { font-size: 1rem; font-weight: 800; color: var(--gray-900); margin-bottom: .35rem; }
.app-desc { font-size: .875rem; color: var(--gray-700); line-height: 1.55; margin-bottom: .875rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; font-weight: 700; padding: .25rem .625rem;
  border-radius: 999px;
}
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-rose   { background: #ffe4e6; color: #be123c; }
.badge-gray   { background: var(--gray-100); color: var(--gray-700); }

/* ─── Article cards ──────────────────────── */
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden; display: block;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.article-card:hover, .article-card:focus-visible {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.article-card:focus-visible { outline: 3px solid var(--prime-text); outline-offset: 2px; }
.article-thumb {
  height: 9rem; display: flex; align-items: center;
  justify-content: center; font-size: 3.5rem;
  position: relative; overflow: hidden;
}
.article-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.15) 100%);
}
.article-body { padding: 1.25rem; }
.article-cat {
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: .375rem; display: block;
}
.article-title {
  font-size: .9375rem; font-weight: 800; color: var(--gray-900);
  line-height: 1.35; margin-bottom: .35rem;
}
.article-excerpt { font-size: .8rem; color: var(--gray-700); line-height: 1.55; }
.article-arrow {
  display: flex; align-items: center; justify-content: flex-end;
  margin-top: .75rem; font-size: .8rem; font-weight: 700;
  color: var(--prime-text); gap: .25rem;
}

/* ─── Article page ───────────────────────── */
.breadcrumb { font-size: .875rem; color: var(--gray-600); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--gray-600); transition: color .15s; }
.breadcrumb a:hover { color: var(--prime-text); }
.breadcrumb-sep { color: var(--gray-600); }
.article-header { margin-bottom: 2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .875rem; color: var(--gray-600); margin-top: 1.25rem; }
.article-hero-img {
  height: 14rem; border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; margin-bottom: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.article-hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.15) 100%);
}

/* Article content */
.article-content { color: var(--gray-700); }
.article-content p { margin-bottom: 1.25rem; line-height: 1.8; }
.article-content h2 { font-size: 1.5rem; font-weight: 900; color: var(--gray-900); margin: 2.5rem 0 .875rem; letter-spacing: -.02em; }
.article-content h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin: 1.75rem 0 .625rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li { margin-bottom: .5rem; line-height: 1.65; }
.article-content a { color: var(--prime-text); text-decoration: underline; text-decoration-color: rgba(180,83,9,.3); text-underline-offset: 2px; }
.article-content a:hover { text-decoration-color: var(--prime-text); }

/* Info boxes */
.info-box { border-radius: var(--radius); padding: 1.375rem; margin: 1.75rem 0; border-left: 4px solid transparent; }
.info-box-title { font-weight: 800; color: var(--gray-900); margin-bottom: .75rem; font-size: 1rem; }
.info-box-green  { background: #f0fdf4; border-color: #22c55e; }
.info-box-blue   { background: #eff6ff; border-color: #3b82f6; }
.info-box-yellow { background: #fefce8; border-color: #eab308; }
.info-box-orange { background: #fff7ed; border-color: #f97316; }
.info-box-violet { background: #f5f3ff; border-color: #8b5cf6; }
.info-box-rose   { background: #fff1f2; border-color: #f43f5e; }
.info-box-sky    { background: #f0f9ff; border-color: #0ea5e9; }
.info-box-lime   { background: #f7fee7; border-color: #84cc16; }
.info-box-dark   { background: var(--gray-900); color: #fff; border-color: var(--prime); }
.info-box-dark .info-box-title { color: #fff; }
.info-box-dark p { color: var(--gray-300); }
.info-box-prime  { background: var(--prime-light); border-color: var(--prime); }

.info-list { list-style: none; padding: 0; }
.info-list li { display: flex; gap: .625rem; font-size: .9375rem; color: var(--gray-700); margin-bottom: .625rem; align-items: flex-start; }

/* Feature list */
.feature-list { list-style: none; padding: 0; }
.feature-list li { display: flex; gap: 1rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.125rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.feature-list li .icon { font-size: 1.75rem; flex-shrink: 0; }
.feature-list li strong { display: block; color: var(--gray-900); margin-bottom: .25rem; }
.feature-list li span { font-size: .875rem; color: var(--gray-700); line-height: 1.55; }

/* Steps */
.steps { list-style: none; padding: 0; }
.steps li { display: flex; gap: .875rem; margin-bottom: 1.125rem; }
.step-num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--prime); color: var(--gray-900); font-size: .875rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .125rem; }

/* Icon grid */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); gap: .75rem; }
.icon-cell { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: .875rem .5rem; text-align: center; box-shadow: var(--shadow-sm); }
.icon-cell .emoji { font-size: 1.75rem; margin-bottom: .375rem; }
.icon-cell .label { font-size: .75rem; font-weight: 600; color: var(--gray-700); }

/* CTA block */
.cta-block { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Article nav */
.article-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); flex-wrap: wrap; gap: 1rem; }
.article-nav a { font-size: .875rem; font-weight: 700; color: var(--prime-text); transition: opacity .15s; }
.article-nav a:hover { opacity: .75; }

/* ─── FAQ ────────────────────────────────── */
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); margin-bottom: .75rem;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  font-weight: 700; cursor: pointer; color: var(--gray-900);
  padding: 1.125rem 1.25rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 300; color: var(--gray-600); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-200); }
.faq-body { padding: 1rem 1.25rem 1.125rem; color: var(--gray-700); font-size: .9375rem; line-height: 1.75; }

/* ─── Banner ─────────────────────────────── */
.banner {
  background: linear-gradient(90deg, var(--qc) 0%, var(--qc-mid) 100%);
  color: #fff; text-align: center; padding: .75rem 1.5rem;
  font-size: .875rem; font-weight: 600;
}
.banner strong { color: var(--prime); }

/* ─── Footer ─────────────────────────────── */
.site-footer { background: var(--dark-bg); border-top: 1px solid var(--dark-border); color: rgba(255,255,255,.6); padding: 3.5rem 1.5rem 2.5rem; }
.footer-inner { max-width: 72rem; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
.footer-brand .logo-footer { font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: .375rem; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.45); max-width: 22rem; line-height: 1.6; }
.footer-nav-group { }
.footer-nav-title { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); margin-bottom: .875rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark-border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: rgba(255,255,255,.3); }

/* ─── Utilities ──────────────────────────── */
.text-prime { color: var(--prime-text); }
.text-qc    { color: var(--qc); }
.font-bold  { font-weight: 700; }
.font-black { font-weight: 900; }
.inline-block { display: inline-block; }
.mb-2 { margin-bottom: .5rem; }
.mt-4 { margin-top: 1rem; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--prime) 0%, #ff6b00 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Thumb gradients */
.grad-green  { background: linear-gradient(135deg,#4ade80,#059669); }
.grad-yellow { background: linear-gradient(135deg,#fbbf24,#f97316); }
.grad-indigo { background: linear-gradient(135deg,#818cf8,#4f46e5); }
.grad-orange { background: linear-gradient(135deg,#fb923c,#dc2626); }
.grad-red    { background: linear-gradient(135deg,#f87171,#b91c1c); }
.grad-emerald{ background: linear-gradient(135deg,#34d399,#0d9488); }
.grad-rose   { background: linear-gradient(135deg,#fb7185,#be123c); }
.grad-violet { background: linear-gradient(135deg,#a78bfa,#6d28d9); }
.grad-sky    { background: linear-gradient(135deg,#38bdf8,#0369a1); }
.grad-lime   { background: linear-gradient(135deg,#a3e635,#16a34a); }
.grad-ve     { background: linear-gradient(135deg,#4ade80,#3b82f6,#6366f1); }
.grad-hero   { background: linear-gradient(135deg,#003087 0%,#0052cc 60%,#FF9900 100%); }

/* Category colors (all pass 4.5:1 on white) */
.c-green  { color: #15803d; } /* 5.2:1 ✅ */
.c-indigo { color: #4338ca; } /* 6.7:1 ✅ */
.c-red    { color: #b91c1c; } /* 5.5:1 ✅ */
.c-emerald{ color: #047857; } /* 4.6:1 ✅ */
.c-rose   { color: #be123c; } /* 5.3:1 ✅ */
.c-violet { color: #6d28d9; } /* 7.2:1 ✅ */
.c-orange { color: #9a3412; } /* 6.5:1 ✅ */
.c-sky    { color: #0369a1; } /* 5.9:1 ✅ */
.c-lime   { color: #3f6212; } /* 7.8:1 ✅ */
.c-yellow { color: #92400e; } /* 7.2:1 ✅ */
.c-prime  { color: var(--prime-text); } /* 5.0:1 ✅ */

/* ─── App card footer (App Store link) ───── */
.app-card-wrap { display: flex; flex-direction: column; }
.app-card-wrap .app-card {
  flex: 1; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: none; margin-bottom: 0;
}
.app-card-wrap .app-card:hover, .app-card-wrap .app-card:focus-visible { border-bottom: none; }
.app-card-footer {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-top: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: .625rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
}
.app-dl-link {
  font-size: .75rem; font-weight: 700; color: var(--prime-text);
  display: flex; align-items: center; gap: .3rem;
  transition: opacity .15s;
}
.app-dl-link:hover { opacity: .75; }
.app-article-link {
  font-size: .75rem; color: var(--gray-600); font-weight: 500;
  transition: color .15s;
}
.app-article-link:hover { color: var(--gray-900); }

/* ─── Mobile hamburger nav ────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--radius-sm);
  transition: background .15s;
}
.hamburger:hover { background: var(--gray-100); }
.hamburger:focus-visible { outline: 3px solid var(--prime-text); outline-offset: 2px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,15,30,.97); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.5rem; font-weight: 800; color: #fff;
  transition: color .15s;
}
.mobile-nav a:hover { color: var(--prime); }
.mobile-nav-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 2rem; cursor: pointer; line-height: 1; padding: .5rem;
}
.mobile-nav-close:hover { color: #fff; }

/* ─── Scroll animations ───────────────────── */
.will-animate {
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}
.will-animate.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .will-animate { opacity: 1; transform: none; transition: none; }
}

/* ─── Back to top ─────────────────────────── */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background: var(--gray-900); color: #fff;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; border: none; cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s, background .15s;
  transform: translateY(8px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--qc); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid var(--prime-text); outline-offset: 3px; }

/* ─── Mockups ─────────────────────────────── */
.mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
  flex-wrap: wrap;
}

/* Phone */
.mockup-phone-outer { width: 210px; flex-shrink: 0; margin: 0 auto; }
.mockup-phone {
  background: #0f172a;
  border-radius: 40px;
  padding: 12px 10px 20px;
  box-shadow: 0 0 0 2px #334155, 0 25px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.mockup-notch {
  width: 68px; height: 20px;
  background: #0f172a;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
}
.mockup-screen {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  min-height: 380px;
}
.mockup-screen-header {
  padding: .875rem 1rem .75rem;
  display: flex; align-items: center; gap: .5rem;
}
.mockup-screen-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.mockup-screen-title { font-size: .8125rem; font-weight: 700; }
.mockup-screen-sub { font-size: .6875rem; }
.mockup-stat-card {
  margin: 0 .75rem .625rem;
  border-radius: 12px;
  padding: .75rem;
}
.mockup-stat-label { font-size: .625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-bottom: .25rem; }
.mockup-stat-value { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.mockup-stat-sub { font-size: .625rem; opacity: .6; margin-top: .2rem; }
.mockup-row {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: .6875rem;
}
.mockup-row-icon { font-size: .875rem; flex-shrink: 0; }
.mockup-row-label { flex: 1; color: #334155; }
.mockup-row-value { font-weight: 700; color: #0f172a; }
.mockup-badge-row {
  display: flex; gap: .375rem; flex-wrap: wrap;
  padding: .625rem .75rem;
}
.mockup-chip {
  font-size: .5625rem; font-weight: 700; padding: .2rem .5rem;
  border-radius: 999px; white-space: nowrap;
}

/* Browser */
.mockup-browser {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.mockup-browser-bar {
  background: #e2e8f0;
  padding: .5rem .75rem;
  display: flex; align-items: center; gap: .625rem;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mockup-dot-r { background: #f87171; }
.mockup-dot-y { background: #fbbf24; }
.mockup-dot-g { background: #4ade80; }
.mockup-url-bar {
  flex: 1; background: #fff; border-radius: 5px;
  padding: .2rem .625rem; font-size: .7rem;
  color: #64748b; font-family: monospace;
}
.mockup-browser-screen { background: #fff; padding: 1.25rem 1.5rem; }

/* Caption sous le mockup */
.mockup-caption {
  text-align: center; font-size: .8125rem; color: var(--gray-500);
  margin-top: .75rem; font-style: italic;
}

/* ─── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-apps  { order: -1; }
  .hero-stats { gap: 1.5rem; }
  .main-nav   { display: none; }
  .hamburger  { display: flex; }
  .grid-4     { grid-template-columns: 1fr 1fr; }
  .grid-3     { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-apps { grid-template-columns: 1fr; }
  .hero-app-card.featured { grid-column: span 1; }
}
