/*
 * Workshetra design system.
 * Ported 1:1 from the source design (workshetra-homepage.html) — tokens,
 * base elements, and every component class used by the ACF blocks in
 * blocks/*. Enqueued theme-wide since almost every class here is shared
 * across more than one block (buttons, container, section headers, etc).
 *
 * The 6 brand colors, the body/heading fonts, and the body + H1–H6 clamp()
 * sizes are NOT hardcoded here — they're generated from Theme Settings >
 * Colors & Typography into theme-variables.css (see inc/theme-css-vars.php)
 * and imported below. Editing that settings page regenerates that file;
 * nothing in this file needs to change.
 */

@import url("theme-variables.css");

:root{

  /* --bg, --bg-elevated, --text-primary, --text-secondary, --border,
     --accent, --font-body, --font-heading, --fs-body, --fs-h1..--fs-h6
     all come from the imported theme-variables.css. Everything below is
     derived from those 6 base colors so the whole palette stays coherent
     when a client changes them, rather than going stale independently. */
  --bg-elevated-2: color-mix(in oklab, var(--bg-elevated), white 12%);
  --border-strong: color-mix(in oklab, var(--border), white 25%);
  --text-tertiary: color-mix(in oklab, var(--text-secondary), var(--bg) 35%);
  --accent-soft:   color-mix(in oklab, var(--accent) 14%, transparent);
  --accent-line:   color-mix(in oklab, var(--accent) 35%, transparent);

  /* the existing --fs-* utility scale's base size now follows the
     Colors & Typography "Body text" clamp() instead of being hardcoded,
     so every component below still using var(--fs-base) directly stays
     in sync with it. */
  --fs-base: var(--fs-body);

  --grad-brand: linear-gradient(90deg,
      #7B2FF7 0%,
      #E1306C 40%,
      #F65E3B 72%,
      #FFB23E 100%);

  --success: oklch(74% 0.15 152);
  --warning: oklch(80% 0.15 85);

  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px; --sp-32: 128px;

  --fs-xs:   clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --fs-sm:   clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  /* --fs-base is aliased to --fs-body above, not redeclared here */
  --fs-lg:   clamp(1.15rem, 1.08rem + 0.35vw, 1.375rem);
  --fs-xl:   clamp(1.4rem, 1.25rem + 0.75vw, 1.875rem);
  --fs-2xl:  clamp(1.9rem, 1.55rem + 1.75vw, 2.75rem);
  --fs-3xl:  clamp(2.5rem, 1.9rem + 3vw, 4.25rem);
  --fs-4xl:  clamp(3rem, 2.1rem + 4.5vw, 5.5rem);

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --z-nav: 100;
  --z-menu: 1000;

  --max-w: 1280px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
/* Base sizes from Theme Settings > Colors & Typography. Components with
   their own bespoke heading size (.hero-title, .section-head h2, etc.)
   override these via higher specificity — these are the fallback for
   any heading that doesn't. */
h1{ font-size: var(--fs-h1); }
h2{ font-size: var(--fs-h2); }
h3{ font-size: var(--fs-h3); }
h4{ font-size: var(--fs-h4); }
h5{ font-size: var(--fs-h5); }
h6{ font-size: var(--fs-h6); }

p{ margin: 0; color: var(--text-secondary); text-wrap: pretty; max-width: 65ch; }

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

img, svg{ display: block; max-width: 100%; }

button{ font-family: inherit; cursor: pointer; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--sp-6);
}
@media (min-width: 1024px){
  .container{ padding-inline: var(--sp-8); }
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: var(--sp-3) var(--sp-4);
  z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus{ left: 0; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before{
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.section-tag{
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px var(--sp-6);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease-out-quart), box-shadow 180ms var(--ease-out-quart), background 180ms var(--ease-out-quart), border-color 180ms var(--ease-out-quart);
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }

.btn.btn-primary{
  position: relative;
  z-index: 0;
  background: transparent;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -8px oklch(60% 0.23 320 / 0.55);
}
.btn-primary::before{
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-brand);
}
.btn-primary:hover{
  box-shadow: 0 12px 32px -8px oklch(60% 0.23 320 / 0.7);
  transform: translateY(-1px);
}

.btn.btn-secondary{
  background: var(--bg-elevated);
  border-color: var(--border);
  color: #fff;
}
.btn-secondary:hover{
  border-color: var(--border-strong);
  background: var(--bg-elevated-2);
}

.btn-ghost{
  background: transparent;
  color: var(--text-secondary);
  padding-inline: var(--sp-4);
}
.btn-ghost:hover{ color: var(--text-primary); }

.btn-icon{
  width: 20px; height: 20px;
}

.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-5);
  transition: padding 280ms var(--ease-out-quart), background 280ms var(--ease-out-quart), border-color 280ms var(--ease-out-quart);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
  background: oklch(15.5% 0.020 292 / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.logo{
  display: inline-flex;
  align-items: center;
  transition: opacity 180ms var(--ease-out-quart);
}
.logo:hover{ opacity: 0.85; }
.logo-svg{
  height: 26px;
  width: auto;
  flex-shrink: 0;
}
.footer-brand .logo-svg{ height: 24px; }
.mobile-menu-top .logo-svg{ height: 24px; }

.nav-links{
  display: none;
  align-items: center;
  gap: var(--sp-8);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
/* wp_nav_menu() wraps each link in <li>, which the original bare-<a>
   markup never had — strip the default list styling/spacing it brings. */
.nav-links li{ list-style: none; margin: 0; padding: 0; }
.nav-links a{ transition: color 180ms var(--ease-out-quart); position: relative; }
.nav-links a:hover{ color: var(--text-primary); }
@media (min-width: 900px){
  .nav-links{ display: flex; }
}

.nav-actions{ display: flex; align-items: center; gap: var(--sp-3); }
.nav-actions .btn-secondary{ display: none; }
@media (min-width: 640px){
  .nav-actions .btn-secondary{ display: inline-flex; }
}

.menu-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
@media (min-width: 900px){ .menu-toggle{ display: none; } }

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--bg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  transform: translateY(-100%);
  transition: transform 380ms var(--ease-out-expo);
}
.mobile-menu.is-open{ transform: translateY(0); }
.mobile-menu-top{ display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav{ display: flex; flex-direction: column; gap: var(--sp-6); }
.mobile-menu nav li{ list-style: none; margin: 0; padding: 0; }
.mobile-menu nav a{ font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: 600; }
.mobile-menu-cta{ margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-3); }

/*
 * When logged in, WP's #wpadminbar is fixed at top:0 with z-index 99999
 * — well above our .nav (z-index 100) and .mobile-menu (z-index 1000).
 * Both of ours are position:fixed too, so they don't shift down with
 * the margin-top WP adds to <html> for normal document flow; without
 * this, the admin bar visually and physically sits on top of the nav,
 * intercepting clicks meant for the mobile menu toggle/close buttons.
 * 32px / 46px match WP core's own admin-bar breakpoint (782px) where
 * the bar's own height changes.
 */
body.admin-bar .nav{ top: 32px; }
body.admin-bar .mobile-menu{ top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px){
  body.admin-bar .nav{ top: 46px; }
  body.admin-bar .mobile-menu{ top: 46px; height: calc(100% - 46px); }
}

.hero{
  position: relative;
  padding-top: clamp(120px, 22vw, 200px);
  padding-bottom: var(--sp-24);
  overflow: clip;
}
.aurora{
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.aurora-1{
  width: 560px; height: 560px;
  top: -180px; right: -120px;
  background: var(--grad-brand);
}
.aurora-2{
  width: 420px; height: 420px;
  top: 340px; left: -160px;
  background: oklch(55% 0.18 300);
  opacity: 0.22;
}

.hero-grid{
  display: grid;
  gap: var(--sp-16);
}
@media (min-width: 1024px){
  .hero-grid{ grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--sp-12); }
}

.hero-copy{ max-width: 620px; }
.hero-copy .eyebrow{ margin-bottom: var(--sp-6); }
.hero-title{ font-size: var(--fs-4xl); margin-bottom: var(--sp-6); }
.hero-title .grad{
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{ font-size: var(--fs-lg); margin-bottom: var(--sp-10); color: var(--text-secondary); max-width: 52ch; }
.hero-cta-row{ display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-8); }
.hero-note{ font-size: var(--fs-xs); color: var(--text-tertiary); display: flex; align-items: center; gap: var(--sp-2); }
.hero-note svg{ width: 16px; height: 16px; flex-shrink: 0; color: var(--success); }

.mock{
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: 0 40px 80px -30px oklch(0% 0 0 / 0.6);
}
.mock-head{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-6);
}
.mock-dots{ display: flex; gap: var(--sp-2); }
.mock-dots span{ width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock-title{ font-size: var(--fs-xs); color: var(--text-tertiary); font-weight: 600; }
.mock-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-4); }
.mock-card{
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}
.mock-card-label{ font-size: var(--fs-xs); color: var(--text-tertiary); margin-bottom: var(--sp-2); }
.mock-card-value{ font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 700; display: flex; align-items: baseline; gap: var(--sp-2); }
.mock-card-delta{ font-size: var(--fs-xs); font-weight: 600; color: var(--success); }
.mock-bars{
  display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: var(--sp-3);
}
.mock-bars i{
  flex: 1;
  background: var(--accent);
  opacity: 0.55;
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
}
.mock-bars i:nth-child(odd){ opacity: 0.85; }
.mock-list{
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.mock-list-row{ display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); }
.mock-avatar{ width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; opacity: 0.85; }
.mock-list-text{ color: var(--text-secondary); flex: 1; }
.mock-pill{
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.mock-float{
  position: absolute;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 600;
  box-shadow: 0 20px 40px -16px oklch(0% 0 0 / 0.7);
}
.mock-float svg{ width: 16px; height: 16px; color: var(--success); }
.mock-float-1{ top: -18px; left: -18px; }
.mock-float-2{ bottom: -16px; right: -16px; }
@media (max-width: 480px){ .mock-float{ display: none; } }

.strip{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-12);
}
.strip-row{
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8) var(--sp-12);
  justify-content: space-between;
  align-items: center;
}
.strip-item{
  display: flex; align-items: center; gap: var(--sp-3);
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.strip-item svg{ width: 20px; height: 20px; color: var(--text-tertiary); flex-shrink: 0; }

.section{ padding-block: var(--sp-24); }
.section-head{
  max-width: 680px;
  margin-bottom: var(--sp-16);
}
.section-head .section-tag{ margin-bottom: var(--sp-4); display: block; }
.section-head h2{ font-size: var(--fs-3xl); margin-bottom: var(--sp-5); }
.section-head p{ font-size: var(--fs-lg); }

.problem{ background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: var(--sp-24); }
.problem-grid{
  display: grid; gap: var(--sp-10);
}
@media (min-width: 900px){
  .problem-grid{ grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-16); align-items: start; }
}
.tool-tags{ display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.tool-tag{
  position: relative;
  border-radius: 999px;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    var(--grad-brand) border-box;
}

.tool-tag-text{
  font-size: var(--fs-xs); font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.solution-line{
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
}
.solution-line:last-child{ border-bottom: none; }
.solution-num{
  font-size: var(--fs-sm); font-weight: 700; color: var(--accent);
  width: 32px; flex-shrink: 0;
}
.solution-text h4{ font-size: var(--fs-base); font-weight: 600; margin-bottom: 2px; }
.solution-text p{ font-size: var(--fs-sm); }

.features-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
  perspective: 1000px;
}
.feature-card{
  opacity: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: border-color 220ms var(--ease-out-quart), background 220ms var(--ease-out-quart), transform 220ms var(--ease-out-quart);
}
.feature-card:hover{
  border-color: var(--border-strong);
  background: var(--bg-elevated-2);
  transform: translateY(-3px);
}
.feature-icon{
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.feature-icon svg{ width: 22px; height: 22px; }
.feature-card h3{ font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.feature-card p{ font-size: var(--fs-sm); }

.deepdive{ display: grid; gap: var(--sp-32); }
.deepdive-row{
  display: grid; gap: var(--sp-10);
  align-items: center;
}
@media (min-width: 960px){
  .deepdive-row{ grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .deepdive-row.reverse .dd-visual{ order: 2; }
  .deepdive-row.reverse .dd-copy{ order: 1; }
}
.dd-copy .section-tag{ margin-bottom: var(--sp-4); display: block; }
.dd-copy h3{ font-size: var(--fs-2xl); margin-bottom: var(--sp-5); }
.dd-copy p{ font-size: var(--fs-base); margin-bottom: var(--sp-6); }
.dd-points{ display: flex; flex-direction: column; gap: var(--sp-3); }
.dd-point{ display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--text-secondary); }
.dd-point svg{ width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.dd-visual{
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
}
.dd-visual-inner{
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
}
.narrative-line{
  height: 10px; border-radius: 6px; background: var(--border);
  margin-bottom: var(--sp-3);
}
.narrative-line.w-80{ width: 80%; }
.narrative-line.w-60{ width: 60%; }
.narrative-line.w-95{ width: 95%; }
.narrative-badge{
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: var(--sp-4);
}

.forecast-chart{ display: flex; align-items: flex-end; gap: 4px; height: 120px; position: relative; }
.forecast-chart i{
  flex: 1; background: var(--border-strong); border-radius: 3px 3px 0 0; transform-origin: bottom;
}
.forecast-chart i.projected{ background: var(--accent); opacity: 0.4; background-image: repeating-linear-gradient(45deg, transparent, transparent 3px, oklch(70% 0.19 322 / 0.3) 3px, oklch(70% 0.19 322 / 0.3) 5px); }
.forecast-legend{ display: flex; gap: var(--sp-5); margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--text-tertiary); }
.forecast-legend span{ display: inline-flex; align-items: center; gap: 6px; }
.dot{ width: 8px; height: 8px; border-radius: 2px; }
.dot.actual{ background: var(--border-strong); }
.dot.projected{ background: var(--accent); }

.steps{ position: relative; }
.steps-track{
  display: grid; gap: var(--sp-10);
  position: relative;
}
@media (min-width: 860px){
  .steps-track{ grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
  .steps-track::before{
    content: '';
    position: absolute;
    top: 27px;
    left: var(--steps-line-start, 28px);
    width: var(--steps-line-width, calc(100% - 56px));
    height: 1px;
    background: var(--border);
  }
  .steps-line{
    position: absolute; top: 27px;
    left: var(--steps-line-start, 28px);
    height: 1px;
    background: var(--grad-brand);
    width: 0px;
  }
}
.step{ position: relative; opacity: 0; }
.step-num{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-base);
  margin-bottom: var(--sp-5);
  position: relative; z-index: 1;
}
.step h4{ font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p{ font-size: var(--fs-sm); }

.cta-band{
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--sp-16) var(--sp-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: clip;
  text-align: center;
}
.cta-band .aurora{ opacity: 0.25; }
.cta-band-inner{ max-width: 640px; margin: 0 auto; position: relative; }
.cta-band h2{ font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.cta-band p{ margin: 0 auto var(--sp-8); font-size: var(--fs-base); }

.waitlist-form{
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: center;
  max-width: 460px; margin: 0 auto;
}
.waitlist-form input{
  flex: 1 1 220px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 13px var(--sp-5);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-family: inherit;
}
.waitlist-form input::placeholder{ color: var(--text-tertiary); }
.waitlist-form input:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.form-msg{
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--success);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  opacity: 0; transform: translateY(4px);
  transition: opacity 260ms var(--ease-out-quart), transform 260ms var(--ease-out-quart);
}
.form-msg.is-visible{ opacity: 1; transform: translateY(0); }
.form-msg svg{ width: 16px; height: 16px; }
.form-error{ color: var(--warning); }

.footer{ border-top: 1px solid var(--border); padding-block: var(--sp-16) var(--sp-10); }
.footer-top{
  display: grid; gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}
@media (min-width: 800px){
  .footer-top{ grid-template-columns: 1.3fr repeat(3, 1fr); }
}
.footer-brand p{ font-size: var(--fs-sm); margin-top: var(--sp-4); max-width: 34ch; }
.footer-col h5{
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: var(--sp-4);
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a{ font-size: var(--fs-sm); color: var(--text-secondary); transition: color 180ms var(--ease-out-quart); }
.footer-col a:hover{ color: var(--text-primary); }
.footer-bottom{
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between; align-items: center;
  padding-top: var(--sp-8); border-top: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--text-tertiary);
}
.footer-socials{ display: flex; gap: var(--sp-4); }
.footer-socials a{ color: var(--text-tertiary); transition: color 180ms var(--ease-out-quart); }
.footer-socials a:hover{ color: var(--text-primary); }
.footer-socials svg{ width: 18px; height: 18px; }

.reveal{ opacity: 0; }

/* --------------------------------------------------------------
   Editor placeholder notices (unset/inactive fields, e.g. an
   unconfigured Gravity Forms block) — never a blank box.
----------------------------------------------------------------- */
.workshetra-block-notice{
  margin: 0 auto;
  max-width: 460px;
  padding: var(--sp-4) var(--sp-5);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  text-align: center;
}

/* --------------------------------------------------------------
   Gravity Forms overrides
   gform_disable_css is filtered on (inc/gravityforms.php), so this
   is the only styling any GF form gets. Targets GF's own markup so
   a rendered [gravityforms] output matches the .waitlist-form look
   (pill inputs, gradient submit button, inline success message)
   without touching GF's HTML.
----------------------------------------------------------------- */
.cta-band .gform_wrapper{
  max-width: 460px;
  margin: 0 auto;
}
.cta-band .gform_wrapper form{
  display: block;
}
.cta-band .gform_wrapper .gform-body.gform_body{
  margin-bottom: 20px;
}
.cta-band .gform_wrapper .gform_fields{
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cta-band .gform_wrapper .gfield{
  flex: 1 1 220px;
  margin: 0 !important;
  padding: 0 !important;
}
.cta-band .gform_wrapper .gfield--width-full{
  flex-basis: 100%;
}
.cta-band .gform_wrapper .gfield_label,
.cta-band .gform_wrapper .gform_description,
.cta-band .gform_wrapper legend.gfield_label{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.cta-band .gform_wrapper .ginput_container{
  margin-top: 0 !important;
}
.cta-band .gform_wrapper input[type="text"],
.cta-band .gform_wrapper input[type="email"],
.cta-band .gform_wrapper input[type="tel"],
.cta-band .gform_wrapper input[type="url"],
.cta-band .gform_wrapper textarea,
.cta-band .gform_wrapper select{
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 13px var(--sp-5);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-family: inherit;
  line-height: 1.4;
}
.cta-band .gform_wrapper textarea{
  border-radius: var(--radius-md);
  min-height: 96px;
}
.cta-band .gform_wrapper input::placeholder,
.cta-band .gform_wrapper textarea::placeholder{
  color: var(--text-tertiary);
}
.cta-band .gform_wrapper input:focus-visible,
.cta-band .gform_wrapper textarea:focus-visible,
.cta-band .gform_wrapper select:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cta-band .gform_wrapper .gform_footer,
.cta-band .gform_wrapper .gform_page_footer{
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.cta-band .gform_wrapper .gform_button,
.cta-band .gform_wrapper input[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px var(--sp-6);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  position: relative;
  z-index: 0;
  background: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -8px oklch(60% 0.23 320 / 0.55);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms var(--ease-out-quart), box-shadow 180ms var(--ease-out-quart);
}
.cta-band .gform_wrapper .gform_button::before,
.cta-band .gform_wrapper input[type="submit"]::before{
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-brand);
}
.cta-band .gform_wrapper .gform_button:hover,
.cta-band .gform_wrapper input[type="submit"]:hover{
  box-shadow: 0 12px 32px -8px oklch(60% 0.23 320 / 0.7);
  transform: translateY(-1px);
}
.cta-band .gform_wrapper .gform_confirmation_message,
.cta-band .gform_wrapper .gform_confirmation_wrapper{
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}
.cta-band .gform_wrapper .gform_confirmation_message::before{
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cta-band .gform_wrapper .validation_error{
  color: var(--warning);
  font-size: var(--fs-xs);
  text-align: center;
  margin-bottom: var(--sp-4);
  border: none;
  padding: 0;
}
.cta-band .gform_wrapper .gfield_validation_message,
.cta-band .gform_wrapper .validation_message{
  width: 100%;
  color: var(--warning);
  font-size: var(--fs-xs);
  margin-top: var(--sp-2);
  text-align: center;
}
.cta-band .gform_wrapper .gfield_error input,
.cta-band .gform_wrapper .gfield_error textarea{
  border-color: var(--warning);
}
.cta-band .gform_validation_error .gform_fields{
  gap: var(--sp-4);
}
