/* canuckplan.ca coming-soon page. Values from ComingSoon-design-reference.html. */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/space-grotesk-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }

:root {
  --ink: #14202B;
  --ink-2: #3A4652;
  --muted: #5A6672;
  --red: #C8102E;
  --red-hover: #9E0B23;
  --redprint: #8E1024;
  --paper: #FBF9F6;
  --line: #DDDAD2;
  --field: #B9B5AB;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
a { color: var(--red); }
a:hover { color: var(--red-hover); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(200, 16, 46, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow-x: hidden;
}

.wrap { max-width: 1200px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Confirmed banner (/?confirmed=1) */
.banner { background: var(--ink); color: #FFFFFF; font-size: 15px; line-height: 1.5; }
.banner .wrap { padding-top: 12px; padding-bottom: 12px; }

/* Header */
.site-header { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--display); font-size: 23px; font-weight: 700; }
.brand-ca { color: var(--red); }
.brand-plan { font-weight: 400; }
.btn-outline {
  color: var(--ink); text-decoration: none; padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 8px;
  min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; background: #FFFFFF;
}
.btn-outline:hover { color: var(--ink); background: #F6F5F1; }

/* Hero */
.hero { flex: 1; padding-top: 48px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.badge {
  align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: #FFFFFF;
  background: var(--red); padding: 6px 10px; border-radius: 4px;
}
h1 { margin: 0; font-family: var(--display); font-size: clamp(36px, 5vw, 58px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); }

/* Signup card */
.card {
  background: #FFFFFF; border: 1.5px solid var(--ink); border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 28px rgba(20, 32, 43, 0.06);
}
.signup-form { display: flex; flex-direction: column; gap: 14px; }
.card-title { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.3; }
.fields { display: flex; flex-wrap: wrap; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-email { flex: 1 1 240px; }
.field-prov { flex: 0 1 180px; }
.field label { font-size: 13px; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select {
  min-height: 46px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--field);
  font-size: 16px; font-family: var(--body); color: var(--ink); background: #FFFFFF; width: 100%;
}
.field select { padding: 0 10px; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent input { margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--red); }
.btn-primary {
  min-height: 48px; border-radius: 8px; border: none; background: var(--red); color: #FFFFFF;
  font-family: var(--body); font-weight: 600; font-size: 16px; cursor: pointer;
}
.btn-primary:hover:not(:disabled) { background: var(--red-hover); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.small { font-size: 13px; color: var(--muted); }
.form-error { margin: 0; font-size: 14px; line-height: 1.45; color: var(--red-hover); font-weight: 600; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.signup-done { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.done-title { font-family: var(--display); font-size: 22px; font-weight: 700; outline: none; }
.done-text { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.btn-plain {
  align-self: flex-start; min-height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: 8px;
  background: #FFFFFF; font-family: var(--body); font-size: 14px; color: var(--ink); cursor: pointer;
}
.btn-plain:hover { border-color: var(--ink); }

.platform { font-size: 14px; color: var(--muted); }

/* Illustration: sheet with note schedule */
.illus { flex: 1 1 460px; min-width: 0; position: relative; }
.sheet {
  aspect-ratio: 34 / 22; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 14px 36px rgba(20, 32, 43, 0.10); display: flex; padding: 14px; gap: 10px;
}
.sheet-draw {
  flex: 1; border: 1.5px solid var(--ink); position: relative;
  background-image: linear-gradient(#EEECE6 1px, transparent 1px), linear-gradient(90deg, #EEECE6 1px, transparent 1px);
  background-size: 16px 16px;
}
.d-room { position: absolute; left: 8%; top: 12%; width: 48%; height: 58%; border: 3px solid var(--ink); }
.d-wall-h { position: absolute; left: 8%; top: 40%; width: 30%; border-top: 2px solid var(--ink); }
.d-wall-v { position: absolute; left: 32%; top: 12%; height: 28%; border-left: 2px solid var(--ink); }
.d-tag {
  position: absolute; width: 20px; height: 20px; border-radius: 10px; border: 1.5px solid var(--red); color: var(--red);
  font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; background: #FFFFFF;
}
.d-tag-1 { left: 20%; top: 22%; }
.d-tag-2 { left: 44%; top: 52%; }
.d-notes {
  position: absolute; right: 5%; top: 10%; width: 34%; background: #FFFFFF; border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 8px; line-height: 1.35;
}
.d-notes-head { padding: 4px 5px; border-bottom: 1px solid var(--ink); }
.d-row { display: flex; border-bottom: 1px solid var(--ink); }
.d-row.d-last { border-bottom: none; }
.d-n { width: 14px; padding: 3px; border-right: 1px solid var(--ink); flex: 0 0 14px; }
.d-t { flex: 1; padding: 3px; }
.d-prj { color: var(--red); }
.sheet-tb {
  width: 21%; border: 1.5px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 7px;
}
.tb-lines { display: flex; flex-direction: column; gap: 5px; }
.tb-lines span { display: block; }
.tb-l1 { height: 6px; background: var(--ink); width: 80%; }
.tb-l2 { height: 4px; background: var(--field); width: 60%; }
.tb-l3 { height: 4px; background: var(--field); width: 70%; }
.tb-seal { border: 1px dashed var(--field); height: 22%; display: flex; align-items: center; justify-content: center; font-size: 8px; color: var(--muted); }
.tb-num { display: flex; flex-direction: column; gap: 3px; }
.tb-lib { font-family: var(--mono); font-size: 7px; color: var(--muted); }
.tb-sheet { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1; }
.illus-tag {
  position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted);
  background: #F6F5F1; border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px;
}

/* What's coming */
.coming { background: #FFFFFF; border-top: 1.5px solid var(--red); border-bottom: 1px solid var(--line); }
.coming-inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--red); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.col h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.25; }
.col p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Early look */
.early { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.early-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.early h2 { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.15; font-weight: 700; }
.early p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.btn-dark {
  color: #FFFFFF; background: var(--ink); text-decoration: none; padding: 16px 24px; border-radius: 8px; font-weight: 600;
  min-height: 44px; display: inline-flex; align-items: center;
}
.btn-dark:hover { color: #FFFFFF; background: #24323F; }

/* Footer */
.site-footer {
  background-color: var(--redprint);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #F5D6DB;
}
.footer-inner { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; line-height: 1.5; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-maker { color: #FFFFFF; font-weight: 600; }
.site-footer a { color: #F5D6DB; display: inline-flex; align-items: center; min-height: 24px; }
.site-footer a:hover { color: #FFFFFF; }
.footer-tm { color: #F5C9D0; }

/* Phone */
@media (max-width: 560px) {
  .hero { padding-top: 24px; padding-bottom: 48px; gap: 40px; }
  .hero-copy { flex-basis: 100%; }
  .illus { flex-basis: 100%; }
  .lede { font-size: 17px; }
  .card { padding: 20px; }
  .field-prov { flex: 1 1 100%; }
  .site-header .btn-outline { width: 100%; justify-content: center; }
  .early .btn-dark { width: 100%; justify-content: center; }
  .early-copy { flex-basis: 100%; }
  .early h2 { font-size: 26px; }
  .coming-inner { padding-top: 48px; padding-bottom: 48px; }
}

/* Plain pages: /privacy, unsubscribe, link-expired, 404 */
body.plain {
  margin: 0; font-family: var(--body); color: var(--ink); background-color: var(--paper);
  background-image:
    linear-gradient(rgba(200, 16, 46, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.plain-main { max-width: 720px; margin: 0 auto; padding: 40px 24px 64px; font-size: 16px; line-height: 1.6; }
.plain-main .brand { display: inline-block; font-family: var(--display); font-size: 23px; font-weight: 700; color: var(--ink); text-decoration: none; margin-bottom: 32px; }
.plain-main h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 16px; }
.plain-main h2 { font-family: var(--display); font-size: 20px; margin: 28px 0 8px; }
.plain-main p, .plain-main ul { margin: 0 0 14px; color: var(--ink-2); }
.plain-main li { margin-bottom: 6px; }
.plain-main .updated { color: var(--muted); font-size: 14px; }
