/* Canadian Roots Found: homepage mock, 2026-09-18.
   Old newspaper and records register look. Tokens follow the direction he locked on 2026-09-15
   (newsprint, ink, flag red). Light only on purpose: the page imitates print. Square corners everywhere. */

@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/OldStandardTT-Bold-latin.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/Newsreader-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("../fonts/Newsreader-italic-latin.woff2") format("woff2"); }

:root {
  --paper: #F2EBDD;        /* newsprint page */
  --paper-edge: #E5DAC4;   /* aged edge: panels, rules */
  --sheet: #FFFDF8;        /* paper laid on the page: register, lead card */
  --ink: #14213D;          /* all body text */
  --ink-soft: #3E4862;     /* captions, notes */
  --red: #C0272D;          /* headings accents, links, the leaf */
  --rule: #14213D;
  --display: "Old Standard TT", Georgia, "Times New Roman", serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 72rem;
  --gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;            /* 18px on phones, 19px from 768 up */
  line-height: 1.55;
  font-optical-sizing: auto;
}
/* faint paper grain, fixed and inert so it never repaints on scroll */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .28  0 0 0 0 .18  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 5; }
.skip:focus { left: 1rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: var(--paper);
  font-family: var(--text); font-weight: 600; font-size: 1.05rem; line-height: 1;
  padding: .95rem 1.35rem; min-height: 48px; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--ink); transition: background-color .2s ease, color .2s ease, transform .1s ease;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1.15rem; padding: 1.1rem 1.6rem; }
.text-link { font-weight: 600; font-size: 1.05rem; display: inline-block; padding: .65rem 0; min-height: 44px; }
.pending { display: inline-block; font: italic 500 .95rem/1.2 var(--text); color: var(--red);
  border: 1px dashed var(--red); padding: .15rem .45rem; }
.pending-dark { color: #F6C9CB; border-color: #F6C9CB; }

/* ---------- masthead ---------- */
.masthead { position: relative; z-index: 2; padding-top: .75rem; }
.dateline { display: none; }
.nameplate { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem 0 .75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; height: 64px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.05;
  text-transform: uppercase; letter-spacing: .04em; max-width: 9em; }
.menu-toggle { font: 600 1rem/1 var(--text); color: var(--ink); background: transparent;
  border: 2px solid var(--ink); padding: .75rem 1rem; min-height: 48px; cursor: pointer; }
.primary-nav { display: none; border-top: 3px double var(--rule); border-bottom: 1px solid var(--rule); padding: .5rem 0 1rem; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0 0 .75rem; padding: 0; }
.primary-nav li a { display: block; padding: .8rem 0; font-size: 1.15rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--paper-edge); }
.primary-nav li a:hover { color: var(--red); }

/* ---------- section heads: title set between rules, like a newspaper department ---------- */
.section-head { display: flex; align-items: center; gap: 1rem; font-size: 1.6rem; text-align: center; margin: 0 0 1rem; }
.section-head::before, .section-head::after { content: ""; flex: 1; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); height: 4px; }
.section-head span { flex: 0 1 auto; }
.section-intro { max-width: 40rem; margin: 0 auto 1.5rem; text-align: center; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 2; padding-top: 1.25rem; padding-bottom: 2.5rem; }
.hero h1 { font-size: clamp(2rem, 7.4vw, 3.35rem); letter-spacing: -.005em; margin-bottom: 1.25rem; max-width: 22ch; }
.hero-grid { display: grid; gap: 1.25rem; }
.keep { white-space: nowrap; }
.plate { margin: 0; background: var(--sheet); padding: .6rem .6rem .75rem; border: 1px solid var(--ink);
  box-shadow: 0 1px 0 var(--paper-edge), 0 10px 24px -14px rgba(20,33,61,.35); }
.plate img { width: 100%; }
figcaption { font-style: italic; font-size: .95rem; line-height: 1.4; color: var(--ink-soft); margin-top: .6rem; }
.lead { font-size: 1.25rem; line-height: 1.5; margin: 0 0 1.25rem; }
.hero-copy .btn { margin-right: 1rem; margin-bottom: .5rem; }
.hero-copy { order: -1; }   /* phones: line and button before the tall portrait */

/* ---------- ledger: an 1800s register page ---------- */
.ledger { position: relative; z-index: 2; padding-top: 2.5rem; padding-bottom: 3rem; }
.register { background: var(--sheet); border: 1px solid var(--ink); padding: .25rem 1rem;
  box-shadow: 0 10px 24px -16px rgba(20,33,61,.35); }
.register table { width: 100%; border-collapse: collapse; }
.register thead { display: none; }
.register tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--paper-edge); }
.register tr:last-child { border-bottom: 0; }
.register th[scope=row] { display: block; text-align: left; font-family: var(--display); font-size: 1.15rem; margin-bottom: .25rem; }
.register td { display: block; }
.register .gen-zero th { color: var(--red); }
.note { font-style: italic; color: var(--ink-soft); font-size: 1rem; margin: 1rem 0 0; text-align: center; }

/* ---------- offers: lead notice plus two smaller notices ---------- */
.offers-section { position: relative; z-index: 2; padding-top: 1rem; padding-bottom: 3rem; }
.offers { display: grid; gap: 1.25rem; }
.offer { background: var(--paper-edge); border-top: 3px double var(--rule); padding: 1.25rem; }
.offer h3 { font-size: 1.45rem; }
.offer .price { font-family: var(--display); font-size: 1.35rem; color: var(--red); margin: .35rem 0 .75rem; }
.offer p { margin: 0 0 1rem; }
.offer-lead { background: var(--sheet); border: 1px solid var(--ink); border-top: 3px double var(--rule); }
.offer-lead h3 { font-size: 1.8rem; }
.offer-lead .includes { margin: 0 0 1.5rem; padding: 0; list-style: none; border-top: 1px solid var(--paper-edge); }
.offer-lead .includes li { padding: .6rem 0 .6rem 1.6rem; border-bottom: 1px solid var(--paper-edge); position: relative; }
.offer-lead .includes li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.includes-label { font-weight: 600; margin-bottom: .5rem !important; }

/* ---------- how it works ---------- */
.how { position: relative; z-index: 2; display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 3rem;
  border-top: 1px solid var(--rule); }
.how h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3.25rem; margin-bottom: 1.5rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.35rem; font-family: var(--display);
  font-size: 2.4rem; line-height: 1; color: var(--red); }
.steps h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.steps p { margin: 0; }
.photo { margin: 0; background: var(--sheet); padding: .6rem .6rem .75rem; border: 1px solid var(--ink); max-width: 30rem; }

/* ---------- questions ---------- */
.faq { position: relative; z-index: 2; padding-top: 1rem; padding-bottom: 3rem; }
.faq-list { max-width: 46rem; margin: 0 auto 1rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--display); font-size: 1.2rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.6rem; color: var(--red); font-family: var(--text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.25rem; max-width: 40rem; }
.faq .text-link { display: block; max-width: 46rem; margin: 0 auto; }

/* ---------- closer ---------- */
.closer { position: relative; z-index: 2; display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 3.5rem;
  border-top: 3px double var(--rule); }
.closer h2 { font-size: clamp(1.75rem, 5vw, 2.4rem); margin-bottom: .75rem; }
.closer p { max-width: 34rem; margin: 0 0 1.5rem; }
.closer-plate { margin: 0; }
.plate-portrait { max-width: 30rem; }

/* ---------- footer (ink, the end of the paper) ---------- */
.site-footer { position: relative; z-index: 2; background: var(--ink); color: #E9E4D8; padding: 2.5rem 0 3rem; font-size: 1rem; }
.site-footer a { color: #FFFDF8; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand img { width: 88px; height: 88px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
.footer-links a { display: inline-block; padding: .6rem 0; min-height: 44px; }
.footer-note p { margin: 0 0 .75rem; }

/* ================= tablet and up ================= */
@media (min-width: 768px) {
  body { font-size: 1.1875rem; }
  :root { --gutter: 2rem; }
  .dateline { display: flex; justify-content: space-between; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em;
    border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: .35rem 0; }
  .nameplate { justify-content: center; padding: 1rem 0 .9rem; }
  .brand { gap: 1.25rem; }
  .brand img { width: 96px; height: 96px; }
  .brand-name { font-size: clamp(2.2rem, 5.2vw, 3.6rem); max-width: none; letter-spacing: .035em; }
  .menu-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
  .primary-nav ul { display: flex; flex-wrap: nowrap; gap: 1.4rem; margin: 0; }
  .primary-nav li a { border: 0; padding: .4rem 0; font-size: 1.05rem; white-space: nowrap; }
  .primary-nav .btn { padding: .75rem 1.1rem; min-height: 0; font-size: 1rem; }
  .section-head { font-size: 2rem; }
  .register { padding: .25rem 1.75rem; }
  .register thead { display: table-header-group; }
  .register tr { display: table-row; padding: 0; }
  .register thead th { text-align: left; font: 600 .8rem/1 var(--text); text-transform: uppercase; letter-spacing: .12em;
    color: var(--ink-soft); padding: 1rem 0 .6rem; border-bottom: 2px solid var(--ink); }
  .register th[scope=row], .register td { display: table-cell; padding: 1rem 0; border-bottom: 1px solid var(--paper-edge); vertical-align: top; }
  .register th[scope=row] { width: 34%; padding-right: 1.5rem; margin: 0; }
  .register tr:last-child th, .register tr:last-child td { border-bottom: 0; }
  .offers { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
  .offer-lead { grid-row: span 2; padding: 2rem; }
  .offer-lead h3 { font-size: 2.1rem; }
  .how { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 3rem; }
  .how .photo { justify-self: end; }
  .footer-grid { grid-template-columns: auto 1fr 1.4fr; gap: 2.5rem; align-items: start; }
}

/* ================= desktop ================= */
@media (min-width: 1024px) {
  .hero { padding-top: 1.75rem; }
  .hero h1 { max-width: none; font-size: clamp(2.6rem, 3.6vw, 3.35rem); }
  .hero-grid { grid-template-columns: minmax(0, 26rem) 1fr; gap: 3rem; align-items: start; }
  .hero-copy { align-self: center; order: 0; }
  .hero-copy .lead { max-width: 30rem; font-size: 1.5rem; }
  .closer { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 3rem; }
  .hero-copy { padding-top: .5rem; border-left: 1px solid var(--rule); padding-left: 2.5rem; }
  .lead { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
