/*
 * The Lammas header, phone menu, footer and button, for the pages that keep
 * their own stylesheet (order, login, the signed-in pages, blog, contact,
 * terms, privacy, instructions, unlock, k/<code>).
 *
 * public/lammas/lammas.css is the mockups' stylesheet and uses bare class
 * names (.btn, .wrap, .top) that the older stylesheets also use, so it cannot
 * be loaded beside them. This file carries ONLY the header, menu, footer and
 * button rules, copied value for value from lammas.css in the same order, with
 * one wrapper class in front (.lm-chrome, standing where the mockups have .sc).
 * It is the About page's header: logo, one row of links, Buy a kit.
 *
 * Do not restyle here. tests/redesign/site-chrome.test.tsx holds every
 * declaration above the RESETS mark equal to lammas.css.
 */
.lm-chrome { font-family: "Figtree", -apple-system, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.55; color: #21241d; }
.lm-chrome *, .lm-chrome *::before, .lm-chrome *::after { box-sizing: border-box; }
.lm-chrome :focus-visible { outline: 3px solid #67991f; outline-offset: 3px; border-radius: 8px; }
:where(.lm-chrome) a { color: inherit; }
.lm-chrome .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Buttons */
.lm-chrome .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid #1e3a18; background: #1e3a18; color: #fff; font: 700 17px/1.1 "Figtree", Arial, sans-serif; text-decoration: none; cursor: pointer; flex-shrink: 0; text-align: center; }
.lm-chrome .btn:hover { background: #335f29; border-color: #335f29; }
.lm-chrome .btn.small { min-height: 44px; padding: 0 18px; font-size: 16px; }
.lm-chrome .btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.lm-chrome .top { background: #fdfbf6; }
.lm-chrome .top .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.lm-chrome .top img { height: 44px; width: auto; display: block; }
.lm-chrome .top nav { display: none; gap: 2px; margin-left: auto; }
.lm-chrome .top nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 999px; }
.lm-chrome .top nav a:hover { background: #eef4e1; }
.lm-chrome .top .btn { margin-left: auto; }
.lm-chrome .menu-btn { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 2px solid #1e3a18; border-radius: 999px; background: transparent; color: #1e3a18; cursor: pointer; }
.lm-chrome .menu-btn svg { width: 22px; height: 22px; }
.lm-chrome .menu { display: grid; padding: 0 20px 12px; }
.lm-chrome .menu a { display: flex; align-items: center; min-height: 48px; font-weight: 700; text-decoration: none; border-top: 1px solid #e8e2d3; }

/* Footer */
.lm-chrome .foot { background: #142a10; color: #d6e6ba; font-size: 16px; }
.lm-chrome .foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding-top: 20px; padding-bottom: 24px; }
.lm-chrome .foot img { height: 32px; width: auto; }
.lm-chrome .foot a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: #d6e6ba; }

@media (min-width: 900px) {
  .lm-chrome .wrap { padding-left: 40px; padding-right: 40px; }
  .lm-chrome .top nav { display: flex; }
  .lm-chrome .top .btn { margin-left: 8px; }
  .lm-chrome .menu-btn, .lm-chrome .menu { display: none; }
}

/* Masthead */
.lm-chrome .top .wrap { padding-top: 16px; padding-bottom: 8px; }
.lm-chrome .top img { height: auto; width: calc(100% - 56px); max-width: 420px; }
@media (max-width: 899px) {
  .lm-chrome .top .btn { display: none; }
  .lm-chrome .menu-btn { margin-left: auto; }
}
@media (min-width: 900px) {
  .lm-chrome .top .wrap { align-items: flex-end; padding-top: 28px; padding-bottom: 4px; }
  .lm-chrome .top img { flex: none; width: calc((100% - 56px) * .54); max-width: none; }
  .lm-chrome .top nav { flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
  .lm-chrome .top nav a { padding: 0 8px; font-size: 15.5px; }
  .lm-chrome .top .btn { margin-left: 4px; }
}

.lm-chrome .logo-home { display: flex; align-items: center; min-height: 48px; }

/* About us in the top menu; a page marks its own link as the current page. */
.lm-chrome .top nav a[aria-current="page"] { background: #eef4e1; color: #1e3a18; }
.lm-chrome .menu a[aria-current="page"] { color: #4f8a14; }

/* About header: the logo link is only as wide as the logo, so the menu fits on one row at laptop widths. */
@media (min-width: 900px) {
  .lm-chrome .top .logo-home { flex: none; }
  .lm-chrome .top .logo-home img { width: 132px; height: auto; max-width: none; }
}

/* ==== RESETS ====
 * Not from the mockups. The older stylesheets a page may load beside this one
 * (/design/site.css and the signed-in shell's) set a few things on bare .btn
 * and svg that the mockup stylesheet never sets. These put the browser's own
 * values back, so the header and footer measure the same on every page as on
 * the About page (checked property by property in a browser).
 *
 * The footer's links: the mockup stylesheet sets no text-decoration on them,
 * so in the mockups they carry the browser's own underline (see
 * design/lammas-redesign-2026-11/screenshots/about-1280.png). The older
 * stylesheets take the underline off every link, so it is put back here.
 */
.lm-chrome .btn { transition: all 0s; white-space: normal; }
.lm-chrome .btn:active { transform: none; }
.lm-chrome svg { max-width: none; }
.lm-chrome .foot a { text-decoration: underline; }
