/* WPNest — base reset, typography, container, buttons, generics. */

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
p {
  margin: 0;
  color: var(--ink-2);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}
.mono {
  font-family: var(--font-mono);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  font-family: var(--font-ui);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent-text);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(255, 107, 26, 0.55);
}
.btn-primary:hover {
  background: #a93f05;
  box-shadow: 0 12px 24px -6px rgba(255, 107, 26, 0.65);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--pill);
}
.btn-outline {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--ink);
}
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}
.btn-lg {
  height: 52px;
  padding: 0 22px;
  font-size: 15.5px;
}

/* Generic typography utilities */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.h-display {
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h-section {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}

/* Sections */
.section {
  padding: 88px 0;
}
.section-tight {
  padding: 56px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head p {
  max-width: 48ch;
}
.section-center {
  text-align: center;
}

/* Forms */
input,
textarea,
select {
  font-family: var(--font-ui);
  font-size: 14.5px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Stars */
.stars {
  color: var(--accent-text);
  letter-spacing: 1px;
}

/* Page transitions */
@keyframes wpnest-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.site-content > * {
  animation: wpnest-fade 0.3s ease;
}

/* Skip link a11y */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--card);
  clip: auto !important;
  clip-path: none;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 12px 18px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
