:root {
  --ink: #18221d;
  --ink-soft: #35443d;
  --spruce: #183f32;
  --spruce-2: #245544;
  --maple: #b63b31;
  --maple-dark: #8e2a24;
  --copper: #a66f49;
  --paper: #f6f1e7;
  --paper-2: #eee7da;
  --white: #fffdf9;
  --sage: #dbe6df;
  --sage-2: #c6d8ce;
  --sand: #d6c4a8;
  --line: rgba(24, 34, 29, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --muted: #627068;
  --success: #1d6b4c;
  --warning: #985f1a;
  --shadow-sm: 0 8px 22px rgba(24, 34, 29, 0.08);
  --shadow-md: 0 20px 45px rgba(24, 34, 29, 0.13);
  --shadow-lg: 0 34px 90px rgba(24, 34, 29, 0.18);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --container: min(1220px, calc(100% - 42px));
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--white); background: var(--maple); }
:focus-visible { outline: 3px solid #e08e84; outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--maple-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 42px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-sm { padding: 68px 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-sage { background: var(--sage); }
.section-dark { color: var(--white); background: var(--ink); }
.section-spruce { color: var(--white); background: var(--spruce); }
.section-maple { color: var(--white); background: var(--maple-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--maple);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-dark .eyebrow,
.section-spruce .eyebrow,
.section-maple .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: #f2b2aa; }

h1, h2, h3, h4 { margin: 0; color: inherit; line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.25rem, 4.6vw, 4.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.02em; }
h4 { font-size: 1.04rem; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.section-dark .lead,
.section-spruce .lead,
.section-maple .lead,
.hero .lead,
.page-hero .lead { color: rgba(255,255,255,.77); }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.text-maple { color: var(--maple); }
.max-700 { max-width: 700px; }
.max-820 { max-width: 820px; }

.independence-bar {
  position: relative;
  z-index: 90;
  padding: 10px 20px;
  color: rgba(255,255,255,.87);
  background: var(--ink);
  text-align: center;
  font-size: .82rem;
  letter-spacing: .01em;
}
.independence-bar strong { color: var(--white); }
.independence-bar .maple-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 8px 1px 0;
  background: var(--maple);
  transform: rotate(45deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 241, 231, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--maple);
  border-radius: 50% 50% 50% 12%;
  transform: rotate(-6deg);
  box-shadow: 5px 5px 0 var(--spruce);
}
.brand-mark svg { width: 27px; height: 27px; transform: rotate(6deg); }
.brand-lockup { display: grid; line-height: .95; }
.brand-name { font-size: 1.07rem; font-weight: 900; letter-spacing: -.03em; }
.brand-name .dotcom { color: var(--maple); }
.brand-sub { margin-top: 7px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav > a:not(.button) {
  position: relative;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.desktop-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--maple);
  transition: right .2s ease;
}
.desktop-nav > a:not(.button):hover::after,
.desktop-nav > a[aria-current="page"]::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.menu-button svg { width: 22px; height: 22px; margin: auto; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
}
.mobile-menu.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .brand { color: var(--white); }
.mobile-menu .brand-sub { color: rgba(255,255,255,.62); }
.mobile-menu .menu-button { display: grid; color: var(--white); border-color: rgba(255,255,255,.3); }
.mobile-menu nav { display: grid; align-content: center; gap: 17px; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); text-decoration: none; }
.mobile-menu-foot { display: grid; gap: 12px; }
.mobile-menu-foot p { color: rgba(255,255,255,.62); font-size: .82rem; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--maple);
  border: 1px solid var(--maple);
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(142,42,36,.14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 11px 0 rgba(142,42,36,.12); background: var(--maple-dark); }
.button-sm { min-height: 42px; padding: 9px 15px; font-size: .88rem; }
.button-dark { color: var(--white); background: var(--ink); border-color: var(--ink); box-shadow: none; }
.button-dark:hover { background: var(--spruce); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); box-shadow: none; }
.button-light:hover { color: var(--white); background: var(--maple); border-color: var(--maple); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--ink); box-shadow: none; }
.button-outline:hover { color: var(--white); background: var(--ink); }
.button-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.58); box-shadow: none; }
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.button svg { width: 18px; height: 18px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--spruce);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}
.hero::after {
  content: "CANADA";
  position: absolute;
  right: -30px;
  bottom: -85px;
  color: rgba(255,255,255,.035);
  font-family: var(--serif);
  font-size: clamp(7rem, 18vw, 17rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding: 96px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(450px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
}
.hero-copy { max-width: 670px; }
.hero h1 { max-width: 760px; }
.hero h1 em { color: #f2b2aa; font-weight: 400; }
.hero .lead { max-width: 660px; margin-top: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: rgba(255,255,255,.68); font-size: .86rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 7px; height: 7px; background: #f2b2aa; transform: rotate(45deg); }
.hero-visual { position: relative; min-width: 0; }
.hero-photo-frame { position: relative; margin: 28px 0 28px 24px; }
.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: -22px 26px 22px -22px;
  border: 1px solid rgba(255,255,255,.34);
}
.hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
  box-shadow: var(--shadow-lg);
}
.canadian-stamp {
  position: absolute;
  z-index: 3;
  right: -24px;
  bottom: -22px;
  width: 144px;
  height: 144px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--maple);
  border-radius: 50%;
  text-align: center;
  transform: rotate(7deg);
  box-shadow: var(--shadow-md);
}
.canadian-stamp strong { font-family: var(--serif); font-size: 1.18rem; line-height: 1.1; }
.canadian-stamp span { display: block; margin-top: 6px; color: var(--maple); font-size: .66rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.domain-card {
  position: absolute;
  z-index: 3;
  left: -18px;
  top: -8px;
  max-width: 245px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255,253,249,.96);
  border-left: 5px solid var(--maple);
  box-shadow: var(--shadow-md);
}
.domain-card strong { display: block; font-size: .95rem; }
.domain-card span { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; }

.trust-row { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 24px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--spruce); font-size: 1.06rem; }
.trust-item span { display: block; margin-top: 4px; color: var(--muted); font-size: .86rem; }

.section-head { display: grid; gap: 13px; max-width: 810px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }

.service-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--maple);
  box-shadow: var(--shadow-sm);
}
.service-card::after {
  content: attr(data-number);
  position: absolute;
  right: 12px;
  bottom: -34px;
  color: rgba(24,63,50,.06);
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 1;
}
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--spruce);
  border-radius: 50% 50% 50% 9px;
}
.service-icon svg { width: 25px; height: 25px; }
.service-card p { margin-top: 14px; color: var(--muted); }
.service-card a { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--maple); font-weight: 800; text-decoration: none; }
.service-card a:hover { text-decoration: underline; }

.editorial-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(36px,7vw,90px); align-items: center; }
.editorial-split.reverse { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.editorial-copy .lead { margin-top: 20px; }
.editorial-copy .button { margin-top: 28px; }
.editorial-image-wrap { position: relative; }
.editorial-image-wrap::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: 44%;
  height: 54%;
  background: var(--maple);
}
.editorial-image {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 440px;
  max-height: 590px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}
.editorial-note {
  position: absolute;
  z-index: 3;
  right: -18px;
  top: 26px;
  max-width: 230px;
  padding: 17px 18px;
  color: var(--white);
  background: var(--ink);
  border-left: 5px solid var(--maple);
  box-shadow: var(--shadow-md);
}
.editorial-note strong { display: block; }
.editorial-note span { display: block; margin-top: 5px; color: rgba(255,255,255,.68); font-size: .8rem; }

.check-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-list .check {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--maple);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 900;
}
.section-dark .check-list li,
.section-spruce .check-list li { color: rgba(255,255,255,.76); }

.market-card {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  min-height: 470px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.market-card + .market-card { margin-top: 34px; }
.market-card:nth-child(even) { grid-template-columns: minmax(0,1.22fr) minmax(0,.78fr); }
.market-card:nth-child(even) .market-image { order: 2; }
.market-image { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.market-body { padding: clamp(30px,5vw,58px); display: grid; align-content: center; }
.market-tag { display: inline-flex; width: fit-content; padding: 7px 10px; color: var(--white); background: var(--maple); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.market-body h3 { margin-top: 18px; font-family: var(--serif); font-size: clamp(2rem,3vw,3rem); font-weight: 400; }
.market-body p { margin-top: 16px; color: var(--muted); }
.market-body .button { width: fit-content; margin-top: 24px; }

.industry-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.industry-card {
  position: relative;
  min-height: 280px;
  display: grid;
  align-content: end;
  padding: 25px;
  overflow: hidden;
  color: var(--white);
  background: var(--spruce);
  text-decoration: none;
}
.industry-card:nth-child(1) { grid-column: span 7; }
.industry-card:nth-child(2) { grid-column: span 5; background: var(--maple-dark); }
.industry-card:nth-child(3), .industry-card:nth-child(4), .industry-card:nth-child(5) { grid-column: span 4; }
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.62));
}
.industry-card::after {
  content: "↗";
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.45rem;
}
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .35s ease, opacity .35s ease; }
.industry-card:hover img { transform: scale(1.04); opacity: .85; }
.industry-card h3, .industry-card p { position: relative; z-index: 2; }
.industry-card p { margin-top: 8px; color: rgba(255,255,255,.78); }
.industry-card.text-only::before { background: none; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: steps; }
.process-step { position: relative; padding: 28px 24px 26px; border-top: 1px solid rgba(255,255,255,.3); }
.process-step::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: block;
  margin-bottom: 38px;
  color: #f2b2aa;
  font-family: var(--serif);
  font-size: 2rem;
}
.process-step::after { content: ""; position: absolute; top: -5px; left: 0; width: 10px; height: 10px; background: var(--maple); transform: rotate(45deg); }
.process-step p { margin-top: 12px; color: rgba(255,255,255,.68); }

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(350px,.72fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.quote-copy { padding: clamp(34px,6vw,72px); }
.quote-copy blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem,3.5vw,3.4rem); line-height: 1.18; }
.quote-copy p { margin-top: 22px; color: var(--muted); }
.quote-image { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
}
.faq-question span:last-child { color: var(--maple); font-size: 1.4rem; transition: transform .2s ease; }
.faq-answer { display: none; max-width: 860px; padding: 0 0 24px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); }

.cta-band { position: relative; overflow: hidden; padding: 76px 0; color: var(--white); background: var(--maple-dark); }
.cta-band::after { content: "GLOBALPAYMENT.COM"; position: absolute; right: -25px; bottom: -18px; color: rgba(255,255,255,.06); font-family: var(--serif); font-size: clamp(4rem,12vw,10rem); white-space: nowrap; }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-grid .lead { color: rgba(255,255,255,.78); margin-top: 14px; max-width: 780px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.page-hero { position: relative; overflow: hidden; padding: 86px 0 82px; color: var(--white); background: var(--spruce); }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border: 90px solid rgba(255,255,255,.04); border-radius: 50%; }
.page-hero-inner { position: relative; z-index: 2; max-width: 920px; }
.page-hero h1 { font-size: clamp(3rem,6vw,5.6rem); }
.page-hero .lead { margin-top: 22px; max-width: 790px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; color: rgba(255,255,255,.62); font-size: .82rem; }
.breadcrumbs a { color: rgba(255,255,255,.78); text-decoration: none; }
.breadcrumbs span::before { content: "/"; margin-right: 9px; }

.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 28px; }
.feature-box { padding: 24px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--maple); }
.feature-box h3 { font-size: 1.2rem; }
.feature-box p { margin-top: 9px; color: var(--muted); }

.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat { padding: 29px; background: var(--white); border: 1px solid var(--line); }
.stat strong { display: block; color: var(--maple); font-family: var(--serif); font-size: 2.4rem; font-weight: 400; }
.stat span { display: block; margin-top: 5px; color: var(--muted); }

.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.resource-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; }
.resource-card-top { min-height: 150px; padding: 24px; color: var(--white); background: var(--spruce); }
.resource-card:nth-child(even) .resource-card-top { background: var(--maple-dark); }
.resource-card-top span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.resource-card-top strong { display: block; margin-top: 17px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1.1; }
.resource-card-body { padding: 24px; }
.resource-card-body p { color: var(--muted); }
.resource-card-body span { display: inline-flex; margin-top: 20px; color: var(--maple); font-weight: 800; }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 60px; align-items: start; }
.article { padding: 46px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.article h2 { margin: 42px 0 16px; font-size: clamp(2rem,3.3vw,3rem); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 30px 0 10px; }
.article p + p { margin-top: 17px; }
.article ul, .article ol { margin: 16px 0 0; padding-left: 22px; }
.article li + li { margin-top: 9px; }
.article-callout { margin: 30px 0; padding: 23px 25px; background: var(--sage); border-left: 5px solid var(--maple); }
.article-callout strong { display: block; margin-bottom: 6px; }
.article-sidebar { position: sticky; top: 120px; display: grid; gap: 18px; }
.sidebar-card { padding: 23px; background: var(--white); border: 1px solid var(--line); }
.sidebar-card h3 { font-size: 1.05rem; }
.sidebar-card p { margin-top: 9px; color: var(--muted); font-size: .9rem; }
.sidebar-card .button { width: 100%; margin-top: 17px; }
.sidebar-links { display: grid; gap: 10px; margin-top: 14px; }
.sidebar-links a { color: var(--maple); font-size: .9rem; font-weight: 700; text-decoration: none; }
.sidebar-links a:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 34px; align-items: stretch; }
.contact-side { position: relative; overflow: hidden; min-height: 640px; color: var(--white); background: var(--spruce); }
.contact-side img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; opacity: .73; }
.contact-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(24,34,29,.86)); }
.contact-side-copy { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 30px; }
.contact-side-copy p { margin-top: 10px; color: rgba(255,255,255,.74); }
.form-card { padding: clamp(28px,5vw,52px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 17px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1/-1; }
label { color: var(--ink); font-size: .9rem; font-weight: 800; }
input, select, textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(24,34,29,.24);
  border-radius: 2px;
}
input:focus, select:focus, textarea:focus { border-color: var(--maple); outline: 2px solid rgba(182,59,49,.15); }
textarea { min-height: 134px; resize: vertical; }
.form-note { margin-top: 15px; color: var(--muted); font-size: .82rem; }
.form-status { display: none; margin-top: 16px; padding: 15px; color: var(--success); background: #e4f2eb; border-left: 4px solid var(--success); }
.form-status.is-visible { display: block; }
.honeypot { position: absolute !important; left: -9999px !important; }

.login-shell { min-height: calc(100vh - 42px); display: grid; grid-template-columns: minmax(0,.92fr) minmax(440px,1.08fr); background: var(--paper); }
.login-brand-panel { position: relative; display: grid; align-content: space-between; min-height: 100%; padding: clamp(34px,6vw,78px); color: var(--white); background: var(--spruce); overflow: hidden; }
.login-brand-panel::after { content: ".COM"; position: absolute; left: -20px; bottom: -70px; color: rgba(255,255,255,.05); font-family: var(--serif); font-size: clamp(9rem,20vw,18rem); line-height: 1; }
.login-brand-panel > * { position: relative; z-index: 2; }
.login-brand-panel .brand { color: var(--white); }
.login-brand-panel .brand-sub { color: rgba(255,255,255,.64); }
.login-message { max-width: 670px; margin: 80px 0; }
.login-message h1 { font-size: clamp(3rem,6vw,5.6rem); }
.login-message p { margin-top: 20px; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.login-company-note { padding: 19px; border: 1px solid rgba(255,255,255,.25); border-left: 5px solid #f2b2aa; }
.login-company-note strong { display: block; }
.login-company-note span { display: block; margin-top: 5px; color: rgba(255,255,255,.68); font-size: .84rem; }
.login-form-panel { display: grid; align-content: center; padding: clamp(34px,7vw,96px); }
.login-box { width: min(520px,100%); margin-inline: auto; }
.domain-verification { margin-bottom: 28px; padding: 19px; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--maple); box-shadow: var(--shadow-sm); }
.domain-verification .domain { display: block; margin-top: 5px; color: var(--spruce); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 1.03rem; font-weight: 800; word-break: break-all; }
.domain-verification p { margin-top: 8px; color: var(--muted); font-size: .86rem; }
.login-form { display: grid; gap: 17px; }
.login-form .button { width: 100%; }
.checkbox-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; }
.checkbox-row label { color: var(--ink-soft); font-size: .86rem; font-weight: 600; }
.security-warning { margin-top: 26px; padding: 17px; color: var(--warning); background: #fff1dd; border-left: 5px solid #d18b31; font-size: .85rem; }
.login-footer { margin-top: 28px; color: var(--muted); font-size: .82rem; }

.legal-card { padding: 44px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal-card h2 { margin: 38px 0 14px; font-size: 2.2rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 25px 0 8px; }
.legal-card p + p { margin-top: 15px; }
.legal-card ul { margin-top: 12px; padding-left: 20px; }
.legal-card li + li { margin-top: 8px; }
.placeholder-notice { margin-bottom: 28px; padding: 18px 20px; color: var(--warning); background: #fff1dd; border-left: 5px solid #d18b31; }

.sitemap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.sitemap-card { padding: 26px; background: var(--white); border: 1px solid var(--line); }
.sitemap-card h3 { margin-bottom: 15px; }
.sitemap-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.sitemap-card a { color: var(--maple); font-weight: 700; text-decoration: none; }
.sitemap-card a:hover { text-decoration: underline; }

.footer { padding: 62px 0 28px; color: rgba(255,255,255,.76); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { color: var(--white); }
.footer .brand-sub { color: rgba(255,255,255,.56); }
.footer-about { max-width: 360px; margin-top: 18px; color: rgba(255,255,255,.62); }
.footer h4 { margin-bottom: 14px; color: var(--white); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.68); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-disclosure { margin-top: 23px; padding: 17px 18px; color: rgba(255,255,255,.7); background: rgba(255,255,255,.05); border-left: 4px solid var(--maple); font-size: .82rem; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; padding-top: 24px; color: rgba(255,255,255,.48); font-size: .78rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }

.mobile-cta { display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 70; padding: 8px; background: rgba(255,253,249,.96); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.mobile-cta .button { width: 100%; }

@media (max-width: 1120px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav > a:not(.button) { font-size: .86rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { max-width: 900px; }
  .trust-grid, .grid-4, .process-grid { grid-template-columns: repeat(2,1fr); }
  .quote-panel, .contact-grid { grid-template-columns: 1fr; }
  .quote-image, .contact-side, .contact-side img { min-height: 480px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .desktop-nav, .nav-actions .button-outline { display: none; }
  .menu-button { display: grid; place-items: center; }
  .editorial-split, .editorial-split.reverse, .market-card, .market-card:nth-child(even), .login-shell { grid-template-columns: 1fr; }
  .market-card:nth-child(even) .market-image { order: 0; }
  .market-image { min-height: 380px; max-height: 520px; }
  .grid-3, .resource-grid, .sitemap-grid { grid-template-columns: repeat(2,1fr); }
  .industry-card:nth-child(1), .industry-card:nth-child(2) { grid-column: span 6; }
  .industry-card:nth-child(3), .industry-card:nth-child(4), .industry-card:nth-child(5) { grid-column: span 4; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .login-brand-panel { min-height: 520px; }
  .login-message { margin: 60px 0; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1220px); }
  .section { padding: 78px 0; }
  .section-sm { padding: 54px 0; }
  .brand-sub { display: none; }
  .nav-actions .button { display: none; }
  .hero-inner { padding: 72px 0 78px; }
  .hero-photo-frame { margin: 24px 0 44px; }
  .hero-photo-frame::before { inset: -14px 14px 14px -14px; }
  .domain-card { left: 10px; top: -8px; max-width: 210px; }
  .canadian-stamp { right: 6px; bottom: -45px; width: 126px; height: 126px; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .process-grid, .feature-list, .resource-grid, .sitemap-grid, .form-grid, .footer-grid, .article-sidebar { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card:nth-child(n) { grid-column: auto; }
  .quote-copy, .article, .legal-card { padding: 28px; }
  .quote-image, .contact-side, .contact-side img { min-height: 400px; }
  .field.full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-cta { display: block; }
  .login-brand-panel, .login-form-panel { padding: 30px 22px; }
  .login-brand-panel { min-height: 470px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Final interaction refinements */
.login-message h1 { max-width: 100%; overflow-wrap: anywhere; word-break: normal; font-size: clamp(2.9rem, 5vw, 4.8rem); }

@media (max-width: 680px) {
  .mobile-cta {
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(125%);
    transition: opacity .22s ease, transform .22s ease;
  }
  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
.login-message h1 { overflow-wrap: normal; }
.login-message h1 em {
  display: block;
  margin-top: 10px;
  font-size: .72em;
  line-height: 1.02;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .login-message h1 em { font-size: .62em; }
}
@media (max-width: 680px) {
  .editorial-note {
    right: 0;
    max-width: min(230px, calc(100% - 18px));
  }
}

/* 2026 logo system — Canadian geek / online payments identity */
.site-header .brand,
.mobile-menu .brand,
.footer .brand,
.login-brand-panel .brand {
  width: 292px;
  min-height: 52px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}
.site-header .brand {
  background-image: url('../images/globalpayment-logo-header.png');
}
.mobile-menu .brand,
.footer .brand,
.login-brand-panel .brand {
  background-image: url('../images/globalpayment-logo-header-light.png');
}
.site-header .brand > *,
.mobile-menu .brand > *,
.footer .brand > *,
.login-brand-panel .brand > * {
  display: none !important;
}
@media (max-width: 780px) {
  .site-header .brand,
  .mobile-menu .brand,
  .footer .brand,
  .login-brand-panel .brand {
    width: 230px;
    min-height: 44px;
  }
}
@media (max-width: 420px) {
  .site-header .brand,
  .mobile-menu .brand,
  .footer .brand,
  .login-brand-panel .brand {
    width: 205px;
  }
}
