/* base styles shared by every variant page */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 var(--space-4);
}

h1 { font-size: clamp(40px, 6.5vw, 84px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); }
h4 { font-size: 18px; }

p { margin: 0 0 var(--space-4); }

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 769px) {
  .container { padding: 0 48px; }
}

.narrow { max-width: 820px; margin-inline: auto; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: #54adb7; color: var(--white); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }

.btn--pink { background: transparent; color: var(--navy); border-color: var(--pink); border-width: 2px; }
.btn--pink:hover { background: var(--pink); color: var(--white); }

.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { color: var(--teal); }

.btn .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* section container (preview chrome around a single section) */
.mockup-frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}
.mockup-frame__meta {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.mockup-frame__meta a {
  color: var(--teal);
  font-weight: 600;
}
.mockup-frame__meta a:hover { color: var(--white); }
.mockup-frame__section { flex: 1; }

/* accessibility helpers */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
