/* Pep Lab — barrier page. Palette matched 1:1 to the live shop
   (peplab-store.vercel.app): warm cream paper, forest + leaf green ink,
   Space Grotesk logo, Playfair Display headline, Inter body. */

:root {
  --bg: oklch(0.972 0.008 95);
  --card: oklch(0.995 0.004 95);
  --ink: oklch(0.33 0.058 152);
  --ink-soft: oklch(0.50 0.042 152);
  --ink-faint: oklch(0.62 0.030 152);
  --accent: oklch(0.56 0.123 150);
  --accent-deep: oklch(0.37 0.082 152);
  --accent-soft: oklch(0.70 0.135 152);
  --line: oklch(0.90 0.018 150);
  --tint: oklch(0.955 0.016 150);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.barrier {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 4.5vw, 3.6rem) 1.5rem clamp(1.6rem, 3vw, 2.4rem);
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  overflow: hidden;
  text-align: center;
}

/* Brand hexagon field — very faint leaf lines on cream, faded to the edges */
.hex-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath d='M30 2 L58 17 L58 47 L30 62 L2 47 L2 17 Z' fill='none' stroke='rgba(45,138,80,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, rgba(0,0,0,.45) 52%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, rgba(0,0,0,.45) 52%, transparent 80%);
}
/* Soft leaf glow behind the headline */
.barrier::before {
  content: "";
  position: absolute;
  top: 33%;
  left: 50%;
  z-index: 0;
  width: min(720px, 92vw);
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, oklch(0.70 0.135 152 / .14), transparent 70%);
  pointer-events: none;
}
.barrier > * { position: relative; z-index: 1; }

/* Logo — pep. / — lab (Space Grotesk, on-light variant) */
.peplab-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}
.pl-pep {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.85rem, 1.5rem + 1.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
}
.pl-dot { color: var(--accent); }
.pl-row { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; }
.pl-dash { width: 32px; height: 3px; border-radius: 2px; background: var(--accent); }
.pl-lab {
  font-family: "Space Grotesk", sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Centered content */
.barrier-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 660px;
  padding: 2.4rem 0;
}
.barrier-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.barrier-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.barrier-title em { color: var(--accent); font-style: italic; }
.barrier-para {
  font-weight: 400;
  font-size: clamp(1.04rem, .96rem + .42vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 auto 2.5rem;
  text-wrap: pretty;
}
.barrier-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 56px;
  padding: 0 2.1rem;
  border-radius: 100px;
  background: var(--accent-deep);
  color: #fff;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 12px 26px oklch(0.37 0.06 152 / .24), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.barrier-cta svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.barrier-cta:hover {
  background: oklch(0.31 0.072 152);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px oklch(0.37 0.06 152 / .30), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.barrier-cta:hover svg { transform: translateX(3px); }
.barrier-cta:active { transform: translateY(0); }

/* Secondary action: WhatsApp. Same pill language as the store header
   (white pill, WA-teal text, brand-green glyph), one step quieter than the CTA. */
.barrier-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 50px;
  margin-top: 1rem;
  padding: 0 1.5rem;
  border-radius: 100px;
  background: #fff;
  color: #128278;
  border: 1px solid rgba(18, 140, 126, .18);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.barrier-wa svg { flex: none; display: block; }
.barrier-wa:hover { background: #f0faf4; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0, 0, 0, .08); }
.barrier-wa:active { transform: translateY(0); }
.barrier-wa:focus-visible { outline: 2px solid #128C7E; outline-offset: 2px; }

/* Brand foot line */
.barrier-foot {
  margin-top: auto;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-faint);
}

/* Short viewports (iPhone SE class): the second CTA costs ~43px, so give it back
   from the vertical breathing room. Keeps the page single-screen down to 667px tall. */
@media (max-height: 700px) {
  .barrier-content { padding: 1.2rem 0; }
  .barrier-para { margin-bottom: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .barrier-cta, .barrier-cta svg, .barrier-wa { transition: none; }
}
