/* ============================================================
   Interac Casinos Canada — libertylocksmithservices.com
   Bespoke design system. ALL colour lives in :root (rule: one block).
   Motif: gold poker-chip + transfer-arrow. Reserved CTA = teal (buttons only).
   ============================================================ */
:root{
  --ink:#14243A;      /* navy primary/ink */
  --ink-2:#22344e;
  --ink-3:#3a4c66;
  --gold:#C8892B;     /* accent */
  --gold-2:#b0761f;
  --gold-tint:#f3e7cf;
  --gold-line:#e6d3a8;
  --cta:#0E7C86;      /* RESERVED — buttons only, nothing else */
  --cta-2:#0b656d;
  --bonus:#DE3B30;    /* bonus eye-catcher red — used ONLY on bonus amounts */
  --bonus-bright:#F2564B; /* on dark (spotlight) */
  --paper:#F7F4EE;    /* warm paper */
  --cream:#FBF9F4;
  --bg:#ffffff;
  --line:#e6ded0;
  --line-2:#efe8db;
  --muted:#5d6976;
  --muted-2:#828d99;
  --star:#C8892B;
  --ok:#2f7d5b;
  --wrap:1120px;
  --radius:14px;
  --shadow:0 1px 2px rgba(20,36,58,.06),0 6px 24px rgba(20,36,58,.07);
  --shadow-lift:0 2px 6px rgba(20,36,58,.10),0 18px 44px rgba(20,36,58,.14);
  --f-head:"Barlow Condensed",system-ui,sans-serif;
  --f-body:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-body);
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:var(--gold-2);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}
h1,h2,h3,h4{font-family:var(--f-head);font-weight:700;line-height:1.08;color:var(--ink);
  letter-spacing:.01em;margin:0 0 .5em}
h2{font-size:clamp(1.55rem,1.1rem+1.7vw,2.15rem);text-transform:none}
h3{font-size:clamp(1.15rem,1rem+.6vw,1.4rem)}
p{margin:0 0 1.05em}
section{scroll-margin-top:16px}

/* ---- motif chip-arrow glyph ---- */
.chip{display:inline-flex;align-items:center;justify-content:center;flex:none}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--f-head);
  font-weight:600;text-transform:uppercase;letter-spacing:.13em;font-size:.82rem;
  color:var(--gold-2);margin:0 0 .35em}
.eyebrow .chip svg{width:18px;height:18px}
.sec{padding:40px 0}
.sec--tint{background:var(--paper)}
.sec-head{max-width:760px;margin:0 0 22px}
.sec-head p{color:var(--muted);margin:0}

/* ============ MASTHEAD (white, non-sticky) ============ */
.mast{background:var(--bg);border-bottom:1px solid var(--line)}
.mast__in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:96px}
.mast__logo img{height:76px;width:auto}
.nav{display:flex;align-items:center;gap:26px}
.nav a{color:var(--ink);font-weight:500;font-size:.96rem}
.nav a:hover{color:var(--gold-2);text-decoration:none}
.nav__cta{display:inline-flex;align-items:center;gap:.4rem}
.burger{display:none;background:none;border:1px solid var(--line);border-radius:9px;
  width:44px;height:40px;cursor:pointer;align-items:center;justify-content:center}
.burger span,.burger span::before,.burger span::after{content:"";display:block;width:20px;height:2px;
  background:var(--ink);position:relative;transition:.2s}
.burger span::before{position:absolute;top:-6px}.burger span::after{position:absolute;top:6px}
#navtoggle{display:none}

/* ============ CTA (reserved teal) ============ */
.cta{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  background:var(--cta);color:#fff;font-family:var(--f-head);font-weight:600;
  letter-spacing:.03em;text-transform:uppercase;font-size:.95rem;
  padding:.7rem 1.25rem;border-radius:10px;border:0;cursor:pointer;
  box-shadow:0 2px 0 var(--cta-2);transition:transform .12s,box-shadow .12s}
.cta:hover{background:var(--cta-2);text-decoration:none;transform:translateY(-1px);
  box-shadow:0 4px 0 var(--cta-2)}
.cta--sm{padding:.55rem .95rem;font-size:.85rem}
.cta--block{width:100%}
.cta--ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line);
  box-shadow:none;text-transform:none;font-family:var(--f-body);font-weight:600}
.cta--ghost:hover{background:var(--paper);border-color:var(--gold-line)}

/* ============ HERO (compact so toplist is above the fold) ============ */
.hero{padding:30px 0 20px;background:linear-gradient(175deg,#fff 0%,#fff 40%,var(--cream) 100%)}
.hero__grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:44px;align-items:center}
.hero__lead{min-width:0}
.hero h1{font-size:clamp(2.05rem,1.4rem+2.6vw,3.1rem);margin:.1em 0 .5em}
.hero h1 .accent{color:var(--gold-2)}
.hero__lede{font-size:1.12rem;color:var(--ink-3);margin:14px 0 0}
/* slim byline strip under the H1: avatar + (name/role over meta), left-aligned, no void */
.byline--strip{display:flex;align-items:center;gap:13px;
  padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.byline--strip img{width:48px;height:48px;border-radius:50%;border:2px solid var(--gold-line);flex:none}
.byline__txt{display:flex;flex-direction:column;gap:5px;min-width:0}
.byline__who{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;line-height:1.1}
.byline__name{font-family:var(--f-head);font-weight:700;font-size:1.1rem}
.byline__role{color:var(--muted);font-size:.84rem}
.byline__meta{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:.79rem;color:var(--muted-2)}
.byline__meta span{position:relative}
.byline__meta span+span::before{content:"";position:absolute;left:-9px;top:50%;
  width:3px;height:3px;border-radius:50%;background:var(--gold-line);transform:translateY(-50%)}
.byline__meta b{color:var(--ink-2);font-weight:600}

/* hero spotlight: Editor's #1 pick card (fills the right column intentionally) */
.spotlight{position:relative;background:linear-gradient(160deg,#1a2d47,#101d31);color:#e9eef4;
  border-radius:16px;border-top:4px solid var(--gold);padding:22px 22px 18px;
  box-shadow:var(--shadow-lift);overflow:hidden}
.spotlight__mark{position:absolute;right:-38px;top:-32px;width:180px;height:180px;opacity:.22;transform:rotate(8deg)}
.spotlight__eyebrow{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--f-head);
  font-weight:600;text-transform:uppercase;letter-spacing:.13em;font-size:.78rem;color:var(--gold);margin-bottom:14px}
.spotlight__eyebrow .chip svg{width:16px;height:16px}
.spotlight__row{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.spotlight__logo{width:120px;height:54px}
.spotlight__name{font-family:var(--f-head);font-weight:700;font-size:1.45rem;color:#fff;line-height:1}
.spotlight__row .stars{margin-top:4px;display:inline-block}
.spotlight__bonus{background:rgba(255,255,255,.05);border:1px solid rgba(200,137,43,.35);
  border-radius:10px;padding:11px 13px;margin-bottom:14px}
.spotlight__bonus .bonus__amt{color:var(--bonus-bright);font-size:1.32rem}
.spotlight__foot{display:flex;flex-direction:column;gap:6px;font-size:.8rem;color:#9fb0c4}
.spotlight__foot a{color:var(--gold);font-weight:600;font-family:var(--f-head);letter-spacing:.02em}
.spotlight__foot a:hover{color:#fff}

/* ============ TOPLIST wrapper ============ */
.toplist{padding-top:8px}
.rank{font-family:var(--f-head);font-weight:700;color:var(--ink)}
/* rank medallion = chip motif */
.medal{position:relative;width:44px;height:44px;flex:none;display:flex;align-items:center;
  justify-content:center;border-radius:50%;background:var(--paper);
  border:2px dashed var(--gold-line);font-family:var(--f-head);font-weight:700;
  font-size:1.3rem;color:var(--ink)}
.medal--1{background:var(--ink);color:var(--gold);border-color:var(--gold)}
.stars{color:var(--star);letter-spacing:1px;font-size:1rem;line-height:1}
.score{font-family:var(--f-head);font-weight:700;color:var(--ink);font-size:1rem}
.score small{color:var(--muted-2);font-weight:600;font-size:.72rem}
.brandlogo{background:#fff;border:1px solid var(--line);border-radius:10px;
  display:flex;align-items:center;justify-content:center;padding:8px}
.brandlogo img{max-height:100%;max-width:100%;width:auto;object-fit:contain}

/* bonus = the eye-catcher */
.bonus__amt{font-family:var(--f-head);font-weight:700;color:var(--bonus);
  line-height:1.08;font-size:clamp(1.35rem,1.05rem+1vw,1.75rem);letter-spacing:.005em}
.bonus__lbl{font-family:var(--f-head);text-transform:uppercase;letter-spacing:.12em;
  font-size:.7rem;color:var(--muted);font-weight:600}
.bonus__code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;
  color:var(--ink-2)}
.bonus__code b{color:var(--gold-2)}

/* USP pills */
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill{font-size:.74rem;font-weight:600;color:var(--ink-2);background:var(--paper);
  border:1px solid var(--line);border-radius:999px;padding:.24rem .6rem;white-space:nowrap}
.pill--gold{background:var(--gold-tint);border-color:var(--gold-line);color:var(--gold-2)}

.ribbon{position:absolute;top:0;left:0;background:var(--gold);color:var(--ink);
  font-family:var(--f-head);font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  font-size:.72rem;padding:.28rem .8rem;border-bottom-right-radius:10px}

/* ---- FORMAT A: #1 big side-by-side hero card ---- */
.pick{position:relative;background:var(--bg);border:2px solid var(--gold);
  border-radius:18px;box-shadow:var(--shadow-lift);overflow:hidden;margin:22px 0 26px}
.pick__grid{display:grid;grid-template-columns:230px 1fr 260px;gap:0}
.pick__id{padding:34px 24px 24px;background:var(--paper);border-right:1px solid var(--line);
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;justify-content:center}
.pick__id .brandlogo{width:150px;height:74px}
.pick__name{font-family:var(--f-head);font-weight:700;font-size:1.5rem;line-height:1}
.pick__body{padding:26px 26px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.pick__body .bonus__amt{font-size:clamp(1.7rem,1.3rem+1.4vw,2.3rem)}
.pick__act{padding:24px;background:var(--cream);border-left:1px solid var(--line);
  display:flex;flex-direction:column;justify-content:center;gap:12px;text-align:center}
.pick__scorebig{font-family:var(--f-head);font-weight:700;font-size:2.4rem;color:var(--ink);line-height:1}
.pick__scorebig small{display:block;font-size:.72rem;color:var(--muted);letter-spacing:.1em;text-transform:uppercase}

/* ---- FORMAT B: thin scannable rows (#2–5) — dense, bonus-forward ---- */
.rows{display:flex;flex-direction:column;gap:12px}
.trow{display:grid;grid-template-columns:44px 116px minmax(128px,0.95fr) minmax(250px,1.7fr) 180px;
  gap:16px;align-items:center;background:var(--bg);border:1px solid var(--line);border-radius:12px;
  padding:12px 14px;box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s}
.trow:hover{border-color:var(--gold-line);box-shadow:var(--shadow-lift)}
.trow__logo{width:100%;height:54px}
.trow__id{min-width:0}
.trow__name{font-family:var(--f-head);font-weight:700;font-size:1.18rem;line-height:1.05}
.trow__stars{display:flex;align-items:center;gap:8px;margin-top:4px}
/* the offer is the hero of the row: gold-edged panel that fills the flexible middle */
.trow__offer{background:var(--paper);border-left:3px solid var(--gold);border-radius:0 10px 10px 0;
  padding:8px 14px;min-width:0}
.trow__offer .bonus__lbl{margin-bottom:2px}
.trow__offer .bonus__amt{font-size:clamp(1.45rem,1.15rem+.9vw,1.7rem)}
.trow__terms{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.trow__terms .pill{font-size:.72rem;padding:.2rem .55rem}
.trow__act{display:flex;flex-direction:column;align-items:stretch;gap:5px;text-align:center}
.trow__note{font-size:.72rem;color:var(--muted-2)}

/* ---- FORMAT C: mini grid (#6–15) ---- */
.mini{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:8px}
.mcard{display:grid;grid-template-columns:40px 88px 1fr auto;gap:14px;align-items:center;
  background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px 15px}
.mcard .brandlogo{width:100%;height:38px;padding:6px}
.mcard .medal{width:34px;height:34px;font-size:1rem;border-width:2px}
.mcard__name{font-family:var(--f-head);font-weight:700;font-size:1.02rem;line-height:1.05}
.mcard__bonus{font-size:.95rem;color:var(--bonus);font-family:var(--f-head);font-weight:700;
  line-height:1.12;margin-top:2px}
.mcard__bonus b{color:var(--bonus);font-weight:700}

/* ============ "best for" callouts ============ */
.bestfor{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.bf{background:var(--bg);border:1px solid var(--line);border-top:3px solid var(--gold);
  border-radius:12px;padding:16px}
.bf__tag{font-family:var(--f-head);text-transform:uppercase;letter-spacing:.1em;
  font-size:.74rem;color:var(--gold-2);font-weight:600}
.bf__brand{font-family:var(--f-head);font-weight:700;font-size:1.2rem;margin:.15em 0}
.bf__note{font-size:.86rem;color:var(--muted);margin:0}

/* ============ reviews ============ */
.review{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 24px;margin:0 0 18px;box-shadow:var(--shadow)}
.review__head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.review__head .brandlogo{width:120px;height:52px}
.review__hl{margin:0}
.review__offer{display:flex;flex-direction:column;line-height:1.1;padding:0 4px}
.review__offer .bonus__amt{font-size:1.02rem}
.review__hl-line{font-family:var(--f-head);font-size:1.2rem;color:var(--ink);margin:.1em 0 .55em}
.review__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 26px;margin:12px 0 4px}
.pc{font-size:.92rem}
.pc b{font-family:var(--f-head);letter-spacing:.03em}
.pc--pro b{color:var(--ok)}.pc--con b{color:var(--gold-2)}
.pc ul{margin:.2em 0 0;padding-left:1.1em}.pc li{margin:.12em 0}

/* ============ tables ============ */
.tbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
table{border-collapse:collapse;width:100%;font-size:.93rem;background:var(--bg)}
th,td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line-2)}
thead th{background:var(--ink);color:#fff;font-family:var(--f-head);font-weight:600;
  letter-spacing:.03em;white-space:nowrap}
tbody tr:nth-child(even){background:var(--cream)}
td b{color:var(--gold-2)}

/* ============ how-to steps ============ */
.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:12px}
.steps li{counter-increment:s;position:relative;padding:14px 16px 14px 60px;
  background:var(--bg);border:1px solid var(--line);border-radius:12px}
.steps li::before{content:counter(s);position:absolute;left:14px;top:14px;width:32px;height:32px;
  border-radius:50%;background:var(--gold-tint);border:2px solid var(--gold-line);color:var(--gold-2);
  font-family:var(--f-head);font-weight:700;display:flex;align-items:center;justify-content:center}
.steps li b{font-family:var(--f-head)}

/* ============ tick list (on-brand gold check, not emoji) ============ */
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.ticks li{position:relative;padding-left:34px;font-size:1rem;line-height:1.55}
.ticks li::before{content:"";position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;
  background:var(--gold-tint);border:1.5px solid var(--gold-line)}
.ticks li::after{content:"";position:absolute;left:8px;top:6px;width:5px;height:9px;
  border:solid var(--gold-2);border-width:0 2px 2px 0;transform:rotate(45deg)}
.ticks li b{font-family:var(--f-head);color:var(--ink);font-weight:700}

/* ============ callout / prose ============ */
.prose{max-width:760px}
.note{background:var(--paper);border-left:3px solid var(--gold);border-radius:0 10px 10px 0;
  padding:14px 18px;margin:0 0 1.1em;font-size:.95rem;color:var(--ink-2)}

/* ============ FAQ ============ */
.faq details{border:1px solid var(--line);border-radius:12px;padding:2px 18px;margin:0 0 10px;background:var(--bg)}
.faq summary{cursor:pointer;list-style:none;padding:14px 0;font-family:var(--f-head);
  font-weight:700;font-size:1.12rem;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold-2);font-size:1.4rem;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details[open] summary{border-bottom:1px solid var(--line-2)}
.faq__a{padding:12px 0 6px}.faq__a p{margin:0 0 .7em}

/* ============ author box ============ */
.authorbox{display:flex;gap:18px;align-items:flex-start;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}
.authorbox img{width:76px;height:76px;border-radius:50%;border:2px solid var(--gold-line);flex:none}

/* ============ footer ============ */
.foot{background:var(--ink);color:#c7d0dc;margin-top:44px;padding:40px 0 26px;font-size:.9rem}
.foot__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.foot img{height:34px;margin-bottom:12px}
.foot h4{color:#fff;font-size:.95rem;letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px}
.foot a{color:#c7d0dc;display:block;margin:5px 0}
.foot a:hover{color:var(--gold)}
.foot__legal{border-top:1px solid #2a3c56;margin-top:26px;padding-top:18px;
  font-size:.8rem;color:#8a97a8;line-height:1.6}
.foot__legal b{color:#c7d0dc}

/* ============ RESPONSIVE ============ */
@media(max-width:900px){
  .hero__grid{grid-template-columns:1fr;gap:0}
  .spotlight{display:none} /* decorative duplicate of #1, which is shown in full immediately below */
  .hero{background:#fff}
  .pick__grid{grid-template-columns:1fr}
  .pick__id{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;justify-content:flex-start;padding:18px}
  .pick__id .brandlogo{width:120px;height:56px}
  .pick__act{border-left:0;border-top:1px solid var(--line)}
  .bestfor{grid-template-columns:repeat(2,1fr)}
  .foot__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  body{font-size:16px}
  /* compact hero so the #1 card is above the fold on mobile (no content hidden) */
  .hero{padding:14px 0 4px}
  .hero h1{margin:.05em 0 .35em}
  .hero__lede{font-size:1.02rem;margin:12px 0 12px}
  .hero__down{margin-bottom:12px}
  .byline--strip{gap:10px}
  .byline--strip img{width:42px;height:42px}
  .byline__meta{margin-left:0;flex-basis:100%;gap:4px 12px}
  #toplist.sec{padding-top:14px}
  #toplist .sec-head{margin-bottom:12px}
  #toplist .sec-head p{font-size:.94rem}
  .pick{margin-top:12px}
  .mast__in{height:74px}
  .mast__logo img{height:54px}
  .nav{position:fixed;inset:74px 0 auto 0;background:var(--bg);flex-direction:column;
    align-items:stretch;gap:0;padding:8px 22px 18px;border-bottom:1px solid var(--line);
    box-shadow:var(--shadow-lift);transform:translateY(-130%);transition:transform .25s;z-index:40}
  .nav a{padding:12px 2px;border-bottom:1px solid var(--line-2)}
  .nav__cta{margin-top:12px;justify-content:center}
  #navtoggle:checked~.nav{transform:translateY(0)}
  .burger{display:inline-flex}
  /* thin rows -> stacked mobile cards, order: rank+logo > name > bonus panel > cta */
  .trow{grid-template-columns:44px 1fr;grid-template-areas:"medal logo" "id id" "offer offer" "act act";gap:12px 14px}
  .trow>.medal{grid-area:medal}
  .trow__logo{grid-area:logo;width:104px;height:44px;justify-self:start}
  .trow__id{grid-area:id}
  .trow__offer{grid-area:offer}
  .trow__act{grid-area:act}
  .trow__act .cta{width:100%}
  .mini{grid-template-columns:1fr}
  .mcard{grid-template-columns:36px 76px 1fr;grid-template-areas:"medal logo name" "medal logo bonus" "act act act";row-gap:8px}
  .mcard>.medal{grid-area:medal}.mcard>.brandlogo{grid-area:logo}
  .mcard__name{grid-area:name}.mcard__bonus{grid-area:bonus}.mcard__act{grid-area:act}
  .mcard__act .cta{width:100%}
  .review__grid{grid-template-columns:1fr}
  .foot__grid{grid-template-columns:1fr}
  .bestfor{grid-template-columns:1fr}
  /* prose comparison tables stack */
}
@media(max-width:430px){
  .wrap{padding:0 16px}
  .hero h1{font-size:1.95rem}
  .pick__id{flex-direction:column;text-align:center}
  .pick__body{padding:20px}
}
