/* kartcommerce.ca landing page. Same tokens as the register app and my.kartcommerce.ca. */
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/assets/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('/assets/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/assets/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('/assets/manrope-800.woff2') format('woff2'); }

:root {
	color-scheme: light;
	--bg: #F4F3EF; --surface: #FFFFFF; --surface-2: #EFEEE9; --border: #E2E0D9; --border-2: #C8C6BE;
	--text: #17171A; --muted: #5C5B64; --ink: #1C1C21; --ink-2: #18191D; --ink-line: #2C2D34; --ink-muted: #A4A4AF; --ink-text: #D9D8D2;
	--ok-bg: #E1F2E7; --ok-text: #17663A; --warn-bg: #FCEFD7; --warn-text: #734600;
	--accent: #4B3FD1; --accent-hover: #372DB0; --accent-soft: #EBE9FA; --accent-deep: #2A2287;
	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.55 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.block { padding-top: 88px; padding-bottom: 32px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
.btn-big { min-height: 60px; padding: 0 28px; border-radius: 16px; font-size: 17px; font-weight: 800; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-quiet, .btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-quiet:hover, .btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-dark { background: var(--text); color: #FFFFFF; min-height: 52px; border-radius: 14px; font-weight: 800; }
.btn-dark:hover { background: #000000; color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--text); }
.btn-white:hover { background: var(--surface-2); color: var(--text); }
.btn-outline-white { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-white:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.1); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; font-size: 14.5px; font-weight: 700; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 12px; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.top-actions { display: flex; gap: 8px; }
@media (max-width: 760px) { .nav { display: none; } .top-row { justify-content: space-between; } }
@media (max-width: 480px) { .top-signin { display: none; } }

/* Hero */
.hero { text-align: center; padding-top: 64px; padding-bottom: 28px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; font-weight: 700; color: var(--muted); }
.pill-tag { white-space: nowrap; background: var(--ok-bg); color: var(--ok-text); padding: 4px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; margin: 24px auto 20px; max-width: 13em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 38em; margin: 0 auto 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }

.hero-shot { padding-top: 8px; }
.seg { display: flex; width: fit-content; margin: 0 auto 14px; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: 14px; }
.seg[hidden] { display: none; }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 800 14px var(--font); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.caption { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 14px; }

/* Frames around screenshots */
.frame { border-radius: 24px; overflow: hidden; }
.frame img { width: 100%; }
.frame-dark { background: var(--ink); padding: clamp(6px, 1vw, 12px); max-width: 1180px; margin: 0 auto; box-shadow: 0 60px 120px -50px rgba(30, 24, 90, 0.5); }
.frame-dark img { border-radius: 16px; }
.frame-light { background: var(--surface); border: 1px solid var(--border); padding: clamp(6px, 1vw, 10px); max-width: 1180px; margin: 0 auto; box-shadow: 0 40px 80px -50px rgba(20, 20, 26, 0.35); }
.frame-light img, .frame-inner img { border-radius: 14px; border: 1px solid var(--border); }
.frame-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(20, 20, 26, 0.35); }
.frame-inner { border-radius: 16px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card h2, .card h3 { font-size: 17px; font-weight: 800; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-sm { padding: 18px; }
.card-pad-sm { padding: 10px; }
.tag { align-self: flex-start; display: inline-flex; background: var(--surface-2); color: var(--muted); padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.tag-ok { background: var(--ok-bg); color: var(--ok-text); }
.tag-warn { background: var(--warn-bg); color: var(--warn-text); }
.tag-accent { background: var(--accent-soft); color: var(--accent); }

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; padding-top: 40px; }

/* Section heads */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow-gold { color: #F2B660; }
.big { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; margin: 12px 0 14px; }
.mid { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.lede-sm { color: var(--muted); font-size: 18px; }
.intro { max-width: 760px; margin-bottom: 32px; }
.narrowp { max-width: 40em; margin-bottom: 28px; }
.split-head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.split-head > * { flex: 1 1 380px; }
.split-head .big { margin-bottom: 0; }

/* A sale in four taps */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: start; }
.steps4 li { display: flex; flex-direction: column; gap: 12px; }
.steps4 p { color: var(--muted); font-size: 14.5px; }
.steps4 b { color: var(--text); }

/* Module tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 24px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; width: fit-content; max-width: 100%; }
.tab { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px 0 10px; border: 0; border-radius: 14px; background: transparent; color: var(--muted); font: 800 15px var(--font); cursor: pointer; }
.tab img { width: 32px; height: 32px; }
.tab:hover { background: var(--surface-2); }
.tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }
.panel[hidden] { display: none; }
.panel-head { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: flex-end; justify-content: space-between; max-width: 1180px; margin: 0 auto 20px; padding: 0 8px; }
.panel-head > div { flex: 1 1 420px; }
.panel-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.panel-head p { color: var(--muted); font-size: 17px; }
.ticks { flex: 0 1 420px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 14.5px; }
.tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-text); display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }

/* Bands */
.band-wrap { padding: 72px 16px 0; }
.band { max-width: 1240px; margin: 0 auto; border-radius: 32px; padding: clamp(28px, 5vw, 64px); }
.band-dark { background: var(--ink); color: #F4F3EF; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.band-dark .lede-sm { color: var(--ink-text); }
.band-text { flex: 1 1 420px; }
.band-side { flex: 1 1 340px; display: flex; flex-direction: column; gap: 10px; }
.mini3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; font-size: 14.5px; margin-top: 26px; }
.mini3 div, .mini4 div { display: flex; flex-direction: column; }
.mini3 b { color: #FFFFFF; }
.mini3 span { color: var(--ink-muted); }
.mini3-light { margin: 0; padding: 8px 12px 14px; }
.mini3-light b { color: var(--text); }
.mini3-light span { color: var(--muted); }
.status { min-height: 52px; display: flex; align-items: center; padding: 0 16px; border-radius: 14px; font-weight: 800; font-size: 14px; }
.status-warn { background: #2F2410; color: #F2B660; }
.status-ok { background: #15291D; color: #7AD7A2; }
.queue { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 16px; overflow: hidden; font-size: 14px; }
.queue div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.queue div + div { border-top: 1px solid var(--ink-line); }
.queue span { color: var(--ink-muted); }

.band-light { background: var(--surface); border: 1px solid var(--border); }
.loyalty-head { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; margin-bottom: 32px; }
.loyalty-head > div:first-child { flex: 1 1 440px; }
.brandline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.brandline img { width: 44px; height: 44px; }
.mini4 { flex: 1 1 340px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 24px; font-size: 14.5px; }
.mini4 span { color: var(--muted); }

.band-accent { background: var(--accent); color: #FFFFFF; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; margin-bottom: 64px; }
.band-accent > div:first-child { flex: 1 1 480px; }
.band-accent .big { margin-top: 0; }
.band-accent p { color: #E4E1FB; font-size: 18px; }
.band-accent .cta-row { justify-content: flex-start; }

/* Delivery */
.delivery { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.delivery-main { flex: 2 1 560px; gap: 12px; }
.card-dark { background: var(--ink); color: #F4F3EF; border-radius: 24px; padding: 28px; }
.delivery-phone { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.delivery-phone h3 { font-size: 20px; font-weight: 800; }
.delivery-phone p { color: var(--ink-muted); font-size: 14.5px; }
.phones { display: flex; gap: 12px; justify-content: center; }
.phones img { width: 46%; max-width: 170px; border-radius: 18px; border: 4px solid var(--ink-line); }

/* Store types */
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.type { min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 18px; border-radius: 16px; font-size: 14px; font-weight: 700; }
.type-top { display: flex; justify-content: space-between; gap: 8px; }
.type-top b { font-size: 19px; font-weight: 800; line-height: 1.2; }
.dot { width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; margin-top: 6px; }
.type-vape { background: #E4ECFB; color: #172A4D; } .type-vape .dot { background: #3B6FD9; }
.type-dispensary { background: #DCF2EC; color: #0E3B33; } .type-dispensary .dot { background: #1F9A83; }
.type-head { background: #ECE6FB; color: #2A1C52; } .type-head .dot { background: #7A55D6; }
.type-convenience { background: #FBEADC; color: #4A2610; } .type-convenience .dot { background: #D97326; }
.type-games { background: #FAE5ED; color: #4A1428; } .type-games .dot { background: #D14D7F; }
.type-wholesale { background: #E8E9ED; color: #23262E; } .type-wholesale .dot { background: #6B7080; }

.square { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(22px, 4vw, 36px); }
.square > div { flex: 1 1 460px; }
.square-title { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 8px 0; }
.square p:last-child { color: var(--muted); }

/* How it works */
.how { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.how li { display: flex; align-items: center; gap: 16px; padding: 18px 22px; min-height: 76px; }
.how li + li { border-top: 1px solid var(--border); }
.how div { display: flex; flex-direction: column; }
.how span:not(.num) { color: var(--muted); font-size: 14.5px; }
.how span b { color: var(--text); }
.num { width: 36px; height: 36px; flex-shrink: 0; border-radius: 999px; display: grid; place-items: center; font-weight: 800; background: var(--surface); color: var(--muted); border: 2px solid var(--border-2); }
.num-ok { background: var(--ok-text); color: #FFFFFF; border-color: var(--ok-text); }
.num-warn { background: var(--warn-bg); color: var(--warn-text); border-color: #E2A54A; }
.nosite { max-width: 1000px; margin: 16px auto 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; background: var(--accent-soft); border-radius: 16px; padding: 18px 22px; }
.nosite div { flex: 1 1 360px; display: flex; flex-direction: column; }
.nosite b { color: var(--accent-deep); }
.nosite span { color: #3F3797; font-size: 14.5px; font-weight: 600; }

/* Trust, hardware */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.hardware { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hardware > div:last-child { flex: 1 1 520px; }
.ipad { flex: 0 1 340px; margin: 0 auto; background: var(--ink); border-radius: 30px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(20, 20, 26, 0.5); }
.ipad img { border-radius: 22px; }

/* FAQ */
.faq { max-width: 860px; padding-top: 88px; }
.faq h2 { margin-bottom: 24px; }
.faq-list { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-list details { padding: 0 20px; }
.faq-list details + details { border-top: 1px solid var(--border); }
.faq-list summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { color: var(--muted); padding-bottom: 20px; }
.plus { font-size: 22px; color: var(--muted); transition: transform 0.2s; }
details[open] .plus { transform: rotate(45deg); }

/* Footer */
.foot-site { background: var(--ink); color: var(--ink-text); font-size: 14.5px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 24px; }
.foot-brand { flex: 1 1 280px; }
.foot-brand img { height: 38px; width: auto; }
.foot-brand p { color: var(--ink-muted); margin-top: 16px; max-width: 320px; }
.foot-site a { color: var(--ink-muted); text-decoration: none; }
.foot-site a:hover { color: #FFFFFF; }
.foot-brand a { color: #FFFFFF; text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; }
.foot-links b { color: #FFFFFF; }
.foot-legal { border-top: 1px solid var(--ink-line); padding-top: 20px; padding-bottom: 32px; color: var(--ink-muted); font-size: 13px; }

/* Not found */
.lost { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.lost-card { max-width: 460px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.lost-card img { height: 34px; width: auto; }
.lost-card h1 { font-size: 26px; font-weight: 800; }
.lost-card p { color: var(--muted); }

/* Waitlist form (hero) */
.join-card { max-width: 860px; margin: 0 auto; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(20px, 3vw, 28px); box-shadow: 0 30px 70px -45px rgba(30, 24, 90, 0.4); }
.join-title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.join-sub { color: var(--muted); margin-top: 4px; }
.join-fields { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 12px; align-items: end; margin-top: 18px; }
.join-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.join-field label { font-size: 13.5px; font-weight: 700; }
.join-field label span { color: var(--muted); font-weight: 600; }
.join-field input, .join-field select { min-height: 52px; width: 100%; padding: 0 14px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); color: var(--text); font: 500 15px var(--font); }
.join-field input:focus, .join-field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.join-field input[aria-invalid="true"] { border-color: #A1261B; }
.btn-join { min-height: 52px; padding: 0 22px; font-size: 15.5px; font-weight: 800; border: 0; cursor: pointer; font-family: var(--font); }
.join-error { margin-top: 12px; background: #FBE4E1; color: #A1261B; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px; }
.join-fine { margin-top: 14px; color: var(--muted); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-done { display: flex; gap: 16px; align-items: center; }
.join-done p:last-child { color: var(--muted); margin-top: 2px; }
.join-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--ok-bg); color: var(--ok-text); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
@media (max-width: 900px) { .join-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .join-email { grid-column: 1 / -1; } .btn-join { grid-column: 1 / -1; } }
@media (max-width: 520px) { .join-fields { grid-template-columns: minmax(0, 1fr); } }
.lost-card form { margin: 0; }
.lost-card .btn { border: 0; cursor: pointer; font-family: var(--font); }
