/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ===== TOKENS ===== */
:root {
  --red:        #D80621;
  --black:      #0C0C0C;
  --white:      #FFFFFF;
  --off-white:  #F2F2F0;
  --gray:       #666666;
  --border:     #DEDEDE;
  --dark-line:  #222222;
}

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(3rem, 6.5vw, 7.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== SECTION LABEL ===== */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.label::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: currentColor;
  flex-shrink: 0;
}
.label-muted {
  color: rgba(255,255,255,0.55);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.btn-red   { background: var(--red);   color: #fff; border-color: var(--red); }
.btn-red:hover { opacity: 0.86; }
.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-dark-outline:hover { background: var(--black); color: #fff; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--black);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}
.nav-logo .maple-sm {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  padding: 5px 7px;
  border-radius: 2px;
  transition: color 0.15s;
  line-height: 1;
}
.lang-btn:hover { color: var(--black); }
.lang-btn.active { color: var(--red); }
.lang-sep {
  color: var(--border);
  font-size: 0.75rem;
  line-height: 1;
  user-select: none;
}

/* Hide logo text on mobile — show only the maple leaf */
@media (max-width: 600px) {
  .nav-logo .logo-text { display: none; }
  .nav-logo .maple-sm  { width: 30px; height: 30px; }
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  background: var(--black);
  min-height: 600px;
}
.hero-body {
  padding: 6rem 4rem 6rem 0;
  display: flex;
  align-items: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.625rem;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3.25rem;
}
.trust-bar {
  border-top: 1px solid var(--dark-line);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
}
.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
/* Red accent column */
.hero-accent {
  background: var(--red);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-accent .maple-bg {
  width: 72%;
  max-width: 300px;
  filter: grayscale(1) contrast(100) invert(1);
  mix-blend-mode: screen;
  opacity: 0.22;
}

/* ===== COMPLIANCE — RED SECTION ===== */
.sec-red {
  background: var(--red);
  padding: 6.5rem 0;
}
.sec-red h2 {
  color: #fff;
  margin-bottom: 1.25rem;
}
.sec-red .sec-intro {
  color: rgba(255,255,255,0.75);
  font-size: 1.0625rem;
  line-height: 1.72;
  margin-bottom: 3rem;
}
.sec-red .label { color: rgba(255,255,255,0.6); }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.c-card {
  background: #fff;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 2px;
}
.c-card .num {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 1.125rem;
}
.c-card h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.625rem;
  color: var(--black);
}
.c-card p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.65;
}
.c-card .tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 0.2rem 0.625rem;
  border-radius: 2px;
}

/* ===== FEATURES — WHITE SECTION ===== */
.sec-white {
  background: #fff;
  padding: 6.5rem 0;
}
.sec-white h2 { color: var(--black); margin-bottom: 0.875rem; }
.sec-header { margin-bottom: 3.5rem; }
.sec-header p {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.72;
}
/* Connected grid — shares borders like a table */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--black);
  border-left: 2px solid var(--black);
}
.f-card {
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 2.25rem 2rem;
  position: relative;
}
.f-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: var(--red);
}
.f-card h3 {
  color: var(--black);
  margin-bottom: 0.875rem;
}
.f-card p {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ===== AUDIENCE — OFF-WHITE SECTION ===== */
.sec-offwhite {
  background: var(--off-white);
  padding: 6.5rem 0;
}
.sec-offwhite h2 { color: var(--black); margin-bottom: 0.875rem; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.a-card {
  background: #fff;
  border: 2px solid var(--black);
  padding: 2rem 1.75rem;
  border-radius: 2px;
}
.a-card .aud-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.a-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 0.625rem;
}
.a-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ===== CTA — BLACK SECTION ===== */
.sec-cta {
  background: var(--black);
  padding: 7.5rem 0;
}
.sec-cta h2 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin-bottom: 1.125rem;
}
.sec-cta p {
  color: rgba(255,255,255,0.5);
  font-size: 1.0625rem;
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 2.75rem;
}
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--dark-line);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer p, .footer a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer a:hover { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero                        { grid-template-columns: 1fr; }
  .hero-accent                 { display: none; }
  .hero-body                   { padding: 4.5rem 0; }
  .features-grid               { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sec-red, .sec-white, .sec-offwhite, .sec-cta { padding: 4.5rem 0; }
  .compliance-grid, .audience-grid, .features-grid { grid-template-columns: 1fr; }
  .hero-ctas, .cta-btns        { flex-direction: column; align-items: flex-start; }
  .trust-bar                   { gap: 0.5rem 1.5rem; }
  .footer-inner                { justify-content: center; text-align: center; }
}
