/* Navigation and actions for the public LeemaTech site. */
:root {
  --lt-ink: #20211e;
  --lt-paper: #faf9f5;
  --lt-line: #d9d7ce;
  --lt-accent: #ffd43b;
  --lt-control-radius: 8px;
}

body .lt-header {
  background: var(--lt-paper);
  color: var(--lt-ink);
  border-bottom: 1px solid var(--lt-line);
}
body .lt-header .lt-header-inner {
  width: min(1480px,calc(100% - 2 * clamp(20px,5vw,85px)));
  min-height: 72px;
}
.lt-header .lt-links { gap: clamp(20px,2.7vw,48px); }
body .lt-header .lt-links a {
  color: #41423b;
  font-weight: 690;
  font-size: 15px;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.lt-header .lt-links a::after {
  bottom: 5px;
  height: 2px;
  background: currentColor;
}
.lt-header .lt-contact::after { content: none; }

body :is(.lt-header .lt-contact.lt-action, main .lt-action.lt-action, .mobile-contact-rail .lt-action) {
  --action-ink: #fffdf5;
  --action-fill: var(--lt-ink);
  --action-line: var(--lt-ink);
  --action-hover-ink: #171812;
  --action-hover-fill: var(--lt-accent);
  --action-hover-line: var(--lt-accent);
  appearance: none;
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8em;
  min-height: 46px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 18px;
  background: var(--action-fill);
  color: var(--action-ink);
  border: 1px solid var(--action-line);
  border-radius: var(--lt-control-radius);
  font: 720 .95rem/1.25 var(--lt-type,"Segoe UI",sans-serif);
  letter-spacing: -.018em;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
body main .lt-action.lt-action.lt-action-light {
  --action-fill: #f9f7ee;
  --action-ink: #20211c;
  --action-line: #f9f7ee;
}
body main .lt-action.lt-action.lt-action-outline {
  --action-fill: transparent;
  --action-ink: #262721;
  --action-line: #a4a499;
  --action-hover-fill: #e9e7de;
  --action-hover-line: #a4a499;
}
body main .lt-action.lt-action-light.lt-action-outline {
  --action-ink: #fffdf5;
  --action-line: #b9b9ae;
  --action-fill: #191a1766;
  --action-hover-fill: #f9f7ee;
  --action-hover-line: #f9f7ee;
}
body :is(.lt-header .lt-contact.lt-action,main .lt-action.lt-action,.mobile-contact-rail .lt-action) svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
}
body main .lt-action.lt-action:is(:disabled,[aria-disabled="true"]) {
  cursor: not-allowed;
  opacity: .58;
}
body .lt-header .lt-contact.lt-action:is(:focus-visible,[aria-current="page"]) {
  background: var(--action-fill);
  color: var(--action-ink);
}
body main .lt-text-action {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #898a80;
  text-underline-offset: .24em;
  font-weight: 680;
}
body main .lt-text-action svg { width: 16px; height: 16px; flex: none; }
body .lt-footer { background: #20211e; }
body .lt-footer .lt-footer-top { padding-block: clamp(46px,6vw,88px); }
body .lt-footer .lt-foot-identity p { color: #bcbeb2; }
body .lt-footer .lt-footer-lower { border-color: #484940; }
body .lt-footer nav a { min-height: 44px; }
body .lt-footer .lt-foot-policy :is(a,button) { min-height: 44px; }
body .lt-footer nav a, body .lt-footer .lt-foot-policy :is(a,button) { color: #e5e5da; }
body .lt-footer .lt-footer-lower p { color: #bebfb3; }

body .privacy-choices-panel {
  background: #faf9f5;
  color: #252621;
  border: 1px solid #d2d0c6;
  border-radius: 12px;
  box-shadow: 0 10px 36px #17171326;
}
body .privacy-choices-panel h2 { color: #23241f; }
body .privacy-choices-panel p, body .privacy-choices-notice { color: #505148; }
body .privacy-choices-panel .privacy-choices-actions button {
  color: #252621;
  background: #f4f3ec;
  border: 1px solid #a7a89a;
  border-radius: var(--lt-control-radius);
  min-height: 46px;
  font-weight: 700;
}
body .privacy-choices-panel .privacy-choices-actions button:disabled {
  background: #eeeee7;
  color: #75766c;
  border-color: #d2d2c6;
}
body .privacy-choices-close:hover { color: #171811; background: #ecebe2; border-color: transparent; }
body .lt-header :focus-visible, body .lt-footer :focus-visible,
body main :is(.lt-action,.lt-text-action,summary):focus-visible,
body .mobile-contact-rail a:focus-visible, body .privacy-choices-panel :focus-visible {
  outline: 2px solid #805d09;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fffbea;
}
body .lt-footer :focus-visible { outline-color: #ffd43b; box-shadow: none; }
body .ops-main .ops-hero h1:first-child { margin-top: 0; }
body main .company-registration-name { display: block; color: inherit; margin-bottom: .7em; font-weight: 710; }
body .is-study-body { padding-top: clamp(16px,2vw,30px); }

@media (hover:hover) {
  body :is(.lt-header .lt-contact.lt-action,main .lt-action.lt-action,.mobile-contact-rail .lt-action):hover:not(:disabled,[aria-disabled="true"]) {
    color: var(--action-hover-ink);
    background: var(--action-hover-fill);
    border-color: var(--action-hover-line);
    text-decoration: none;
  }
  body main .lt-text-action:hover { text-decoration-color: currentColor; }
  body .privacy-choices-panel .privacy-choices-actions button:hover:not(:disabled) {
    color: #191a14;
    background: #e5e5da;
    border-color: #77796d;
  }
}
@media (prefers-reduced-motion:no-preference) {
  body .lt-action, body .privacy-choices-actions button {
    transition: color .16s ease,background-color .16s ease,border-color .16s ease;
  }
}
@media (max-width:760px) {
  body .lt-header .lt-header-inner { min-height: 62px; column-gap: 9px; }
  body .lt-header .lt-brand img { width: 118px; }
  body .lt-header .lt-contact.lt-action { min-height: 44px; padding: 9px 13px; font-size: 14px; gap: .45em; }
  body .lt-header .lt-menu-toggle {
    width: 44px; height: 44px;
    border: 1px solid var(--lt-line);
    border-radius: var(--lt-control-radius);
    color: var(--lt-ink);
    background: transparent;
  }
  body .lt-header .lt-menu-toggle[aria-expanded="true"] { background: #eae9df; }
  body .lt-header .lt-menu {
    padding: 8px max(20px,5vw) 20px;
    background: var(--lt-paper);
    box-shadow: 0 14px 18px #201d1617;
    border-bottom: 1px solid var(--lt-line);
  }
  body .lt-header .lt-menu a {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 52px;
    border-bottom: 1px solid var(--lt-line);
    font-size: 21px; font-weight: 650; color: var(--lt-ink);
  }
  body .lt-header .lt-menu a::after {
    content: "";
    width: 8px; height: 8px;
    margin-right: 4px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
  body .lt-header .lt-menu a:last-child { border-bottom: 0; }
  html:not(.lt-navigation-ready) body .lt-header .lt-links { flex-wrap: wrap; }
  html:not(.lt-navigation-ready) body .lt-header .lt-links a { font-size: 14px; }
  body .mobile-contact-rail:not([hidden]) {
    left: auto; right: max(16px,env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto; padding: 0; border: 0; border-radius: var(--lt-control-radius);
    background: transparent;
    box-shadow: 0 4px 18px #15150f2b;
    backdrop-filter: none;
  }
  body .mobile-contact-rail .lt-action { border-color: #686960; }
  body .mobile-contact-rail a.button::after { content:none; }
}
@media (forced-colors:active) {
  body .lt-action,body .lt-menu-toggle { border: 1px solid ButtonText; }
}
