/* moosou.ca: the same ink-on-cream as the app, the same two typefaces (both SIL Open Font License, see /fonts) */
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url(fonts/bricolage-grotesque-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #141414;
  --ink-soft: #4A4A4A;
  --paper: #FFFFFF;
  --cream: #F3ECDF;
  --line: #E6DED0;
  --rust: #8A3B22;
  --on-ink: #F3ECDF;
  --on-ink-soft: #B9B2A6;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }   /* the cream disc behind the hero phone may reach past the edge */
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-lead { margin-top: 16px; max-width: 34em; color: var(--ink-soft); font-size: 20px; }

/* the moose tile, as in the app */
.moose { flex: none; }
.moose rect { fill: var(--cream); }
.moose path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.moose circle { fill: var(--ink); }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 700 18px/1 var(--body); text-decoration: none; border: 2px solid var(--ink); }
.btn:hover { background: #2B2B2B; border-color: #2B2B2B; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--cream); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 16px; }

/* header */
.top { max-width: 1160px; margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand span { font: 700 26px/1 var(--display); letter-spacing: -0.02em; }
.langs { display: flex; gap: 4px; }
.langs a { padding: 8px 8px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.langs a[aria-current] { color: var(--ink); font-weight: 700; }
.langs a:hover { background: var(--cream); }

/* phones: the screenshots in a slim black frame */
.phone { border: 7px solid var(--ink); border-radius: 38px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 50px -24px rgba(20, 20, 20, .45); }
.phone img { width: 100%; }

/* hero */
.hero { max-width: 1160px; margin: 0 auto; padding: clamp(24px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 104px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -0.035em; max-width: 9.5em; }
.lead { margin-top: 24px; font-size: clamp(19px, 2vw, 22px); color: var(--ink-soft); max-width: 31em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
.hero-shot { position: relative; justify-self: center; width: min(320px, 78vw); }
.hero-shot::before { content: ''; position: absolute; inset: 8% -22% -6% -22%; background: var(--cream); border-radius: 50%; z-index: -1; }

/* voice: the app's recorder, black with the cream timer */
.voice { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 9vw, 120px) 0; }
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.voice p { margin-top: 18px; font-size: 20px; color: var(--on-ink-soft); max-width: 28em; }
.timer { width: 150px; height: 150px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; margin: 26px 0 44px 26px;
  box-shadow: 0 0 0 16px #2A2A2A; animation: pulse 2.4s ease-in-out infinite; }
.timer span { font: 700 46px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes pulse { 50% { box-shadow: 0 0 0 26px #242424; } }
@media (prefers-reduced-motion: reduce) { .timer { animation: none; } }
.voice blockquote { margin: 28px 0 0; font: 600 clamp(24px, 2.8vw, 32px)/1.25 var(--display); letter-spacing: -0.01em; color: var(--on-ink); max-width: 18em; }
.voice ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 30em; }
.voice li { padding-left: 28px; position: relative; color: var(--on-ink-soft); }
.voice li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pair .phone { border-color: #3A3A3A; }
.pair .phone + .phone { margin-top: 64px; }

/* photo */
.photo { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.photo-text p { margin-top: 18px; font-size: 20px; color: var(--ink-soft); max-width: 28em; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4%; align-items: center; }
.receipt { transform: translateX(2%); position: relative; z-index: 0; }
.photo-pair .phone { position: relative; z-index: 1; }

/* statistics */
.stats { background: var(--cream); padding: clamp(64px, 9vw, 120px) 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: 48px; max-width: 980px; }
.trio figure { margin: 0; }
.trio .phone { box-shadow: 0 24px 50px -28px rgba(20, 20, 20, .35); }
.trio figcaption { margin-top: 16px; font-weight: 700; font-size: 17px; max-width: 18em; }

/* fair */
.fair { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.fair dl { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(32px, 5vw, 72px); }
.fair dl div { border-top: 2px solid var(--ink); padding-top: 16px; }
.fair dt { font: 700 22px/1.2 var(--display); letter-spacing: -0.01em; }
.fair dd { margin: 8px 0 0; color: var(--ink-soft); max-width: 30em; }

/* price */
.price { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 9vw, 120px); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; max-width: 860px; }
.plan { border: 2px solid var(--line); border-radius: 28px; padding: 32px; }
.plan.plus { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.amount { margin-top: 18px; font: 700 52px/1 var(--display); letter-spacing: -0.03em; }
.amount span { font: 400 18px/1 var(--body); letter-spacing: 0; }
.per { margin-top: 8px; color: var(--ink-soft); }
.plus .per { color: var(--on-ink-soft); }
.plan ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { padding-left: 30px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
.price-note { margin: 24px 0 28px; color: var(--ink-soft); font-size: 16px; max-width: 40em; }

/* install */
.install { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 44px; }
.ways h3 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.ways ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.ways li { counter-increment: s; position: relative; padding-left: 44px; min-height: 30px; }
.ways li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; font: 700 16px/1 var(--display); }
.ways p { margin-top: 18px; }
.ways svg { width: 20px; height: 20px; vertical-align: -4px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ways svg circle { fill: currentColor; stroke: none; }

/* questions */
.faq { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 9vw, 120px); }
.faq .qs { max-width: 860px; border-top: 2px solid var(--ink); }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 21px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 28px; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 40em; }

/* footer */
.foot { background: var(--cream); padding: 40px 0; font-size: 16px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.made { display: flex; align-items: center; gap: 10px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot .langs a:hover { background: var(--paper); }

/* tablet and phone */
@media (max-width: 900px) {
  .hero, .voice-grid, .photo { grid-template-columns: 1fr; }
  .hero-shot { margin-top: 8px; }
  .pair { max-width: 520px; }
  .photo-pair { max-width: 560px; }
  .trio { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72vw); overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px var(--gutter) 24px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); scroll-padding: 0 var(--gutter); }
  .trio figure { scroll-snap-align: start; }
  .ways { grid-template-columns: 1fr; }
  .fair dl, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .top { gap: 8px; }
  .brand span { font-size: 22px; }
  .brand .moose { width: 34px; height: 34px; }
  .langs a { padding: 8px 5px; font-size: 14px; }
  .top .btn.small { padding: 0 14px; font-size: 15px; }
  .ctas .btn { width: 100%; }
  .plan { padding: 26px 22px; }
  .pair { gap: 12px; }
  .pair .phone, .photo-pair .phone { border-width: 5px; border-radius: 28px; }
  .timer { width: 120px; height: 120px; }
  .timer span { font-size: 38px; }
}
@media (max-width: 380px) { .top .btn.small { display: none; } }

/* no bank connection: one plain statement between the photo and the statistics */
.nobank { padding-top: 0; padding-bottom: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 88px); align-items: start; }
.nobank h2 { border-top: 2px solid var(--ink); padding-top: 20px; font-size: clamp(30px, 4vw, 44px); }
.nobank p { border-top: 2px solid var(--ink); padding-top: 24px; font-size: 20px; color: var(--ink-soft); max-width: 32em; }
@media (max-width: 900px) { .nobank { grid-template-columns: 1fr; } .nobank p { border-top: 0; padding-top: 0; } }
.foot .moose rect { fill: var(--paper); }   /* the tile shows on the cream footer */
/* the story */
.story { padding-bottom: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 88px); align-items: start; }
.story h2 { border-top: 2px solid var(--ink); padding-top: 20px; font-size: clamp(30px, 4vw, 44px); }
.story > div { border-top: 2px solid var(--ink); padding-top: 24px; max-width: 34em; }
.story p { font-size: 19px; color: var(--ink-soft); margin: 0 0 16px; }
.story .sig { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; margin-top: 24px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story > div { border-top: 0; padding-top: 0; } }
.climate { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 16px; max-width: 40em; margin: -12px 0 28px; }
.climate .leaf { flex: none; color: #3f7d4f; margin-top: 1px; }
.climate a, .climate-s a { color: inherit; }
/* CAD / EUR */
.pr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 860px; }
.cur-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--line); }
.cur-switch button { border: 0; background: transparent; border-radius: 999px; min-height: 36px; padding: 0 16px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.cur-switch button[aria-pressed="true"] { background: var(--paper, #fff); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .14); }
[hidden] { display: none !important; }
