/* ===================================================================
   Support Canadian — portfolio-grade redesign
   Space Grotesk (display) + Inter (body) · layered dark palette
   =================================================================== */

:root {
  /* color */
  --bg:        #0a0a0c;
  --bg-1:      #0e0f13;
  --bg-2:      #14151a;
  --bg-3:      #1b1d24;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  --red:       #e8392e;
  --red-2:     #ff5a4d;
  --red-3:     #b81d15;
  --teal:      #2fc4c4;

  --ink:       #f4f5f7;
  --ink-2:     #b6b8c0;
  --ink-3:     #80828c;

  --light:     #f6f5f2;
  --light-1:   #ffffff;
  --light-ink: #15161a;
  --light-ink-2:#54575f;

  /* type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* layout */
  --max: 1160px;
  --pad: clamp(20px, 5vw, 44px);
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --section-y: clamp(72px, 10vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

.accent { color: var(--red); }

/* ---- shared display heading ---- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 46ch;
}

/* ---- eyebrow / tag ---- */
.eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red-2);
  background: rgba(232, 57, 46, 0.10);
  border: 1px solid rgba(232, 57, 46, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
}
.tag--teal { color: var(--teal); background: rgba(47, 196, 196, 0.10); border-color: rgba(47, 196, 196, 0.30); }
.tag--dark { color: var(--red-3); background: rgba(232, 57, 46, 0.08); border-color: rgba(232, 57, 46, 0.22); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn--sm { height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--primary {
  background: linear-gradient(180deg, var(--red-2), var(--red));
  color: #fff;
  box-shadow: 0 8px 22px rgba(232, 57, 46, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232, 57, 46, 0.5); }

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* logo-shield.webp is the full lockup (shield + wordmark) */
.brand__logo { width: clamp(210px, 24vw, 280px); height: auto; }

.header__nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.16s ease;
}
.nav-link:hover { color: var(--ink); }

/* ===================== HERO ===================== */
.hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 96px); }
.hero__glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(620px 380px at 22% 30%, rgba(232, 57, 46, 0.22), transparent 70%),
    radial-gradient(540px 360px at 82% 18%, rgba(232, 57, 46, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.hero__lead {
  margin: 22px 0 2px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--ink-2);
}
.hero__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 9.2vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 4px 0;
  white-space: nowrap;
  background: linear-gradient(180deg, #ff7064 0%, var(--red) 52%, var(--red-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 44px rgba(232, 57, 46, 0.34));
}
.hero__tail {
  margin: 4px 0 0;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 500;
  color: var(--ink);
}
.hero__trust {
  margin: 22px 0 0;
  font-size: 0.92rem;
  color: var(--ink-3);
}

/* hero media — browser frame */
.browser-frame {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.02);
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.browser-frame__url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--ink-3);
  background: var(--bg-1);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.browser-frame img { width: 100%; display: block; }

/* store buttons — strictly equal heights */
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.store-row--center { justify-content: center; }
.store-btn {
  height: 54px;
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55); }
.store-btn:focus-visible { outline: 3px solid var(--red-2); outline-offset: 3px; }
.store-btn img { height: 54px; width: auto; display: block; }
/* chrome badge art is transparent → white pill of identical height */
.store-btn--chrome { background: #fff; height: 54px; padding: 0 22px; }
.store-btn--chrome img { height: 30px; }

/* ===================== STATS ===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(8px, 2vw, 28px);
}
.stat {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232, 57, 46, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 42px) 18px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--red-2), var(--red));
}
.stat:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 5.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #d7d8de 55%, #adafb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__plus {
  -webkit-text-fill-color: var(--red-2);
  color: var(--red-2);
  font-size: 0.6em;
  vertical-align: 0.22em;
  margin-left: 3px;
}
.stat__label {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ===================== FEATURED / PRESS ===================== */
.featured { padding-top: var(--section-y); }
.press {
  background: var(--light-1);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 40px) clamp(24px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.press__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.press__item:hover { transform: translateY(-3px); }
.press__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.press__item:hover .press__logo { filter: none; opacity: 1; }
.press__link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--light-ink-2);
}
.press__item:hover .press__link { color: var(--red); }

/* ===================== FEATURE SECTIONS ===================== */
.feature-section { padding-top: var(--section-y); }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__copy { order: 1; }

.frame {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}
.frame img { width: 100%; border-radius: var(--r); display: block; }

.feature__copy .h2 { margin-top: 16px; }

/* ===================== PRIVACY ===================== */
.privacy {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  overflow: hidden;
}
.privacy__halo {
  position: absolute;
  top: -120px; left: 50%;
  width: 380px; height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(47, 196, 196, 0.20), transparent 65%);
  pointer-events: none;
}
.privacy__icon { position: relative; width: 110px; height: auto; margin: 0 auto 18px; }
.privacy .tag { margin-bottom: 6px; }
.privacy .lead { margin: 0 auto; }

/* ===================== FINAL CTA ===================== */
.cta { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.cta__glow {
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 520px;
  background: radial-gradient(620px 320px at 50% 80%, rgba(232, 57, 46, 0.22), transparent 70%);
  pointer-events: none;
}
.cta__inner { position: relative; text-align: center; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta__sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-2); margin: 0 0 8px; }

/* ===================== ABOUT ===================== */
.about {
  margin-top: var(--section-y);
  background: var(--light);
  color: var(--light-ink);
  padding: clamp(64px, 9vw, 120px) 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.about__photo img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
}
.about__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  color: var(--light-ink);
}
.about__copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-ink-2);
  margin: 0 0 16px;
}
.about__copy strong { color: var(--light-ink); }

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  height: 50px;
  padding: 0 22px 0 12px;
  background: #0a66c2;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(10, 102, 194, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.linkedin-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10, 102, 194, 0.5); }
.linkedin-btn img { width: 30px; height: 30px; border-radius: 7px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.footer__logo { width: 220px; height: auto; opacity: 0.92; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.16s ease;
}
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-3); font-size: 0.9rem; margin: 0; width: 100%; }
.footer__note { width: 100%; max-width: 760px; margin: 2px 0 0; font-size: 0.76rem; line-height: 1.55; color: var(--ink-3); opacity: 0.75; }

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .header__nav .nav-link { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__amount { white-space: normal; }
  .store-row { justify-content: center; }
  .hero__media { order: -1; max-width: 560px; margin: 0 auto; }
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: -1; }
  .feature--reverse .feature__copy { order: 0; }
  .feature__copy { text-align: center; }
  .feature__copy .lead { margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr; text-align: center; }
  .about__copy .lead { margin-inline: auto; }
  .linkedin-btn { margin-inline: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand__logo { width: 190px; }
  .store-btn, .store-btn img, .store-btn--chrome { height: 48px; }
  .store-btn--chrome img { height: 27px; }
  .press { gap: 26px; }
  .footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
