/* Shared frame for the stand-alone tool pages on lihsintu.com (tools/<name>/index.html).
   Same navy header, paper-white page and black footer as the main site pages.
   Each tool keeps its own styles inside its page; this file is only the frame. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #eceae5; color: #2b2a24; font-family: 'IBM Plex Sans', system-ui, sans-serif; }
.lt-page { max-width: 1180px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: #ffffff; box-shadow: 0 10px 40px rgba(0,0,0,.09); }

/* header: same as the site nav */
.lt-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 55px 20px 48px; background: #0e1a38; color: #f0eee6; }
.lt-nav a { color: inherit; text-decoration: none; }
.lt-nav a:hover { opacity: .72; }
.lt-brand { display: flex; align-items: baseline; gap: 11px; }
.lt-brand .name, .lt-brand .tag { white-space: nowrap; }
.lt-brand .name { font-family: 'Newsreader', serif; font-size: 23px; font-weight: 700; color: #ffffff; }
.lt-brand .tag { font-size: 16px; font-weight: 700; color: rgba(240,238,230,.62); }
.lt-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; font-size: 18px; font-weight: 600; }
.lt-links a { color: rgba(240,238,230,.85); }
.lt-links a.on { color: #ffffff; border-bottom: 2px solid #f2d492; padding-bottom: 2px; }

/* title band */
.lt-head { padding: 34px 88px 8px; }
.lt-back { display: inline-block; font-size: 16px; font-weight: 600; color: #053883; text-decoration: none; border-bottom: 1px solid rgba(5,56,131,.3); }
.lt-back:hover { border-color: #053883; }
.lt-title { font-family: 'Caveat', cursive; font-weight: 700; font-size: 58px; line-height: 1.05; color: #053883; margin: 18px 0 4px; }
.lt-sub { font-size: 19px; line-height: 1.6; color: rgba(43,42,36,.68); margin: 0; max-width: 720px; }

/* the tool itself */
.lt-tool { flex: 1; padding: 26px 88px 80px; }
.lt-tool-inner { max-width: 640px; margin: 0 auto; }

/* footer: same as the site footer */
.lt-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px 88px; background: #000000; color: #f4f4f3; }
.lt-foot a { color: #f4f4f3; text-decoration: none; }
.lt-foot a:hover { opacity: .72; }
.lt-foot .name { font-family: 'Newsreader', serif; font-size: 20px; font-weight: 700; }
.lt-foot .tag { font-size: 13px; color: #b5b5b3; letter-spacing: .4px; margin-left: 12px; }
.lt-foot .links { display: flex; gap: 14px; font-size: 20px; font-weight: 600; }

@media (max-width: 980px) {
  .lt-nav { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 32px 18px; }
  .lt-head, .lt-tool, .lt-foot { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 600px) {
  .lt-nav { padding: 18px 20px 16px; }
  .lt-links { font-size: 16px; gap: 6px 18px; }
  .lt-head, .lt-tool, .lt-foot { padding-left: 20px; padding-right: 20px; }
  .lt-title { font-size: 46px; }
  .lt-sub { font-size: 17px; }
  .lt-tool { padding-top: 18px; padding-bottom: 56px; }
}
