/* ==========================================================================
   18152721 Canada Inc. — site stylesheet
   Plain CSS. No build step. Shared by every page.
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-card: #ffffff;
  --surface-ink: #10121a;

  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-faint: #86868b;

  --border: #e3e3e6;
  --border-strong: #d2d2d7;

  --accent: #2f52c8;
  --accent-hover: #24409e;
  --accent-soft: #eef2fd;

  --green: #1a7f4b;
  --green-soft: #e7f5ee;
  --amber: #8a6100;
  --amber-soft: #fdf3df;

  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .07);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .05), 0 24px 60px rgba(0, 0, 0, .11);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101014;
    --bg-card: #16161a;
    --surface-ink: #16161a;

    --text: #f5f5f7;
    --text-muted: #a1a1a8;
    --text-faint: #8a8a91;

    --border: #2a2a30;
    --border-strong: #3a3a42;

    --accent: #7d97ee;
    --accent-hover: #a3b6f5;
    --accent-soft: #171d33;

    --green: #4cc38a;
    --green-soft: #12251c;
    --amber: #e0b054;
    --amber-soft: #2a2113;

    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 24px 60px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 .9em;
}

.lede { font-size: 1.2rem; color: var(--text-muted); line-height: 1.55; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 58px; flex-wrap: wrap;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 650; letter-spacing: -0.01em; font-size: .98rem;
}
.brand:hover { text-decoration: none; color: var(--text); opacity: .75; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .brand-sub { color: var(--text-faint); font-weight: 400; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: var(--text-muted);
  font-size: .92rem;
  padding: 6px 11px;
  border-radius: 999px;
}
.site-nav a:hover { color: var(--text); background: var(--bg-alt); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; background: var(--bg-alt); }

/* ---------- hero ---------- */

.hero { padding: 96px 0 72px; }
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 56ch; font-size: 1.32rem; }

/* ---------- buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: .96rem; font-weight: 550;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
@media (prefers-color-scheme: dark) {
  .btn-primary { color: #0a0c14; }
  .btn-primary:hover { color: #0a0c14; }
}

.btn-secondary { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-secondary:hover { background: var(--bg-alt); color: var(--text); }

.btn .ext { font-size: .8em; opacity: .7; }

/* ---------- product cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.product-card { color: inherit; }
a.product-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.product-card h3 { margin: 0; font-size: 1.35rem; }
.product-card p { color: var(--text-muted); font-size: .98rem; margin: 0; }

.product-icon {
  width: 62px; height: 62px; border-radius: 14px; flex: none;
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--bg-alt);
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-size: .74rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.pill-live { background: var(--green-soft); color: var(--green); }
.pill-soon { background: var(--amber-soft); color: var(--amber); }
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}

.card-banner {
  width: calc(100% + 52px);
  max-width: none;
  margin: -26px -26px 2px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.card-cta { margin-top: auto; font-weight: 550; color: var(--accent); font-size: .95rem; }
.card-cta::after { content: " \2192"; }

/* ---------- feature list ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px 34px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .35em; }
.feature p { color: var(--text-muted); font-size: .96rem; margin: 0; }

/* ---------- tiers ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 18px;
}
.tier {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 22px;
}
.tier .tier-name { font-weight: 650; font-size: 1.08rem; margin: 0 0 2px; }
.tier .tier-price { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 10px; }
.tier p { color: var(--text-muted); font-size: .93rem; margin: 0; }

/* ---------- screenshot gallery ---------- */

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 24px 22px;
  margin: 0 -24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots figure { margin: 0; scroll-snap-align: center; }
.shots img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}
.shots figcaption {
  margin-top: 10px;
  font-size: .87rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- coming soon / split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
}
@media (max-width: 760px) { .split img { aspect-ratio: 5 / 4; object-position: 50% 22%; } }

/* ---------- prose (privacy / support) ---------- */

.prose h2 { margin-top: 2em; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.05rem; }
.prose ul { padding-left: 1.25em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--text-faint); }

.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 0 0 32px;
  font-size: .97rem;
}
.callout p { margin-bottom: .6em; }

.meta { font-size: .88rem; color: var(--text-faint); }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.link-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 16px 18px;
  margin: 0;
}
.link-list .link-title { font-weight: 600; display: block; }
.link-list .link-note { color: var(--text-muted); font-size: .92rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  margin-top: 24px;
  font-size: .89rem;
  color: var(--text-muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .legal { max-width: 46ch; }

/* ---------- utilities ---------- */

.hr { border: 0; border-top: 1px solid var(--border); margin: 0; }
.stack-sm > * + * { margin-top: 10px; }
.mt-32 { margin-top: 32px; }
.mt-44 { margin-top: 44px; }

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