/* The site's shared chrome (design_handoff_launch_plan, Release 1 PR 1): the nav, the phone Menu (T1), the small
   callsign band and the footer, drawn from A Home Desktop and L1. Every marketing page wears these (the _lm.html
   macros; the old _nav.html and _footer.html hand off to them), so this file stands on its own: base.html loads it on
   every page outside the app, whatever else the page loads. Real tokens from cloudbase.css; dark comes from there. */
.hm3-in { max-width: 1120px; margin: 0 auto; padding-left: 34px; padding-right: 34px; box-sizing: border-box; }
.hm3-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-quiet); }
.hm3-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 11px 20px; border-radius: 3px; border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; min-height: 44px; box-sizing: border-box; }
.hm3-btn:hover { color: #fff; border-color: var(--ink); }

/* nav */
.hm3-head { background: var(--surface); border-bottom: 1px solid var(--line); font-family: var(--prose); }
.hm3-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.hm3-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
/* the cloud mark, as the app draws it (.smark in app.css), at 26px: a wide base and a smaller puff above (Aaron, 11-09) */
.hm3-mark { width: 26px; height: 26px; border-radius: 5px; background: var(--accent); display: inline-block; position: relative; flex: none; overflow: hidden; }
.hm3-mark i { position: absolute; background: #fff; border-radius: 3px; display: block; width: 18px; height: 8px; left: 4px; top: 13px; }
.hm3-mark i + i { width: 11px; height: 7px; left: 9px; top: 8px; }
.hm3-word { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.hm3-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.hm3-navlink { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-body); text-decoration: none; padding: 12px 0; }
.hm3-navlink:hover { color: var(--accent); }
.lm-navbtn { margin-left: 4px; }
.lm-here { color: var(--ink); border-bottom: 2px solid var(--accent); }
.lm-under { border-bottom: 2px solid var(--line-strong); }

/* the phone Menu (T1): the logo and Menu; the menu holds the nav's links and the callsign button */
.hm3-menu { display: none; margin-left: auto; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink-quiet); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.hm3-menu:hover, .hm3-menu[aria-expanded="true"] { color: var(--ink); border-color: var(--line-strong); }
.hm3-mnav { border-top: 1px solid var(--line-quiet); padding-top: 4px; padding-bottom: 18px; }
.hm3-mnav[hidden] { display: none; }
.hm3-mrow { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-quiet); }
.hm3-mrow i { font-style: normal; font-family: var(--mono); color: var(--ink-faint); }
.hm3-mrow[aria-current="page"] { color: var(--accent); }
.hm3-mnav .hm3-btn { display: flex; justify-content: center; width: 100%; min-height: 48px; margin-top: 16px; }

/* the small callsign band */
.lm-cs { background: var(--strip-ground, #101828); color: #d8e0ee; font-family: var(--prose); }
.lm-cs-in { padding-top: 44px; padding-bottom: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.lm-cs-k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #f5a623; }
.lm-cs h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; color: #f4f6fb; margin: 10px 0 6px; }
.lm-cs p { font-size: 16px; line-height: 1.65; margin: 0; }
.lm-cs-btn { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 0 22px; min-height: 48px; border-radius: 3px; background: #2f9bff; color: #0d1117; text-decoration: none; white-space: nowrap; }
.lm-cs-btn:hover { background: #8fb0ff; color: #0d1117; }

/* footer */
.hm3-foot { background: var(--navy, #11203b); color: #c7d5f5; font-family: var(--prose); }
.hm3-foot-top { padding-top: 40px; padding-bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hm3-foot-top b { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; color: #fff; }
.hm3-foot-top p { font-size: 14px; line-height: 1.6; margin: 6px 0 0; color: #8fb0ff; }
.hm3-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.hm3-foot a { color: #c7d5f5; text-decoration: none; font-family: var(--prose); font-size: 15px; }
.hm3-foot a:hover { color: #fff; }
.hm3-foot-made { padding-top: 14px; padding-bottom: 26px; border-top: 1px solid #243444; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8b9ab3; }
.hm3-foot-made a { font-family: var(--fig); font-size: 11px; letter-spacing: 0; text-transform: none; }

/* the old pages' phone layer (mobile-site.css) pads every header and footer; the chrome keeps its own gutter */
.hm3-head, .hm3-foot, .lm-cs { padding-left: 0; padding-right: 0; }

@media (max-width: 860px) {
  .hm3-in { padding-left: 16px; padding-right: 16px; }
  .hm3-nav { padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .hm3-word { font-size: 18px; }
  .hm3-links { display: none; }
  .hm3-menu { display: inline-flex; }
  .hm3-foot-top { padding-top: 30px; padding-bottom: 18px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hm3-foot-links { gap: 0 18px; }
  .hm3-foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .hm3-foot-made { padding-top: 4px; padding-bottom: 14px; }
  .hm3-foot-made a { display: inline-flex; align-items: center; min-height: 44px; }
  .lm-cs-in { grid-template-columns: 1fr; gap: 12px; padding-top: 26px; padding-bottom: 26px; }
  .lm-cs h2 { font-size: 24px; margin-top: 8px; }
  .lm-cs-btn { justify-content: center; width: 100%; box-sizing: border-box; }
}
