/*
Theme Name: Pure Lab Research Access
Theme URI: https://purelabpeptides.com/
Author: Pure Lab
Description: A focused, one-page research access landing theme with a configurable destination.
Version: 1.0.12
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purelab-access
*/

/* Manrope variable font â€” self-hosted under the SIL Open Font License 1.1. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pla-midnight: #071a2b;
  --pla-deep-navy: #0d3150;
  --pla-lab-teal: #0e7c7b;
  --pla-signal-aqua: #55e2d1;
  --pla-pale-aqua: #d8f7f3;
  --pla-lab-white: #f8fcff;
  --pla-muted-white: rgba(232, 245, 250, 0.76);
  --pla-line: rgba(184, 231, 235, 0.2);
  --pla-panel: rgba(5, 24, 40, 0.72);
  --pla-shadow: 0 24px 70px rgba(0, 8, 18, 0.34);
  --pla-bg-image: url("assets/images/lab-vials-background.webp");
  --pla-font: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

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

html {
  min-width: 320px;
  background: var(--pla-midnight);
  scroll-behavior: smooth;
}

body.pla-one-page {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--pla-lab-white);
  background: var(--pla-midnight);
  font-family: var(--pla-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .pla-shell {
  height: calc(100svh - 32px);
  min-height: 0;
}

.pla-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: var(--pla-midnight);
  background: var(--pla-signal-aqua);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.pla-skip-link:focus {
  transform: translateY(0);
}

.pla-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: var(--pla-midnight);
}

.pla-shell__background,
.pla-shell__background::before,
.pla-shell__background::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pla-shell__background {
  z-index: -3;
  background-image: var(--pla-bg-image);
  background-position: center center;
  background-size: cover;
  transform: scale(1.012);
}

.pla-shell__background::before {
  content: "";
  z-index: -2;
  background:
    radial-gradient(circle at 50% 34%, rgba(10, 82, 104, 0.08), rgba(3, 17, 30, 0.48) 58%, rgba(3, 14, 25, 0.72) 100%),
    linear-gradient(180deg, rgba(2, 18, 31, 0.36) 0%, rgba(2, 18, 31, 0.18) 42%, rgba(2, 15, 27, 0.74) 100%);
}

.pla-shell__background::after {
  content: "";
  z-index: -1;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.pla-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: clamp(16px, 2.8vh, 30px) 0 7px;
}

.pla-brand {
  width: clamp(250px, 26vw, 350px);
}

.pla-brand__image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.42;
  filter: brightness(0) invert(1);
}

.pla-main {
  display: grid;
  min-height: 0;
  align-items: center;
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: clamp(8px, 1.6vh, 18px) 0 clamp(10px, 2.2vh, 24px);
}

.pla-panel {
  width: min(100%, 740px);
  margin: 0 auto;
  padding: clamp(28px, 4vh, 42px) clamp(22px, 6vw, 64px) clamp(22px, 3.4vh, 34px);
  border: 1px solid rgba(168, 230, 233, 0.21);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(6, 28, 46, 0.82), rgba(5, 23, 38, 0.66));
  box-shadow: var(--pla-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  -webkit-backdrop-filter: blur(13px) saturate(110%);
  backdrop-filter: blur(13px) saturate(110%);
}

.pla-title {
  max-width: 680px;
  margin: 0 auto;
  color: var(--pla-lab-white);
  font-size: clamp(2.15rem, 4.6vw, 3.75rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.pla-lead {
  max-width: 610px;
  margin: 15px auto 0;
  color: rgba(232, 247, 250, 0.87);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
}

.pla-offer {
  position: relative;
  max-width: 540px;
  margin: 18px auto 0;
  padding: 13px 18px 15px;
  overflow: hidden;
  border: 1px solid rgba(109, 235, 222, 0.34);
  border-radius: 17px;
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 226, 209, 0.13), transparent 45%),
    linear-gradient(135deg, rgba(20, 76, 91, 0.52), rgba(4, 29, 46, 0.72));
  box-shadow: 0 14px 34px rgba(0, 8, 18, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  text-align: left;
}

.pla-offer::before {
  position: absolute;
  top: 0;
  right: 14%;
  left: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(117, 241, 227, 0.88), transparent);
  content: "";
}

.pla-offer__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: rgba(183, 248, 239, 0.78);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.pla-offer__row {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.pla-offer__discount {
  color: var(--pla-lab-white);
  font-size: clamp(1.35rem, 2.6vw, 1.78rem);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 24px rgba(85, 226, 209, 0.18);
  text-wrap: balance;
}

.pla-offer__code-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.pla-offer__label {
  color: rgba(228, 246, 249, 0.63);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.pla-offer__code {
  display: flex;
  min-height: 34px;
  min-width: 205px;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 7px 9px 7px 12px;
  border: 1px dashed rgba(151, 239, 229, 0.52);
  border-radius: 8px;
  color: var(--pla-lab-white);
  background: rgba(2, 20, 33, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  font-family: var(--pla-font);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pla-offer__code:hover {
  border-color: rgba(151, 239, 229, 0.82);
  background: rgba(4, 31, 47, 0.76);
  transform: translateY(-1px);
}

.pla-offer__code:focus-visible {
  outline: 2px solid var(--pla-signal-aqua);
  outline-offset: 3px;
}

.pla-offer__code-text {
  font-size: 0.76rem;
  font-weight: 830;
  letter-spacing: 0.14em;
  line-height: 1;
}

.pla-offer__copy-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(164, 240, 232, 0.66);
  font-size: 0.56rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  line-height: 1;
}

.pla-offer__copy-state svg {
  width: 13px;
  height: 13px;
}

.pla-offer__code.is-copied {
  border-style: solid;
  border-color: rgba(85, 226, 209, 0.82);
  background: rgba(13, 92, 84, 0.36);
}

.pla-offer__code.is-copied .pla-offer__copy-state {
  color: #91f0e4;
}

.pla-disclaimer {
  max-width: 620px;
  margin: 10px auto 0;
  color: rgba(232, 245, 250, 0.54);
  font-size: clamp(0.64rem, 1vw, 0.72rem);
  font-weight: 500;
  line-height: 1.4;
}

.pla-cta-wrap {
  margin-top: 20px;
}

.pla-cta {
  display: inline-flex;
  min-width: min(100%, 310px);
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  color: #052436;
  background: linear-gradient(135deg, #6ce8da, var(--pla-signal-aqua));
  box-shadow: 0 14px 34px rgba(26, 207, 189, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pla-cta:hover {
  color: #041f2e;
  background: linear-gradient(135deg, #86eee2, #63e5d6);
  box-shadow: 0 18px 42px rgba(26, 207, 189, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transform: translateY(-2px);
}

.pla-cta:focus-visible {
  outline: 3px solid var(--pla-lab-white);
  outline-offset: 4px;
}

.pla-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.pla-cta:hover svg {
  transform: translateX(3px);
}

.pla-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--pla-line);
  list-style: none;
}

.pla-assurances li {
  position: relative;
  padding-left: 16px;
  color: rgba(230, 247, 249, 0.73);
  font-size: 0.71rem;
  font-weight: 670;
  letter-spacing: 0.025em;
}

.pla-assurances li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(85, 226, 209, 0.7);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.pla-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 8px 0 10px;
  border-top: 1px solid rgba(192, 230, 234, 0.1);
  color: rgba(214, 235, 239, 0.45);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-align: center;
}

.pla-footer p {
  margin: 0;
}

@media (max-width: 782px) {
  body.admin-bar .pla-shell {
    height: calc(100svh - 46px);
  }
}

@media (max-width: 680px) {
  body.pla-one-page {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .pla-shell {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: visible;
  }

  .pla-shell__background {
    position: fixed;
    background-position: 52% center;
  }

  .pla-header {
    width: min(100% - 20px, 1120px);
    padding: 12px 0 5px;
  }

  .pla-brand {
    width: min(62vw, 236px);
  }

  .pla-main {
    width: min(100% - 16px, 960px);
    padding: 6px 0 8px;
  }

  .pla-panel {
    max-height: 100%;
    padding: 22px 15px 17px;
    border-radius: 18px;
  }

  .pla-title {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
  }

  .pla-lead {
    margin-top: 10px;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .pla-offer {
    margin-top: 12px;
    padding: 10px 11px 11px;
    border-radius: 13px;
  }

  .pla-offer__eyebrow {
    margin-bottom: 6px;
    font-size: 0.52rem;
  }

  .pla-offer__row {
    gap: 7px;
  }

  .pla-offer__discount {
    font-size: 1.22rem;
  }

  .pla-offer__code-group {
    gap: 7px;
    min-width: 0;
  }

  .pla-offer__label {
    font-size: 0.51rem;
  }

  .pla-offer__code {
    min-height: 31px;
    min-width: min(47vw, 180px);
    gap: 7px;
    padding: 6px 7px 6px 9px;
  }

  .pla-offer__code-text {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .pla-offer__copy-state {
    font-size: 0.49rem;
  }

  .pla-disclaimer {
    margin-top: 8px;
    font-size: 0.6rem;
    line-height: 1.4;
  }

  .pla-cta-wrap {
    margin-top: 13px;
  }

  .pla-cta {
    min-width: min(100%, 280px);
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.73rem;
  }

  .pla-assurances {
    gap: 5px 12px;
    margin-top: 12px;
    padding-top: 10px;
  }

  .pla-assurances li {
    padding-left: 11px;
    font-size: 0.59rem;
  }

  .pla-assurances li::before {
    width: 5px;
    height: 5px;
  }

  .pla-footer {
    width: min(100% - 32px, 1120px);
    padding: 5px 0 7px;
    font-size: 0.52rem;
  }
}

@media (max-height: 860px) and (min-width: 681px) {
  .pla-header {
    padding-top: 12px;
  }

  .pla-main {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .pla-panel {
    padding-top: 26px;
    padding-bottom: 20px;
  }

  .pla-title {
    font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  }

  .pla-lead {
    margin-top: 14px;
  }

  .pla-offer {
    margin-top: 8px;
    padding-top: 8px;
    padding-bottom: 9px;
  }

  .pla-offer__eyebrow {
    margin-bottom: 5px;
  }

  .pla-offer__discount {
    font-size: 1.12rem;
  }

  .pla-offer__code {
    min-height: 28px;
  }

  .pla-cta-wrap {
    margin-top: 16px;
  }

  .pla-assurances {
    margin-top: 18px;
    padding-top: 15px;
  }

}

@media (max-width: 680px) and (max-height: 700px) {
  .pla-header {
    padding-top: 7px;
  }

  .pla-brand {
    width: min(58vw, 204px);
  }

  .pla-main {
    padding-top: 3px;
    padding-bottom: 4px;
  }

  .pla-panel {
    padding: 17px 12px 13px;
  }

  .pla-title {
    font-size: clamp(1.48rem, 7.3vw, 1.95rem);
  }

  .pla-lead {
    margin-top: 7px;
    font-size: 0.72rem;
    line-height: 1.32;
  }

  .pla-offer {
    margin-top: 7px;
    padding: 7px 9px 8px;
  }

  .pla-offer__eyebrow {
    margin-bottom: 4px;
    font-size: 0.46rem;
  }

  .pla-offer__discount {
    font-size: 1rem;
  }

  .pla-offer__code {
    min-height: 27px;
  }

  .pla-disclaimer {
    margin-top: 6px;
    font-size: 0.59rem;
    line-height: 1.3;
  }

  .pla-cta-wrap {
    margin-top: 9px;
  }

  .pla-cta {
    min-height: 40px;
    font-size: 0.68rem;
  }

  .pla-assurances {
    gap: 4px 9px;
    margin-top: 8px;
    padding-top: 7px;
  }

  .pla-assurances li {
    font-size: 0.54rem;
  }

  .pla-footer {
    padding-top: 3px;
    padding-bottom: 4px;
    font-size: 0.48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
