*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--livo-text);
  background: var(--livo-surface);
  font-family: var(--livo-font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-drawer-open,
body.aug-mobile-menu-open { overflow: hidden; }

img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: var(--livo-navy); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--livo-orange); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
input, select, textarea { color: var(--livo-ink); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .7em;
  color: var(--livo-ink);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(32px, 4vw, 48px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25rem; }
small { font-size: .82em; }
hr { border: 0; border-top: 1px solid var(--livo-border); }

::selection { color: #fff; background: var(--livo-navy); }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  margin: 0;
  top: 10px;
  left: 10px;
  z-index: 1000000;
  padding: 11px 16px;
  color: #fff;
  background: var(--livo-ink);
  border-radius: var(--livo-radius-sm);
}

.button,
button.button,
input.button,
.wp-element-button,
.wc-block-components-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--livo-navy);
  border-radius: var(--livo-radius-sm);
  background: var(--livo-navy);
  color: #fff;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover,
button.button:hover,
input.button:hover,
.wp-element-button:hover,
.wc-block-components-button:hover {
  border-color: var(--livo-navy-hover);
  background: var(--livo-navy-hover);
  color: #fff;
  box-shadow: var(--livo-shadow-xs);
}
.button:active,
button.button:active { transform: translateY(1px); }
.button.alt,
button.button.alt,
input.button.alt { border-color: var(--livo-orange); background: var(--livo-orange); }
.button.alt:hover,
button.button.alt:hover,
input.button.alt:hover { border-color: var(--livo-orange-hover); background: var(--livo-orange-hover); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(242 102 0 / 22%);
  outline-offset: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--livo-border-strong);
  border-radius: var(--livo-radius-sm);
  background: #fff;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
textarea { min-height: 120px; resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--livo-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgb(242 102 0 / 11%);
}
input::placeholder,
textarea::placeholder { color: #a2a9b2; }

.livo-icon { width: 24px; height: 24px; flex: 0 0 auto; }
